:root {
    --gold: #D4AF37;
    --dark: #121212;
    --light-gray: #f9f9f9;
    --glass: rgba(255, 255, 255, 0.05);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    background-color: var(--dark);
    color: #fff;
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, .logo {
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

/* Glassmorphism Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 20px;
}

.nav-links a {
    text-decoration: none;
    color: #aaa;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
}

/* Modern Hero Section */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
    align-items: center;
}

.hero-content {
    padding: 0 15%;
}

.sub-heading {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: #ccc;
    margin-bottom: 2.5rem;
    max-width: 400px;
}

.hero-image {
    height: 100%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: var(--transition);
}

/* Buttons */
.btn-primary {
    background: var(--gold);
    color: #000;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-right: 15px;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 10px 25px;
    text-decoration: none;
    transition: var(--transition);
}

/* Category Grid */
.featured-grid {
    padding: 100px 8%;
    text-align: center;
}

.section-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.category-card {
    height: 350px;
    background: var(--glass);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.category-card span {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    z-index: 2;
}

.category-card:hover {
    background: var(--gold);
    color: #000;
}

footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        padding: 80px 5%;
        order: 2;
    }
    .hero-image {
        height: 400px;
        order: 1;
    }
}

/* Form Styling */
.contact-form-container {
    padding: 50px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-form .form-group {
    margin-bottom: 20px;
}

.modern-form input, .modern-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition);
}

.modern-form input:focus, .modern-form textarea:focus {
    border-bottom: 1px solid var(--gold);
}

.modern-form textarea {
    height: 150px;
}

/* Category Card Text Fix */
.card-content {
    padding: 20px;
    text-align: center;
}

.category-card {
    text-decoration: none;
    color: inherit;
}

/* --- Custom Scrollbar for Terms Box --- */
#termsBox::-webkit-scrollbar {
    width: 6px;
}

#termsBox::-webkit-scrollbar-track {
    background: #000;
}

#termsBox::-webkit-scrollbar-thumb {
    background: #D4AF37; /* Luxora Gold */
    border-radius: 10px;
}

/* --- Ambassador Terms Modal Styling --- */
#termsModal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.95); /* Deep dark overlay */
    backdrop-filter: blur(10px);
    transition: opacity 0.3s ease;
}

#termsBox {
    scrollbar-width: thin; /* For Firefox support */
    scrollbar-color: #D4AF37 #000;
}

/* Ensure the modal content matches the modern aesthetic */
#termsModal div {
    border-radius: 0; /* Boxy, high-fashion look */
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.footer-links a:hover {
    color: var(--gold) !important;
}

/* --- Mobile Responsiveness --- */

/* Adjusting the main grid containers for smaller screens */
@media (max-width: 968px) {
    .hero-split {
        grid-template-columns: 1fr; /* Stack the image and text vertically */
        text-align: center;
        min-height: auto;
    }

    .hero-content {
        padding: 60px 5%;
        order: 2; /* Move text below the image on mobile */
    }

    .hero-image {
        height: 350px;
        order: 1; /* Move image to the top */
    }

    .hero-content h1 {
        font-size: 2.8rem; /* Scale down heading for mobile */
    }

    .grid-container {
        grid-template-columns: 1fr 1fr; /* Two items per row on tablets */
        gap: 15px;
    }
}

@media (max-width: 768px) {
    /* Navbar adjustments */
    .navbar {
        padding: 15px 5%;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .nav-links li {
        margin: 0 10px;
    }

    /* Form and Modal adjustments */
    .contact-form-container {
        padding: 30px 20px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    #termsModal div {
        width: 95%; /* Make modal wider on small screens */
        padding: 20px;
        margin: 10% auto;
    }

    /* Category grid - one item per row on small phones */
    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}