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

body {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    color: #eee;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ---------- HEADER ---------- */
header {
    position: relative;
    height: 40vh;
    background: url('../images/lexus.webp') center center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 5px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

header h1 {
    position: relative;
    color: #fff;
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: 6px;
    text-transform: uppercase;
    z-index: 1;
}

/* ---------- NAVBAR ---------- */
.navbar {
    background: #111;
    text-align: center;
    padding: 14px 0;
    border-bottom: 1px solid #222;
}

.navbar a {
    color: #ccc;
    text-decoration: none;
    margin: 0 20px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
    color: gold;
}


        /* ---------- CONTAINER ---------- */
        .container {
            max-width: 1200px;
            margin: 60px auto;
            padding: 0 20px;
        }

        /* ---------- SECTION STYLING ---------- */
        section {
            margin-bottom: 70px;
            opacity: 0;
            transform: translateY(40px);
            transition: all 1s ease;
        }

        section.visible {
            opacity: 1;
            transform: translateY(0);
        }

        h2 {
            font-family: 'Montserrat', sans-serif;
            font-size: 24px;
            color: #fff;
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 2px;
            border-left: 3px solid gold;
            padding-left: 12px;
            font-weight: 500;
        }

        p {
            line-height: 1.7;
            font-size: 16px;
            color: #ccc;
            margin-bottom: 15px;
            font-weight: 300;
        }

        ul {
            list-style: none;
            margin-top: 10px;
        }

        ul li {
            font-size: 15.5px;
            margin-bottom: 10px;
            position: relative;
            padding-left: 20px;
            font-weight: 300;
        }

        ul li::before {
            content: "•";
            position: absolute;
            left: 0;
            color: gold;
            font-size: 18px;
        }

        /* ---------- TIMELINE ---------- */
        .timeline li {
            border-left: 0px solid #333;
            padding-left: 15px;
            margin-left: 10px;
        }

        /* ---------- CTA SECTION ---------- */
        .about-cta {
            background: linear-gradient(135deg, #111, #1a1a1a);
            text-align: center;
            padding: 50px 20px;
            border-top: 1px solid #333;
        }

        .about-cta h2 {
            border: none;
            margin-bottom: 10px;
        }

        .about-cta p {
            color: #ccc;
            font-size: 17px;
            margin-bottom: 25px;
            font-weight: 300;
        }

        .button {
            background: gold;
            color: #000;
            padding: 13px 26px;
            border-radius: 3px;
            font-weight: 600;
            text-transform: uppercase;
            text-decoration: none;
            letter-spacing: 1px;
            transition: 0.3s;
            font-family: 'Montserrat', sans-serif;
        }

        .button:hover {
            background: #caa400;
        }

        /* ---------- FOOTER ---------- */
        footer {
            background: #0a0a0a;
            color: #888;
            text-align: center;
            padding: 20px;
            font-size: 13.5px;
            border-top: 1px solid #222;
            letter-spacing: 0.5px;
        }

        /* ---------- RESPONSIVE ---------- */
        @media (max-width: 768px) {
            header {
                height: 30vh;
            }
            header h1 {
                font-size: 1.6rem;
                letter-spacing: 4px;
            }
            h2 {
                font-size: 20px;
            }
            p {
                font-size: 15px;
            }
        }

        /* ---------- HEADER (fade in synced with page content) ---------- */
header {
    position: relative;
    height: 40vh;
    background: url('../images/lexus.webp') center center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 5px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

header.visible {
    opacity: 1;
    transform: translateY(0);
}

header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

header h1 {
    position: relative;
    font-size: 3rem;
    font-weight: 600;
    z-index: 1;
}

/* Make fade-in animation consistent across sections, features, model cards, and header */
section, .feature, .model-card, header {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

section.visible, .feature.visible, .model-card.visible, header.visible {
    opacity: 1;
    transform: translateY(0);
}
