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

html {
    scroll-behavior: smooth;
}

:root {
    --background-color: #1c1c1c;
    --card-color: #252525;
    --primary-color: #f2f2f2;
    --secondary-color: #A1A1A1;
    --detail-color: #797979;
    --detail-dark-color: #585858;
    --stroke-grey-color: #404040;
    --stroke-grey-color2: #353535;
    --stroke-black-color: #101010;
    --track05: 0.5px;
    --track1: 1px; 
}

@font-face {
    font-family: 'Borna Medium';
    src: url('./assets/fonts/borna-medium-webfont.woff') format('woff'),
    url('./assets/fonts/borna-medium-webfont.ttf') format('truetype'),
    url('./assets/fonts/borna-medium-webfont.eot') format('embedded-opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Borna Regular';
    src: url('./assets/fonts/borna-regular-webfont.woff') format('woff'),
    url('./assets/fonts/borna-regular-webfont.ttf') format('truetype'),
    url('./assets/fonts/borna-regular-webfont.eot') format('embedded-opentype');
    font-weight: 400;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6, h7, h8 {
    font-family: 'Borna Medium';
    font-weight: 600;
}

h1 {font-size: 64px; line-height: 64px;}
h2 {font-size: 56px;}
h3 {font-size: 40px; line-height: 40px;}
h4 {font-size: 32px;}
h5 {font-size: 24px; line-height: 24px;}
h6 {font-size: 18px;}
h7 {font-size: 16px; line-height: 16px;}
h8 {font-size: 14px; line-height: 14px;}

.primary {color: var(--primary-color);}
.secondary {color: var(--secondary-color);}

.line-break {
    display: block;
}

p {
    font-family: 'Borna Regular';
    font-weight: 400;
}

.text-p1 {font-size: 18px; line-height: 28px;}
.text-p2 {font-size: 16px; line-height: 24px; font-family: 'Borna Regular';}
.text-p3 {font-size: 14px; line-height: 20px; font-family: 'Borna Regular';}
.text-p4 {font-size: 12px; line-height: 17px;}

body {
    height: 100vh;
    margin: 0;
    background-color: var(--background-color);
}

.mobile-only {
    display: none;
}

/* ----- HEADER NAVIGATION ----- */
header {
    height: 100vh;
    background-image: url('./assets/images/header.png');
    background-size: cover;
    background-position: top right;
    position: relative;
}

@media (max-width: 688px) {
    header {
        height: auto;
        background-position: 70% top;
        min-height: 500px;
    }
}

.header-container {
    min-height: 100vh;  
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 96px;
}

.nav-container {
    width: 100%;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--stroke-grey-color);
    position: fixed;
    z-index: 90;
    height: 64px;
    transition: all 0.4s ease-in-out;
    display: flex;
    align-items: center;
}

.nav-container.top {
    background-color: transparent;
    border-bottom: none;
    height: 96px;
}

.nav-container.mobile-menu-open {
    background-color: var(--background-color);
    border-bottom: 1px solid var(--stroke-grey-color);
    height: 64px;
}

.nav-bar {
    max-width: 1440px;
    padding: 0 48px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-logo {
    display: flex;
    margin-right: 80px;
    z-index: 100;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
}

.nav-menu {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    transition: all 0.4s ease-in-out;
}

.nav-menu-open {
    background-color: transparent;
    opacity: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 44px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease-in-out;
}

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

.nav-svg-button {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    align-items: center;
    gap: 12px;
}

.nav-btn {
    color: var(--secondary-color);
    transition: color 0.3s ease-in-out;
}

.nav-svg-button:hover .nav-btn {
    color: var(--primary-color);
}


@media (max-width: 888px) {
    .nav-bar {
        padding: 0 24px;
    }
}

@media (max-width: 440px) {
    .nav-bar {
        padding: 0 16px;
    }
}

@media (max-width: 320px) {
    .nav-bar {
        padding: 0 16px;
    }
}

/* ----- HAMBURGER BUTTON ----- */
.hamburger {
    display: none;
    cursor: pointer;
    
}

.bar {
    height: 1px;
    width: 24px;
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

.bar:nth-child(2) {
    margin: 6.5px 0;
}

.hamburger-open .bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

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

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

@media (max-width: 888px) {
    .nav-bar {
        justify-content: space-between;
    }

    .nav-container.top {
        height: 64px;
    }

    .nav-menu {
        display: none;
        opacity: 0;
        transition: opacity 0.4s ease-in-out;
    }

    .nav-menu-open {
        display: flex;
        position: fixed;
        align-items: flex-start;
        justify-content: center;
        top: 64px;
        width: 100%;
        height: 100%;
        left: 0px;
        background-color: var(--background-color);
        opacity: 0;
        animation: fadeIn 0.4s ease-in-out forwards;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        font-size: 18px;
        padding-top: 48px;
        text-align: center;
        gap: 32px;
    }

    .nav-svg-button {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .hamburger {
        display: block;
        z-index: 100;
    }
}

/* ----- HEADER CONTENT ----- */
.header-content {
    max-width: 1440px;
    margin: 0 auto;
    margin-top: auto;
    padding: 0 48px;
}

.header-intro {
    display: flex;
    margin-bottom: 96px;
    color: var(--primary-color);
}

.header-intro h5 {
    letter-spacing: var(--track1);
}

.header-newcenter {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 96px;
}

.header-newtitle {
    display: flex;
    flex-direction: column;
}

.header-newtitle h1 {
    text-indent: -4px;
}

.spacing-32 {
    margin-bottom: 32px;
}

.header-newtitle p {
    width: 320px;
}

.header-lower {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    align-items: center;
    gap: 24px;
}

.cta-button {
    grid-column: 0/1;
    width: 148px;
    height: 40px;
    border: 1px solid var(--detail-color);
    border-radius: 6px;
    background-color: transparent;
    color: var(--primary-color);
    font-size: 16px;
    letter-spacing: var(--track05);
    font-family: 'Borna Medium';
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.cta-button:hover {
    background-color: var(--card-color);
    border: 1px solid var(--secondary-color);
}

.icon-text-container {
    display: flex;
    width: 148px;
    grid-column: 5/6;
    align-items: center;
    gap: 24px;
}

.icon-text-container svg {
    fill: transparent;
    transition: fill 0.5s ease-in-out;
}

.icon-text-container:hover svg {
    fill: var(--primary-color);
}

.text-set {
    display: flex;
    flex-direction: column;
}

.text-line {
    font-size: 16px;
    line-height: 24px;
    color: var(--primary-color);
    font-family: 'Borna Medium';
}

.svg-button {
    background: none;
    border: none;
    cursor: pointer;
    grid-column: 8/9;
    justify-self: end;
}

.svg-button svg {
    fill: transparent;
    transition: fill 0.5s ease-in-out;
}

.svg-button:hover svg {
    fill: var(--primary-color);
}

@media (max-width: 1024px) {
    .header-container {
        padding-bottom: 64px;
    }

    .header-newtitle h1 {
        font-size: 56px;
        line-height: 56px;
    }
}

@media (max-width: 888px) {
    .header-content {
        padding: 0 24px;
    }

    .header-intro {
        margin-bottom: 72px;
    }

    .header-intro h5 {
        font-size: 20px;
    }

    .header-newcenter {
        margin-bottom: 72px;
    }

    .header-newtitle h1 {
        font-size: 56px;
        line-height: 56px;
        margin-bottom: 24px;
    }

    .header-newtitle p {
        width: 260px;
    }
}

@media (max-width: 688px) {
    .header-content {
       width: 100%;
    }

    .header-container {
        padding-bottom: 48px;
    }

    .header-intro {
        margin-bottom: 48px;
    }

    .header-newcenter {
        grid-template-columns: 1fr;
        margin-bottom: 48px;
        gap: 48px;
    }

    .header-newtitle h1 {
        font-size: 48px;
        line-height: 48px;
        margin-bottom: 18px;
        text-indent: -3px;
    }

    .header-newtitle p {
        width: 100%;
    }

    .header-lower {
        grid-template-columns: 1fr;
    }

    .cta-button {
        width: 100%;
    }

    .icon-text-container {
        display: none;
    }

    .svg-button {
        display: none;
    }
}

@media (max-width: 440px) {
    .header-content {
        padding: 0 16px;
    }

    .header-container {
        padding-bottom: 32px;
    }

    .header-intro {
        width: 100px;
        margin-bottom: 40px;
    }

    .header-intro h5 {
        font-size: 18px;
    }

    .header-newcenter {
        margin-bottom: 32px;
        gap: 40px;
    }

    .header-newtitle h1 {
        font-size: 40px;
        line-height: 40px;
        margin-bottom: 18px;
    }

    .header-newtitle p {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 320px) {
    .header-content {
        padding: 0 16px;
    }

    .header-intro {
        margin-bottom: 32px;
    }

    .header-intro h5 {
        font-size: 16px;
    }

    .header-newcenter {
        gap: 32px;
    }

    .header-newtitle h1 {
        font-size: 32px;
        margin-bottom: 12px;
        line-height: 32px;
        text-indent: -2px; 
    }
}
    
/* ----- CAR SPECS ----- */
.car-specs {
    padding: 0 48px;
    max-width: 1440px;
    margin: 0 auto;
}

.car-container {
    background-color: var(--card-color);
    margin-top: 96px;
    margin-bottom: 24px;
    border: 1px solid var(--stroke-grey-color2);
    border-radius: 6px;
    aspect-ratio: 17/9;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.car-container-title {
    color: var(--primary-color);
    padding-left: 24px;
    padding-top: 20px;
}

.car-vector {
    width: 100%;
    padding: 0 96px;
    transition: fade 0.5s ease-in-out;
}

.car-vector-large {
    padding: 0 96px;
}

.car-vector-small {
    padding: 0 120px;
}

.car-vector img {
    width: 100%;
    height: auto;
    max-width: 1200px;
}

.car-container-details {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--detail-color);
    padding-left: 24px;
    padding-bottom: 18px;
}

.car-container-details p::before {
    content: attr(id) ": ";
    text-transform: capitalize;
}

.car-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 100%;
    border: 1px solid var(--stroke-grey-color2);
    border-radius: 6px;
    background-color: transparent;
    color: var(--detail-dark-color);
    font-family: 'Borna Medium';
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.car-selector-clicked {
    color: var(--primary-color);
    background-color: var(--card-color);
    border: 1px solid var(--stroke-grey-color2);
    border-radius: 6px;
}

.car-selector:not(.car-selector-clicked):hover {
    color: var(--secondary-color);
    border: 1px solid var(--detail-color);
}

.car-buttons {
    display: flex;
    align-items: center;
    gap: 24px;
}

.car-text {
    color: var(--secondary-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
    margin-bottom: 96px;
}

@media (max-width: 1024px) {
    .car-container {
        margin-top: 64px;
    }

    .car-vector {
        padding: 0 64px;
    }
}

@media (max-width: 888px) {
    .car-specs {
        padding: 0 24px;
    }

    .car-container-title {
        padding-left: 20px;
        padding-top: 16px;
    }

    .car-container-title h3 {
        font-size: 32px;
        line-height: 32px;
    } 

    .car-vector {
        padding: 0 48px;
    }

    .car-container-details {
        padding-left: 20px;
        padding-bottom: 16px;
    }

    .car-text {
        margin-top: 32px;
        margin-bottom: 72px;
    }

    .car-text p {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 688px) {
    .car-container {
        margin-top: 48px;
        aspect-ratio: 10/6;
    }
    
    .car-container-title {
        padding-left: 18px;
    }    

    .car-container-title h3 {
        font-size: 24px;
        line-height: 24px;
    } 

    .car-vector {
        padding: 0 18px;
    }

    .car-container-details {
        gap: 16px;
        padding-left: 18px;
    }

    .car-container-details p {
        font-size: 14px;
        line-height: 14px;
    }
    
    .car-selector h5 {
        font-size: 18px;
    }

    .car-text {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 440px) {
    .car-specs {
        padding: 0 16px;
    }

    .car-container {
        margin-top: 32px;
        aspect-ratio: 10/7;
        margin-bottom: 20px;
    }

    .car-container-title {
        padding-left: 16px;
        padding-top: 16px;
    }    

    .car-container-details {
        padding-left: 16px;
        padding-bottom: 14px;
    }

    .car-container-details p::before {
        text-transform: uppercase;
        content: attr(id) ": ";
        display: inline;
    }
    
    #width::before { content: "W: "; }
    #height::before { content: "H: "; }
    #length::before { content: "L: "; }

    .car-vector {
        padding: 0 16px;
    }

    .car-buttons {
        gap: 16px;
    }
}

@media (max-width: 320px) {
    .car-container {
        margin-bottom: 16px;
        aspect-ratio: 10/8;
    }

    .car-container-title {
        padding-left: 12px;
        padding-top: 12px;
    }    

    .car-container-title h3 {
        font-size: 24px;
        line-height: 24px;
    } 

    .car-vector {
        padding: 12px;
    }

    .car-container-details {
        gap: 12px;
        padding-left: 12px;
        padding-bottom: 12px;
    }

    .car-container-details p {
        font-size: 13.5px;
    }

    .car-selector h5 {
        font-size: 16px;
    }

    .car-text {
        margin-top: 24px;
        margin-bottom: 56px;
    }
}

.spec-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px
}

.spec-container:last-child {
    margin-top: 72px;
    border-bottom: 1px solid var(--stroke-grey-color);
    padding-bottom: 96px;
}

.spec-container h8 {
    letter-spacing: var(--track05);
}

.spec-item {
    grid-column: span 1;
}

.spec-svg {
    display: flex;
    gap: 12px;
    align-items: center;
}

.spec-h {
    color: var(--primary-color);
}

.spec-big {
    color: var(--primary-color);
    margin-top: 32px;
}

.spec-detail {
    color: var(--secondary-color);
    margin-top: 14px;
}

@media (max-width: 888px) {
    .spec-container {
        gap: 16px;
    }

    .spec-container:last-child {
        margin-top: 64px;
        padding-bottom: 72px;
    }

    .spec-svg svg {
        display: none;
    }

    .spec-big h3 {
        font-size: 32px;
        line-height: 32px;
    }

    .spec-detail p {
        font-size: 14px;
        line-height: 14px;
    }
}

@media (max-width: 688px) {
    .spec-container {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 56px;
    }

    .spec-container:last-child {
        margin-top: 56px;
    }

    .spec-svg svg {
        display: block;
    }

    .spec-big {
        margin-top: 26px;
    }
}

@media (max-width: 440px) {
    .spec-svg svg {
        display: none;
    }

    .spec-big {
        margin-top: 20px;
    }

    .spec-big h3 {
        font-size: 24px;
        line-height: 24px;
    }
}

@media (max-width: 320px) {
    .spec-container {
        column-gap: 16px;
        row-gap: 48px;
    }

    .spec-container:last-child {
        margin-top: 48px;
        padding-bottom: 56px;
    }

    .spec-container h8 {
        letter-spacing: 0px;
    }
}

/* ----- CAR CARDS ----- */
.car-cards {
    padding: 0 48px;
    max-width: 1440px;
    margin: 0 auto;
}

.cards-container {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.card {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 24px;
    height: 342px;
    padding: 24px;
    border: 1px solid var(--stroke-grey-color2);
    border-radius: 6px;
    background-color: var(--card-color);
}

.preorder {
    height: 40px;
    background: transparent;
    border-style: none;
    border: 1px solid var(--detail-dark-color);
    color: var(--secondary-color);
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.preorder h7 {
    letter-spacing: var(--track05);
}

.preorder:hover {
    color: var(--primary-color);
    border: 1px solid var(--detail-color);
}

.cards-text {
    display: flex;
    flex-direction: column;
}

.card-title {
    margin-bottom: 24px;
}

.card-info {
    margin-bottom: 16px;
}

.cards-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cards-photo {
    border-radius: 6px;
    border: 1px solid var(--stroke-black-color);
    display: block;
    overflow: hidden;
}

.cards-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1024px) {
    .card {
        height: 285px;
    }

    .card p {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 888px) {
    .car-cards {
        padding: 0 24px;
    }

    .cards-container {
        margin-top: 32px;
        gap: 24px;
    }

    .card {
        padding: 16px;
        gap: 16px;
        height: 240px;
    }

    .cards-text p {
        font-size: 14px;
        line-height: 20px;
    }

    .preorder h7 {
        font-size: 14px;
    }
}

@media (max-width: 688px) {
    .cards-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .card {
        height: 285px;
    }
}

@media (max-width: 440px) {
    .car-cards {
        padding: 0 16px;
    }

    .cards-container {
        margin-top: 24px;
        gap: 16px;
    }

    .card {
        padding: 12px;
        gap: 16px;
        height: 212px;
    }

    .cards-text h5 {
        font-size: 18px;
        line-height: 18px;
    }

    .card-title {
        margin-bottom: 16px;
    }

    .card-info {
        margin-bottom: 8px;
    }
}

@media (max-width: 320px) {
    .cards-text h5 {
        font-size: 16px;
        line-height: 16px;
    }

    .card-title {
        margin-bottom: 8px;
    }

    .preorder {
        height: 32px;
    }
}   

/* ----- RESERVATION ----- */
.reservation {
    color: var(--detail-color);
    margin-top: 96px;
    margin-bottom: 160px;
    text-align: center;
}

.reservation h7 {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: var(--track05);
}

.underline {
    text-decoration: underline;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.underline:hover {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .reservation {
        margin-top: 72px;
        margin-bottom: 120px;
    }
}

@media (max-width: 888px) {
    .reservation {
        margin-top: 64px;
        margin-bottom: 96px;
    }

    .reservation h7 {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (max-width: 888px) and (orientation: landscape) {
    .reservation h7 {
      font-size: 14px;
      line-height: 20px;
    }
}

@media (max-width: 440px) {
    .reservation {
        margin-top: 48px;
        margin-bottom: 72px;
    }
}

@media (max-width: 380px) {
    .mobile-line-break {
        display: block;
    }
}

/* ----- SECTION TITLE ----- */
.section-title {
    margin-bottom: 56px;
}

@media (max-width: 888px) {
    .section-title {
        margin-bottom: 48px;
    }
}

@media (max-width: 688px) {
    .section-title {
        margin-bottom: 40px;
    }
}

@media (max-width: 440px) {
    .section-title {
        margin-bottom: 32px;
    }
}

/* ----- LIGHTS ----- */
.lights {
    padding: 0 48px;
    max-width: 1440px;
    margin: 0 auto;
}

.bento-lights-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
}

.bento-vertical {
    aspect-ratio: 4/5;
    width: 100%;
    position: relative;
}

.bento-horizontal {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 24px;
}

.bento-image-vertical {
    width: 100%;
    height: 100%;
    position: relative;
}

.bento-image-horizontal {
    width: 100%;
    height: 100%;
    position: relative;
}

.bento-text-container {
    background-color: var(--stroke-black-color);
    padding: 21px 24px;
    border-radius: 6px;
    border: 1px solid var(--stroke-black-color);
}

.bento-image-vertical img,
.bento-image-horizontal img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--stroke-black-color);
}

.bento-image-vertical img {
    object-position: right bottom;
}

.bento-image-horizontal img {
    object-position: left top;
}

.bento-text {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bento-text h5 {
    letter-spacing: var(--track05);
}

.bento-text h5 {
    margin-bottom: 48px;
}

.bento-text p {
    color: var(--secondary-color);
}

.bento-text p:last-child {
    margin-top: 24px;
}

@media (max-width: 1024px) {
    .bento-vertical {
        aspect-ratio: 3/4;
    }

    .bento-text h5 {
        margin-bottom: 32px;
    }

    .bento-text p {
        font-size: 16px;
        line-height: 24px;
    }

    .bento-text p:last-child {
        margin-top: 20px;
    }
}

@media (max-width: 888px) {
    .lights {
        padding: 0 24px;
    }

    .lights h3 {
        font-size: 32px;
        line-height: 32px;
    }

    .bento-vertical {
        aspect-ratio: 2/3;
    }

    .bento-text-container {
        padding: 14px 16px;
    }

    .bento-text h5 {
        font-size: 18px;
        line-height: 18px;
    }

    .bento-text p {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (max-width: 688px) {
    .bento-lights-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto auto;
    }

    .bento-vertical {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        aspect-ratio: 3/4;
        min-width: 0;
    }

    .bento-horizontal {
        display: contents;
    }

    .bento-image-horizontal {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        aspect-ratio: 3/4;
        width: 100%;
        min-width: 0;
    }

    .bento-text-container {
        grid-column: 1 / 3;
        grid-row: 2 / 3;
    }

    .bento-text p {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 440px) {
    .lights {
        padding: 0 16px;
    }

    .bento-lights-container {
        gap: 16px;
    }
}

@media (max-width: 320px) {
    .lights h3 {
        font-size: 24px;
        line-height: 24px;
    }

    .bento-text-container {
        padding: 10px 12px;
    }

    .bento-text h5 {
        font-size: 16px;
        line-height: 16px;
    }
}

.sub-bento-lights-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 24px;
    width: 100%;
    margin-top: 24px;
}

.sub-bento-image {
    height: 100%;
    display: flex;
}

.sub-bento-image img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--stroke-black-color);
}

.sub-bento-text-container {
    display: flex;
    background-color: var(--stroke-black-color);
    aspect-ratio: 1/1;
    padding: 40px;
    border-radius: 6px;
    border: 1px solid var(--stroke-black-color);
}

.hammer-icon-container {
    flex: 1;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}
    
.hammer-icon {
    width: 100%;
    max-width: clamp(48px, 20vw, 160px);
    padding-left: 4px;
    padding-top: 2px;
}

.new-wide-container {
    border-radius: 6px;
    border: 1px solid var(--stroke-black-color);
    grid-column: span 2;
    overflow: hidden;
    aspect-ratio: calc((2 * 100% + 24px) / 100%);
    position: relative;
}

.new-wide-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.animation-container {
    margin-top: 24px;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 6px;
    border: 1px solid var(--stroke-black-color);
    background-color: var(--stroke-black-color);
    overflow: hidden;
}

.animation-container img {
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

@media (max-width: 888px) {
    .sub-bento-text-container {
        padding: 32px;
    }
}

@media (max-width: 688px) {
    .sub-bento-lights-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto auto;
    }

    .sub-bento-image {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .sub-bento-text-container {
        padding: 24px;
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .hammer-icon {
        max-width: 25vw;
      }

    .new-wide-container {
        grid-column: 1 / 3;
        grid-row: 2 / 3;
        aspect-ratio: 2 / 1;
    }
}

@media (max-width: 440px) {
  .sub-bento-lights-container {
    gap: 16px;
    margin-top: 16px;
  }

  .sub-bento-text-container {
    padding: 16px;
  }

  .animation-container {
    margin-top: 16px;
  }
}

/* ----- GRID LIGHTS ----- */
.square-row-lights {
    margin-top: 96px;
}

.square-row-lights h5 {
    letter-spacing: var(--track05);
}

.img-row-lights {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    margin-bottom: 204px;
}

.img-row-lights img {
    width: 100%;
    object-fit: cover;
    border-radius: 6px;
    aspect-ratio: 1/1;
    border: 1px solid var(--stroke-black-color);
}

@media (max-width: 1024px) {
    .square-row-lights {
        margin-bottom: 72px;
    }

    .img-row-lights {
        margin-top: 48px;
        margin-bottom: 160px;
    }
}

@media (max-width: 888px) {
    .square-row-lights {
        margin-top: 64px;
    }

    .square-row-lights h5{
        font-size: 18px;
        line-height: 18px;
    }

    .img-row-lights {
        margin-top: 40px;
        margin-bottom: 120px;
    }
}

@media (max-width: 688px) {
    .img-row-lights {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
        margin-top: 32px;
        margin-bottom: 96px;
    }
}

@media (max-width: 440px) {
    .square-row-lights {
        margin-top: 56px;
    }

    .img-row-lights {
        gap: 16px;
        margin-bottom: 64px;
    }
}

@media (max-width: 320px) {
    .square-row-lights {
        margin-top: 48px;
    }

    .square-row-lights h5{
        font-size: 16px;
        line-height: 16px;
    }
}

/* ----- DESIGN ----- */
.design {
    padding: 0 48px;
    max-width: 1440px;
    margin: 0 auto;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 96px;
}

.features-top h5 {
    margin-bottom: 48px;
    letter-spacing: var(--track05);
}

.features-top p {
    color: var(--secondary-color);
}

.features-image img {
    border-radius: 6px;
    border: 1px solid var(--stroke-black-color);
    width: 100%;
    height: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.features-image-mobile {
    display: none;
}

.features-image-mobile img {
    border-radius: 6px;
    border: 1px solid var(--stroke-black-color);
    width: 100%;
    height: 100%;
    aspect-ratio: 5/4;
    object-fit: cover;
}

.features-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feat-title {
    display: flex;
    width: 100%;
    color: var(--secondary-color);
    border-bottom: 1px solid var(--stroke-grey-color);
    padding-bottom: 24px;
}

.features-accord {
    border-bottom: 1px solid var(--stroke-grey-color);
    padding-bottom: 24px;
    margin-top: 24px;
}

.head-accord {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    color: var(--secondary-color);
}

.features-bottom h7 {
    letter-spacing: var(--track05);
}

.accord-icon {
    fill: currentColor;
    transition: transform 0.4s ease-in-out;
}

.head-accord:hover {
    color: var(--primary-color);
}

.text-accord {
    overflow: hidden;
    opacity: 0;
    max-height: 0;
    transition: all 500ms ease-in-out;
}

.text-accord p {
    padding-top: 32px;
    padding-bottom: 12px;
    color: var(--secondary-color);
}

.features-accord.active .text-accord {
    opacity: 1;
    max-height: 120px;
    transition: all 500ms ease-in-out;
}

.features-accord.active .accord-icon {
    transform: rotate(180deg);
}

.features-accord.active .head-accord {
    color: var(--primary-color);
}

.feature-img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-img.active {
    display: block;
}

.square-row-details h5 {
    letter-spacing: var(--track05);
}

.img-row-details {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
}

.img-row-details img {
    width: 100%;
    object-fit: cover;
    border-radius: 6px;
    aspect-ratio: 1/1;
    border: 1px solid var(--stroke-black-color);
}

@media (max-width: 1024px) {
    .features-image img {
        aspect-ratio: 5/7;
    }

    .features-top h5 {
        margin-bottom: 40px;
    }

    .features-top p {
        font-size: 16px;
        line-height: 24px;
    }

    .feat-title {
        padding-bottom: 16px;
    }

    .features-accord {
        margin-top: 16px;
        padding-bottom: 16px;
    }

    .img-row-details {
        margin-top: 48px;
    }
}

@media (max-width: 888px) {
    .design {
        padding: 0 24px;
    }

    .design h3 {
        font-size: 32px;
        line-height: 32px;
    }

    .features-container {
        margin-bottom: 64px; 
    }

    .features-top h5 {
        font-size: 18px;
        line-height: 18px;
        margin-bottom: 32px;
    }

    .features-bottom h7 {
        font-size: 14px;
        line-height: 14px;
    }

    .accord-icon svg {
        transform: scale(85%);
    }

    .text-accord p {
        font-size: 14px;
        line-height: 20px;
    }

    .square-row-details h5 {
        font-size: 18px;
        line-height: 18px;
    }

    .img-row-details {
        margin-top: 40px;
    }
}


@media (max-width: 737px) {
    .features-top p {
        font-size: 14px;
        line-height: 20px;
    }
}


@media (max-width: 688px) {
    .features-container {
        grid-template-columns: 1fr;
    }

    .features-image {
        display: none;
    }

    .features-image-mobile {
        display: block;
    }

    .features-top p {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 48px;
    }

    .img-row-details {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
        margin-top: 32px;
    }

    .text-accord {
        display: flex;
        flex-direction: column;
        gap: 24px;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: all 0.4s ease-in-out;
    }

    .features-bottom h7 {
        font-size: 14px;
        line-height: 14px;
    }

    .text-accord p {
        padding-top: 0;
        padding-bottom: 0;
        font-size: 16px;
        line-height: 24px;
    }

    .feature-img {
        aspect-ratio: 5/4;
        border-radius: 6px;
        border: 1px solid var(--stroke-grey-color);
        display: block;
        opacity: 0;
        max-height: 0;
        transition: all 0.4s ease-in-out;
    }

    .feature-img[data-feature="feature1"] {
        object-position: center bottom;
    }

    .features-accord.active .text-accord {
        max-height: 1000px;
        opacity: 1;
        padding-top: 24px;
    }

    .features-accord.active .feature-img {
        opacity: 1;
        max-height: 500px;
        margin-top: 24px;
    }
}

@media (max-width: 440px) {
    .design {
        padding: 0 16px;
    }

    .features-container {
        margin-bottom: 56px; 
    }

    .img-row-details {
        gap: 16px;
        margin-top: 32px;
    }
}

@media (max-width: 320px) {
    .features-container {
        margin-bottom: 48px;
    }

    .design h3 {
        font-size: 24px;
        line-height: 24px;
    }
}

/* ----- GALLERY SLIDER ----- */
.event-gallery {
    max-width: 1440px;
    padding: 0 48px;
    margin: 0 auto;
    width: 100%;
}

.gallery-container {
    margin-bottom: 24px;
    position: relative;
    overflow: visible;
    width: 100%;
}

.gallery.slider {
    position: relative;
    width: 100%;
}

.slider {
    list-style: none;
    display: grid;
    gap: 24px;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    margin-bottom: -20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.slider::-webkit-scrollbar {
    display: none;
}

.slide {
    scroll-snap-align: start;
    flex: 0 0 calc(33.333%-16px);
    min-width: 0;
}

.slide img {
    border: 1px solid var(--stroke-black-color);
    border-radius: 6px;
    aspect-ratio: 16/9;
    width: 100%;
    height: 100%;
}

.gallery-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 204px;
}

.gallery-dots {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.gallery-dot {
    cursor: pointer;
    border: none;
    background: none;
    fill: none;
    transition: all 0.2s ease-in;
}

.gallery-dot:hover svg {
    fill: var(--card-color);
}

.gallery-dot.active svg {
    fill: var(--detail-color);
    transition: all 0.2s ease-in;
}

.gallery-buttons {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.left-arrow, .right-arrow {
    border: none;
    background: transparent;
}

.left-arrow svg, .right-arrow svg {
    cursor: pointer;
    transition: all 0.2s ease-in;
    color: var(--detail-color);
    fill: none;
}

.left-arrow:hover svg, .right-arrow:hover svg {
    color: var(--primary-color);
    fill: var(--card-color);
}

.left-arrow.disabled svg, .right-arrow.disabled svg {
    color: var(--detail-dark-color);
    pointer-events: none;
    cursor: not-allowed;
}

.left-arrow.disabled:hover svg, .right-arrow.disabled:hover svg {
    fill: none;
}

.slider.dragging {
    cursor: grabbing;
    user-select: none;
}

@media (max-width: 1024px) {
    .gallery-nav {
        margin-bottom: 160px;
    }
}

@media (max-width: 888px) {
    .event-gallery {
        padding: 0 24px;
    }

    .event-gallery h3 {
        font-size: 32px;
        line-height: 32px;
    }

    .gallery-nav {
        margin-bottom: 120px;
    }
}

@media (max-width: 688px) {
    .gallery-nav {
        margin-bottom: 96px;
    }
}

@media (max-width: 440px) {
    .event-gallery {
        padding: 0 16px;
    }

    .gallery-container {
        margin-bottom: 16px;
    }

    .gallery-nav {
        margin-bottom: 64px;
    }

    .gallery-dots {
        gap: 12px;
    }

    .gallery-dot svg {
        width: 10px;
        height: 10px;
    }

    .gallery-buttons {
        gap: 12px;
    }
}

@media (max-width: 320px) {
    .event-gallery h3 {
        font-size: 24px;
        line-height: 24px;
    }
}

/* ----- SECTION TITLE SMALL ----- */
.section-title-small {
    margin-bottom: 56px;
    letter-spacing: var(--track05);
}

@media (max-width: 1024px) {
    .section-title-small {
        margin-bottom: 48px;
    }
}

@media (max-width: 888px) {
    .section-title-small {
        margin-bottom: 40px;
    }
}

@media (max-width: 688px) {
    .section-title-small {
        margin-bottom: 40px;
    }
}

@media (max-width: 440px) {
    .section-title-small {
        margin-bottom: 32px;
    }
}

/* ----- CARS CARDS ----- */
.explore-cars {
    max-width: 1440px;
    padding: 0 48px;
    margin: 0 auto;
    width: 100%;
}

.cars-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    height: 100%;
    margin-bottom: 96px;
}

.cars-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--background-color);
    padding: 20px 24px;
    border-radius: 6px;
    border: 1px solid var(--stroke-grey-color);
    color: var(--secondary-color);
    aspect-ratio: 1/1;
    width: 100%;
    transition: all 0.3s ease-in;
    cursor: pointer;
}

.cars-card p {
    color: var(--detail-color);
}

.cars-card:hover {
    background-color: var(--card-color);
    color: var(--primary-color);
}

.cars-svg {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: flex-end;
    aspect-ratio: 134/49;
    padding-bottom: 5px;
}

.cars-svg img {
    width: 100%;
    height: auto;
}

.cars-svg-logo {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}

.cars-svg-logo img {
    width: 100%;
    height: auto;
    max-width: clamp(80px, 10vw, 140px);
    padding-bottom: 4px;
}

@media (max-width: 1024px) {
    .cars-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
    }

    .cars-card {
        aspect-ratio: 3/2;
    }

    .cars-svg {
        padding-bottom: 10px;
    }
}

@media (max-width: 888px) {
    .explore-cars {
        padding: 0 24px;
    }

    .explore-cars h5 {
        font-size: 18px;
        line-height: 18px;
    }

    .cars-container {
        margin-bottom: 64px;
    }

    .cars-card {
        padding: 18px 24px;
    }
}

@media (max-width: 688px) {
    .cars-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cars-card {
        aspect-ratio: 16/9;
    }
    
    .cars-card p {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (max-width: 440px) {
    .explore-cars {
        padding: 0 16px;
    }

    .cars-container {
        margin-bottom: 56px;
    }

    .cars-card {
        aspect-ratio: 5/3;
        padding: 14px 16px;
    }

    .cars-svg {
        padding-bottom: 10px;
    }
}

@media (max-width: 320px) {
    .cars-container {
        margin-bottom: 48px;
    }

    .explore-cars h5 {
        font-size: 16px;
        line-height: 16px;
    }

    .cars-card {
        aspect-ratio: 16/10;
        padding: 10px 12px;
    }

    .cars-svg {
        padding-bottom: 5px;
    }
}

/* ----- FOOTER ----- */
.website-footer {
    background-color: var(--card-color);
}

.footer-container {
    max-width: 1440px;
    padding: 0 48px;
    margin: 0 auto;
    width: 100%;
    padding-top: 32px;
}

.footer-breadcrumbs {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 17px;
    padding-bottom: 31px;
    border-bottom: 1px solid var(--detail-dark-color);
    margin-bottom: 32px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 17px;
}

.footer-breadcrumbs p {
    letter-spacing: var(--track05);
}

.bread-title {
    color: var(--secondary-color);
    transition: all 0.3s ease-in;
    cursor: pointer;
}

.bread-title:hover {
    color: var(--primary-color);
}

.bread-active {
    color: var(--primary-color);
}

.bread-svg {
    transform: rotate(-90deg);
}

.footer-menu-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.footer-menu-container h7 {
    letter-spacing: var(--track05);
}

.footer-menu-column {
    grid-column: span 1;
}

.footer-list {
    list-style: none;
    color: var(--secondary-color);
    padding-top: 32px;
}

.footer-item-title {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.footer-icon {
    fill: currentColor;
    transition: transform 0.4s ease-in-out;
}

.footer-icon svg {
    transform: scale(85%);
}

.footer-mobile {
    display: none;
}

.footer-item {
    margin-bottom: 10px;
    cursor: pointer;
}

.footer-item:hover {
    text-decoration: underline;
}

.footer-item:last-child {
    margin-bottom: 0
}

@media (max-width: 888px) {
    .footer-container {
        padding: 0px 24px;
        padding-top: 32px;
    }
}

@media (max-width: 688px) {
    .footer-breadcrumbs {
        margin-bottom: 13px;
        gap: 8px;
    }

    .footer-breadcrumbs p {
        font-size: 14px;
        line-height: 20px;
    }

    .bread-svg {
        transform: rotate(-90deg) scale(85%);
    }

    .breadcrumb-item {
        gap: 8px;
    }

    .footer-menu-container {
        display: flex;
        flex-direction: column;
        gap: 13px;
    }

    .footer-menu-column {
        width: 100%;
        border-bottom: 1px solid var(--detail-dark-color);
    }

    .column-title {
        padding-bottom: 12px;
    }

    .column-title h7 {
        font-size: 14px;
        line-height: 14px;
    }

    .footer-list {
        list-style: none;
        padding-top: 0px;
    }
    
    .footer-item-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 12px 0;
        margin-bottom: 0px;
        border-top: 1px solid var(--detail-dark-color);
        color: var(--secondary-color);
        transition: all 0.3s ease-in-out;
    }

    .footer-item-title:hover {
        color: var(--primary-color);
    }

    .footer-item-title.active .footer-icon {
        transform: rotate(180deg);
    }

    .footer-item-title.active {
        color: var(--primary-color);
    }

    .footer-mobile {
        display: inline;
    }
    
    .footer-items {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
    }

    .footer-items.active {
        max-height: 200px;
        margin-bottom: 15px;
    }
}

@media (max-width: 556px) {
    .footer-breadcrumbs {
        flex-wrap: wrap;
    }

    .breadcrumb-item:last-child {
        flex-basis: 100%;
        margin-top: 8px;
    }
}

@media (max-width: 440px) {
    .footer-container {
        padding: 0px 16px;
        padding-top: 24px;
    }

    .footer-breadcrumbs {
        padding-bottom: 23px;
    }
}

.footer-bottom-container {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--detail-dark-color);
}

.links-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-links li::after {
    content: "";
    position: absolute;
    height: 12px;
    width: 1px;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--detail-color);
}

.legal-links li:last-child::after {
    display: none;
}

.legal-links li {
    display: inline-block;
    position: relative;
}

.legal-link {
    padding-right: 14px;
}

.legal-links-item {
    color: var(--secondary-color);
    cursor: pointer;
    margin-right: 12px;
}

.legal-links-item:hover {
    text-decoration: underline;
}

.author {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-bottom: 32px;
}

.author a {
    text-decoration: none;
    color: var(--secondary-color);
}

.author a:hover {
    text-decoration: underline;
}

@media (max-width: 688px) {
    .footer-bottom-container {
        margin-top: 0px;
        border-top: none;
        padding-top: 24px;
    }

    .author {
        margin-top: 24px;
        padding-bottom: 24px;
    }
}

@media (max-width: 600px) {
    .links-container {
        flex-direction: column;
        gap: 24px;
    }

    .author {
        flex-direction: column;
        gap: 8px;
        margin-top: 24px;
    }

    .legal-links-item {
        margin-top: 4px;
    }
}

@media (max-width: 320px) {
    .footer-bottom-container p {
        font-size: 13px;
    }
}