:root {
    --primary-color: #f7b731;
    /* Amarillo Jeep */
    --primary-hover: #e5a420;
    --bg-dark: #121212;
    --bg-darker: #0a0a0a;
    --bg-light: #ffffff;
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
    --text-dark: #1a1a1a;
    --font-heading: 'Anton', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-hand: 'Permanent Marker', cursive;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Reset Links */
a {
    text-decoration: none;
    color: inherit;
}

/* Typography Base */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    margin: 0;
    font-weight: normal;
    /* Anton is naturally bold */
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-darker);
    border: none;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.novo-logo-img {
    height: 30px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-light);
}

.jeep-logo {
    height: 24px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    /* Base scale for parallax/zoom effect */
    transition: transform 0.1s ease-out;
}

/* Overlay gradient to ensure text readability */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text-box {
    margin-top: 80px;
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 500;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 6rem;
    line-height: 1;
    margin: 5px 0;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-bottom-text {
    position: absolute;
    bottom: 40px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1160px;
}

.hero-bottom-left p {
    margin: 5px 0;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--text-gray);
}

.hero-bottom-right .handwriting {
    font-family: var(--font-hand);
    font-size: 2.5rem;
    line-height: 1.1;
    text-align: right;
    transform: rotate(-5deg);
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Product Block */
.product-block {
    background-color: #ffffff;
    color: var(--text-dark);
    padding: 100px 20px;
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.product-header {
    flex: 1;
}

.product-eyebrow {
    color: var(--text-gray);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.product-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 15px 0 25px;
    color: #000;
}

.product-desc {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.product-images {
    flex: 1.5;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.pill-img-container {
    flex: 1;
    border-radius: 999px;
    overflow: hidden;
    aspect-ratio: 1 / 2.5;
}

.product-pill {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gallery Block (Timed Cards) */
.gallery-block {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 800px;
    background-color: var(--bg-darker);
    overflow: hidden;
}

/* Base styles for Timed Cards */
.gallery-block .card {
    position: absolute;
    left: 0;
    top: 0;
    background-position: center;
    background-size: cover;
    box-shadow: 6px 6px 10px 2px rgba(0, 0, 0, 0.6);
}

.gallery-block .card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-block .card-content {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--text-light);
    padding-left: 16px;
}

.gallery-block .content-place {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
}

.gallery-block .content-title-1,
.gallery-block .content-title-2 {
    font-weight: 600;
    font-size: 20px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.gallery-block .content-start {
    width: 30px;
    height: 5px;
    border-radius: 99px;
    background-color: var(--text-light);
}

.gallery-block .details {
    z-index: 22;
    position: absolute;
    top: 15%;
    left: 5%;
}

.gallery-block .details .place-box {
    height: 46px;
    overflow: hidden;
}

.gallery-block .details .place-box .text {
    padding-top: 16px;
    font-size: 20px;
    position: relative;
}

.gallery-block .details .place-box .text:before {
    top: 0;
    left: 0;
    position: absolute;
    content: "";
    width: 30px;
    height: 4px;
    border-radius: 99px;
    background-color: white;
}

.gallery-block .details .title-1,
.gallery-block .details .title-2 {
    font-weight: 600;
    font-size: 72px;
    font-family: var(--font-heading);
    line-height: 1;
}

.gallery-block .details .title-box-1,
.gallery-block .details .title-box-2 {
    margin-top: 2px;
    height: 80px;
    overflow: hidden;
}

.gallery-block .details>.desc {
    margin-top: 16px;
    width: 500px;
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.gallery-block .details>.cta {
    margin-top: 24px;
    display: flex;
    align-items: center;
}

.gallery-block .details>.cta>.discover {
    border: 1px solid var(--primary-color);
    background-color: transparent;
    height: 40px;
    border-radius: 99px;
    color: var(--primary-color);
    padding: 4px 24px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-block .details>.cta>.discover:hover {
    background-color: var(--primary-color);
    color: var(--bg-darker);
}

.gallery-block .indicator {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5px;
    z-index: 60;
    background-color: var(--primary-color);
}

.gallery-block .pagination {
    position: absolute;
    left: 0px;
    top: 0px;
    display: inline-flex;
}

.gallery-block .pagination>.arrow {
    z-index: 60;
    width: 50px;
    height: 50px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-block .pagination>.arrow:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.gallery-block .pagination>.arrow:nth-child(2) {
    margin-left: 20px;
}

.gallery-block .pagination>.arrow i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.gallery-block .pagination .progress-sub-container {
    margin-left: 24px;
    z-index: 60;
    width: 500px;
    height: 50px;
    display: flex;
    align-items: center;
}

.gallery-block .pagination .progress-sub-background {
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.2);
}

.gallery-block .pagination .progress-sub-foreground {
    height: 3px;
    background-color: var(--primary-color);
}

.gallery-block .pagination .slide-numbers {
    width: 50px;
    height: 50px;
    overflow: hidden;
    z-index: 60;
    position: relative;
    margin-left: 20px;
}

.gallery-block .pagination .slide-numbers .item {
    width: 50px;
    height: 50px;
    position: absolute;
    color: white;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    font-size: 32px;
    font-weight: bold;
    font-family: var(--font-heading);
}

.gallery-block .cover {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100%;
    background-color: var(--bg-darker);
    z-index: 100;
}

/* Form Block */
.form-block {
    position: relative;
    background-color: var(--bg-dark);
    padding: 100px 20px;
    z-index: 1;
}

.form-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/Form_back.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.form-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
}

.form-text {
    flex: 1;
}

.form-eyebrow {
    color: var(--text-gray);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.form-title {
    font-size: 4rem;
    line-height: 1.1;
    margin: 15px 0 25px;
}

.form-desc {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

.form-divider {
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: 30px;
}

.form-wrapper {
    flex: 1;
    padding: 0;
}

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.custom-form .form-group input[type="text"],
.custom-form .form-group input[type="tel"],
.custom-form .form-group input[type="email"],
.custom-form .form-group select {
    width: 100%;
    padding: 16px 20px;
    background-color: #242426;
    /* Dark input bg */
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    appearance: none;
    outline: none;
    transition: var(--transition);
}

.custom-form .form-group input:focus,
.custom-form .form-group select:focus {
    border-color: var(--primary-color);
}

.custom-form .form-group input::placeholder,
.custom-form .form-group select {
    color: #999;
}

.custom-form .select-group {
    position: relative;
}

.custom-form .select-group::after {
    content: "\25BE";
    /* down arrow */
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

.custom-form .checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.custom-form .checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    appearance: none;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    outline: none;
}

.custom-form .checkbox-group input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    color: #000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: bold;
}

.custom-form .checkbox-group label {
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
}

.custom-form .checkbox-group label a {
    color: #fff;
    text-decoration: underline;
}

.custom-form .form-submit {
    width: 100%;
    justify-content: center;
    padding: 18px;
    font-size: 1.1rem;
    color: #000;
}

/* Closing Block */
.closing-block {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.closing-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.closing-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.closing-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    /* 20% opacity black layer */
    z-index: 0;
}

.closing-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.closing-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.closing-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.closing-logos {
    display: flex;
    align-items: center;
    gap: 20px;
}

.jeep-logo-small {
    height: 30px;
}

.vertical-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
}

.novo-brand {
    display: flex;
    flex-direction: column;
}

.novo-logo-img-large {
    height: 35px;
    width: auto;
    margin-bottom: 5px;
}

.novo-subtext {
    font-size: 0.7rem;
    color: var(--text-gray);
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.2;
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-gray);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.2rem;
    transition: var(--transition);
}

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

.footer-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.jeep-logo-footer {
    height: 20px;
}

.novo-brand-footer {
    display: flex;
    flex-direction: column;
}

.novo-logo-img-footer {
    height: 25px;
    width: auto;
    margin-bottom: 3px;
}

.novo-subtext-footer {
    font-size: 0.6rem;
    color: var(--text-gray);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {

    .product-container,
    .form-container {
        flex-direction: column;
    }

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

    .gallery-block .details>.desc {
        width: 100%;
        max-width: 400px;
    }

    .gallery-block .pagination .progress-sub-container {
        width: 200px;
    }


    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .hero-bottom-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .hero-bottom-right {
        align-self: flex-end;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .product-images {
        width: 100%;
        margin-top: 20px;
    }

    .gallery-block .details .title-1,
    .gallery-block .details .title-2 {
        font-size: 48px;
    }

    .gallery-block .details .title-box-1,
    .gallery-block .details .title-box-2 {
        height: 60px;
    }

    .gallery-block .details {
        left: 20px;
    }

    .gallery-block .pagination {
        transform: scale(0.8);
        transform-origin: left bottom;
    }

    .form-wrapper {
        padding: 20px;
    }

    .form-title {
        font-size: 3rem;
    }

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