@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

:root {
    --font-heading: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-body: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: #fff;
    color: #111;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #004c99;
}

nav {
    font-family: var(--font-heading);
    font-weight: 500;
    background: #000;
    color: #fff;
    padding: 1em 2em;
}



body {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    background: black;
    text-align: center;
}

.page-content {
    text-align: center;
}

.contact-icon {
    align-self: center;
    background-color: #736f70;
    max-width: 48px;
    border-radius: 64px;
    padding: 8px;
}

.contact-content-container {
    text-align: center;
}

p {

    color: white;
}

h1 {

    color: #979797;
}

h2 {
    color: #ccc1c1;
}

h3 {
    color: #797979;
}

h4 {
    color: white;
}

.center {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.menu {
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
    background: #ffffff;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: fit-content;
    font-family: poppins;
    font-size: 32px;
    color: white;
    background-color: black;
    font-weight: 600;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#menu {
    display: none;
}

.logo label {
    display: none;
}

.items {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item {
    width: 120px;
    padding: 10px 18px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5mm;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: white;
    text-decoration: none;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

    .item:active {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(255, 87, 34, 0.6);
    }

    .item:hover {
        background: #2C3E50;
        color: #ffffff;
    }

@media screen and (max-width: 600px) {
    .menu {
        flex-direction: column;
    }

        .menu .logo {
            width: 100%;
        }

            .menu .logo label {
                display: block;
                cursor: pointer;
                position: relative;
            }

                .menu .logo label::before {
                    position: absolute;
                    top: 0;
                    left: 0;
                    font-size: 30px;
                    color: black;
                    width: 30px;
                    height: 30px;
                }

        .menu .items {
            width: 100%;
            flex-direction: column;
            max-height: 0;
            overflow: hidden;
            transition: 0.5s ease-in-out;
        }

        .menu .item {
            width: 100%;
            padding: 15px;
            border-radius: 0;
            border-top: 0.5mm solid rgb(52, 53, 71);
        }

    #menu:checked ~ .items {
        max-height: 500px;
    }
}

.burger {
    max-width: 50px;
    max-height: 50px;
}

.lox-logo {
    max-height: 70px;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #1a242e;
    color: white;
    text-align: center;
    padding: 5px;
}

.content {
    /* background-image: url(Audi.png); */
    max-height: 1000px;
}

.page-content {
    padding-bottom: 50px;
}

.inventory-content {
    color: black;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr 1fr;
}

.cards {
    color: black;
    align-items: start;
    grid-template-columns: 1fr 1fr 1fr;
}

.cars {
    background-color: white;
    max-width: 100%;
    border: 1px solid rgba(27, 31, 35, .15);
    border-radius: 6px;
    color: black;
    padding: 10px;
    margin: 3%;
}

.card {
    background-color: #f0f0f0;
    max-width: 100%;
    border: 1px solid rgba(27, 31, 35, .15);
    border-radius: 6px;
    color: black;
    padding: 10px;
    margin: 3%;
    text-align: left;
    box-shadow: 0 4px 8px 0 rgba(100, 100, 100, 0.2), 0 6px 20px 0 rgba(100, 100, 100, 0.19);
}

.card p {
    color: black;
}
.car-image-container {
    width: 300px;
}
.car-image {
    top: 0;
    height: 225px;
    width: 300px;
    object-fit: contain;
}

.car-sale {
    max-width: 300px;
    max-height: 300px;
}

.price {
    margin-left: auto;
    margin-right: auto;
    background-color: rgb(92, 107, 107);
    max-width: 20%;
    border: 1px solid rgba(27, 31, 35, .15);
    border-radius: 6px;
    color: black;
}

.carousel {
    overflow: hidden;
    background: #f0f0f0;
    border: 2px solid #2C3E50;
    padding: 20px 0;
}

.track {
    display: flex;
    width: max-content;
    animation: scrollLeft 10s linear infinite;
}

.individual-car {
    min-width: 150px;
    height: 200px;
    margin: 0 10px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 10px;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 1100px) {
    .inventory-content {
        color: black;
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .cards {
        color: black;
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-left: auto;
        margin-right: auto;
    }

    .cars {
        max-width: 100%;
    }

    .card {
        max-width: 100%;
    }
}


@media screen and (max-width: 700px) {
    .inventory-content {
        color: black;
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .cards {
        color: black;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .cars {
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
    }

    .card {
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
    }
}

.meet-the-team {
    display: flex;
}

.heads {
    max-width: 300px;
    max-height: 400px;
    margin-left: auto;
    margin-right: auto;
}

.family {
    max-width: 400px;
    max-height: 400px;
    margin-left: auto;
    margin-right: auto;
}

.car {
    color: #ffffff;
    text-decoration: none;
}

.price {
    transition: transform 0.1s
}

    .price:hover {
        transform: scale(1.1);
    }

.car-info {
    background-color: #e2dfdf;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(27, 31, 35, .15);
    border-radius: 6px;
}

.vehicle-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    gap: 0.75rem 2rem;
}

/* Each row: label/value pairs */
.spec-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 0.5rem 0;
}

    .spec-row:last-child {
        border-bottom: none;
    }

.spec-label {
    font-weight: 600;
    color: #333;
}

.spec-value {
    color: #555;
    text-align: right;
}

/* Description: spans full width */
.spec-description {
    grid-column: 1 / -1;
    margin-top: 1.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
}

    .spec-description p {
        margin: 0;
        color: #444;
        line-height: 1.6;
    }

/* Button styling */
.spec-button {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 1.5rem;
}

.spec-link-button {
    background-color: #007bff;
    color: #fff;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

    .spec-link-button:hover {
        background-color: #0056b3;
    }

/* Mobile responsiveness */
@media (max-width: 600px) {
    .spec-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .spec-value {
        text-align: left;
        margin-top: 0.25rem;
    }
}

.inline-heading {
    display: inline-block;
    margin: 0 0.5em 0 0; /* space between them */
    vertical-align: middle; /* aligns text nicely */
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
    }

    to {
        transform: scale(1);
    }
}