/* Global Settings & Variables */
:root {
    --color-primary: #000000;
    --color-secondary: #ffffff;
    --color-accent: #333333;
    --font-brand: 'TMA-RoadRadio', 'Archivo Black', sans-serif;
    --font-menu: 'Montserrat', sans-serif;
    /* Light 300 */
    --font-body: 'Montserrat', sans-serif;
    /* Medium 500 */
    --transition-speed: 0.3s;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

main {
    padding-top: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

p {
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Override for specific headline classes */
.main-headline {
    font-weight: 300 !important;
}

.hero-title {
    font-weight: 700;
}

ul {
    list-style: none;
}

/* Typography Imports */
/* Local Typography Imports */

/* 1. RoadRadio Bold */
@font-face {
    font-family: 'TMA-RoadRadio';
    src: url('../fonts/RoadRadio-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Header Styles */
.site-header {
    background-color: var(--color-secondary);
    padding: 1.5rem 3rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-items: center;

    transition: all var(--transition-speed) ease;
}

.site-header.scrolled {
    padding: 1rem 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-left {
    grid-column: 1;
    justify-self: flex-end;
    display: flex;
    align-items: center;
}

.nav-right {
    grid-column: 3;
    justify-self: flex-start;
    display: flex;
    align-items: center;
}

.nav-left ul,
.nav-right ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    /* Using specific Light font file */
    font-weight: 300;
    /* Set to Light explicitly for menu */
    /* Map to normal weight of the specific file */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-primary);
    transition: width var(--transition-speed) ease;
}

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

.nav-link .dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 4px;
}

/* Brand Logo */
.brand-logo {
    font-family: var(--font-brand);
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    white-space: nowrap;
    grid-column: 2;
    justify-self: center;
    margin: 0 3rem;
}

/* Hero Section */
.hero-section {
    height: 120vh;
    width: 100%;
    background-color: #111;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: var(--color-secondary);
    margin-top: 0px;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
}

.hero-slide-text {
    position: absolute;
    bottom: 60px;
    left: 60px;
    color: #fff;
    z-index: 2;
}

.hero-slide-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.hero-slide-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    /* As per prompt, only header menu is light? Image shows bold text here. Using Montserrat */
    font-weight: 300;
    font-size: 2rem;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 0.1rem;
    line-height: 1.8;
    text-transform: uppercase;
    animation: fadeInUp 1.2s ease-out;
}

.plus-symbol {
    display: block;
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

/* Navigation Arrows in Hero */
.hero-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 3rem;
    z-index: 10;
    transform: translateY(-50%);
    pointer-events: none;
}

.arrow-btn {
    pointer-events: auto;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.arrow-btn:hover {
    opacity: 1;
}

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .site-header {
        padding: 1.5rem 2rem;
        grid-template-columns: auto 1fr auto;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
    }

    .brand-logo {
        position: static;
        transform: none;
        font-size: 1.5rem;
        margin: 0 1rem;
    }

    .nav-left,
    .nav-right {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: var(--color-primary);
        cursor: pointer;
        font-size: 1.5rem;
        transition: all 0.3s ease;
        padding: 0.5rem;
    }

    .mobile-menu-toggle.active {
        color: var(--color-accent);
    }

    .mobile-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: #fff;
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
        overflow-y: auto;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    .mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu li {
        border-bottom: 1px solid #f0f0f0;
    }

    .mobile-dropdown {
        position: relative;
    }

    .mobile-nav-link {
        display: block;
        padding: 1.2rem 1.5rem;
        font-family: 'Montserrat', sans-serif;
        font-weight: 500;
        font-size: 1rem;
        color: var(--color-primary);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
    }

    .mobile-nav-link:hover {
        background: #f9f9f9;
        padding-left: 2rem;
    }

    .mobile-dropdown-menu {
        display: none;
        list-style: none;
        padding: 0;
        margin: 0;
        background: #f9f9f9;
    }

    .mobile-dropdown-menu.active {
        display: flex;
        flex-direction: column;
    }

    .mobile-dropdown-menu li {
        border: none;
    }

    .mobile-dropdown-menu a {
        display: block;
        padding: 1rem 1.5rem 1rem 2.5rem;
        font-family: 'Montserrat', sans-serif;
        font-weight: 300;
        font-size: 0.9rem;
        color: var(--color-primary);
        text-transform: none;
        transition: all 0.3s ease;
    }

    .mobile-dropdown-menu a:hover {
        padding-left: 3rem;
        color: var(--color-accent);
    }
}

@media (max-width: 1024px) {
    .hero-section {
        height: 100vh;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-slide-text {
        bottom: 40px;
        left: 40px;
    }

    .hero-slide-text h2 {
        font-size: 1.5rem;
    }

    .hero-slide-text p {
        font-size: 0.9rem;
    }

    .hero-nav {
        padding: 0 1.5rem;
    }

    .arrow-btn {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 1rem 1.5rem;
    }

    .brand-logo {
        font-size: 1.2rem;
        margin: 0 0.5rem;
    }

    .hero-section {
        height: 85vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        line-height: 1.8;
    }

    .plus-symbol {
        margin: 0.3rem 0;
        font-size: 1rem;
    }

    .hero-slide-text {
        bottom: 30px;
        left: 30px;
    }

    .hero-slide-text h2 {
        font-size: 1.2rem;
    }

    .hero-slide-text p {
        font-size: 0.8rem;
    }

    .arrow-btn {
        font-size: 1.2rem;
        opacity: 0.5;
    }

    .arrow-btn:active {
        opacity: 1;
    }

    .hero-dots {
        bottom: 20px;
        gap: 8px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 0.8rem 1rem;
    }

    .brand-logo {
        font-size: 1rem;
        margin: 0;
    }

    .hero-section {
        height: 75vh;
        min-height: 350px;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.65rem;
    }

    .hero-slide-text {
        bottom: 20px;
        left: 20px;
    }

    .hero-slide-text h2 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .hero-slide-text p {
        font-size: 0.7rem;
    }

    .hero-nav {
        padding: 0 1rem;
    }

    .arrow-btn {
        font-size: 1rem;
    }

    .hero-dots {
        bottom: 15px;
    }

    .dot {
        width: 6px;
        height: 6px;
    }
}

@media (min-width: 1025px) {
    .mobile-menu-toggle {
        display: none;
    }

    .mobile-menu {
        display: none;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}