/* ==========================================
   GLOBAL STYLES - Shared across all pages
   ========================================== */

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

:root {
    --primary-orange: #f97316;
    --primary-green: #10b981;
    --dark-green: #059669;
    --light-bg: #f0fdf4;
    --white: #ffffff;
    --dark-text: #0f172a;
    --medium-text: #475569;
    --light-text: #94a3b8;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================
   NAVIGATION BAR
   ========================================== */

.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Section */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dark-text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-green));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-links a.active {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-green));
    color: white;
}

.nav-links a.active::after {
    display: none;
}

/* ==========================================
   RESPONSIVE HAMBURGER MENU
   ========================================== */

@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        width: 100%;
        text-align: left;
        font-size: 18px;
        padding: 12px 20px;
    }

    .nav-links a::after {
        left: 20px;
        right: 20px;
        bottom: 8px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 12px 25px;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .nav-links {
        width: 260px;
        padding: 80px 25px 25px;
    }

    .nav-links a {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 10px 15px;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-img {
        width: 35px;
        height: 35px;
    }

    .nav-links {
        width: 240px;
    }

    .hamburger {
        padding: 5px;
    }

    .hamburger span {
        width: 24px;
    }
}

/* ==========================================
   OVERLAY (for mobile menu)
   ========================================== */

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
}
