/* ============================================
   FONTS
   ============================================ */
@font-face {
    font-family: 'Waukegan LDO';
    src: url('../fonts/Waukegan LDO.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Waukegan LDO';
    src: url('../fonts/Waukegan LDO Oblique.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Waukegan LDO';
    src: url('../fonts/Waukegan LDO Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Waukegan LDO';
    src: url('../fonts/Waukegan LDO Bold Oblique.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Waukegan LDO';
    src: url('../fonts/Waukegan LDO Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Waukegan LDO';
    src: url('../fonts/Waukegan LDO Black Oblique.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Waukegan LDO Extended';
    src: url('../fonts/Waukegan LDO Extended.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Waukegan LDO Extended';
    src: url('../fonts/Waukegan LDO Extended Oblique.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Waukegan LDO Extended';
    src: url('../fonts/Waukegan LDO Extended Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Waukegan LDO Extended';
    src: url('../fonts/Waukegan LDO Extended Bold Oblique.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Waukegan LDO Extended';
    src: url('../fonts/Waukegan LDO Extended Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Waukegan LDO Extended';
    src: url('../fonts/Waukegan LDO Extended Black Oblique.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Inspired by the hero image */
    --deep-space: #0d0d0d;
    --midnight-blue: #141414;
    --cosmic-teal: #1e1e1e;
    --steel-blue: #282828;
    --amber-glow: #d4a574;
    --electric-orange: #ff6b35;
    --pure-white: #ffffff;
    --soft-white: #f8f9fa;
    --text-gray: #a8b2c1;
    --accent-gold: #ffa726;

    /* Typography */
    --font-primary: 'Waukegan LDO', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Waukegan LDO', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-tagline: 'Waukegan LDO', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing - Now responsive to viewport and zoom */
    --spacing-xs: clamp(0.25rem, 0.5vw, 0.5rem);
    --spacing-sm: clamp(0.75rem, 1.5vw, 1rem);
    --spacing-md: clamp(1.5rem, 3vw, 2rem);
    --spacing-lg: clamp(3rem, 5vw, 4rem);
    --spacing-xl: clamp(4rem, 8vw, 6rem);
    --header-height: clamp(72px, 12vh, 96px);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.6;
    color: var(--text-gray);
    background: var(--deep-space);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.03) 0px,
            transparent 1px,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 3px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.03) 0px,
            transparent 1px,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 3px
        );
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

body > * {
    position: relative;
    z-index: 2;
}

.container {
    max-width: min(1200px, 95vw);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
    width: 100%;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1300;
    --header-height: clamp(90px, 14vh, 120px);
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: all var(--transition-medium);
    min-height: var(--header-height);
}

.header.scrolled {
    --header-height: clamp(72px, 12vh, 96px);
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: clamp(1rem, 2vw, 1.5rem) clamp(2rem, 4vw, 4rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1350;
    transition: padding var(--transition-medium);
}

@media (min-width: 769px) {
    .header.scrolled .nav-container {
        padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1.5rem, 3vw, 3rem);
    }
}

.logo-small {
    height: clamp(52px, 6vw, 64px);
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    transition: all var(--transition-medium);
    flex-shrink: 0;
    position: relative;
    z-index: 1400;
}

@media (min-width: 769px) {
    .header.scrolled .logo-small {
        height: clamp(40px, 5vw, 50px);
    }
}


.logo-small img {
    height: 100%;
    width: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 3vw, 3rem);
    position: relative;
    margin-left: auto;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), margin-left var(--transition-medium);
    z-index: 1400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(2rem, 3vw, 3.5rem);
    align-items: center;
}

.nav-links a {
    color: var(--pure-white);
    text-decoration: none;
    font-weight: 800;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    letter-spacing: clamp(1.5px, 0.2vw, 2.5px);
    text-transform: uppercase;
    position: relative;
    transition: color var(--transition-fast), font-size var(--transition-medium);
    white-space: nowrap;
}

@media (min-width: 769px) {
    .header.scrolled .nav-links a {
        font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    }
}

.nav-links a:not(.cta-button)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--electric-orange);
    transition: width var(--transition-medium);
}

.nav-links a:not(.cta-button):hover::after {
    width: 100%;
}

.nav-links a:not(.cta-button):hover {
    color: var(--electric-orange);
}

/* Dropdown Navigation */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-toggle {
    cursor: pointer;
    display: inline-block;
}

.nav-links .dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(13, 13, 13, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 8px;
    padding: 0.75rem 0;
    list-style: none;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
    transform: translateX(-50%) translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1500;
}

/* Create invisible bridge between trigger and dropdown */
.nav-links .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
}

/* Desktop-only hover and scroll adjustments */
@media (min-width: 769px) {
    .nav-links .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .header.scrolled .nav-links .dropdown-menu {
        top: calc(100% + 12px);
    }

    .header.scrolled .nav-links .dropdown-menu::before {
        top: -12px;
        height: 12px;
    }
}

.nav-links .dropdown-menu li {
    margin: 0;
    padding: 0;
}

.nav-links .dropdown-menu a {
    display: block;
    padding: 0.875rem 1.5rem;
    color: var(--text-gray);
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: none;
    white-space: normal;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

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

.nav-links .dropdown-menu a:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--electric-orange);
    border-left-color: var(--electric-orange);
    padding-left: 1.75rem;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: clamp(1rem, 1.5vw, 1.5rem);
    align-items: center;
    margin-left: 1rem;
    position: relative;
    z-index: 1450;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text-gray);
    transition: all var(--transition-fast);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 769px) {
    .header.scrolled .social-icons a {
        width: 36px;
        height: 36px;
    }
}

.social-icons a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--electric-orange), var(--accent-gold));
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: -1;
}

