:root {
    --crl-primary-color: #215cab;
    --crl-secondary-color: #ffc80a;
    --crl-gray-color: #6c757d;
    --crl-light-gray-color: #f8f9fa;
    --crl-dark-color: #343a40;
}

body {
    font-family: "Cairo", sans-serif;
    color: var(--crl-dark-color);
}

a {
    text-decoration: none;
    color: var(--crl-dark-color);
}

.btn {
    padding: 10px 20px;
    border: none;
}

.btn-primary {
    background-color: var(--crl-primary-color);
}

.btn-primary:hover {
    background-color: var(--crl-primary-color);
    opacity: 0.8;
    color: var(--crl-light-gray-color);
}

/* Header Styles */

header {
    background: var(--crl-primary-color);
    padding: 10px 0;
}

#main-nav ul {
    display: flex;
    gap: 20px;
}

#main-nav a {
    color: var(--crl-light-gray-color);
    font-weight: 500;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
}

#main-nav a:hover {
    color: var(--crl-secondary-color);
}

.language-switcher {
    color: var(--crl-light-gray-color);
}

.language-switcher a {
    color: var(--crl-light-gray-color);
}

.language-switcher a:hover {
    color: var(--crl-secondary-color);
}

.logo {
    height: 60px;
    width: auto;
    object-fit: scale-down;
}

/* Slider Styles */
.main-slider-titles {
    background-color: var(--crl-primary-color);
    color: var(--crl-light-gray-color);
    padding-block: 200px;
    box-shadow: 0 150px 0 0 var(--crl-primary-color);
}

.main-slider-titles h2 {
    font-weight: 500;
    font-size: 50px;
}

.main-slider {
    overflow: hidden;
    border-radius: 15px;
}

.image-slider {
    width: 100%;
    height: 600px;
    object-fit: cover;
}
.item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    padding: 10px;
}

.item img {
    width: 100%;
    height: 150px;
    object-fit: scale-down;
}
.item-title {
    font-weight: 600;
    font-size: 18px;
    margin-top: 10px;
}

.item-price {
    color: var(--crl-primary-color);
    font-weight: 500;
    font-size: 14px;
    margin-top: 5px;
}

.head-title {
    color: #292929;
    font-weight: 600;
    font-size: 24px;
}

#about-us img {
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

.about-content {
    padding-inline-start: 30px;
    line-height: 1.8;
}

#about-us {
    background: #ffc80a;
}

#about-us .row {
    align-items: center;
}

#header-page {
    background-image: url(../images/Cover-Portrait.webp);
    height: 290px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    color: #fff;
    text-align: center;
    display: grid;
    place-content: center;
}

footer {
    background: #ffc80a;
    padding: 60px 0 10px;
    font-size: 14px;
    line-height: 1.8;
}

footer .head-title {
    font-size: 17px;
}

#nav-toggle,
#closed-menu {
    display: none;
}
.items .item {
    display: flex;
    gap: 16px;
    padding-block: 20px;
}

.items .item .card-img-top {
    width: 270px;
    height: 180px;
    flex: 0 0 auto;
}

.items .item .item-body {
    width: calc(100% - 270px);
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    padding-inline-end: 30px;
}
.items .item .item-body ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 10px;
}

.items .item .item-body .left {
    display: grid;
}

.items .item .item-body .left p.item-text {
    margin: 0;
}

.items .item .item-body .rigth h5 {
    margin-top: 0 !important;
    margin-bottom: 20px;
}

.image-car {
    width: 100%;
    object-fit: scale-down;
    height: 400px;
    margin: 0 0 16px;
    display: block;
}

.car-details ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    border: 1px solid #eee;
    padding: 13px 20px;
    border-radius: 10px;
}

nav[aria-label="breadcrumb"] {
    margin: 30px 0 0;
    background: #f6f6f6;
    padding: 7px 16px;
    border-radius: 7px;
}

nav[aria-label="breadcrumb"] ol {
    margin: 0;
}

.block-book {
    margin-top: 30px;
    background: #ffc80a;
    padding: 50px;
    text-align: center;
    border-radius: 10px;
}

.block-book p {
    margin: 0 0 40px;
}

.whatsapp-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-decoration: none;
    font-size: 30px;
}

@media (max-width: 768px) {
    #nav-toggle {
        display: block;
        background: none;
        border: none;
    }

    #closed-menu {
        display: block;
        padding-bottom: 20px;
    }

    #closed-menu button {
        background: none;
        border: none;
        font-size: 24px;
        line-height: 1;
        color: var(--crl-dark-color);
    }

    .bar {
        display: block;
        width: 25px;
        height: 2px;
        margin-bottom: 5px;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background-color: #fff;
    }

    .bar:nth-child(2) {
        width: 20px;
        margin-inline-start: auto;
    }

    #main-nav {
        position: fixed;
        top: 0;
        inset-inline-start: 0;
        height: 100vh;
        width: 250px;
        background-color: var(--crl-light-gray-color);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
    }
    html[dir="ltr"] #main-nav {
        transform: translateX(-100%);
    }
    #main-nav.open {
        transform: translateX(0) !important;
        transition: transform 0.3s ease-in-out;
    }

    #main-nav ul {
        flex-direction: column;
        padding: 50px 20px;
        gap: 15px;
    }

    #main-nav ul a {
        color: var(--crl-dark-color);
        padding: 10px 0;
    }

    .main-slider-titles h2 {
        font-size: 22px;
    }

    img.image-slider {
        height: 240px;
    }

    .logo {
        height: 30px;
    }

    .main-slider-titles {
        padding-block: 40px 0;
        margin: 0;
        box-shadow: 0 60px 0 0 var(--crl-primary-color);
    }

    .item-title {
        font-size: 15px;
        font-weight: 400;
    }

    footer {
        text-align: center;
    }

    .items .item {
        flex-direction: column;
    }

    .items .item .card-img-top {
        width: 100%;
    }

    .items .item .item-body {
        width: 100%;
        flex-direction: column;
        gap: 18px;
        padding-inline-end: 0;
    }

    .items .item .item-body .left {
        gap: 16px;
    }

    .image-car {
        height: 270px;
    }

    .block-book {
        margin: 0 0 40px;
    }
}
