/* style.css - GOLD TEMA + MOBİLDE SORGULAMA BUTONU AÇIK + TELEFON RENGİ DÜZELTİLDİ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Manrope:wght@300;400;600&display=swap');

:root {
    --primary: #d4af37; /* Efsane Altın */
    --primary-dim: rgba(212, 175, 55, 0.15);
    --bg-dark: #0a0a0a;
    --bg-panel: #141414;
    --border-color: #333;
    --text-light: #f0f0f0;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    margin: 0; padding: 0;
    overflow-x: hidden;
}

/* --- NAV BAR --- */
nav {
    position: fixed; top: 0; width: 100%; height: 80px;
    background: #000000; border-bottom: 1px solid #222; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.8);
    transition: 0.3s; /* Animasyonlu geçiş */
}
.nav-container {
    width: 100%; max-width: 1200px;
    display: flex; justify-content: space-between; align-items: center; padding: 0 20px;
}

/* LOGO */
.logo { 
    font-family: 'Playfair Display', serif; 
    font-size: 1.5rem; color: #fff; text-decoration: none; 
    font-weight: 700; letter-spacing: 0px; text-transform: uppercase;
}
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { color: #ccc; text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* --- HERO (Kapak) --- */
header {
    width: 100%;
    margin-top: 80px; 
    padding: 80px 20px; 
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), var(--bg-dark)), url('img/dis_cephe.webp');
    background-size: cover; background-position: center;
    text-align: center;
    border-bottom: 1px solid #333;
    box-sizing: border-box;
}

