/* ==========================================================================
   1. PREMIUM RENK VE TEMA DEĞİŞKENLERİ
   ========================================================================== */
:root {
    --primary-color: #0d6efd;
    --primary-hover: #0b5ed7;
    --accent-color: #8b0024;
    --topbar-bg: #111827;
    --dark-bg: #0b0f19;
    --card-border: #e2e8f0;
    --card-hover-border: #3b82f6;
    --menu-text: #1e293b;
    --menu-text-hover: #0d6efd;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
    color: #334155;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* ==========================================================================
   2. HEADER & ÜST BAR
   ========================================================================== */
.top-bar-dark {
    background-color: var(--topbar-bg) !important;
    color: #cbd5e1 !important;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-dark a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.top-bar-dark a:hover {
    color: #ffffff !important;
}

.middle-header {
    background: #ffffff;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
}

.header-info-box {
    display: flex;
    align-items: center;
    text-align: left;
}

.header-info-box .info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 12px;
}

.header-info-box.phone-box .info-icon {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.main-navbar-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0;
}

.main-navbar-bar .nav-link {
    color: var(--menu-text) !important;
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 18px 16px !important;
    transition: color 0.2s ease;
}

.main-navbar-bar .nav-link:hover,
.main-navbar-bar .nav-link.active {
    color: var(--menu-text-hover) !important;
}

/* ==========================================================================
   3. HERO SLIDER (CANLI GÖRSELLER & CAM METİN PANELİ)
   ========================================================================== */
.hero-slider-section {
    position: relative;
    background-color: var(--dark-bg);
}

.hero-slide-item {
    min-height: 580px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slide-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(11, 15, 25, 0.78) 0%, rgba(11, 15, 25, 0.45) 50%, rgba(11, 15, 25, 0.15) 100%) !important;
    z-index: 1;
}

.hero-slide-item .container {
    position: relative;
    z-index: 2;
}

.hero-glass-box {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-badge-premium {
    background: rgba(13, 110, 253, 0.3) !important;
    color: #93c5fd !important;
    border: 1px solid rgba(147, 197, 253, 0.45) !important;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: #ffffff;
    opacity: 0.5;
}

.carousel-indicators .active {
    background-color: var(--primary-color);
    opacity: 1;
    width: 28px;
    border-radius: 6px;
}

.carousel-control-prev, 
.carousel-control-next {
    width: 50px;
    z-index: 3;
}

/* ==========================================================================
   4. SAYAÇLAR
   ========================================================================== */
.stat-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border-bottom: 3px solid var(--primary-color);
    transition: transform 0.25s ease;
}

.stat-box:hover {
    transform: translateY(-4px);
}

/* ==========================================================================
   5. HAKKIMIZDA BÖLÜMÜ
   ========================================================================== */
.about-image-wrapper {
    position: relative;
    border-radius: 18px;
}

.about-main-img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -15px;
    background: var(--primary-color);
    color: #ffffff;
    padding: 18px 24px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.35);
    text-align: center;
}

.about-experience-badge h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 0;
    line-height: 1;
}

.about-experience-badge span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.about-feature-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.25s ease;
}

.about-feature-box:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

/* ==========================================================================
   6. HİZMET KARTLARI
   ========================================================================== */
.service-card {
    transition: all 0.25s ease-in-out;
    border: 1px solid var(--card-border);
    border-radius: 14px;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--card-hover-border);
}

.icon-box {
    width: 56px !important;
    height: 56px !important;
    border-radius: 12px !important;
    background-color: rgba(13, 110, 253, 0.1) !important;
    color: var(--primary-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
}

/* ==========================================================================
   7. KURUMSAL REFERANS LOGOLARI (BÜYÜTÜLMÜŞ & DOLGUN BOYUT)
   ========================================================================== */
.client-logo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px 14px;
    height: 102px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.client-logo-card img {
    max-height: 68px;
    max-width: 165px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 0.95;
    transition: all 0.25s ease;
}

.client-logo-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 26px rgba(13, 110, 253, 0.12);
}

.client-logo-card:hover img {
    opacity: 1;
    transform: scale(1.08);
}

