/* Eagle Ride - Main Styles */

:root {
    /* --primary-color: #d4af37; */
    --primary-color: #d4af37;
    --secondary-color: #1a1a1a;
    --light-color: #f8f9fa;
    --border-color: #ddd;

    --theme-color-main: radial-gradient(circle at top right, rgba(212, 175, 55, 0.18), transparent 55%), linear-gradient(175deg, #43381b 0%, #1a1a1a 60%, #2b2415 100%);
    --theme-color-page-bg: #fffaec;
    --theme-color-text: #1F2937;
    --theme-color-buttons: #FF8C00;
    --theme-color-buttons-gradient: linear-gradient(135deg, #ff8c00 0%, #b36200 100%);
    --theme-color-light-main: #007bff;

    --white-color: #ffffff;
    --black-color: #000000;

    
}

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

html {
    margin-top: 0 !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--theme-color-text);
    margin-top: 0 !important;
    padding-top: 0 !important;
    background-color: var(--theme-color-page-bg);
}

/* Remove top spacing from header */
#site-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* WordPress admin bar spacing fix */
html.admin-bar {
    margin-top: 0 !important;
}

html.admin-bar body {
    margin-top: 32px !important;
}

@media screen and (max-width: 782px) {
    html.admin-bar body {
        margin-top: 46px !important;
    }
}

/* Slider Styles */



.eagleride-slider .slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
}

.eagleride-slider,
.eagleride-slider .slick-list,
.eagleride-slider .slick-track,
.eagleride-slider .slide {
    height: 700px;
}

/* Make sure arrows are above overlay */
/* FORCE Slick arrows to appear */
.eagleride-slider .slick-prev,
.eagleride-slider .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    z-index: 30;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.eagleride-slider .slick-prev {
    left: 20px;
}

.eagleride-slider .slick-next {
    right: 20px;
}

@media (max-width: 768px) {
    .eagleride-slider,
    .eagleride-slider .slick-list,
    .eagleride-slider .slick-track,
    .eagleride-slider .slide {
        height: 300px !important;
    }

    /* Center slider content on mobile */
    .eagleride-slide,
    .eagleride-slider .slide {
        padding-left: 0 !important;
        justify-content: center !important;
    }

    .eagleride-slide-content {
        padding: 15px;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .eagleride-slide-content h2 {
        font-size: 24px !important;
        margin-bottom: 10px;
    }

    .eagleride-slide-description {
        font-size: 14px !important;
        margin-bottom: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .eagleride-slide-button {
        padding: 10px 24px !important;
        font-size: 13px !important;
        margin-top: 10px;
    }

    /* Booking/Intro Section Mobile Styles */
    .booking-section {
        text-align: center !important;
    }

    .booking-section .d-flex.flex-column {
        align-items: center !important;
    }

    .booking-section .d-flex.align-items-center {
        justify-content: center !important;
    }
    
    .booking-section .col-lg-6:last-child {
        margin-top: 40px;
    }
    
    .booking-section img {
        min-height: 300px !important;
        height: auto !important;
    }

    .booking-section .ms-lg-5 {
        margin-left: 0 !important;
    }

    /* Floating Badge on Mobile */
    .booking-section .position-absolute.bottom-0.start-0 {
        padding: 15px !important;
        margin: 15px !important;
        max-width: 200px !important;
    }

    .booking-section .position-absolute.bottom-0.start-0 p {
        font-size: 11px !important;
    }

    /* Why Choose Us Section Mobile Styles */
    .feature-section {
        text-align: center !important;
    }

    .feature-section .col-lg-5 {
        margin-bottom: 40px !important;
    }

    /* Popular Brands / Cars Grid Mobile Styles */
    .eagleride-cars-grid {
        padding-left: 20px !important;
        padding-right: 20px !important;
        gap: 25px !important;
    }

    .car-card,
    .eagleride-car-item {
        max-width: 350px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .eagleride-car-thumbnail,
    .car-card-image-wrapper {
        height: 220px !important;
    }

    .eagleride-car-content h3,
    .car-model-title {
        font-size: 20px !important;
    }
}


/* Make sure dots are visible */
.eagleride-slider .slick-dots {
    bottom: 20px;
    z-index: 20;
    color: var(--theme-color-buttons, #f5d76e);
}




/* Bigger Slick dots */
.eagleride-slider .slick-dots li {
    width: 18px;
    height: 18px;
    margin: 0 6px;
}

.eagleride-slider .slick-dots li button {
    width: 18px;
    height: 18px;
}


.eagleride-slider .slick-dots li button:before {
    color: #fff;
    opacity: 0.7;
    font-size: 15px;      /* THIS controls dot size */
    width: 18px;
    height: 18px;
    line-height: 18px;
}

.eagleride-slider .slick-dots li.slick-active button:before {
    font-size: 18px;      /* slightly bigger active dot */
    color: var(--theme-color-buttons);
    opacity: 1;
}





/* FULL SIDE TRANSPARENT ARROWS */
.eagleride-arrow {
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    z-index: 40;
    cursor: pointer;
    display: flex;
    align-items: center;
    pointer-events: auto;
}

/* LEFT ARROW */
.eagleride-arrow-prev {
    left: 0;
    justify-content: flex-start;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.25),
        rgba(0,0,0,0)
    );
}

/* RIGHT ARROW */
.eagleride-arrow-next {
    right: 0;
    justify-content: flex-end;
    background: linear-gradient(
        to left,
        rgba(0,0,0,0.25),
        rgba(0,0,0,0)
    );
}

/* Hover states */
.eagleride-arrow-prev:hover {
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.55),
        rgba(0,0,0,0)
    );
}

