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

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    line-height: 1.7;
    color: #333;
    background: #fff;
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Montserrat:wght@300;400;500&display=swap');

/* Header & Nav */
header {
    /* CHANGED: Replaced solid grey with semi-transparent white */
    background: rgba(255, 255, 255, 0.85);
    
    /* ADDED: This creates the "Frosted Glass" blur effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    
    /* ADDED: A subtle shadow helps separate the header from the content slightly */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);

    padding: 1rem 2rem;
    
    /* CHANGED: 'fixed' ensures it stays on top while the hero slides behind it */
    position: fixed; 
    width: 100%; /* Required when using position: fixed */
    top: 0;
    left: 0;   /* Ensures it anchors to the left edge */
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #661d6c; /* Changed to purple just in case image doesn't load */
    font-size: 1.8rem;
    font-weight: 300;
    text-decoration: none;
    letter-spacing: 3px;
    display: block;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

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

.nav-links a {
    color: #661d6c;
    text-decoration: none;
    padding: 0.5rem;
    transition: color 0.2s;
    font-size: 0.95rem;
    font-weight: 500; /* Added slight weight for better readability on glass */
}

.nav-links a:hover {
    /* CHANGED: White text would be invisible on a white header. 
       Using the lighter purple from your hero gradient instead. */
    color: #8a2d91; 
}

/* Hamburger Menu (kept largely the same, just ensured visibility) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #661d6c; /* CHANGED: Was white, now purple to see it on white bg */
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #661d6c 0%, #8a2d91 50%, #661d6c 100%);
    color: white;
    text-align: center;
    
    /* CHANGED: Increased top padding significantly (e.g. 10rem).
       Since the header is now 'fixed' on top, we need extra padding here 
       so the "KYA" text doesn't get hidden behind the logo/menu. */
    padding: 10rem 2rem 6rem 2rem;
    
    /* ADDED: Ensures the purple background covers the very top of the screen */
    margin-top: 0;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 1rem;
}

.hero .tagline {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
}

.hero .about-text {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-size: 1.15rem;
    line-height: 1.9;
    opacity: 0.92;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.hero-btn {
    display: inline-block;
    background: white;
    color: #661d6c;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
    border: 2px solid white;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: transparent;
    color: white;
}

/* Sections */
section {
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 300;
    color: #661d6c;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #545353;
    font-size: 1.3rem;
    font-weight: 300;
}

/* About */
/* Grey Sections Container */
.grey-sections {
    background: linear-gradient(45deg, #c6c6c6 0%, #eeeeee 50%, #c6c6c6 100%);
}

/* Brands */
.brands {
    background: none;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.brand-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 2rem;
    border-left: 4px solid #661d6c;
    transition: transform 0.2s, box-shadow 0.2s;
}

.brand-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 29, 108, 0.1);
}

.brand-card h3 {
    color: #661d6c;
    font-weight: 500;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    text-align: center;
}

.brand-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

/* Contact */
.contact {
    background: none;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-item {
    margin: 1rem 0;
    color: #444;
}

.contact-item strong {
    color: #661d6c;
}

/* Footer */
footer {
    background: #661d6c;
    color: #e8d5e9;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    display: block;
    width: 32px;
    height: 32px;
    transition: transform 0.2s, opacity 0.2s;
}

.social-links a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.social-links img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Dropdown Menu - Desktop */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 250px;
    padding: 1.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 1000;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0.75rem 0;
}

.dropdown-menu a {
    color: #661d6c;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.2s;
    display: block;
    padding: 0.5rem 0;
}

.dropdown-menu a:hover {
    color: #8a2d91;
}

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

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 0;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 0.75rem 0;
        border-top: 1px solid rgba(102, 29, 108, 0.1);
    }
    
    .nav-links li:first-child {
        border-top: none;
    }

    /* Dropdown - Mobile */
    .has-dropdown {
        display: flex;
        flex-direction: column;
    }
    
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        left: 0 !important;
        background: transparent;
        box-shadow: none;
        min-width: 100%;
        width: 100%;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto;
        transition: max-height 0.4s ease, padding 0.4s ease;
        backdrop-filter: none;
    }

    .dropdown-menu.active {
        max-height: 800px;
        padding: 0.5rem 0 0.5rem 1rem;
    }

    .dropdown-menu li {
        margin: 0;
        padding: 0;
        border-top: none;
    }

    .dropdown-menu a {
        padding: 0.5rem 0;
        font-size: 0.8rem;
    }

    .arrow {
        display: inline-block;
        transition: transform 0.3s;
        font-size: 0.8rem;
        margin-left: 0.3rem;
    }

    .arrow.rotated {
        transform: rotate(180deg);
    }

    /* Other mobile styles */
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .tagline {
        font-size: 1.1rem;
    }

    .hero .about-text {
        font-size: 1rem;
    }

    .hero {
        padding: 7rem 1.5rem 3rem 1.5rem;
    }

    section {
        padding: 3rem 1.5rem;
    }

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

    .brand-grid {
        grid-template-columns: 1fr;
    }
}