html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* --- Yükleyici Animasyonu --- */
#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Ana Karşılama Ekranı --- */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1566073771259-6a8506099945?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
}

/* --- Kaydırma Animasyonları --- */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Oda Kartı Resim Kaydırıcı --- */
.slider-container {
    position: relative;
    overflow: hidden; /* Dışarı taşan resimleri gizler */
}

.slider-wrapper {
    display: flex; /* Resimleri yan yana dizer */
    transition: transform 0.5s ease-in-out; /* Kayma animasyonu */
}

.slider-item {
    min-width: 100%;
    box-sizing: border-box;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    z-index: 10;
}
.slider-button.prev {
    left: 10px;
}
.slider-button.next {
    right: 10px;
}

/* --- Sabit İletişim Butonları --- */
.contact-fab-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}
.contact-fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25D366; /* WhatsApp Green */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: white;
    transition: transform 0.2s ease;
}
.contact-fab:hover {
    transform: scale(1.1);
}
.contact-fab.phone {
    background-color: #3498db; /* Blue */
}
