:root {
    --deep-purple: #1a0033;
    --accent-purple: #3d0066;
    --gold: #d4af37;
    --gold-hover: #f1d592;
    --text-white: #f8f9fa;
    --glass: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background-color: #05000a; color: var(--text-white); line-height: 1.6; }

/* Navigation */
header {
    background: rgba(26, 0, 51, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.2rem 8%;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.6rem; font-weight: 700; color: white; }
.logo span { color: var(--gold); }
.nav-links { list-style: none; display: flex; align-items: center; }
.nav-links a { color: white; text-decoration: none; margin-left: 2rem; font-weight: 300; }
.nav-cta { border: 1px solid var(--gold); padding: 8px 20px; border-radius: 4px; color: var(--gold) !important; transition: 0.3s; }
.nav-cta:hover { background: var(--gold); color: var(--deep-purple) !important; }

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?auto=format&fit=crop&q=80&w=2070') center/cover;
    position: relative;
}
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: radial-gradient(circle, rgba(26,0,51,0.7) 0%, rgba(5,0,10,1) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 900px; padding: 20px; }
.badge { color: var(--gold); font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 20px; display: block; }
h1 { font-family: 'Playfair Display', serif; font-size: 4rem; line-height: 1.1; margin-bottom: 25px; }
h1 span { color: var(--gold); }

/* --- Hero Buttons Specific Fix --- */
.hero-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 35px;
    width: 100%;
}

.btn-gold, .btn-glass {
    /* Use flex for perfect text centering */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    /* Dimensions */
    padding: 0 30px; /* Horizontal padding only */
    height: 55px;    /* Fixed height ensures they match perfectly */
    min-width: 220px;
    
    /* Typography */
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.btn-gold {
    background-color: #ffffff;
    color: var(--deep-purple);
}

.btn-glass {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    backdrop-filter: blur(5px);
}

/* --- Mobile Alignment Fix --- */
@media (max-width: 768px) {
    .hero-btns {
        flex-direction: column; /* Stack them vertically */
        gap: 12px;
        padding: 0 10%; /* Add side breathing room */
    }

    .btn-gold, .btn-glass {
        width: 100%;      /* Take full width of the container */
        max-width: 300px; /* But don't let them get too giant */
        height: 50px;     /* Slightly slimmer for mobile screens */
        margin: 0;        /* Reset any stray margins */
    }
}

/* Category Grid */
.categories { padding: 100px 8%; background: #fff; color: #333; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; color: var(--deep-purple); }
.section-title span { color: var(--gold); }
.underline { width: 60px; height: 4px; background: var(--gold); margin: 10px auto; }

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.cat-card {
    background: #fdfdfd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}
.cat-card:hover { transform: translateY(-10px); }
.cat-img { height: 200px; background-size: cover; background-position: center; }
.cat-card h3 { padding: 20px 20px 5px; color: var(--deep-purple); }
.cat-card p { padding: 0 20px 20px; font-size: 0.9rem; color: #666; }

/* Vendor Section with Glassmorphism */
.vendor-wrap { padding: 100px 8%; background: var(--deep-purple); display: flex; justify-content: center; }
.glass-card { 
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    width: 100%;
    max-width: 600px;
    text-align: center;
}
.modern-form input, .modern-select {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(0,0,0,0.3);
    border: 1px solid #444;
    border-radius: 8px;
    color: white;
}
.btn-gold-full {
    width: 100%;
    padding: 15px;
    background: var(--gold);
    color: var(--deep-purple);
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
}
.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 600;
}
.or-separator { margin: 25px 0; color: #888; font-size: 0.8rem; position: relative; }

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .category-grid { grid-template-columns: 1fr; }
}/* --- RESPONSIVE DESIGN --- */

/* Tablets and small laptops (under 1024px) */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    .category-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for tablets */
    }
}

/* Mobile Phones (under 768px) */
@media (max-width: 768px) {
    /* Header & Navigation */
    header { padding: 10px 5%; }
    .nav-links { display: none; } /* Hide links or implement a hamburger menu */
    .nav-logo { height: 40px; }

    /* Hero Section */
    .hero { height: auto; padding: 120px 5% 60px; }
    h1 { font-size: 2.2rem; }
    .hero-btns { display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px; }
    .btn-gold, .btn-glass { margin-right: 0; width: 100%; text-align: center; }

    /* Categories Grid */
    .categories { padding: 60px 5%; }
    .category-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for phones */
        gap: 12px;
    }
    .cat-card {
        padding: 20px 10px;
        font-size: 0.8rem;
        min-height: 80px;
    }

    /* Vendor Form */
    .vendor-wrap { padding: 60px 5%; }
    .glass-card { padding: 30px 20px; }
    
    /* Make side-by-side form rows stack vertically */
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .modern-form input, .modern-select {
        margin-bottom: 12px;
    }

    .cac-logic {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

/* Very Small Phones (under 480px) */
@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr; /* 1 column for very small screens */
    }
    h1 { font-size: 1.8rem; }
}

/* --- Optimized About Section --- */
.about-section {
    padding: 80px 8%;
    background-color: #ffffff;
    color: var(--deep-purple);
    overflow: visible;
}

.about-container {
    display: flex;
    flex-direction: row; /* Side-by-side on desktop */
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 2.8rem); /* Responsive font sizing */
    margin-bottom: 20px;
    line-height: 1.2;
    color: #4a0424;
}

.about-text h2 span {
    color: var(--gold);
}

.about-text p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Stats Styling */
.about-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.stat h4 {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 2px;
}

.stat p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

/* Visual Element */
.about-visual {
    flex: 0.8;
    height: 400px; /* Base height for desktop */
    background: linear-gradient(rgba(74, 4, 36, 0.2), rgba(74, 4, 36, 0.2)), 
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=600') center/cover;
    border-radius: 15px;
    position: relative;
    box-shadow: 15px 15px 0px var(--brand-plum);
}

.experience-card {
    position: absolute;
    bottom: 20px;
    right: -10px;
    background: var(--gold);
    padding: 20px;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column; /* Stacks image on top of text */
        text-align: center;
        gap: 40px;
    }

    .about-visual {
        width: 100%;
        height: 250px; /* Reduced height for mobile */
        order: -1; /* Forces image to the top */
    }

    .about-stats {
        justify-content: center;
    }

    .experience-card {
        right: 10px;
        bottom: 10px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 60px 5%;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 15px;
    }
}