/* ==========================================================================
   8. DEĞERLENDİRMELER
   ========================================================================== */
.testimonial-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #f1f5f9;
    padding: 24px;
    transition: all 0.25s ease;
}

.testimonial-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.star-rating {
    color: #f59e0b;
}

/* ==========================================================================
   9. HAREKETLİ KAYAN LOGO BANDI (MARKA ORTAKLARI)
   ========================================================================== */
.brand-partner-section {
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    overflow: hidden;
}

.brand-dot-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 8px 0;
}

.brand-dot-separator span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.3;
}

.brand-dot-separator span.active {
    opacity: 1;
    transform: scale(1.2);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scrollLogos 28s linear infinite;
}

.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 35px;
    height: 80px;
}

.marquee-item img {
    height: 42px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: none !important;
    opacity: 0.92;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.marquee-item:hover img {
    opacity: 1;
    transform: scale(1.12);
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.footer-dark {
    background-color: #0f172a;
    color: #e5e7eb;
}

.footer-dark .footer-title {
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.footer-dark .footer-text {
    color: #9ca3af;
    font-size: 13.5px;
    line-height: 1.6;
}

.footer-dark .footer-links li {
    margin-bottom: 8px;
}

.footer-dark .footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 13.5px;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-dark .footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-dark .footer-contact li {
    font-size: 13.5px;
}

.footer-bottom-text {
    color: #9ca3af;
    font-size: 13px;
}

/* ==========================================================================
   11. SABİT WHATSAPP BUTONU
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    background-color: #25d366;
    color: #ffffff;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* ==========================================================================
   12. MOBİL VE TABLET UYUMLULUK DÜZENLEMELERİ (RESPONSIVE @MEDIA)
   ========================================================================== */
@media (max-width: 991.98px) {
    .navbar-collapse .d-flex {
        flex-direction: column !important;
        width: 100%;
        gap: 10px !important;
        padding-top: 15px !important;
    }
    .navbar-collapse .d-flex .btn {
        width: 100% !important;
        text-align: center;
        padding: 10px 0 !important;
    }
}

@media (max-width: 767.98px) {
    /* Hero Slider & Cam Kutu */
    .hero-slide-item {
        min-height: 520px;
        padding-top: 25px;
        padding-bottom: 45px;
    }
    
    .hero-glass-box {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .hero-glass-box h1 {
        font-size: 1.65rem !important;
        line-height: 1.25;
    }

    .hero-glass-box p.lead {
        font-size: 0.92rem !important;
        margin-bottom: 15px !important;
    }

    .hero-glass-box .btn {
        width: 100%;
        padding: 11px 16px;
        font-size: 14px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }

    /* MOBİL HİZMET KARTLARI (Kompakt ve Dengeli Boyut) */
    .service-card {
        padding: 20px 16px !important;
        border-radius: 14px !important;
    }

    .service-card .icon-box {
        width: 46px !important;
        height: 46px !important;
        font-size: 20px !important;
        margin-bottom: 12px !important;
    }

    .service-card h5 {
        font-size: 1.05rem !important;
        margin-bottom: 8px !important;
    }

    .service-card p.small {
        font-size: 0.85rem !important;
        line-height: 1.45 !important;
        margin-bottom: 0 !important;
    }

    /* Mağaza Görseli ve Deneyim Rozeti */
    .about-main-img {
        height: 320px !important;
    }

    .about-experience-badge {
        bottom: -15px;
        right: 10px;
        padding: 12px 18px;
    }

    .about-experience-badge h3 {
        font-size: 22px;
    }

    /* Referans Logoları (Mobilde 2'li Yan Yana) */
    .client-logo-card {
        height: 84px;
        padding: 8px 10px;
    }

    .client-logo-card img {
        max-height: 52px;
        max-width: 125px;
    }

    /* Kayan Logo Şeridi */
    .marquee-item {
        padding: 0 20px;
        height: 65px;
    }

    .marquee-item img {
        height: 32px;
        max-width: 100px;
    }

    /* Sabit WhatsApp Butonu */
    .floating-whatsapp {
        bottom: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
}