*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

html,
body{
    margin:0;
    padding:0;
}

body{
    background:#0B0B0B;
    color:#fff;
    font-family:Tahoma,Arial,sans-serif;
}

/* =========================
   NAVBAR
========================= */

.navbar{
    background:#111;
    padding:15px 0;
    border-bottom:1px solid rgba(212,175,55,.15);
    min-height:75px;
}

.logo{
    height:55px;
    width:auto;
    object-fit:contain;
}

.navbar-nav{
    gap:10px;
}

.navbar-nav .nav-link{
    color:#fff;
    font-size:16px;
    font-weight:bold;
    padding:10px 16px !important;
    border-radius:10px;
    transition:.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active{
    color:#D4AF37;
    background:rgba(212,175,55,.08);
}

.navbar-toggler{
    border-color:rgba(212,175,55,.4);
}

.navbar-toggler:focus{
    box-shadow:0 0 0 .15rem rgba(212,175,55,.2);
}

/* =========================
   HERO
========================= */

.hero{
    min-height:90vh;
    display:flex;
    align-items:center;
    text-align:center;
    background:
    linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.85)),
    url("/imgs/bg.jpeg");
    background-size:cover;
    background-position:center;
}

.hero h1{
    color:#D4AF37;
    font-size:60px;
    font-weight:bold;
}

.hero p{
    color:#ddd;
    font-size:22px;
}

.btn-gold{
    background:#D4AF37;
    color:#000;
    border:none;
    padding:14px 35px;
    font-weight:bold;
    border-radius:10px;
}

.btn-gold:hover{
    background:#e7c55b;
    color:#000;
}

/* =========================
   SECTIONS
========================= */

.section-title{
    color:#D4AF37;
    text-align:center;
    margin-bottom:50px;
    font-size:40px;
    font-weight:bold;
}

.section-box{
    background:#151515;
    border-radius:20px;
    padding:25px;
    margin-top:30px;
    border:1px solid rgba(255,255,255,.04);
}

.feature{
    margin-bottom:15px;
}

.features{
    background:#111;
    padding:80px 0;
}

.feature-box{
    background:#181818;
    border-radius:15px;
    padding:30px;
    text-align:center;
    height:100%;
}

.feature-box h4{
    color:#D4AF37;
    margin:0;
}

/* =========================
   CARS
========================= */

.car-card{
    background:#151515;
    border-radius:20px;
    overflow:hidden;
    border:1px solid rgba(212,175,55,.15);
    transition:.3s;
}

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

.car-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

/* =========================
   PRICES
========================= */

.price{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:15px;
    color:#D4AF37;
}

.price-item{
    flex:1;
    text-align:center;
    padding:10px 8px;
    background:#111;
    border:1px solid rgba(212,175,55,.12);
    border-radius:10px;
}

.price-item span{
    display:block;
    font-size:13px;
    color:#999;
    margin-bottom:4px;
}

.price-item strong{
    display:block;
    font-size:20px;
    color:#D4AF37;
}

/* =========================
   CAR DETAILS
========================= */

.car-title{
    color:#D4AF37;
    font-size:42px;
    font-weight:bold;
    margin-bottom:10px;
}

.info-box{
    background:#151515;
    border-radius:15px;
    padding:16px 18px;
    margin-bottom:12px;
    border:1px solid rgba(255,255,255,.04);
}

.info-box strong{
    color:#D4AF37;
    margin-left:5px;
}

/* =========================
   SWIPER
========================= */

.carSwiper{
    width:100%;
    border-radius:20px;
    overflow:hidden;
    background:#151515;
    position:relative;
}

.gallery-image{
    width:100%;
    height:500px;
    object-fit:cover;
    display:block;
    cursor:pointer;
    user-select:none;
    -webkit-user-drag:none;
}

.swiper-pagination-bullet{
    background:#fff;
    opacity:.6;
}

.swiper-pagination-bullet-active{
    background:#D4AF37;
    opacity:1;
}

.swiper-button-next,
.swiper-button-prev{
    color:#D4AF37;
}

/* =========================
   WHATSAPP
========================= */

.whatsapp{
    position:fixed;
    bottom:25px;
    left:25px;
    width:60px;
    height:60px;
    background:#25D366;
    color:white;
    border-radius:50%;
    text-decoration:none;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:30px;
    z-index:999;
}

.btn-whatsapp{
    background:#25D366;
    color:white;
    width:100%;
    padding:15px;
    border-radius:12px;
    text-decoration:none;
    display:block;
    text-align:center;
    font-size:20px;
    font-weight:bold;
    transition:.3s;
}

.btn-whatsapp:hover{
    color:white;
    background:#20bd5a;
    transform:translateY(-2px);
}

/* =========================
   FULLSCREEN GALLERY
========================= */

