/* ============================================
   BULUT VINÇ - CARD BACKGROUND IMAGES
   Force-Applied with SOLID Overlays
   Each card has UNIQUE background
   ============================================ */

/* === CARD BASE STYLES === */
.trust-badge,
.service-card {
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* === OVERLAY ELEMENT - SOLID for readability === */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

/* === CARD CONTENT - Above overlay === */
.card-content {
    position: relative;
    z-index: 2;
}

/* ============================================
   TRUST BADGES - DARK THEME
   Each with UNIQUE background image
   ============================================ */

/* 7/24 Hizmet - Night crane silhouette */
#badge-247 {
    background-image: url('../../public/images/bg-night-crane.png') !important;
}

#badge-247 .card-overlay {
    background: rgba(0, 0, 0, 0.7);
}

/* Aynı Gün Keşif - Site inspection clipboard */
#badge-kesif {
    background-image: url('../../public/images/bg-inspection.png') !important;
}

#badge-kesif .card-overlay {
    background: rgba(0, 0, 0, 0.65);
}

/* Net Fiyat - Industrial control panel */
#badge-fiyat {
    background-image: url('../../public/images/bg-control-panel.png') !important;
}

#badge-fiyat .card-overlay {
    background: rgba(0, 0, 0, 0.68);
}

/* Sigortalı Hizmet - Safety gear / helmet */
#badge-sigorta {
    background-image: url('../../public/images/bg-safety-gear.png') !important;
}

#badge-sigorta .card-overlay {
    background: rgba(0, 0, 0, 0.65);
}

/* ============================================
   SERVICE CARDS - LIGHT THEME  
   Each with UNIQUE background image
   ============================================ */

/* Vinç Kiralama - Mobile crane wide shot */
#card-vinc {
    background-image: url('../../public/images/bg-mobile-crane.png') !important;
}

#card-vinc .card-overlay {
    background: rgba(255, 255, 255, 0.72);
}

/* Sepetli Vinç - Basket crane */
#card-sepetli {
    background-image: url('../../public/images/bg-basket-crane.png') !important;
}

#card-sepetli .card-overlay {
    background: rgba(255, 255, 255, 0.7);
}

/* Şantiye Vinç - Construction site overview */
#card-santiye {
    background-image: url('../../public/images/bg-construction.png') !important;
}

#card-santiye .card-overlay {
    background: rgba(255, 255, 255, 0.68);
}

/* Ağır Yük Kaldırma - Heavy load isolated */
#card-agir-yuk {
    background-image: url('../../public/images/bg-heavy-load.png') !important;
}

#card-agir-yuk .card-overlay {
    background: rgba(255, 255, 255, 0.7);
}

/* Chiller - Cooling system industrial */
#card-chiller {
    background-image: url('../../public/images/bg-control-panel.png') !important;
}

#card-chiller .card-overlay {
    background: rgba(255, 255, 255, 0.75);
}

/* Jeneratör - Industrial generator */
#card-jenerator {
    background-image: url('../../public/images/bg-night-crane.png') !important;
}

#card-jenerator .card-overlay {
    background: rgba(255, 255, 255, 0.78);
}

/* ============================================
   FALLBACK for cards without specific IDs
   ============================================ */
.service-card:not([id]) {
    background-color: var(--color-white);
}

.service-card:not([id]) .card-overlay {
    background: rgba(255, 255, 255, 0.85);
}

/* ============================================
   SERVICES SLIDER LAYOUT
   ============================================ */
.services-section {
    background: var(--color-gray-100);
}

.services-slider {
    display: flex;
    gap: var(--space-5);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: var(--space-4) var(--space-2);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.services-slider::-webkit-scrollbar {
    display: none;
}

.services-slider .service-card {
    flex: 0 0 calc(33.333% - var(--space-4));
    min-width: 300px;
    scroll-snap-align: start;
}

/* Services navigation dots */
.services-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-6);
}

.services-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-gray-300);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.services-dot.active,
.services-dot:hover {
    background: var(--color-industrial-yellow);
    transform: scale(1.2);
}

