:root {
    --gold: #b3834d;
    --dark: #121212;
    --card: #1a1a1a;
}

/* ================== GENEL TAŞIYICI ================== */
.floating-menu {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 99999; /* Sitedeki her şeyin üstünde kalmasını sağlar */
}

/* ================== ORTAK BUTON TASARIMI ================== */
.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Yaylanma efekti */
}

/* ================== TELEFON VE WHATSAPP (SİRENLİLER) ================== */
.phone-btn, .whatsapp-btn {
    background-color: var(--card);
    border: 2px solid var(--gold);
    color: var(--gold);
}

.phone-btn:hover, .whatsapp-btn:hover {
    background-color: var(--gold);
    color: var(--dark);
    transform: scale(1.1); /* Üzerine gelince hafif büyür */
}

/* --- Siren / Radar Animasyonu (Arkadaki Halka) --- */
.pulse-siren::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    border: 2px solid var(--gold);
    animation: siren-pulse 1.5s infinite ease-out;
    z-index: -1; /* İkonun arkasında kalması için */
}

/* WhatsApp ve Telefon dalgalarının aynı anda patlamaması için ufak bir gecikme ekliyoruz */
.whatsapp-btn::before {
    animation-delay: 0.75s;
}

@keyframes siren-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* ================== YUKARI ÇIK BUTONU ================== */
.scroll-top-btn {
    background-color: var(--gold);
    color: var(--dark);
    /* Başlangıçta görünmez ve biraz aşağıda durur */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); 
    transition: all 0.4s ease;
}

/* Script tarafından class eklendiğinde devreye girer */
.scroll-top-btn.show-scroll {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: white;
    box-shadow: 0 0 15px rgba(179, 131, 77, 0.5);
}

/* ================== MOBİL UYUMLULUK ================== */
@media (max-width: 768px) {
    .floating-menu {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .float-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    @keyframes siren-pulse {
        0% { transform: scale(1); opacity: 0.8; }
        100% { transform: scale(1.5); opacity: 0; }
    }
}