.elementor-851 .elementor-element.elementor-element-3e7d7bb{--display:flex;}.elementor-851 .elementor-element.elementor-element-bf48ba8{--display:flex;}/* Start custom CSS for html, class: .elementor-element-17df460 *//* --- GLOBAL RESET --- */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; 
}

/* --- SECTION LAYOUT (Full Vertical & Horizontal Fit) --- */
.cinematic-hero-fit {
    position: relative;
    height: 70vh; /* Looks better on mobile than 100vh which can hide content */
    width: 100vw; 
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #000;
    padding: 0; 
    box-sizing: border-box;
}

/* --- THE ANIMATED BACKGROUND --- */
.parallax-bg-fit {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://www.eliteouting.ma/wp-content/uploads/2026/02/female-hands-close-up-with-car-keys-scaled.jpg') no-repeat center center/cover;
    z-index: 1;
    animation: luxuryZoom 20s infinite alternate ease-in-out;
}

/* Responsive Overlay for better text readability on small screens */
.hero-overlay-fit {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
}

/* --- TEXT CONTAINER --- */
.hero-container-fit {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%; /* Fluid padding */
    box-sizing: border-box;
}

/* --- RESPONSIVE TYPOGRAPHY --- */
.hero-main-title {
    color: #fff;
    /* This makes the font shrink perfectly for mobile */
    font-size: clamp(2rem, 8vw, 4.5rem); 
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-main-title span {
    color: transparent;
    -webkit-text-stroke: 1.5px #d4af37;
}

.hero-summary {
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    /* Fluid font size for description */
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* --- THE ANIMATED BUTTON (Responsive Size) --- */
.btn-gold-luxury {
    position: relative;
    display: inline-block;
    padding: clamp(15px, 3vw, 20px) clamp(30px, 5vw, 50px);
    background-color: #d4af37;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: clamp(12px, 2vw, 14px);
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid #d4af37;
    z-index: 1;
}

/* --- MOBILE SPECIFIC FIXES --- */
@media (max-width: 768px) {
    .cinematic-hero-fit {
        height: 60vh; /* Slightly shorter on mobile to keep car cards visible */
        text-align: center; /* Center text on mobile for better aesthetics */
    }
    
    .hero-overlay-fit {
        /* On mobile, a centered dark gradient works better */
        background: rgba(0,0,0,0.6); 
    }

    .hero-summary {
        margin-left: auto;
        margin-right: auto;
    }

    .btn-gold-luxury {
        width: 80%; /* Larger tap area for mobile users */
        max-width: 300px;
    }
}

/* --- ANIMATIONS (Remain the same) --- */
.btn-gold-luxury::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0; height: 100%;
    background-color: #1a1a1a;
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.btn-gold-luxury:hover {
    color: #d4af37;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.btn-gold-luxury:hover::before { width: 100%; }

@keyframes luxuryZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@keyframes fadeInReveal {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-text-box {
    animation: fadeInReveal 1.5s ease-out;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-5990738 *//* --- 1. GLOBAL CONTAINER & RESPONSIVENESS --- */
.car-rental-container {
    padding: 60px 5%; 
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

.rental-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 10px;
}

.rental-header h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem); 
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- 2. THE GRID (Desktop: 2 per line) --- */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
}

/* --- 3. CAR CARDS --- */
.car-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid #eee;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column; 
}

.car-image img {
    width: 100%;
    height: 250px; 
    object-fit: cover;
    transition: transform 0.8s ease;
}

.car-details {
    padding: 25px;
    flex-grow: 1;
}

.car-category {
    font-size: 12px;
    color: #d4af37;
    font-weight: bold;
    text-transform: uppercase;
}

.car-details h3 {
    margin: 10px 0;
    font-size: 1.4rem;
    color: #333;
}

.car-features {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap; 
    gap: 15px;
    margin: 20px 0;
    font-size: 14px;
    color: #777;
}

.car-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.price {
    font-weight: bold;
    color: #1a1a1a;
}

/* --- THE BUTTON & GOLD HOVER --- */
.book-btn {
    background: #1a1a1a;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease; /* Smooth transition for color change */
}

.book-btn:hover {
    background: #d4af37; /* Change background to Gold */
    color: #000;         /* Change text to Black for better contrast */
}

/* --- 4. CENTER THE 13th CAR (DESKTOP ONLY) --- */
@media (min-width: 851px) {
    .car-card:last-child:nth-child(odd) {
        grid-column: 1 / span 2;
        justify-self: center;
        width: 50%; 
    }
}

/* --- 5. THE ANNOUNCEMENT BAR (STAYS ON TOP) --- */
.announcement-bar {
    background: #FD5056;
    color: #ffffff;
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid #d4af37;
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.announcement-scroll {
    display: flex;
    flex-shrink: 0;
    min-width: 100%;
    animation: scroll-left-to-right 30s linear infinite;
}

.announcement-item {
    padding: 0 40px;
    flex-shrink: 0;
}

/* --- 6. LUXURY ANIMATIONS --- */
.luxury-card-fx:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.luxury-card-fx:hover img {
    transform: scale(1.05);
}

@keyframes scroll-left-to-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0%); }
}

/* --- 7. MOBILE ADAPTATION --- */
@media (max-width: 850px) {
    .fleet-grid {
        grid-template-columns: 1fr; 
    }

    .car-rental-container {
        padding: 40px 15px;
    }

    .car-image img {
        height: 200px; 
    }

    .car-footer {
        flex-direction: row; 
        justify-content: space-between;
    }

    .book-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}

@media (max-width: 350px) {
    .car-footer {
        flex-direction: column;
        gap: 10px;
    }
    .book-btn {
        width: 100%;
        text-align: center;
    }
}/* End custom CSS */