/* css/global.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-yellow: #FFE600;
    --primary-yellow-hover: #E6CF00;
    --dark-bg: #111111;
    --darker-bg: #1A1A1A;
    --light-bg: #FFFFFF;
    --text-dark: #111111;
    --text-light: #FFFFFF;
    --text-gray: #888888;
    --border-color: #EEEEEE;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    /* Background color for body to match footer */
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Base Wrapper for Curtain Footer */
.site-wrapper {
    position: relative;
    z-index: 1;
    /* Elevates above sticky bottom footer */
    background-color: var(--light-bg);
    /* Opaque background isolates sections above */
    min-height: 100vh;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Drop shadow effect onto footer */
    margin-bottom: 0;
    /* Updated dynamically via JS */
    overflow-x: hidden;
    /* Added to explicitly clip wrapper overflow */
    width: 100%;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid var(--primary-yellow);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-yellow);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--text-light);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid var(--text-light);
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--text-dark);
}


/* Custom button specifically for Nav */
.navbar .btn-primary {
    padding: 8px 16px;
}

/* Navbar styles - Sticky & Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar .logo img {
    height: 35px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a:not(.btn-primary) {
    color: var(--text-light);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:not(.btn-primary):hover,
.nav-links a.active {
    color: var(--primary-yellow);
}

/* Scrolled Navbar (Glass effect) */
.navbar.scrolled {
    top: 20px;
    left: 5%;
    width: 90%;
    padding: 15px 30px;
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Footer styles */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 60px 8% 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand img {
    height: 35px;
    margin-bottom: 25px;
}

.footer-brand p {
    color: var(--text-gray);
    font-size: 14px;
}

.footer-contact h3 {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
}

.footer-contact p {
    color: var(--text-gray);
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-contact strong {
    color: var(--text-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p,
.footer-bottom a {
    color: var(--text-gray);
    font-size: 12px;
}

.footer-bottom a:hover {
    color: var(--primary-yellow);
}

.footer-bottom p a {
    color: var(--primary-yellow);
    font-weight: 600;
}

/* Section Common Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-title-sm {
    color: var(--primary-yellow);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.15;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 16px;
    margin-bottom: 50px;
}

/* HAMBURGER MENU SCROLL & RESPONSIVE */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
}

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

    .navbar {
        padding: 20px 5%;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 100vh;
        justify-content: flex-start;
        padding-top: 10vh;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        gap: 30px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        /* Hidden */
        transition: clip-path 0.4s ease-in-out;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        opacity: 0;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
    }

    .nav-links a:not(.btn-primary) {
        font-size: 18px;
    }

    /* Hamburger animation to X */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* DESKTOP > 1440px (Ultra-wide) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .section-title {
        font-size: 44px;
    }

    .section-subtitle {
        font-size: 18px;
    }
}