/*
Theme Name: AJI Car Rental
Theme URI: https://ajicarrental.ma
Author: AJI Car Rental
Description: Official theme for AJI Car Rental
Version: 1.0
*/

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #111111;
}
/* ===== AJI CAR RENTAL DESIGN ===== */

:root {
    --gold: #c9a227;
    --gold-light: #e4c65b;
    --dark: #0c0c0c;
    --dark-soft: #171717;
    --white: #ffffff;
    --gray: #f5f5f5;
    --text-gray: #6d6d6d;
}

body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(10, 10, 10, 0.97);
    border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 18px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo a {
    color: var(--gold);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}.logo img {
    width: 150px;
    height: auto;
    display: block;
    max-width: 100%;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-navigation a {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
}

.main-navigation a:hover {
    color: var(--gold);
}

/* HERO */

.hero {
    min-height: 82vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 90px 7%;
    background-image:
    linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
    url('https://ajicarrental.ma/wp-content/uploads/2026/08/file_00000000a47481f494e25d88aa465ee0.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
    overflow: hidden;
}

.hero::after {
    content: "AJI";
    position: absolute;
    right: -30px;
    bottom: -100px;
    font-size: 360px;
    font-weight: 900;
    color: rgba(255,255,255,0.025);
    line-height: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero-label,
.section-heading > span,
.about-content > span,
.contact-section > div > span {
    display: inline-block;
    color: var(--gold);
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(44px, 7vw, 84px);
    line-height: 1.02;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero p {
    color: #d2d2d2;
    font-size: 18px;
    line-height: 1.7;
    max-width: 630px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* BUTTONS */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 7px;
    font-weight: 700;
    transition: 0.25s;
}

.btn-gold {
    background: var(--gold);
    color: #090909;
}

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

.btn-outline {
    border: 1px solid rgba(255,255,255,0.6);
    color: white;
}

.btn-outline:hover {
    background: white;
    color: #111;
}

.btn-dark {
    background: var(--dark);
    color: white;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
}

/* ADVANTAGES */

.advantages {
    background: var(--white);
    padding: 0 7%;
}

.section-container {
    max-width: 1180px;
    margin: -45px auto 0;
    position: relative;
    z-index: 10;
    background: white;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    box-shadow: 0 15px 50px rgba(0,0,0,0.10);
    border-radius: 12px;
    overflow: hidden;
}

.advantage {
    padding: 38px 30px;
    border-right: 1px solid #ededed;
}

.advantage:last-child {
    border-right: 0;
}

.advantage > span {
    display: block;
    color: var(--gold);
    font-size: 28px;
    margin-bottom: 15px;
}

.advantage h3 {
    margin-bottom: 10px;
    font-size: 19px;
}

.advantage p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 14px;
}

/* FLEET */

.cars-section {
    padding: 60px 7% 30px;
    background: var(--gray);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(32px, 5vw, 52px);
    margin-bottom: 14px;
}

.section-heading p {
    color: var(--text-gray);
    font-size: 17px;
}

.cars-grid {
    max-width: 1180px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.car-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,0.07);
    transition: 0.3s;
}

.car-card:hover {
    transform: translateY(-7px);
}

.car-placeholder {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle, rgba(201,162,39,0.20), transparent 55%),
        #111;
    color: var(--gold);
    font-size: 60px;
    font-weight: 900;
    letter-spacing: 8px;
}

.car-info {
    padding: 26px;
}

.car-info h3 {
    font-size: 23px;
    margin-bottom: 10px;
}

.car-info p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.car-info a {
    color: #111;
    font-weight: 700;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 4px;
}

/* ABOUT */

.about-section {
    max-width: 1180px;
    margin: auto;
    padding: 20px 30px 50px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 70px;
    align-items: center;
}

.about-content h2 {
    font-size: clamp(32px, 5vw, 50px);
    line-height: 1.1;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-gray);
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 30px;
}

.about-box {
    min-height: 380px;
    background: linear-gradient(145deg, #101010, #26200d);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.about-box strong {
    color: var(--gold);
    font-size: 100px;
    line-height: 1;
}

.about-box span {
    margin-top: 15px;
    color: white;
    font-weight: 700;
    letter-spacing: 7px;
}

/* CONTACT */

.contact-section {
    background: var(--dark);
    color: white;
    padding: 75px max(7%, calc((100% - 1180px) / 2));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.contact-section h2 {
    font-size: clamp(32px, 5vw, 52px);
    margin-bottom: 14px;
}

.contact-section p {
    color: #bbb;
    max-width: 650px;
    line-height: 1.7;
}

.contact-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* FOOTER */

.site-footer {
    background: #050505;
    color: #909090;
    border-top: 1px solid #242424;
}

.footer-container {
    max-width: 1180px;
    margin: auto;
    padding: 28px;
    text-align: center;
    font-size: 13px;
}

/* MOBILE */

@media (max-width: 800px) {

    .header-container {
    padding: 0px 18px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .logo a {
        font-size: 21px;
    }
.logo a {
    font-size: 21px;
}


.logo {
    width: 180px;
    height: 58px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.logo img {
    width: 180px;
    height: auto;
    transform: scale(1.18);
}
.menu-toggle {
    display: block !important;
    color: #c9a227 !important;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.main-navigation {
    display: none !important;
}
    .main-navigation {
    display: none !important;
}.mobile-menu-checkbox {
    display: none;
}

#mobile-menu-toggle:checked ~ .main-navigation {
    display: flex !important;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0c0c0c;
    padding: 10px 0;
    border-top: 1px solid rgba(201, 162, 39, 0.35);
}
.main-navigation.menu-open {
    display: flex !important;
    width: 100%;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
    .main-navigation a {
    font-size: 16px;
    padding: 8px 16px;
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(201, 162, 39, 0.18);
}

    .hero {
        min-height: 75vh;
        padding: 80px 22px 110px;
    }

    .hero h1 {
    font-size: 38px;
    line-height: 1.08;
}

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section-container {
        grid-template-columns: 1fr;
        margin-top: -35px;
    }

    .advantage {
        border-right: 0;
        border-bottom: 1px solid #ededed;
    }

    .cars-section {
        padding: 80px 20px;
    }

    .cars-grid {
        grid-template-columns: 1fr;
    }

    .about-section {
        padding: 25px 22px 50px;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-box {
        min-height: 280px;
    }

    .about-box strong {
        font-size: 80px;
    }

    .contact-section {
        padding: 70px 22px;
        flex-direction: column;
        align-items: stretch;
    }

    .contact-buttons {
        flex-direction: column;
    }
}
.car-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    display: block;
} 
.booking-section {
    background: #0c0c0c;
    padding: 70px 22px;
}

.booking-box {
    max-width: 700px;
    margin: 0 auto;
    background: #151515;
    border: 1px solid rgba(201, 162, 39, 0.35);
    border-radius: 24px;
    padding: 28px 22px;
    color: #fff;
}

.booking-box span {
    color: #c9a227;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
}

.booking-box h2 {
    font-size: 32px;
    margin: 12px 0 28px;
    color: #fff;
}

.booking-box label {
    display: block;
    margin: 18px 0 8px;
    font-weight: 700;
    color: #fff;
}

.booking-box select,
.booking-box input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #444;
    background: #fff;
    color: #111;
    font-size: 16px;
    box-sizing: border-box;
}

#booking-result {
    margin-top: 25px;
    padding: 18px;
    border-radius: 14px;
    background: #0c0c0c;
    border: 1px solid rgba(201, 162, 39, 0.35);
    color: #fff;
}

#booking-result strong {
    color: #c9a227;
}