/* 1. LOGO TAŞIYICISI (A Etiketi) */
.logo-white {
    position: relative; 
    display: inline-block;
    overflow: hidden; 
    border-radius: 4px; 
    
    /* Stick menü geçişi ayarları */
    opacity: 1; 
    visibility: visible;
    transition: all 0.4s ease-in-out; 
    
    /* Yeni kalp atış ve ışık titreme animasyonu */
    /* logoPulse: Kalp atışı etkisi verir (boyut değişimi) */
    /* logoDrift: Hafif yatay titreme/sürüklenme (0.2s hızlandırıldı) */
    animation: 
        logoPulse 2s infinite ease-in-out,
        logoDrift 0.2s infinite ease-in-out alternate; /* Hafif titreme için hızlandırıldı */
}

/* 2. LOGO ARKASINDAKİ BLURLU BEYAZ ARKA PLAN (::after) */
.logo-white::after {
    content: '';
    position: absolute;
    top: -10px; 
    left: -10px; 
    right: -10px; 
    bottom: -10px; 
    
    background-color: rgba(255, 255, 255, 0.2); 
    border-radius: 12px; 
    
    filter: blur(15px); 
    
    z-index: 1; 
    pointer-events: none; 
    
    /* Arka planı, kalp atışına senkronize titretebiliriz */
    animation: backgroundPulse 2s infinite ease-in-out;
}

/* 3. LOGONUN ÜZERİNDE KAYAN BEYAZ IŞIK (::before) */
.logo-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%; 
    width: 50%; 
    height: 100%;
    
    background: linear-gradient(
        90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0) 100% 
    );
    
    transform: skewX(-15deg); 
    filter: blur(8px); /* Blur azaltıldı, daha keskin ışık için */
    
    animation: lightSweep 3s linear infinite; /* Işık hızı 4s'den 3s'ye düşürüldü */
    
    z-index: 2; 
    opacity: 1; /* Opaklık 2 yerine 1 yapıldı */
}

/* 4. ANİMASYONLAR */

/* a) YENİ! LOGO İÇİN KALP ATIŞI EFEKTİ */
@keyframes logoPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 255, 255, 0); /* Gölgeler sıfırlanır */
    }
    50% { 
        transform: scale(1.03); /* %3 Büyüme (Kalp Atışı) */
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.5); /* Işık parlaması */
    }
}

/* b) LOGO'NUN KENDİSİNİN HAFİF TİTREMESİ/SÜRÜKLENMESİ (Kısa ve Hızlı) */
@keyframes logoDrift {
    0% { transform: translateX(0px); }
    100% { transform: translateX(1px); } /* Sadece 1px hareket, daha çok titreme gibi */
}

/* c) IŞIK HÜZMESİNİN SAĞA-SOLA HAREKETİ */
@keyframes lightSweep {
    0% { left: -150%; }
    100% { left: 150%; }
}

/* d) ARKA PLANIN KALP ATIŞIYLA SENKRONİZE OLMASI */
@keyframes backgroundPulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.03); opacity: 0.4; } /* Kalp atışıyla aynı anda büyür */
}

/* 5. LOGO RESMİ */
.logo-white img {
    position: relative;
    z-index: 3; 
    display: block;
}

/* 6. STICK MENÜDE KAYBOLMA CSS'i */
.scrolled .logo-white {
    opacity: 0; 
    visibility: hidden;
    animation: none;
}





















/* Ana Yapışkan Menü Kapsayıcısı */
#sticky-bottom-menu {
    position: fixed; 
    bottom: 0; 
    left: 0;
    width: 100%;
    
    /* Görünüm ve Modern Efektler */
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    
    padding: 10px 20px; 
    z-index: 1000; 
    
    display: flex;
    justify-content: center; /* Butonları ortala */
}

/* Butonları saran iç kapsayıcı */
.menu-container {
    display: flex;
    gap: 15px; /* Butonlar arasına boşluk */
    justify-content: center;
    max-width: 300px; /* Butonların çok yayılmasını engeller */
}

/* Butonların GENEL Yuvarlak Stili */
.menu-icon-button {
    /* Boyutlandırma */
    width: 50px; /* Genişlik ve Yükseklik aynı olmalı */
    height: 50px;
    
    /* Yuvarlak Yapma */
    border-radius: 50%; /* 🔑 Mükemmel yuvarlak buton */
    
    /* İçerik Hizalama (İkonu Ortala) */
    display: flex;
    justify-content: center;
    align-items: center;
    
    text-decoration: none;
    font-size: 20px; /* İkon boyutu */
    
    transition: all 0.3s ease-in-out; 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* Hafif gölge */
}

/* 📞 TELEFON Butonu Stili */
.call-button {
    background-color: #007bff; 
    color: #FFFFFF;
}

/* 💬 WHATSAPP Butonu Stili */
.whatsapp-button {
    background-color: #25D366; 
    color: #FFFFFF;
}

/* 📧 MAIL Butonu Stili */
.mail-button {
    background-color: #f7a000; /* Turuncu (Mail için yaygın bir aksiyon rengi) */
    color: #FFFFFF;
}

/* HOVER Efekti (Hepsinde Aynı Yükselme Efekti) */
.menu-icon-button:hover {
    transform: translateY(-3px) scale(1.05); /* Yükselme ve hafif büyüme */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Daha belirgin bir gölge */
}

/* Yukari Cik Butonu Kapsayicisi */
.get-template {
    /* Bu butonun position: fixed veya position: sticky kullanmasi gerekir.
    Bu kod, butonun sayfada sabitlenmis oldugunu varsayar. 
    Eger sabit degilse, once position: fixed eklemelisiniz. 
    */
    position: fixed; /* Eğer butona bu stil verilmediyse ekleyin */
    bottom: 20px; /* Alttan ne kadar yukarıda olacağını ayarlar */
    right: 20px; /* Sağdan ne kadar içeride olacağını ayarlar */
    
    /* 🔑 ÇÖZÜM: z-index değerini artırın */
    z-index: 1050; /* Menü (genellikle 1000) gibi diğer sabit elementlerden yüksek olmalı */
}

/* Butonun Kendisi */
.get-template #scrollToTopBtn {
    /* İsteğe bağlı: Butonun görünümünü pekiştirin */
    background-color: #0d6efd !important; /* Mavi (Örnek) */
    color: #FFF !important;
}