@import url('https://fonts.googleapis.com/css2?family=Alata&family=Averia+Serif+Libre:wght@300;400;700&display=swap');

:root {
    --primary-color: #272729;
    --secondary-color: #fffef7;
    --third-color: #cc58a0;
    --forth-color: #148cc5;
    --fifth-color: #f0512b;
    --font-heading: 'Averia Serif Libre', serif;
    --font-body: 'Alata', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
img {
    max-width: 100%;
    height: auto;
    display: block;
}
body {
    background-color: var(--secondary-color);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* --- NAVIGATION --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
    background: var(--primary-color);
}

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

.main-monogram { height: 45px; width: auto; }

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

.pill-link {
    text-decoration: none;
    color: white;
    font-size: 0.75rem;
    padding: 10px 22px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    transition: 0.3s;
}

/* --- HAMBURGER --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 10px;
    transition: 0.3s;
}

/* --- HERO & CONTENT --- */
.cs-hero {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 180px 10% 100px 10%;
}

.cs-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 6.5rem);
    color: var(--fifth-color);
    text-transform: uppercase;
    margin-bottom: 60px;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
}

.label { color: var(--forth-color); font-size: 0.7rem; text-transform: uppercase; font-weight: bold; }

.cs-main { padding: 120px 10%; }
.cs-section { max-width: 850px; margin-bottom: 120px; }
.cs-heading { font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 4rem); border-bottom: 8px solid var(--third-color); display: inline-block; margin-bottom: 35px; text-transform: uppercase; }
.cs-main p { font-size: 1.3rem; line-height: 1.8; margin-bottom: 25px; }

/* --- MOBILE LOGIC --- */
@media (max-width: 1024px) {
    .hamburger { 
        display: flex; /* Makes sure the hamburger is visible */
    }
    
    .nav-links {
        display: none; /* Keeps links hidden by default on mobile */
    }

    /* THE FIX: Added !important to ensure it overrides display:none */
    .nav-links.mobile-active {
        display: flex !important; 
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1050;
    }
    
    /* Ensure links are visible and large on mobile */
    .nav-links.mobile-active li {
        margin: 15px 0;
    }
    
    .nav-links.mobile-active .pill-link {
        font-size: 1.5rem;
        color: white;
        border: 1px solid rgba(255,255,255,0.2);
    }
}

/* Hamburger Animation */
.hamburger.is-active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.reveal { opacity: 0; transform: translateY(40px); transition: 1.2s cubic-bezier(0.2, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }