/* ============================================
   FLOATING SOCIAL MEDIA BUTTONS (SAĞ TARAF)
   ============================================ */

.floating-social-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    filter: brightness(1.1);
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    animation: none;
    filter: brightness(1.2);
}

.phone-btn {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.whatsapp-btn i,
.instagram-btn i,
.maps-btn i {
    font-size: 1.15em; /* diğer ikonları telefon ikonuyla aynı büyüklüğe getir */
}

.instagram-btn {
    background: linear-gradient(135deg, #E1306C 0%, #C13584 50%, #833AB4 100%);
}

.maps-btn {
    background: linear-gradient(135deg, #4285F4 0%, #0F9D58 100%);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
}

/* Tablet ve üstü cihazlarda gizle */
@media (min-width: 769px) {
    .floating-social-buttons {
        display: flex;
    }
}

/* Mobilde küçült */
@media (max-width: 768px) {
    .floating-social-buttons {
        right: 10px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 54px;
        height: 54px;
        font-size: 28px;
        font-weight: 700;
        filter: brightness(1.1);
    }
}


/* ============================================
   MOBILE BOTTOM NAVIGATION (ALT MENÜ)
   ============================================ */

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    border-top: 2px solid #ff0000;
    padding: 8px 0 12px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

/* Sadece mobilde göster */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }

    /* Mobil-alt menü öğeleri */
    .mobile-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #fff; /* Beyaz ve belirgin */
        text-decoration: none;
        font-size: 12px;
        font-weight: 700; /* Kalın metin */
        transition: all 0.25s ease;
        padding: 6px 4px;
        position: relative;
        text-shadow: 0 1px 2px rgba(0,0,0,0.45);
    }

    .mobile-nav-item i {
        font-size: 26px; /* ikonları biraz büyüttük */
        margin-bottom: 6px;
        transition: all 0.25s ease;
        color: #fff; /* ikonlar beyaz */
    }

    .mobile-nav-item span {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        color: #fff;
        font-weight: 700;
    }

    /* Ortadaki WhatsApp butonu */
    .mobile-nav-call {
        position: relative;
        margin-top: -15px; /* uygun çıkıntı */
    }

    .mobile-nav-call i {
        background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
        width: 60px; /* yuvarlağı koruyup iç ikon büyütüldü */
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 36px; /* ikon daha büyük, yuvarlak aynı */
        box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
        margin: 0;
    }

    .mobile-nav-call:hover i {
        transform: scale(1.08);
        box-shadow: 0 8px 26px rgba(37, 211, 102, 0.65);
    }

    /* Active state */
    .mobile-nav-item.active {
        color: #ff0000;
    }

    .mobile-nav-item.active i {
        color: #ff0000;
        transform: scale(1.1);
    }

    /* Hover effect */
    .mobile-nav-item:hover {
        color: #ff0000;
    }

    .mobile-nav-item:hover i {
        transform: scale(1.15);
        color: #ff0000;
    }

    /* Alt menü için sayfa içeriğine padding ekle */
    body {
        padding-bottom: 84px; /* yuvarlak buton büyüdü, boşluğu artırdık */
    }
    
    /* Footer'a da padding ekle */
    footer {
        margin-bottom: 84px;
    }
}

/* Küçük ekranlar için ayarlamalar */
@media (max-width: 480px) {
    .mobile-nav-item i {
        font-size: 22px;
    }
    
    .mobile-nav-item span {
        font-size: 10px;
    }
    
    .mobile-nav-call i {
        width: 58px; /* küçük ekranlar için yuvarlak biraz küçüldü */
        height: 58px;
        font-size: 34px; /* ikon hala büyük */
    }
}

/* iPad ve tablet için gizle */
@media (min-width: 769px) and (max-width: 1024px) {
    .mobile-bottom-nav {
        display: none;
    }
}

