/* 
 * Art Oto Ayna - Custom Styles
 * Brands Logo Styling
 */

/* Brand Logo Boyutlandırma */
.brand-logo {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Clients Section için özel düzenleme */
#clients .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

#clients .swiper-slide img {
    max-width: 80px;
    max-height: 80px;
}

/* Mobil için responsive ayarlar */
@media (max-width: 768px) {
    .brand-logo {
        width: 60px !important;
        height: 60px !important;
    }
    
    #clients .swiper-slide img {
        max-width: 60px;
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        width: 50px !important;
        height: 50px !important;
    }
    
    #clients .swiper-slide img {
        max-width: 50px;
        max-height: 50px;
    }
}

/* WhatsApp ve Telefon Sabit Butonları */
.fixed-contact-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.whatsapp-btn {
    background: #25D366;
}

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

.phone-btn {
    background: #0088cc;
}

.phone-btn:hover {
    background: #006699;
}

/* Responsive için sabit butonlar */
@media (max-width: 768px) {
    .fixed-contact-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .contact-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}


/* Hero Video Background */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: grayscale(100%) brightness(0.4);
}

.hero-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: grayscale(100%) brightness(0.4);
}

/* Hero içeriğinin video üstünde görünmesi için */
.hero .container {
    position: relative;
    z-index: 2;
}

/* Mobilde video optimizasyonu */
@media (max-width: 768px) {
    .hero-video {
        /* Video mobilde de görünsün */
        display: block;
        object-fit: cover;
        /* Performans için daha düşük brightness */
        filter: grayscale(100%) brightness(0.35);
    }

    /* Fallback image - video yüklenmezse */
    .hero-fallback {
        display: block;
    }
}

/* Video yüklenene kadar fallback göster */
.hero-video:not([data-loaded="true"]) + .hero-fallback {
    display: block;
}

.hero-video[data-loaded="true"] + .hero-fallback {
    display: none;
}

/* Google Yorumları Kartı */
.testimonials {
    position: relative;
}

.google-reviews-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 16px 22px;
    text-decoration: none;
    color: #fff;
    transition: all 0.35s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.google-reviews-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    color: #fff;
    text-decoration: none;
}

.google-reviews-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.google-reviews-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.google-reviews-title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.google-reviews-stars {
    display: flex;
    gap: 2px;
}

.google-reviews-stars i {
    color: #FBBC05;
    font-size: 14px;
}

.google-reviews-cta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
    transition: color 0.3s;
}

.google-reviews-card:hover .google-reviews-cta {
    color: #fff;
}

.google-reviews-cta i {
    font-size: 10px;
    transition: transform 0.3s;
}

.google-reviews-card:hover .google-reviews-cta i {
    transform: translateX(4px);
}

/* Mobil Responsive - Google Yorumları */
@media (max-width: 768px) {
    .google-reviews-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin: 0 auto 20px;
        justify-content: center;
        padding: 12px 18px;
        gap: 10px;
    }

    .google-reviews-logo {
        width: 42px;
        height: 42px;
    }

    .google-reviews-logo svg {
        width: 24px;
        height: 24px;
    }

    .google-reviews-title {
        font-size: 13px;
    }

    .google-reviews-stars i {
        font-size: 12px;
    }
}

/* ===== Service Details - Thumbnail Sidebar ===== */
.services-list-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-thumb-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    background: #f8f9fa;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.service-thumb-link:hover {
    background: #fff;
    border-color: #e0e0e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateX(4px);
    color: #333;
    text-decoration: none;
}

.service-thumb-link.active {
    background: var(--accent-color, #e03a3c);
    color: #fff;
    border-color: var(--accent-color, #e03a3c);
    box-shadow: 0 4px 15px rgba(224, 58, 60, 0.3);
}

.service-thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-thumb-link:hover .service-thumb img {
    transform: scale(1.1);
}

.service-thumb-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
}

.service-thumb-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

.service-thumb-arrow {
    font-size: 14px;
    opacity: 0.5;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 8px;
}

.service-thumb-link:hover .service-thumb-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.service-thumb-link.active .service-thumb-arrow {
    opacity: 1;
}

.service-thumb-link.active .service-thumb {
    border: 2px solid rgba(255, 255, 255, 0.4);
}

/* Mobil Responsive - Service Thumbnails */
@media (max-width: 991px) {
    .services-list-thumbs {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .service-thumb-link {
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
        padding: 8px 10px;
        gap: 10px;
    }

    .service-thumb {
        width: 50px;
        height: 50px;
    }

    .service-thumb-title {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .service-thumb-link {
        flex: 1 1 100%;
    }
}