/* Green Car Moz - Green Color Theme Override */

/* Primary theme colors - Green instead of Red */
.btn-theme {
    background: linear-gradient(135deg, #27ae60, #229954) !important;
    border-color: #27ae60 !important;
    color: white !important;
}

.btn-theme:hover,
.btn-theme:focus,
.btn-theme:active {
    background: linear-gradient(135deg, #229954, #1e8449) !important;
    border-color: #229954 !important;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3) !important;
    color: white !important;
}

.btn-theme-transparent {
    background: transparent !important;
    border: 2px solid #27ae60 !important;
    color: #27ae60 !important;
}

.btn-theme-transparent:hover {
    background: #27ae60 !important;
    color: white !important;
}

/* Text colors */
.text-theme,
.theme-color {
    color: #27ae60 !important;
}

/* Background colors */
.bg-theme {
    background-color: #27ae60 !important;
}

.bg-theme-gradient {
    background: linear-gradient(135deg, #27ae60, #229954) !important;
}

/* Links and interactive elements */
a.theme-link,
.theme-link {
    color: #27ae60 !important;
}

a.theme-link:hover,
.theme-link:hover {
    color: #229954 !important;
}

/* Icons */
.fa.text-theme,
i.text-theme {
    color: #27ae60 !important;
}

/* Section titles and accents */
.section-title span,
.caption-title,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #2c3e50 !important;
}

/* Special green accents for lists */
.list-icons li i,
.feature-icon i,
.service-icon i {
    color: #27ae60 !important;
}

/* Form elements */
.form-control:focus {
    border-color: #27ae60 !important;
    box-shadow: 0 0 0 0.2rem rgba(39, 174, 96, 0.25) !important;
}

/* Progress bars and loaders */
.progress-bar {
    background-color: #27ae60 !important;
}

/* Navigation active states */
.nav-pills .nav-link.active {
    background-color: #27ae60 !important;
}

.nav-tabs .nav-link.active {
    border-color: #27ae60 !important;
    color: #27ae60 !important;
}

/* Cards and thumbnails */
.card-header.bg-theme {
    background-color: #27ae60 !important;
    border-color: #27ae60 !important;
}

.thumbnail:hover .caption,
.thumbnail.hover .caption {
    background: rgba(39, 174, 96, 0.9) !important;
}

/* Badges and labels */
.badge-theme {
    background-color: #27ae60 !important;
}

.label-theme {
    background-color: #27ae60 !important;
}

/* Pagination */
.pagination .page-link:hover,
.pagination .page-item.active .page-link {
    background-color: #27ae60 !important;
    border-color: #27ae60 !important;
}

/* Statistics and counters */
.counter,
.statistic-number {
    color: #27ae60 !important;
}

/* Special sections */
.find-car {
    background: linear-gradient(135deg, #2c3e50, #27ae60) !important;
}

/* Testimonials and quotes */
.testimonial-quote:before {
    color: #27ae60 !important;
}

/* Social media buttons - keep original brand colors but add green option */
.btn-social.btn-green {
    background-color: #27ae60 !important;
    border-color: #27ae60 !important;
}

/* Overlay effects */
.overlay-green {
    background: rgba(39, 174, 96, 0.8) !important;
}

/* Timeline and process steps */
.timeline-item .timeline-marker {
    background-color: #27ae60 !important;
}

/* Pricing tables */
.pricing-table.featured {
    border-color: #27ae60 !important;
}

.pricing-table .price {
    color: #27ae60 !important;
}

/* Footer links */
.footer a:hover {
    color: #27ae60 !important;
}

/* Custom checkbox and radio buttons */
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #27ae60 !important;
    border-color: #27ae60 !important;
}

/* Slider and carousel indicators */
.owl-theme .owl-dots .owl-dot.active span {
    background: #27ae60 !important;
}

.carousel-indicators .active {
    background-color: #27ae60 !important;
}

/* Tables */
.table th {
    border-color: #27ae60 !important;
}

.table-striped tbody tr:hover {
    background-color: rgba(39, 174, 96, 0.1) !important;
}

/* Alerts */
.alert-success {
    background-color: rgba(39, 174, 96, 0.1) !important;
    border-color: #27ae60 !important;
    color: #1e7e34 !important;
}

/* Additional green shades for variety */
.text-light-green {
    color: #2ecc71 !important;
}

.text-dark-green {
    color: #229954 !important;
}

.bg-light-green {
    background-color: #2ecc71 !important;
}

.bg-dark-green {
    background-color: #229954 !important;
}

/* Ripple effect for green buttons */
.btn-theme.ripple-effect:hover {
    animation: ripple-green 0.6s linear !important;
}

@keyframes ripple-green {
    0% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(39, 174, 96, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
    }
}

/* Green Car Logo Styling */
.logo img {
    max-height: 55px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.mobile-logo img {
    max-height: 45px;
    width: auto;
}

/* Logo responsive adjustments */
@media (max-width: 768px) {
    .logo img {
        max-height: 45px;
    }

    .mobile-logo img {
        max-height: 40px;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-height: 40px;
    }
}

/* Slider Caption Text Visibility Fix */
.slider .caption-title,
.slider h2.caption-title {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.slider .caption-subtitle,
.slider h3.caption-subtitle {
    color: #f8f9fa !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.slider .caption-text {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Ensure all slider text is visible */
.slider .caption h2,
.slider .caption h3,
.slider .caption h4,
.slider .caption p {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Special styling for slide 1 */
.slide1 .caption-title {
    color: #ffffff !important;
    font-size: 3.5rem !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
}

.slide1 .caption-subtitle {
    color: #e9ecef !important;
    font-size: 1.5rem !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Publicity Slide Styling - Clean White-Gray Wall */
.slide3.ver3.publicity-wall {
    /* min-height: 100vh; */
    position: relative;
    background: linear-gradient(
        135deg,
        #f8f9fa 0%,
        #e9ecef 25%,
        #f1f3f4 50%,
        #e9ecef 75%,
        #f8f9fa 100%
    );
    background-size: 400% 400%;
    animation: wallGradient 8s ease infinite;
}

.slide3.publicity-wall .caption {
    background: none;
    position: relative;
    z-index: 2;
}

.publicity-content {
    padding: 60px 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.publicity-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.publicity-image:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Subtle wall animation */
@keyframes wallGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive adjustments for publicity slide */
@media (max-width: 768px) {
    .publicity-content {
        padding: 40px 20px;
    }

    .publicity-image {
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .publicity-content {
        padding: 30px 15px;
    }
}