/* ============================================
   HOVER EFFECTS - Subtle reveal
   ============================================ */
.trust-badge:hover .card-overlay {
    background: rgba(0, 0, 0, 0.55);
}

.service-card:hover .card-overlay {
    background: rgba(255, 255, 255, 0.7);
}

/* ============================================
   TEXT READABILITY ENHANCEMENT
   ============================================ */
.trust-badge .card-content h3 {
    color: var(--color-white);
    font-weight: 700;
}

.trust-badge .card-content p {
    color: rgba(255, 255, 255, 0.9);
}

.trust-badge .card-content .trust-badge-icon {
    font-size: 2.5rem;
}

.service-card .card-content h3 {
    color: var(--color-black);
    font-weight: 700;
}

.service-card .card-content p {
    color: var(--color-gray-700);
}

.service-card .card-content .service-card-link {
    color: var(--color-industrial-yellow);
    font-weight: 700;
}

/* ============================================
   PROJECT GALLERY SLIDER STYLES
   ============================================ */
.project-gallery {
    padding: var(--space-12) 0;
    background: var(--color-white);
}

.gallery-slider {
    display: flex;
    gap: var(--space-5);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: var(--space-4) var(--space-2);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-slider::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 300px;
    scroll-snap-align: start;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    background: var(--color-white);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Gallery navigation dots */
.gallery-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-6);
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-gray-300);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.gallery-dot.active,
.gallery-dot:hover {
    background: var(--color-industrial-yellow);
    transform: scale(1.2);
}

/* ============================================
   TESTIMONIAL SECTION - SLIDER LAYOUT
   ============================================ */
.testimonial-section {
    background: var(--color-black);
    padding: var(--space-12) 0;
}

.testimonial-section .section-header h2 {
    color: var(--color-industrial-yellow);
    margin-bottom: var(--space-3);
}

.testimonial-headline {
    font-size: var(--text-lg);
    color: #ffffff !important;
    font-weight: 500;
    margin-bottom: var(--space-2);
}

.testimonial-subtitle {
    font-size: var(--text-base);
    color: #ffffff !important;
}

/* Slider container */
.feedback-slider {
    display: flex;
    gap: var(--space-5);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: var(--space-6) var(--space-2);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-top: var(--space-6);
}

.feedback-slider::-webkit-scrollbar {
    display: none;
}

/* Feedback cards - WHITE background */
.feedback-card {
    flex: 0 0 340px;
    min-height: 200px;
    scroll-snap-align: start;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feedback-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Feedback text - BLACK visible */
.feedback-text {
    color: var(--color-gray-700);
    font-size: var(--text-base);
    line-height: 1.7;
    margin-bottom: var(--space-4);
    font-style: italic;
    flex-grow: 1;
}

/* Author section */
.feedback-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: var(--space-4);
    border-top: 2px solid var(--color-industrial-yellow);
}

.author-name {
    color: var(--color-black);
    font-weight: 600;
    font-size: var(--text-base);
}

.author-role {
    color: var(--color-gray-500);
    font-size: var(--text-sm);
}

/* Navigation dots */
.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-6);
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-gray-300);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.testimonial-dot.active,
.testimonial-dot:hover {
    background: var(--color-industrial-yellow);
    transform: scale(1.2);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
    .trust-badge .card-overlay {
        background: rgba(0, 0, 0, 0.75) !important;
    }

    .service-card .card-overlay {
        background: rgba(255, 255, 255, 0.85) !important;
    }

    .gallery-item {
        flex: 0 0 280px;
    }

    .gallery-item img {
        height: 180px;
    }

    /* Testimonial mobile */
    .feedback-card {
        flex: 0 0 290px;
        min-height: 180px;
    }

    .testimonial-headline {
        font-size: var(--text-base);
    }

    /* Services slider mobile - 1 card visible */
    .services-slider .service-card {
        flex: 0 0 85%;
        min-width: 280px;
    }
}

@media (min-width: 1024px) {
    .gallery-item {
        flex: 0 0 350px;
    }

    .gallery-item img {
        height: 250px;
    }
}