/* ==========================================================================
   Bursa Çekici - Yeni Nesil Buz ve Cam Efektli (Frosted Ice & Glass) Tasarım
   Dosya: assets/css/style.css
   ========================================================================== */

/* 1. Temel Sayfa Yumuşak Kaydırma & Tipografi */
html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    scroll-padding-top: 100px;
}

body {
    background-color: #edf2f7;
    background-image: 
        radial-gradient(circle at 10% 15%, rgba(56, 189, 248, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 90% 12%, rgba(37, 99, 235, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 85%, rgba(14, 165, 233, 0.12) 0%, transparent 45%),
        radial-gradient(rgba(148, 163, 184, 0.22) 1.2px, transparent 1.2px);
    background-size: auto, auto, auto, auto, 28px 28px;
    background-attachment: fixed;
    color: #0f172a;
    overflow-x: hidden;
}

/* 2. Glassmorphism & Frosted Ice Kart Sınıfları */
.glass-ice {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 
        inset 0 1px 2px 0 rgba(255, 255, 255, 1),
        0 20px 40px -15px rgba(15, 23, 42, 0.07),
        0 0 0 1px rgba(226, 232, 240, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-ice:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 
        inset 0 1px 2px 0 rgba(255, 255, 255, 1),
        0 25px 50px -12px rgba(14, 165, 233, 0.20),
        0 0 0 1px rgba(56, 189, 248, 0.45);
}

/* Header Esneme & Hareket Engelleme (Header Tamamen Sabit Kalır) */
header.glass-ice,
header.glass-ice:hover,
header.header-glass-fixed,
header.header-glass-fixed:hover {
    transform: none !important;
}

/* 3. Tactile Frosted Ice Tiles (Görsel 2'deki 4'lü Güven Rozetleri) */
.ice-tile {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 249, 255, 0.88) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(186, 230, 253, 0.95);
    box-shadow: 
        inset 0 1px 2px 0 rgba(255, 255, 255, 1),
        0 8px 20px -4px rgba(14, 165, 233, 0.14),
        0 2px 4px 0 rgba(15, 23, 42, 0.04);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ice-tile:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(56, 189, 248, 0.95);
    background: #ffffff;
    box-shadow: 
        inset 0 1px 2px 0 rgba(255, 255, 255, 1),
        0 14px 28px -6px rgba(14, 165, 233, 0.22),
        0 0 0 1px rgba(56, 189, 248, 0.4);
}

/* 4. Frosted Ice 3D Podium (Görsel 2'deki Çekici Altı Cam Platform) */
.ice-podium {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(224, 242, 254, 0.55) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    box-shadow: 
        inset 0 2px 4px 0 rgba(255, 255, 255, 1),
        0 30px 60px -15px rgba(14, 165, 233, 0.22),
        0 0 0 1px rgba(186, 230, 253, 0.5);
    position: relative;
    overflow: hidden;
}

.ice-podium::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, transparent 65%);
    pointer-events: none;
}

/* 5. Buz Mavisi & Zümrüt Buton Stilleri (Turuncudan Arındırılmış) */
.btn-ice-blue {
    background: linear-gradient(135deg, #2563eb 0%, #0284c7 50%, #06b6d4 100%);
    box-shadow: 0 12px 28px -6px rgba(37, 99, 235, 0.38), inset 0 1px 1px rgba(255, 255, 255, 0.45);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all 0.25s ease;
}

.btn-ice-blue:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #0369a1 50%, #0891b2 100%);
    box-shadow: 0 16px 36px -8px rgba(37, 99, 235, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn-ice-blue:active {
    transform: translateY(0) scale(0.98);
}

.btn-ice-emerald {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 12px 28px -6px rgba(16, 185, 129, 0.38), inset 0 1px 1px rgba(255, 255, 255, 0.45);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all 0.25s ease;
}

.btn-ice-emerald:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 16px 36px -8px rgba(16, 185, 129, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn-ice-emerald:active {
    transform: translateY(0) scale(0.98);
}

/* 6. Yanıp Sönen Mavi/Camgöbeği Nabız Animasyonu */
@keyframes icePulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

.animate-ice-beacon {
    animation: icePulse 2s infinite ease-in-out;
}

/* 7. Özel Kaydırma Çubuğu (Buz Mavisi) */
input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    background: #cbd5e1;
    border-radius: 9999px;
    height: 8px;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.45);
    border: 2px solid #ffffff;
    transition: transform 0.15s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

input[type=range]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.45);
    border: 2px solid #ffffff;
}