.social-icons a:hover::before {
    opacity: 1;
}

.social-icons a:hover {
    color: var(--pure-white);
    transform: translateY(-2px);
}

.social-icons svg {
    width: 22px;
    height: 22px;
    transition: transform var(--transition-fast);
}

@media (min-width: 769px) {
    .header.scrolled .social-icons svg {
        width: 20px;
        height: 20px;
    }
}

.social-icons a:hover svg {
    transform: scale(1.1);
}

.nav-links .cta-button {
    background: linear-gradient(135deg, var(--electric-orange), var(--accent-gold));
    padding: clamp(0.6rem, 1vw, 0.75rem) clamp(1.2rem, 2vw, 1.5rem);
    border-radius: 50px;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.nav-links .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: relative;
    z-index: 1500;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--pure-white);
    transition: all var(--transition-medium);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 3rem 0;
    background: var(--deep-space);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    width: 100%;
    position: relative;
}

.footer-top::before {
    content: '';
    position: absolute;
    height: 1px;
    left: 0;
    right: 0;
    top: 50px;
    background: rgba(168, 178, 193, 0.4);
    pointer-events: none;
}

.footer-logo {
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 clamp(1rem, 3vw, 2rem);
    background: var(--deep-space);
}

.footer-logo img {
    height: 100px;
    width: auto;
    display: block;
}

.footer-logo p {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--pure-white);
}

.footer-section {
    flex: 1;
    text-align: center;
    padding-top: 120px;
    position: relative;
    z-index: 1;
}

.footer-section h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 2.8vw, 2rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pure-white);
    margin-bottom: 1rem;
    white-space: nowrap;
}

.footer-section p {
    font-family: Arial, sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    height: 48px;
    padding: 0 1rem;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    color: var(--text-gray);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    outline: none;
    transition: all var(--transition-fast);
}

.newsletter-form input:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.newsletter-form input::placeholder {
    color: rgba(168, 178, 193, 0.5);
}

.newsletter-form button {
    height: 48px;
    padding: 0 1.5rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--pure-white);
    background: linear-gradient(135deg, var(--electric-orange), var(--accent-gold));
    border: 1px solid var(--electric-orange);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.newsletter-form button:hover {
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    transform: translateY(-1px);
}

.newsletter-form button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.newsletter-form button:disabled:hover {
    box-shadow: none;
    transform: none;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border: none;
    color: var(--electric-orange);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 28px;
    height: 28px;
}

.footer-partner-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

.footer-partner-logos img {
    height: 58px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
}

.footer-text {
    text-align: center;
    margin-top: 2rem;
}

.footer-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin: 0.25rem 0;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.65) !important;
}

