/* Mobil alt navigasyon */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 2px 0;
    display: none;
}

.mobile-nav-container {
    align-items: center;
    height: 100%;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
}

.mobile-nav-item i {
    margin-bottom: 2px !important;
}

/* Scroll Top Button düzenlemeleri */
#scroll-top {
    position: fixed;
    bottom: 75px; /* Mobil navigasyonun üzerine konumlandır */
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: #72AE44;
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 5px;
    z-index: 1200; /* Daha yüksek z-index */
    cursor: pointer;
    display: inline-block; /* Gözükmesi için değiştirildi */
    transition: all 0.3s ease;
}

#scroll-top:hover {
    background-color: #ff7e31;
}

/* Randevu Form Popup Stilleri */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    display: none;
}

.appointment-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 350px;
    max-height: 75vh;
    background: white;
    z-index: 2000;
    display: none;
    overflow: hidden;
    border-radius: 10px;
}

.appointment-area {
    background: white;
    padding: 10px;
    position: relative;
}

.appointment-content {
    padding: 10px;
    padding-top: 20px;
}

.appointment-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.appointment-content p {
    font-size: 13px;
    margin-bottom: 12px;
}

.close-popup {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    z-index: 2001;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f1f1;
}

.form-control, .form-select {
    margin-bottom: 8px;
    padding: 6px;
    font-size: 14px;
}

.theme-btn {
    background: #72AE44;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
    font-size: 15px;
}

.theme-btn:hover {
    background: #f07c00;
}

/* Responsive düzenlemeler */
@media (max-width: 991px) {
    .mobile-nav {
        display: block;
    }
    
    body {
        padding-bottom: 60px;
    }
    
    #scroll-top {
        bottom: 70px;
    }
}

@media (max-width: 480px) {
    .appointment-popup {
        width: 90%;
        max-height: 80vh;
    }
    
    .appointment-content {
        padding: 8px;
        padding-top: 15px;
    }
    
    .appointment-content h3 {
        font-size: 16px;
    }
    
    .appointment-content p {
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    .form-control, .form-select {
        margin-bottom: 6px;
        padding: 6px;
        font-size: 13px;
    }
    
    .theme-btn {
        margin-top: 8px;
        padding: 8px 16px;
        font-size: 14px;
    }
}