/* 8. Akordeon Açılır Kapanır SSS */
.faq-content {
    transition: all 0.3s ease-out;
}

.faq-item.active {
    border-color: rgba(56, 189, 248, 0.45) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 12px 28px -6px rgba(14, 165, 233, 0.16) !important;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: #0284c7;
    background-color: #e0f2fe;
}

/* 9. Modern Input Odaklanma */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25) !important;
}

/* 10. Bölüm Başlıkları Şık Cam Efektli Çerçeve (Glass Header Frame) */
.glass-header-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(240, 249, 255, 0.70) 100%);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    box-shadow: 
        inset 0 2px 4px 0 rgba(255, 255, 255, 1),
        0 20px 40px -15px rgba(14, 165, 233, 0.12),
        0 0 0 1px rgba(186, 230, 253, 0.45);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-header-card:hover {
    box-shadow: 
        inset 0 2px 4px 0 rgba(255, 255, 255, 1),
        0 25px 50px -15px rgba(14, 165, 233, 0.20),
        0 0 0 1px rgba(56, 189, 248, 0.6);
    transform: translateY(-2px);
}

.glass-header-card::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 60px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

/* 11. 2.5D Etkileşimli Cam Podyum & 3D Çekici Sahnesi */
.tow-truck-stage {
    perspective: 1200px;
    transform-style: preserve-3d;
}

.interactive-3d-podium {
    transform-style: preserve-3d;
    transition: transform 0.15s cubic-bezier(0.2, 0, 0.2, 1);
    will-change: transform;
}

/* Yüzen Anti-Gravity Süzülme Animasyonu */
@keyframes truckFloat {
    0%, 100% {
        transform: translateY(0px) rotateZ(0deg);
    }
    50% {
        transform: translateY(-7px) rotateZ(0.35deg);
    }
}

.animate-truck-float {
    animation: truckFloat 4.2s ease-in-out infinite;
    transform-origin: center bottom;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Canlı Acil Durum Tepe Flaşörü (Strobe Beacon Flash) */
@keyframes emergencyStrobe {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.85);
        filter: drop-shadow(0 0 4px rgba(251, 146, 60, 0.3));
    }
    8% {
        opacity: 1;
        transform: scale(1.3);
        filter: drop-shadow(0 0 25px rgba(251, 146, 60, 0.95)) drop-shadow(0 0 45px rgba(245, 158, 11, 0.8));
    }
    14% {
        opacity: 0.25;
        transform: scale(0.9);
    }
    20% {
        opacity: 1;
        transform: scale(1.35);
        filter: drop-shadow(0 0 30px rgba(251, 146, 60, 1)) drop-shadow(0 0 55px rgba(245, 158, 11, 0.85));
    }
    28% {
        opacity: 0.15;
        transform: scale(0.85);
    }
}

.strobe-beacon-glow {
    position: absolute;
    top: 15%;
    left: 36%;
    width: 90px;
    height: 35px;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.95) 0%, rgba(251, 146, 60, 0.75) 45%, rgba(245, 158, 11, 0) 75%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 20;
    animation: emergencyStrobe 1.6s infinite;
    will-change: transform, opacity, filter;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Cam Levha Üzerinde Çapraz Işık Kayması (Glass Sheen Sweep) */
@keyframes glassSheen {
    0% {
        transform: translateX(-150%) skewX(-25deg);
        opacity: 0;
    }
    20% {
        opacity: 0.5;
    }
    45% {
        transform: translateX(250%) skewX(-25deg);
        opacity: 0;
    }
    100% {
        transform: translateX(250%) skewX(-25deg);
        opacity: 0;
    }
}

