/* =============================================================================
   1. VARIABLES & RESET
   ============================================================================= */
:root {
    /* Brand Colors */
    --primary: #ecd804;
    --primary-hover: #d4b700;
    --text-dark: #111111;
    --text-medium: #444444;
    --text-light: #777777;
    
    /* Backgrounds */
    --bg-body: #f8f9fa;
    --bg-white: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    
    /* Dimensions */
    --nav-height: 70px;
    --container-width: 1200px;
    
    /* Shadows & Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.12);
    --blur: blur(12px);
    
    /* Animation */
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
    background-color: var(--bg-body);
    color: var(--text-dark);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--nav-height);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =============================================================================
   2. NAVBAR (Pro Layout + Glassmorphism)
   ============================================================================= */
.navbar {
    display: flex;
    justify-content: space-between; /* Pushes Logo Left, Menu/Burger Right */
    align-items: center;
    padding: 0 5%;
    height: var(--nav-height);
    background: var(--bg-glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: var(--text-dark);
    z-index: 1002; /* Always on top */
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-medium);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-dark);
}

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

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

/* =============================================================================
   3. HAMBURGER & MOBILE MENU
   ============================================================================= */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 10px;
}

.nav-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

/* Mobile Responsive Logic */
@media (max-width: 900px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-toggle {
        display: block;
        margin-left: auto; /* Ensures it stays on the right */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transform: translateX(100%);
        transition: transform 0.4s var(--ease);
        z-index: 1001;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 20px;
        font-weight: 600;
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-links a::after { display: none; }

    /* Hamburger Animations */
    .nav-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open .bar:nth-child(2) { opacity: 0; transform: translateX(-10px); }
    .nav-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Dim Overlay */
    body.nav-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        backdrop-filter: blur(4px);
        z-index: 1000;
        animation: fadeOverlay 0.3s forwards;
    }
}

@keyframes fadeOverlay { from { opacity: 0; } to { opacity: 1; } }

/* =============================================================================
   4. BUTTONS & FOOTER
   ============================================================================= */
button, .btn {
    padding: 12px 28px;
    background-color: var(--primary);
    color: var(--text-dark);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 10px rgba(236, 216, 4, 0.25);
}

button:hover, .btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(236, 216, 4, 0.4);
}

footer {
    background: var(--bg-white);
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid #eaeaea;
    margin-top: 60px;
}

footer p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

footer a {
    font-weight: 600;
    margin: 0 12px;
    color: var(--text-dark);
    position: relative;
}

footer a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}
/* HERO SECTION WITH BACKGROUND IMAGE */
.hero {
    position: relative;
    padding: 80px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 380px;
    overflow: hidden;
}

/* Background image layer */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../assets/images/newwwws.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.18;   /* LOWER means lighter background */
    z-index: 0;
}

/* Keep text ABOVE background */
.hero-text, 
.hero-img {
    position: relative;
    z-index: 2;
}

/* Optional: make text more readable */
.hero-text h1, .hero-text p {
    color: #000;
}