.image-modal{
    display:none;
    position:fixed;
    inset:0;
    width:100%;
    height:100%;
    background:#000;
    z-index:99999;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.modalSwiper{
    width:100%;
    height:100%;
}

.modalSwiper .swiper-wrapper{
    height:100%;
}

.modalSwiper .swiper-slide{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.zoom-image{
    max-width:100%;
    max-height:100%;
    width:auto;
    height:auto;
    object-fit:contain;
    user-select:none;
    -webkit-user-select:none;
    -webkit-user-drag:none;
    touch-action:none;
    transform:translate3d(0,0,0) scale(1);
    will-change:transform;
}

.close-modal{
    position:absolute;
    top:15px;
    right:20px;
    z-index:100001;
    width:50px;
    height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    background:rgba(0,0,0,.55);
    border-radius:50%;
    font-size:42px;
    cursor:pointer;
}

.close-modal:hover{
    color:#D4AF37;
}

.zoom-controls{
    position:absolute;
    z-index:100002;
    bottom:25px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:10px;
}

.zoom-btn{
    width:45px;
    height:45px;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.15);
    color:white;
    font-size:25px;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    backdrop-filter:blur(5px);
}

.zoom-btn:active{
    background:#D4AF37;
    color:#000;
}

/* =========================
   FOOTER
========================= */

footer{
    margin-top:80px;
    background:#111;
    text-align:center;
    padding:30px 15px;
    border-top:1px solid rgba(212,175,55,.1);
}

footer img{
    max-width:180px;
    height:auto;
}

footer p{
    color:#aaa;
    margin-bottom:0;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .logo{
        height:45px;
    }

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

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

    .section-title{
        font-size:30px;
    }

    .gallery-image{
        height:280px;
    }

    .car-title{
        font-size:30px;
        margin-top:10px;
    }

    /* الأسعار على الهاتف */
    .price{
        gap:6px;
        margin-top:12px;
    }

    .price-item{
        padding:8px 4px;
    }

    .price-item span{
        font-size:11px;
        margin-bottom:3px;
    }

    .price-item strong{
        font-size:17px;
    }

    .section-box{
        padding:20px;
    }

    .carSwiper .swiper-button-next,
    .carSwiper .swiper-button-prev,
    .modalSwiper .swiper-button-next,
    .modalSwiper .swiper-button-prev{
        display:none;
    }

    .close-modal{
        top:10px;
        right:10px;
        width:45px;
        height:45px;
        font-size:35px;
    }

    .zoom-controls{
        bottom:20px;
    }
}
.office-icon {
        width: 58px;
        height: 58px;
        min-width: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 27px;
        border-radius: 16px;
        background: linear-gradient(
            135deg,
            rgba(212, 175, 55, .20),
            rgba(212, 175, 55, .05)
        );
        border: 1px solid rgba(212, 175, 55, .35);
    }

    .office-info p {
        padding: 10px 12px;
        margin-bottom: 10px;
        border-radius: 10px;
        background: rgba(255, 255, 255, .035);
        overflow-wrap: anywhere;
    }

    .office-info strong {
        color: #d4af37;
    }

    .section-box iframe {
        display: block;
    }

    .section-box .btn {
        padding: 11px;
        border-radius: 10px;
    }
/* WhatsApp selection modal */
.whatsappModal .modal-content {
    background: #111;
    color: #fff;
    border: 1px solid rgba(212, 175, 55, .45);
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.whatsappModal .modal-header {
    padding: 22px 20px 16px;
}

.whatsappModal .modal-title {
    color: #d4af37;
    font-size: 20px;
    font-weight: 700;
}

.whatsappModal .btn-close {
    filter: invert(1);
}

.whatsappModal .modal-body {
    padding: 0 14px 16px;
}

/* Office cards */
.whatsappModal .office-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
    margin-top: 12px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(110deg, #202020, #171717);
    border: 1px solid #333;
    border-radius: 15px;
    transition: border-color .2s, background .2s,
                transform .2s;
}

.whatsappModal .office-option:hover {
    background: #242117;
    border-color: #c8a64b;
    transform: translateY(-2px);
}

/* Office icon */
.whatsappModal .office-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(212, 175, 55, .10);
    border: 1px solid rgba(212, 175, 55, .22);
    font-size: 24px;
}

/* Office name and phone */
.whatsappModal .office-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.whatsappModal .office-details strong {
    font-size: 16px;
    font-weight: 700;
    color: #f1d58a;
}

.whatsappModal .office-details small {
    color: #aaa;
    font-size: 13px;
    direction: ltr;
    text-align: right;
    overflow-wrap: anywhere;
}

/* WhatsApp action */
.whatsappModal .call-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 11px;
    border-radius: 9px;
    background: #176b42;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    margin-right: auto;
}

@media (max-width: 380px) {
    .whatsappModal .office-option {
        gap: 10px;
        padding: 14px 10px;
    }

    .whatsappModal .office-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .whatsappModal .call-label {
        padding: 8px;
        font-size: 11px;
    }
}