.glass-sheen-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 45%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    pointer-events: none;
    z-index: 15;
    animation: glassSheen 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Podyum Altı Yüzen Gölge Nabzı */
@keyframes podiumShadowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.45;
    }
    50% {
        transform: scale(0.92);
        opacity: 0.25;
    }
}

.animate-podium-shadow {
    animation: podiumShadowPulse 4.2s ease-in-out infinite;
}

/* 11. Navigasyon Başlıkları Bağımsız Cam Efektli Çerçeveli Buton Kartları */
.nav-glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(240, 249, 255, 0.70) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(186, 230, 253, 0.85);
    box-shadow: 
        inset 0 1px 1px 0 rgba(255, 255, 255, 1),
        0 2px 5px -1px rgba(15, 23, 42, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-glass-card:hover {
    transform: translateY(-3px) scale(1.04);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(224, 242, 254, 0.92) 100%);
    border-color: rgba(56, 189, 248, 0.85);
    box-shadow: 
        inset 0 1px 2px 0 rgba(255, 255, 255, 1),
        0 10px 20px -5px rgba(2, 132, 199, 0.22),
        0 0 0 1px rgba(56, 189, 248, 0.4);
    color: #0284c7;
}

.nav-glass-card:active {
    transform: translateY(-1px) scale(0.98);
}

/* 12. Sakin, Zarif & Göz Yormayan Acil Çağrı Çerçeve Dışı Işık / Nefes Efekti */
.emergency-call-pulse {
    position: relative;
    animation: emergencyCalmGlow 3s ease-in-out infinite;
}

/* Çerçeve dışına sakin ve yumuşak genişleyen buzul ışıma halkası */
.emergency-call-pulse::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    border: 1.5px solid rgba(56, 189, 248, 0.65);
    pointer-events: none;
    animation: emergencyCalmWave 3s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
}

@keyframes emergencyCalmGlow {
    0%, 100% {
        box-shadow: 
            0 0 0 0 rgba(14, 165, 233, 0),
            0 4px 12px -2px rgba(2, 132, 199, 0.2);
    }
    50% {
        box-shadow: 
            0 0 0 3px rgba(56, 189, 248, 0.6),
            0 0 18px 4px rgba(14, 165, 233, 0.45),
            0 0 30px 6px rgba(56, 189, 248, 0.2),
            0 4px 14px -2px rgba(2, 132, 199, 0.3);
    }
}

@keyframes emergencyCalmWave {
    0% {
        transform: scale(0.99);
        opacity: 0.85;
        border-color: rgba(56, 189, 248, 0.85);
        box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
    }
    50% {
        opacity: 0.35;
    }
    80%, 100% {
        transform: scale(1.08);
        opacity: 0;
        border-color: rgba(14, 165, 233, 0);
        box-shadow: 0 0 22px rgba(14, 165, 233, 0);
    }
}

/* ==========================================================================
   13. Donanım (GPU) Hızlandırma, İzolasyon & Ultra Akıcı Mobil Motoru
   ========================================================================== */
.gpu-layer,
.glass-ice,
.ice-tile,
.ice-podium,
.glass-header-card,
.nav-glass-card,
.emergency-call-pulse {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Layout Containment: Animasyonların Ana Sayfa Ağacında Reflow Yapmasını Önler */
.ice-tile,
.ice-podium,
.glass-header-card,
.emergency-call-pulse {
    contain: layout paint style;
}

/* Mobil Alt Bar: Akıcı GPU Katmanı ve Dokunma İyileştirmesi */
#mobileBottomBar {
    will-change: transform, opacity;
    contain: paint layout;
    touch-action: manipulation;
}

/* Ekran Dışı İçeriklerin Gecikmeli Render'ı (İlk Açılış ve DOM Boyutunu Optimize Eder) */
.content-lazy-render {
    content-visibility: auto;
    contain-intrinsic-size: 1px 700px;
    contain: layout paint;
}

/* Pil Tasarrufu ve Düşük Hareket Tercihi (İsteğe Bağlı Donanım Rahatlatma) */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


