/* ========================================
   SECTIONS REDESIGN V2 - Macedonia Car Rental
   Testimonials + CTA + Search Font Fixes
   Clean, Modern, Professional Design
   ======================================== */

/* ========================================
   1. TESTIMONIALS SECTION - Complete Redesign
   "What client say about us"
   ======================================== */

/* Section container */
.elementor-widget-tm_testimonials {
    padding: 60px 0 80px !important;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%) !important;
}

/* Section title */
.elementor-widget-tm_testimonials .fancy-title,
.elementor-widget-tm_testimonials h2,
.elementor-widget-tm_testimonials h3 {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    text-align: center !important;
    margin-bottom: 50px !important;
    position: relative !important;
}

/* Title underline decoration */
.elementor-widget-tm_testimonials .fancy-title::after {
    content: '' !important;
    display: block !important;
    width: 60px !important;
    height: 3px !important;
    background: #c17f59 !important;
    margin: 15px auto 0 !important;
    border-radius: 2px !important;
}

/* Testimonial slider container */
.testimonial-slider.slick-slider {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 70px !important;
}

/* Slick arrows - Modern circular design with BETTER VISIBILITY */
.testimonial-slider .slick-prev,
.testimonial-slider .slick-next {
    width: 50px !important;
    height: 50px !important;
    background: #c17f59 !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(193,127,89,0.35) !important;
    z-index: 10 !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.testimonial-slider .slick-prev:hover,
.testimonial-slider .slick-next:hover {
    background: #a86d4a !important;
    box-shadow: 0 6px 25px rgba(193,127,89,0.5) !important;
    transform: scale(1.1) !important;
}

.testimonial-slider .slick-prev {
    left: 0 !important;
}

.testimonial-slider .slick-next {
    right: 0 !important;
}

/* Arrow icons - WHITE for visibility */
.testimonial-slider .slick-prev svg,
.testimonial-slider .slick-next svg {
    color: #ffffff !important;
    fill: #ffffff !important;
    width: 20px !important;
    height: 20px !important;
}

.testimonial-slider .slick-prev:before,
.testimonial-slider .slick-next:before {
    color: #ffffff !important;
    font-size: 22px !important;
    opacity: 1 !important;
}

/* Slick track and slides */
.testimonial-slider .slick-track {
    display: flex !important;
    align-items: stretch !important;
    padding: 20px 0 !important;
}

.testimonial-slider .slick-slide {
    height: auto !important;
    padding: 0 15px !important;
}

.testimonial-slider .slick-slide > div {
    height: 100% !important;
}

/* Individual testimonial card - Clean card design with equal height */
.testimonial-slider .slick-slide > div > div {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08) !important;
    border: 1px solid #f0f0f0 !important;
    min-height: 320px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.testimonial-slider .slick-slide > div > div:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12) !important;
}

/* Quote icon decoration */
.testimonial-slider .slick-slide > div > div::before {
    content: '"' !important;
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
    font-size: 70px !important;
    font-family: Georgia, serif !important;
    color: #c17f59 !important;
    opacity: 0.2 !important;
    line-height: 1 !important;
}

/* Testimonial text - .ts-desc */
.testimonial-slider .ts-desc,
.testimonial-slider p.ts-desc {
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #555 !important;
    margin-bottom: 20px !important;
    flex-grow: 1 !important;
    font-style: italic !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

/* Author name - .author-name */
.testimonial-slider .author-name {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    margin: 0 0 5px 0 !important;
    text-transform: uppercase !important;
}

/* Rating stars */
.testimonial-slider .rating-star,
.testimonial-slider .star-rating {
    color: #F6C002 !important;
    font-size: 18px !important;
}

/* Slick dots pagination */
.testimonial-slider .slick-dots {
    bottom: -50px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
}

.testimonial-slider .slick-dots li {
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
}

.testimonial-slider .slick-dots li button {
    width: 12px !important;
    height: 12px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #ddd !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.testimonial-slider .slick-dots li button:before {
    display: none !important;
}

.testimonial-slider .slick-dots li.slick-active button {
    background: #c17f59 !important;
    width: 30px !important;
    border-radius: 6px !important;
}

/* ========================================
   2. CTA SECTION - "Rent a Car in Skopje"
   Complete Redesign - Side by Side Layout
   ======================================== */

/* CTA Section main container */
.elementor-element-55cf40a {
    padding: 80px 0 !important;
    background: #f8f9fa !important;
    overflow: visible !important;
}

/* CTA Container - Force side by side layout */
.elementor-element-55cf40a .cta-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 60px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
}

/* Image grid - Left side */
.elementor-element-55cf40a .cta-container > .grid {
    flex: 0 0 50% !important;
    max-width: 550px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 25px !important;
}

/* Image figures */
.elementor-element-55cf40a .cta-container figure {
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
    transition: transform 0.4s ease !important;
}

.elementor-element-55cf40a .cta-container figure:hover {
    transform: scale(1.03) translateY(-5px) !important;
}

/* Second image offset */
.elementor-element-55cf40a .cta-container figure:nth-child(2) {
    margin-top: 50px !important;
}

/* Images */
.elementor-element-55cf40a .cta-container figure img {
    width: 100% !important;
    height: 320px !important;
    object-fit: cover !important;
    display: block !important;
}

/* Text container - Right side */
.elementor-element-55cf40a .cta-text-container {
    flex: 0 0 50% !important;
    max-width: 540px !important;
    margin-top: 0 !important;
}

/* CTA Title */
.elementor-element-55cf40a .cta-title {
    font-size: 42px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #1a1a2e !important;
    margin-bottom: 25px !important;
    text-transform: uppercase !important;
}