/* ============================================
   RESPONSIVE NAV + FOOTER
   ============================================ */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }

    .dropdown-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .header,
    .header.scrolled {
        --header-height: 64px;
        min-height: 64px;
    }

    .header .nav-container,
    .header.scrolled .nav-container {
        padding: 0.875rem 1.5rem;
    }

    .header .logo-small,
    .header.scrolled .logo-small {
        height: 48px;
    }


    .nav-container {
        padding: 0.875rem 1.5rem;
        justify-content: space-between !important;
    }

    .logo-small {
        height: 40px;
        position: relative;
        left: 0;
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
        transition: all var(--transition-medium);
    }

    .nav-right {
        position: relative;
        left: auto;
        transform: none;
        margin-left: auto;
        justify-content: flex-end;
        transition: all var(--transition-medium);
        z-index: 1400;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        right: 0;
        transform: translateX(100%);
        width: 100vw;
        height: calc(100dvh - 64px);
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 2.5rem;
        padding: 2.5rem 0.75rem 2rem;
        transition: transform var(--transition-medium), opacity var(--transition-medium), visibility var(--transition-medium);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        overflow-y: auto;
        z-index: 1200;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1500;
    }

    .social-icons {
        gap: 0.75rem;
        margin-left: 0.75rem;
        z-index: 1450;
    }

    .social-icons a {
        width: 32px;
        height: 32px;
    }

    .social-icons svg {
        width: 18px;
        height: 18px;
    }

    /* Mobile dropdown arrow */
    .dropdown-arrow {
        display: inline-block;
        width: 16px;
        height: 16px;
        margin-left: 6px;
        vertical-align: middle;
        transform: rotate(-90deg);
        transition: transform 0.3s ease;
    }

    .dropdown.active .dropdown-arrow {
        transform: rotate(0deg);
    }

    /* Mobile Dropdown Adjustments */
    .nav-links .dropdown-menu {
        position: static;
        transform: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        margin: 0;
        background: rgba(255, 107, 53, 0.05);
        border: none;
        border-left: 2px solid var(--electric-orange);
        border-radius: 0;
        box-shadow: none;
        min-width: auto;
        transition: all var(--transition-fast);
    }

    .nav-links .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        max-height: 300px;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
        transform: none;
    }

    .nav-links .dropdown-menu a {
        padding: 0.75rem 1rem 0.75rem 1.5rem;
        font-size: 0.95rem;
        border-left: none;
    }

    /* No hover effects in mobile menu — tap only */
    .nav-links a:not(.cta-button):hover { color: var(--pure-white); }
    .nav-links a:not(.cta-button):hover::after { width: 0; }
    .nav-links .dropdown-menu a:hover {
        padding-left: 1.5rem;
        background: none;
        color: var(--text-gray);
        border-left-color: transparent;
    }

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

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

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

    .footer {
        padding: 2.5rem 0;
    }

    .footer-content {
        align-items: center;
        width: 100%;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .footer-top::before {
        display: none;
    }

    .footer-logo {
        background: transparent;
        order: -1;
    }

    .footer-logo img {
        height: 60px;
    }

    .footer-section {
        text-align: center;
        width: 100%;
        padding-top: 0;
    }

    .footer-section h4 {
        font-size: clamp(1rem, 4.5vw, 1.3rem);
    }

    .footer-section h4 {
        text-align: center;
    }

    .newsletter-form {
        flex-direction: row;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }

    .newsletter-form input {
        flex: 1;
        min-width: 0;
    }

    .newsletter-form button {
        flex-shrink: 0;
        padding: 0 0.85rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .footer-social {
        justify-content: center;
        width: 100%;
    }

    .footer-text {
        text-align: center;
        padding: 0 1rem;
        word-break: break-word;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.875rem 1rem;
        justify-content: space-between !important;
    }

    .logo-small {
        height: 35px;
        position: relative;
        left: 0;
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
        transition: all var(--transition-medium);
    }

    .nav-right {
        position: relative;
        left: auto;
        transform: none;
        margin-left: auto;
        justify-content: flex-end;
        transition: all var(--transition-medium);
    }

    .nav-links {
        width: 100vw;
        gap: 2rem;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .nav-links .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer-logo p {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .footer-text p {
        font-family: Arial, sans-serif;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .nav-links {
        padding-top: 2rem;
        gap: 1.5rem;
    }
}

@media (max-width: 375px) {
    .nav-links {
        width: 100%;
    }
}

@media (hover: none) and (pointer: coarse) {
    .nav-links a {
        padding: 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-toggle {
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
