/* Allwala.com Premium Gold Theme - Modern Responsive Design */
/* Founder: Dhananjay Sharma */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Gold Color Palette */
:root {
    --gold-primary: #D4AF37;
    --gold-dark: #B8860B;
    --gold-light: #F2D492;
    --dark-bg: #1a1a1a;
    --dark-card: #2d2d2d;
    --text-light: #f0f0f0;
    --shadow-gold: 0 10px 40px rgba(212, 175, 55, 0.3);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--gold-primary);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-icon {
    font-size: 1.2rem;
    color: #aaa;
    transition: all 0.3s;
    text-decoration: none;
}

.nav-icon:hover {
    color: var(--gold-primary);
    transform: scale(1.2);
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gold-primary);
    color: var(--dark-bg);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.nav-login {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--dark-bg);
    padding: 0.7rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
}

.nav-login:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--gold-primary);
    transition: 0.3s;
}

/* 3D Gold Hexagonal Logo */
.logo-link {
    display: block;
}

.logo-hexagon {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-aw {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, var(--gold-primary), var(--gold-dark));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    position: relative;
    box-shadow:
        0 8px 25px rgba(212, 175, 55, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    animation: logoGlow 3s ease-in-out infinite alternate;
}

.logo-aw::before,
.logo-aw::after {
    content: 'A';
    position: absolute;
    font-weight: 800;
    font-size: 24px;
    color: var(--dark-bg);
    top: 12px;
    left: 12px;
    z-index: 2;
}

.logo-aw::after {
    content: 'W';
    transform: rotate(45deg);
    left: 16px;
    top: 16px;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 10px 0 5px;
    letter-spacing: -1px;
}

.logo-emblem {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--gold-primary);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    vertical-align: middle;
    margin: 0 -3px;
}

.logo-tagline {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 2px;
}

@keyframes logoGlow {
    0% {
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    }

    100% {
        box-shadow: 0 8px 35px rgba(212, 175, 55, 0.6);
    }
}

/* Hero */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-primary), var(--text-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #ccc;
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--dark-bg);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--gold-primary);
}

.btn-secondary:hover {
    background: var(--gold-primary);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    height: 500px;
}

.hero-gold-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 30px;
    animation: shine 4s infinite;
}

@keyframes shine {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 1;
    }
}

/* Sections */
.section {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold-primary);
    border-radius: 2px;
}

/* Grids */
.products-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.product-card,
.service-card {
    background: var(--dark-card);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.product-card:hover,
.service-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 30px 80px rgba(212, 175, 55, 0.2);
}

.card-image {
    height: 280px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

.card-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.card-content {
    padding: 2rem;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.card-price {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.service-price {
    font-size: 1.2rem;
    color: var(--gold-primary);
    font-weight: 600;
}

/* About & Contact */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #ccc;
}

.founder-placeholder {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--dark-bg);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    font-weight: 700;
    box-shadow: var(--shadow-gold);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1.2rem;
    border: 2px solid #444;
    border-radius: 15px;
    background: var(--dark-card);
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--dark-bg);
    padding: 3rem;
    border-radius: 25px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.7);
    transition: transform 0.4s ease;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--gold-primary);
}

/* WhatsApp Fixed Button */
.whatsapp-float {
    position: fixed;
    width: 70px;
    height: 70px;
    bottom: 40px;
    right: 40px;
    background: #25D366;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    font-size: 2rem;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-float span {
    font-size: 0.85rem;
    font-weight: 600;
    transform: scale(0);
    opacity: 0;
    transition: all 0.3s 0.1s;
}

.whatsapp-float:hover span {
    transform: scale(1);
    opacity: 1;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--gold-primary);
}

.logo-hexagon.small {
    font-size: 1.8rem !important;
    width: auto;
    clip-path: none;
    animation: none;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--gold-primary);
    transform: translateY(-5px) rotate(360deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid #444;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        padding: 3rem 0;
        gap: 2rem;
        transition: left 0.4s ease;
        box-shadow: var(--shadow-gold);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin: 0 auto;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
        font-size: 1.6rem;
    }

    .whatsapp-float span {
        display: none;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .products-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.card-content,
.section-title {
    animation: fadeInUp 0.8s ease forwards;
}