.eagleride-arrow-next:hover {
    background: linear-gradient(
        to left,
        rgba(0,0,0,0.55),
        rgba(0,0,0,0)
    );
}

/* Arrow icons */
.eagleride-arrow .arrow-icon {
    color: var(--theme-color-buttons);
    font-size: 48px;
    opacity: 0;
    margin: 0 30px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Icon hover */
.eagleride-arrow:hover .arrow-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Mobile: disable */
@media (max-width: 768px) {
    .eagleride-arrow {
        display: none !important;
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(80px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUpFadeLeft {
    from {
        opacity: 0;
        transform: translateY(80%); /* Start below center */
    }
    to {
        opacity: 1;
        transform: translateY(-50%); /* End perfectly centered */
    }
}


.eagleride-slider .slide-content {
    opacity: 0;
    transform: translateY(80px);
}
.eagleride-slider .slick-active .slide-content {
    animation: slideUpFade 1s forwards;
}

.eagleride-slider .slide-content.left-center {
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    opacity: 0;
}
.eagleride-slider .slick-active .slide-content.left-center {
    animation: slideUpFadeLeft 1s forwards;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.floating-btn:hover {
    transform: translateY(-5px);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* WhatsApp Button */
.whatsapp-btn {
    background: #25D366;
    border: 2px solid #fff;
}

.whatsapp-btn:hover {
    background: #128C7E;
}

/* Call Button */
.call-btn {
    background: var(--theme-color-buttons);
    border: 2px solid #fff;
}

.call-btn:hover {
    background: #e6b800; /* Darker gold */
}

/* Scroll Top Button */
.scroll-top-btn {
    width: 40px;
    height: 40px;
    font-size: 12px;
    background: conic-gradient(var(--theme-color-buttons) var(--scroll-percent, 0deg), #444 0deg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    box-shadow: none; /* Override floating-btn shadow if needed, or keep it */
}

.scroll-top-btn::after {
    content: '';
    position: absolute;
    top: 2px; bottom: 2px; left: 2px; right: 2px;
    background: #333;
    border-radius: 50%;
    z-index: 1;
    transition: background 0.3s ease;
}

.scroll-top-btn i {
    position: relative;
    z-index: 2;
    color: var(--theme-color-buttons);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    /* Keep the ring effect, maybe lighten inner background or scale */
    transform: translateY(-3px);
}

.scroll-top-btn:hover::after {
    background: #444; /* Slightly lighter on hover */
}

.scroll-top-btn:hover i {
    color: #fff;
}

/* Ripple Effect Animation */
@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-btn {
    animation: ripple 2s infinite;
}

/* Tooltip on hover */
.floating-btn::before {
    content: attr(title);
    position: absolute;
    right: 70px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-btn:hover::before {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Car Single Page Enhancements */
.car-gallery-thumbs {
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 5px;
}

.car-gallery-thumbs::-webkit-scrollbar {
    height: 6px;
}

.car-gallery-thumbs::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.car-gallery-thumbs::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.car-gallery-thumbs::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.car-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.feature-item {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.feature-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: block;
}

/* Related Cars Carousel Fixes */
.related-cars-slider .card {
    margin: 0 10px;
    height: 100%;
}

.related-cars-slider .slick-track {
    display: flex;
}

.related-cars-slider .slick-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

.carousel-indicators {
    bottom: 20px;
    z-index: 10;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(212, 175, 55, 0.7);
    transition: all 0.3s ease;
    margin: 0 5px;
}

.carousel-indicators [data-bs-target].active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    width: 14px;
    height: 14px;
}

.carousel-indicators [data-bs-target]:hover {
    background: rgba(212, 175, 55, 0.7);
}

/* Responsive Floating Buttons */
@media (max-width: 768px) {
    .floating-actions {
        right: 15px;
        bottom: 15px;
        gap: 10px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .scroll-top-btn {
        top: auto;
        width: 30px;
        height: 30px;
        font-size: 10px;
        border-width: 1px;
    }
}

/* =========================================
   Luxury Footer Styles
   ========================================= */

.site-footer {
    background: linear-gradient(180deg, #111111 0%, #000000 100%);
    color: #b0b0b0;
    padding: 80px 0 30px;
    margin-top: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    border-top: 3px solid var(--theme-color-buttons);
}

/* Overlay Pattern (Optional) */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23222' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    pointer-events: none;
}

.footer-widget {
    position: relative;
    z-index: 1;
}

.footer-title {
    color: var(--theme-color-buttons);
    font-family: 'Roboto Slab', serif; /* Or Playfair Display if available */
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--theme-color-buttons);
}

.footer-text {
    line-height: 1.8;
    color: #a0a0a0;
    font-size: 0.95rem;
}

/* Links */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--theme-color-buttons);
    transform: translateX(5px);
    padding-left: 5px;
}

/* Contact List */
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    gap: 15px;
    color: #cccccc;
}

.footer-contact-list i {
    color: var(--theme-color-buttons);
    font-size: 1.1rem;
    margin-top: 4px;
    min-width: 20px;
}

/* Divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.15), rgba(255,255,255,0));
    margin: 50px 0 30px;
}

/* Bottom Section */
.copyright-text {
    font-size: 0.9rem;
    color: #777;
}

/* Social Icons */
.footer-socials {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
    text-decoration: none;
}

.footer-socials a:hover {
    background: var(--theme-color-buttons);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    border-color: var(--theme-color-buttons);
}

/* Responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 50px 0 30px;
    }

    .footer-widget {
        text-align: center;
        margin-bottom: 40px !important; /* Increase spacing between widgets on mobile */
    }

    /* Center the underline for titles on mobile */
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Center contact list items */
    .footer-contact-list li {
        justify-content: center;
    }
    
    .footer-socials {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .copyright-text {
        margin-bottom: 20px;
    }
}

/* Utility Classes */
.hover-scale {
    transition: transform 0.3s ease;
}
.hover-scale:hover {
    transform: translateY(-5px) scale(1.02);
}

.hover-shadow {
    transition: box-shadow 0.3s ease;
}
.hover-shadow:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}


/* =========================================
   Luxury Filter Card Styles
   ========================================= */
.car-filter-card {
    background: var(--theme-color-main) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

.car-filter-card .card-title {
    color: white !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-family: "Playfair Display", serif;
    letter-spacing: 0.5px;
}

.car-filter-btn {
    color: rgba(255,255,255,0.7) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.car-filter-btn:hover {
    background: rgba(212, 175, 55, 0.1) !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.car-filter-btn.active {
    background: var(--primary-color) !important;
    color: #000 !important;
    border-color: var(--primary-color) !important;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}