header h1 {
    font-family: 'Playfair Display', serif; 
    font-size: 3.5rem; color: var(--primary); margin: 0; 
    letter-spacing: 2px; text-shadow: 0 10px 30px rgba(0,0,0,0.9);
}
header p { font-size: 1.2rem; color: #ddd; margin-top: 10px; font-weight: 300; }


/* --- ANA KUTU --- */
.booking-wrapper {
    margin-top: 60px !important; margin-bottom: 60px;
    margin-left: auto; margin-right: auto; 
    max-width: 1100px;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex; flex-direction: column; overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

@media (min-width: 900px) {
    .booking-wrapper { flex-direction: row; min-height: 550px; width: 90%; }
    .booking-left { width: 35%; border-right: 1px solid var(--border-color); }
    .booking-right { width: 65%; }
}

.booking-left { padding: 30px; background: #111; }
.section-title { 
    color: var(--primary); font-family: 'Playfair Display', serif; 
    font-size: 1.4rem; margin-bottom: 15px; 
    border-bottom: 1px solid #333; padding-bottom: 10px; 
}

.service-selector { display: flex; flex-direction: column; gap: 8px; max-height: 500px; overflow-y: auto; padding-right: 5px; }
.service-selector::-webkit-scrollbar { width: 4px; }
.service-selector::-webkit-scrollbar-thumb { background: #444; border-radius: 4px; }

.service-card {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px; background: #1a1a1a; border: 1px solid transparent; 
    border-radius: 6px; cursor: pointer; transition: 0.2s;
}
.service-card:hover { background: #222; border-color: #444; }
.service-card.active { background: var(--primary-dim); border-color: var(--primary); }
.service-card.active .name { color: var(--primary); font-weight: 700; }
.service-card.active .price { color: var(--primary); }

.booking-right { padding: 30px; background: var(--bg-panel); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }

label { color: #888; margin-bottom: 5px; display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
input { 
    width: 100%; padding: 12px; background: #1a1a1a; 
    border: 1px solid #333; border-radius: 5px; color: #fff; outline: none; box-sizing: border-box;
    transition: 0.3s;
}
input:focus { border-color: var(--primary); box-shadow: 0 0 10px rgba(212, 175, 55, 0.2); }

.time-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.time-btn { 
    background: #1a1a1a; padding: 10px; text-align: center; border-radius: 5px; 
    cursor: pointer; border: 1px solid #333; color: #aaa; transition: 0.2s;
}
.time-btn:hover { border-color: var(--primary); color: white; }
.time-btn.selected { background: var(--primary); color: #000; font-weight: bold; border-color: var(--primary); }
.time-btn.disabled { opacity: 0.3; text-decoration: line-through; pointer-events: none; }

.submit-btn { 
    width: 100%; background: var(--primary); color: #000; padding: 15px; 
    border: none; border-radius: 6px; font-weight: bold; cursor: pointer; margin-top: 20px; font-size: 1rem;
    transition: 0.3s;
}
.submit-btn:hover { opacity: 0.9; transform: translateY(-2px); }

/* GALERİ & ALT */
.extra-section { padding: 50px 20px; text-align: center; border-top: 1px solid #222; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 20px; }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; filter: grayscale(30%); transition: 0.3s; }
.gallery-item img:hover { filter: grayscale(0%); transform: scale(1.02); }

/* --- TELEFON NUMARASI DÜZELTME --- */
/* Sitedeki tüm tıklanabilir telefon numaralarını etkiler */
a[href^="tel"] {
    color: var(--text-light); /* Normalde Beyaz/Gri */
    text-decoration: none;    /* Alt çizgi yok */
    font-weight: bold;
    transition: color 0.3s ease;
}
a[href^="tel"]:hover {
    color: var(--primary);    /* Üstüne gelince ALTIN rengi */
}

/* --- MOBİL İÇİN ÖZEL AYARLAR (MENÜ AÇIK) --- */
@media (max-width: 768px) {
    /* 1. Navbar'ın Boyunu Uzat (İki satır olacak) */
    nav { height: auto; padding: 15px 0; }
    
    /* 2. İçeriği Alt Alta Diz */
    .nav-container { flex-direction: column; gap: 10px; }

    /* 3. Linkleri GÖSTER (display: flex yaptık) */
    .nav-links { 
        display: flex; 
        gap: 15px; 
        width: 100%; 
        justify-content: center;
    }
    
    /* 4. Sadece 'Galeri' ve 'İletişim' Linklerini Gizle (Kalabalık Yapmasın) */
    .nav-links a[href="#gallery"], 
    .nav-links a[href="#contact"] {
        display: none; 
    }

    /* 5. "Randevularım" Linkini Butona Çevir (Kolay Basılsın) */
    .nav-links a[onclick^="openCheck"] {
        display: block; /* Görünür yap */
        border: 1px solid #333;
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
    }

    /* 6. Header'ı Biraz Daha Aşağı İt (Navbar büyüdü) */
    header { margin-top: 110px; }
    header h1 { font-size: 2.2rem; }
    
    /* 7. Kutuyu Ortala (Koruduk) */
    .booking-wrapper { 
        margin-top: 20px !important; 
        margin-bottom: 40px !important;
        width: 92% !important; 
        margin-left: auto !important; 
        margin-right: auto !important;
    }

    .booking-left, .booking-right { padding: 20px; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .time-slots { grid-template-columns: repeat(3, 1fr); }
}

/* Modallar */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9); z-index: 100000;
    display: none; justify-content: center; align-items: center;
    backdrop-filter: blur(5px);
}
.modal-content {
    background: #1a1a1a; border: 1px solid var(--primary);
    border-radius: 12px; width: 90%; max-width: 450px;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
    animation: slideDown 0.3s ease; overflow: hidden;
}
.modal-header {
    background: #222; padding: 15px 20px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid #333;
}
.modal-header h3 { margin: 0; color: var(--primary); font-size: 1.1rem; }
.close-btn { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
.modal-body { padding: 30px; text-align: center; }

/* Liste */
.appt-item {
    background: #252525; padding: 15px; border-radius: 8px; margin-bottom: 10px;
    text-align: left; border-left: 3px solid var(--primary);
    display: flex; justify-content: space-between; align-items: center;
}
.appt-info div { font-size: 0.9rem; color: #eee; }
.appt-info span { font-size: 0.8rem; color: #888; }
.cancel-btn {
    background: #8b0000; color: white; border: none;
    padding: 5px 10px; border-radius: 5px; cursor: pointer; font-size: 0.8rem;
}
.cancel-btn:disabled { background: #444; opacity: 0.5; }

@keyframes slideDown { from {transform: translateY(-20px); opacity: 0;} to {transform: translateY(0); opacity: 1;} }
div:where(.swal2-container) { z-index: 100001 !important; }