/* CTA Subtitle - RELAX RENT A CAR */
.elementor-element-55cf40a .cta-desc h3,
.elementor-element-55cf40a .cta-text-container h3 {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #c17f59 !important;
    margin-bottom: 20px !important;
}

/* CTA Description */
.elementor-element-55cf40a .cta-desc,
.elementor-element-55cf40a .cta-text-container p {
    font-size: 16px !important;
    line-height: 1.9 !important;
    color: #666 !important;
    margin-bottom: 30px !important;
}

/* CTA Button - already exists as .btn */
.elementor-element-55cf40a .btn,
.elementor-element-55cf40a a.btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 16px 40px !important;
    background: #c17f59 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(193,127,89,0.3) !important;
}

.elementor-element-55cf40a .btn:hover,
.elementor-element-55cf40a a.btn:hover {
    background: #a86d4a !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(193,127,89,0.4) !important;
}

/* ========================================
   3. SEARCH SECTION - Font Fixes
   ======================================== */

/* Search form container */
.mcr-search-form,
.search-form,
.elementor-widget-tm_search_form,
[class*="search-form"],
.inspect-search-form,
.ins-quick-search {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Search labels */
.mcr-search-form label,
.search-form label,
.inspect-search-form label,
.ins-quick-search label {
    font-family: 'Inter', 'Poppins', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #333 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* Search inputs and selects */
.mcr-search-form input,
.mcr-search-form select,
.search-form input,
.search-form select,
.inspect-search-form input,
.inspect-search-form select,
.ins-quick-search input,
.ins-quick-search select,
.mcr-field input,
.mcr-field select {
    font-family: 'Inter', 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #333 !important;
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    width: 100% !important;
    transition: all 0.2s ease !important;
}

.mcr-search-form input:focus,
.mcr-search-form select:focus,
.search-form input:focus,
.search-form select:focus {
    border-color: #c17f59 !important;
    box-shadow: 0 0 0 3px rgba(193,127,89,0.1) !important;
    outline: none !important;
}

/* Search button */
.mcr-search-form button,
.mcr-submit-btn,
.search-form button[type="submit"],
.inspect-search-form button,
.ins-quick-search button {
    font-family: 'Inter', 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    background: linear-gradient(135deg, #c17f59 0%, #a86d4a 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 30px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.mcr-search-form button:hover,
.mcr-submit-btn:hover {
    background: linear-gradient(135deg, #a86d4a 0%, #8a5a3d 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(193,127,89,0.3) !important;
}

/* Placeholder text */
.mcr-search-form input::placeholder,
.search-form input::placeholder {
    font-family: 'Inter', 'Poppins', sans-serif !important;
    color: #999 !important;
    font-weight: 400 !important;
}

/* Date picker styling */
.mcr-search-form .flatpickr-input,
.search-form .flatpickr-input {
    font-family: 'Inter', 'Poppins', sans-serif !important;
}

/* ========================================
   4. GLOBAL FONT CONSISTENCY
   ======================================== */

/* Ensure consistent fonts across all widgets */
.elementor-widget-container h1,
.elementor-widget-container h2,
.elementor-widget-container h3,
.elementor-widget-container h4,
.elementor-widget-container h5,
.elementor-widget-container h6 {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.elementor-widget-container p,
.elementor-widget-container span,
.elementor-widget-container a,
.elementor-widget-container li {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* ========================================
   5. MOBILE RESPONSIVE
   ======================================== */
@media screen and (max-width: 1024px) {
    /* CTA section stacks */
    .elementor-element-55cf40a .cta-container {
        flex-direction: column !important;
        gap: 40px !important;
    }

    .elementor-element-55cf40a .cta-container > .grid {
        flex: 0 0 100% !important;
        max-width: 450px !important;
    }

    .elementor-element-55cf40a .cta-text-container {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    .elementor-element-55cf40a .cta-title {
        font-size: 32px !important;
    }

    .elementor-element-55cf40a .btn {
        margin: 0 auto !important;
    }
}

@media screen and (max-width: 768px) {
    /* Testimonials */
    .elementor-widget-tm_testimonials {
        padding: 40px 0 70px !important;
    }

    .testimonial-slider.slick-slider {
        padding: 0 50px !important;
    }

    .testimonial-slider .slick-prev,
    .testimonial-slider .slick-next {
        width: 40px !important;
        height: 40px !important;
    }

    .testimonial-slider .slick-slide > div > div {
        padding: 25px !important;
        min-height: 280px !important;
    }

    /* CTA */
    .elementor-element-55cf40a {
        padding: 50px 0 !important;
    }

    .elementor-element-55cf40a .cta-title {
        font-size: 26px !important;
    }

    .elementor-element-55cf40a .cta-container > .grid {
        max-width: 350px !important;
    }

    .elementor-element-55cf40a .cta-container figure img {
        height: 200px !important;
    }

    .elementor-element-55cf40a .cta-container figure:nth-child(2) {
        margin-top: 30px !important;
    }
}

@media screen and (max-width: 480px) {
    .testimonial-slider.slick-slider {
        padding: 0 15px !important;
    }

    .testimonial-slider .slick-prev,
    .testimonial-slider .slick-next {
        width: 35px !important;
        height: 35px !important;
    }

    .testimonial-slider .slick-prev {
        left: -5px !important;
    }

    .testimonial-slider .slick-next {
        right: -5px !important;
    }

    .elementor-element-55cf40a .cta-container > .grid {
        gap: 15px !important;
        max-width: 300px !important;
    }

    .elementor-element-55cf40a .cta-container figure img {
        height: 160px !important;
    }
}
