/* ==========================================================================
   TEMA: MİNİMALİST LÜKS (AWARD-WINNING STYLE)
   ========================================================================== */

/* ==========================================================================
   1. Genel Ayarlar ve Yeni Premium Renk Paleti
   ========================================================================== */
:root {
    --primary-color: #D32F2F;        /* Vurgu Kırmızısı (Ana Butonlar) */
    --accent-color: #c5a47e;         /* Altın / Bronz (Başlıklar ve Vurgular) */
    --background-color: #0F0F0F;     /* Daha Koyu Arka Plan */
    --surface-color: #1A1A1A;        /* Kart ve Yüzey Rengi */
    --text-color: #F8F8F8;           /* Net Beyaz Yazı Rengi */
    --text-color-muted: #B0B0B0;     /* Soluk Yazı Rengi */
    --border-color: #303030;         /* Çerçeve Rengi */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif; /* Daha modern ve okunaklı */
    --font-special: 'Roboto', sans-serif;
}

/* ==========================================================================
   2. Temel Sıfırlama ve Genel Stiller
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

h2 {
    font-size: 3.2rem; text-align: center; margin-bottom: 3rem;
    font-family: var(--font-heading); padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block; color: var(--accent-color);
}

section { padding: 6rem 0; text-align: center; }
img { max-width: 100%; height: auto; display: block; }

.btn {
    background-image: linear-gradient(145deg, #e53935, #c62828);
    color: white; padding: 1rem 2rem; text-decoration: none;
    border: none; border-radius: 5px; font-weight: bold;
    cursor: pointer; transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.5);
}
.small-btn { padding: 0.8rem 1.5rem; font-size: 0.9rem; }

/* ==========================================================================
   3. Animasyonlar ve Yükleme Ekranı
   ========================================================================== */
#preloader { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background-color: var(--background-color); z-index: 9999; 
    display: flex; justify-content: center; align-items: center; 
    transition: opacity 0.5s ease-out;
}
.spinner { border: 8px solid rgba(255, 255, 255, 0.1); border-left-color: var(--accent-color); border-radius: 50%; width: 60px; height: 60px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

@keyframes modal-fade-in {
    from { opacity: 0; transform: translateY(-10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   4. Header ve MİNİMALİST Navigasyon (Off-Canvas)
   ========================================================================== */
header {
    background-color: transparent; /* Transparan header */
    padding: 15px 2rem; position: fixed;
    top: 0; width: 100%; z-index: 1000;
    display: flex; justify-content: space-between; align-items: center;
    transition: background-color 0.4s ease;
}
header.scrolled {
    background-color: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

header .logo img { height: 100px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 20px; }

/* --- DİL BUTONLARI --- */
.lang-switcher { border: 1px solid var(--border-color); border-radius: 20px; overflow: hidden; display: flex; }
.lang-switcher button {
    background: none; border: none;
    color: var(--text-color-muted); padding: 0.4rem 1rem;
    cursor: pointer; transition: all 0.3s ease;
    font-size: 0.9rem; font-weight: bold;
}
.lang-switcher button.active {
    background-color: var(--accent-color);
    color: var(--background-color);
}

/* --- MİNİMALİST HAMBURGER BUTONU --- */
.minimalist-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100; /* Menünün üstünde olmalı */
}
.line {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    margin: 6px 0;
    transition: all 0.3s ease;
}
.minimalist-btn.open .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.minimalist-btn.open .line2 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* --- OFF-CANVAS MENÜ STİLİ --- */
.full-menu-links {
    position: fixed;
    top: 0; right: 0;
    width: 100%; height: 100%;
    background-color: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%); /* Başlangıçta gizli */
    transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}
.full-menu-links.open {
    transform: translateX(0);
}
.full-menu-links ul.main-links {
    list-style: none;
    text-align: center;
    padding: 0;
    margin-bottom: 40px;
}
.full-menu-links ul.main-links li {
    margin: 20px 0;
}
.full-menu-links ul.main-links a {
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    transition: color 0.3s;
}
.full-menu-links ul.main-links a:hover {
    color: var(--accent-color);
}
.menu-footer {
    position: absolute;
    bottom: 50px;
    text-align: center;
    color: var(--text-color-muted);
}
.menu-footer p {
    font-size: 0.9rem;
    margin: 5px 0;
}

/* ==========================================================================
   5. Bölümler (Kalan tüm bölümlerin stilleri burada devam edecek)
   ========================================================================== */
.hero { height: 100vh; position: relative; display: flex; justify-content: center; align-items: center; color: white; text-align: center; padding: 0 2rem; overflow: hidden; }
#bg-video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: -1; transform: translateX(-50%) translateY(-50%); object-fit: cover; filter: brightness(0.9); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); }
.hero-content { position: relative; z-index: 1; }
.hero-content h1 { font-size: 5rem; font-family: var(--font-heading); color: white; text-shadow: 2px 2px 15px rgba(0,0,0,0.7); }
.hero-content p { font-size: 1.5rem; margin: 1rem 0 2rem 0; }

.story-container { display: flex; align-items: center; gap: 3rem; text-align: left; }
.story-image { flex: 1; }
.story-image img { border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.story-content { flex: 1.2; }
.story-content h2 { text-align: left; }
.story-content p { font-size: 1.1rem; line-height: 1.8; color: var(--text-color-muted); }

#menu { background-color: var(--background-color); border-top: 1px solid var(--border-color); }
.menu-subtitle { margin-top: 1.5rem; margin-bottom: 3rem; font-size: 1.1rem; color: var(--text-color-muted); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.menu-card { position: relative; overflow: hidden; border-radius: 8px; cursor: pointer; background-color: var(--surface-color); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.menu-card img { transition: transform 0.4s ease; aspect-ratio: 4 / 3; object-fit: cover; }
.menu-card:hover img { transform: scale(1.1); }
.menu-card-title { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); color: white; padding: 2rem 1rem 1rem 1rem; font-family: var(--font-heading); font-size: 1.5rem; transition: background 0.4s ease; }


#rezervasyon { background-color: var(--surface-color); }
.reservation-form { max-width: 600px; margin: 0 auto; overflow: hidden; }
.form-step { display: none; flex-direction: column; gap: 1rem; }
.form-step.active { display: flex; animation: slide-in 0.5s ease-out; }
.reservation-form input, .reservation-form textarea { width: 100%; padding: 1rem; font-size: 1rem; border: 1px solid var(--border-color); border-radius: 5px; font-family: var(--font-body); background-color: var(--background-color); color: var(--text-color); }
.reservation-form textarea { min-height: 150px; resize: vertical; }
.reservation-form input.error { border: 2px solid var(--primary-color); box-shadow: 0 0 5px var(--primary-color); }

#galeri { background-color: var(--background-color); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.gallery-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; transition: transform 0.3s ease, filter 0.3s ease; cursor: pointer; }
.gallery-grid img:hover { transform: scale(1.05); filter: brightness(1.1); }

/* ==========================================================================
   5. Bölümler (İletişim Bölümü Yeni Stiller)
   ========================================================================== */

/* --- İLETİŞİM (LUXURY REVİZYON) --- */
#iletisim { 
    background-color: var(--surface-color);
    color: var(--text-color); 
    padding-bottom: 0; 
    border-top: 1px solid var(--border-color);
    overflow: hidden; /* YATAY KAYDIRMA SORUNUNU ÇÖZER */
}
#iletisim h2 { 
    border-bottom-color: var(--accent-color); 
}
#iletisim h3 { 
    color: var(--accent-color); 
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
#iletisim p { 
    color: var(--text-color-muted); 
    font-size: 1.1rem;
    transition: color 0.3s;
}

/* --- YENİ İLETİŞİM BİLGİ KUTULARI --- */
.contact-info-luxury { 
    display: flex; 
    justify-content: center; 
    gap: 3rem; 
    margin-bottom: 4rem; 
    flex-wrap: wrap; 
    text-align: center;
}
.info-item-luxury { 
    flex: 1; 
    min-width: 250px; 
    max-width: 300px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--background-color);
    transition: all 0.3s ease;
}
.info-item-luxury:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.2);
    transform: translateY(-5px);
}
.phone-link:hover {
    color: var(--text-color);
}

/* --- YENİ HARİTA STİLİ (LUXURY) --- */
.map-container-luxury { 
    width: 100%; /* CONTAINER İÇİNDE KALIR */
    position: relative; 
    height: 600px; 
    overflow: hidden;
    border-top: 5px solid var(--accent-color); 
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
    margin-top: 30px; /* Üstteki kutularla mesafe */
}
.map-container-luxury iframe { 
    width: 100%; 
    height: 100%; 
    filter: grayscale(1) invert(0.9); 
    position: absolute;
    top: 0;
    left: 0;
}

/* --- YOL TARİFİ BUTONU STİLİ (HARİTA ÜZERİNDE) --- */
.directions-button {
    position: absolute;
    bottom: 30px;
    /* Butonu haritanın sağ üstüne/ortasına değil, altına ortalarız */
    left: 50%; 
    transform: translateX(-50%);
    z-index: 5;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
    animation: fadeIn 1s ease-out;
}

/* ==========================================================================
   6. Footer, Modal ve WhatsApp Butonu
   ========================================================================== */
/* ... (Kalan tüm stiller aynen devam edecek) ... */
/* ==========================================================================
   6. Footer, Modal ve WhatsApp Butonu
   ========================================================================== */
footer { background-color: #000; color: #777; text-align: center; padding: 2rem 0; }

/* --- MODAL STİLLERİ --- */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.7); backdrop-filter: blur(8px); align-items: center; justify-content: center; }
.modal.visible { display: flex; }
.modal-content { background-color: var(--surface-color); margin: 5% auto; padding: 2.5rem; border-radius: 8px; width: 90%; max-width: 800px; position: relative; display: flex; gap: 2rem; align-items: center; border: 1px solid var(--border-color); animation: modal-fade-in 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); transition: opacity 0.2s ease-out, transform 0.2s ease-out; }
.modal-content.transitioning { opacity: 0; transform: scale(0.98); }
.close-button { color: var(--text-color-muted); position: absolute; top: 1rem; right: 1.5rem; font-size: 2.5rem; font-weight: bold; cursor: pointer; transition: color 0.3s; z-index: 2002; }
.close-button:hover { color: var(--accent-color); }
.modal-content img { width: 45%; max-width: 350px; object-fit: cover; border-radius: 5px; }
.modal-text { text-align: left; }
.modal-text h3 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--accent-color); }
.modal-text p { line-height: 1.8; color: var(--text-color); }
#modal-pairing { margin-top: 1rem; font-style: italic; color: var(--accent-color); font-weight: bold; }

/* Modal Navigasyon Butonları */
.modal-nav-button {
    position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(0, 0, 0, 0.4); color: white; border: none; cursor: pointer; padding: 1rem; font-size: 2rem; z-index: 2001; transition: background-color 0.3s ease; border-radius: 5px; user-select: none;
}
.modal-nav-button:hover { background-color: rgba(0, 0, 0, 0.7); }
.modal-nav-button.prev { left: 15px; }
.modal-nav-button.next { right: 15px; }


.whatsapp-button {
    position: fixed; bottom: 20px; right: 20px; width: 60px; height: 60px;
    background-color: #25D366; color: #FFF; border-radius: 50%; display: flex;
    justify-content: center; align-items: center; font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 1000;
    transition: transform 0.3s ease;
}
.whatsapp-button:hover { transform: scale(1.1); }

/* ==========================================================================
   7. MİNİMALİST MENÜ STİLLERİ
   ========================================================================== */
.menu-tabs-container {
    display: flex; justify-content: center; gap: 10px; margin-bottom: 2.5rem; flex-wrap: wrap; border-bottom: 2px solid var(--border-color); padding-bottom: 15px;
}
.menu-tab {
    background: none; color: var(--text-color-muted); border: none; padding: 0.7rem 1.5rem; cursor: pointer; transition: all 0.3s ease; font-size: 1.1rem; font-weight: 700; font-family: var(--font-special); letter-spacing: 1px; position: relative;
}
.menu-tab:hover { color: var(--accent-color); }
.menu-tab.active { 
    color: var(--accent-color); border-bottom: 3px solid var(--primary-color); transform: translateY(-2px);
}
.menu-controls { display: flex; justify-content: center; gap: 15px; margin-bottom: 2rem; }
#menu-search { padding: 0.8rem 1.5rem; width: 100%; max-width: 400px; background-color: var(--surface-color); border: 1px solid var(--border-color); color: var(--text-color); border-radius: 5px; transition: box-shadow 0.3s; }
#menu-search:focus { outline: none; box-shadow: 0 0 10px rgba(211, 47, 47, 0.4); }
#menu-container { opacity: 1; transition: opacity 0.3s ease-in-out; }
#menu-container.fading-out { opacity: 0; }
.menu-card { position: relative; }
.menu-tags { position: absolute; top: 10px; left: 10px; z-index: 10; display: flex; flex-wrap: wrap; gap: 5px; }
.menu-tag { background-color: var(--primary-color); color: white; padding: 3px 8px; font-size: 0.75rem; border-radius: 3px; font-weight: bold; font-family: var(--font-body); opacity: 0.9; }

/* ==========================================================================
   8. GALERİ VE LIGHTBOX ÖZELLİKLERİ
   ========================================================================== */
.gallery-filters { margin-bottom: 2rem; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.filter-btn { background-color: var(--surface-color); color: var(--text-color-muted); border: 1px solid var(--border-color); padding: 0.7rem 1.5rem; border-radius: 20px; cursor: pointer; transition: all 0.3s ease; font-weight: bold; }
.filter-btn:hover { color: var(--text-color); border-color: var(--accent-color); }
.filter-btn.active { background-color: var(--primary-color); color: white; border-color: var(--primary-color); transform: scale(1.05); }
.gallery-grid img.filtered { display: none !important; }
.lightbox { display: none; position: fixed; z-index: 5000; padding-top: 60px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.95); backdrop-filter: blur(5px); animation: fadeIn 0.3s; }
.lightbox-content { margin: auto; display: block; width: 90%; max-width: 900px; max-height: 90vh; object-fit: contain; animation: zoomIn 0.4s; border-radius: 5px; }
.lightbox-close { position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; cursor: pointer; }
.lightbox-close:hover, .lightbox-close:focus { color: var(--primary-color); text-decoration: none; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(0, 0, 0, 0.5); color: white; border: none; cursor: pointer; padding: 1rem; font-size: 2rem; z-index: 5001; transition: background-color 0.3s ease; user-select: none; }
.lightbox-nav:hover { background-color: rgba(0, 0, 0, 0.8); }
.prev-lb { left: 15px; }
.next-lb { right: 15px; }
@keyframes zoomIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ==========================================================================
   10. QR KOD MODAL STİLLERİ (EK DÜZELTME)
   ========================================================================== */
.qr-modal {
    position: fixed; 
    z-index: 3000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%;
    /* Butona basıldığında görünürlüğü sağlayacak KRİTİK ayar */
    display: flex; 
    justify-content: center; 
    align-items: center;
    background-color: rgba(0,0,0,0.9); 
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.qr-modal-content {
    background-color: var(--surface-color); 
    padding: 35px; 
    border-radius: 10px;
    text-align: center; 
    max-width: 90%;
    position: relative;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    animation: modal-fade-in 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.close-qr-button {
    position: absolute; 
    top: 10px; 
    right: 15px; 
    font-size: 2rem;
    color: var(--text-color-muted); 
    cursor: pointer;
    transition: color 0.3s;
}
.close-qr-button:hover {
    color: var(--primary-color);
}

#qrcode-display { 
    margin: 20px auto; 
    width: 200px; 
    height: 200px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-modal-content h3 {
    color: var(--accent-color);
    margin-bottom: 5px;
}
/* ==========================================================================
   9. Mobil Uyumluluk
   ========================================================================== */
@media (max-width: 768px) {
    h2 { font-size: 2.2rem; }
    header { padding: 10px 1rem; }
    header .logo img { height: 70px; }
    
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.1rem; }

    .story-container { flex-direction: column; }
    .story-content h2 { text-align: center; }
    
    .full-menu-links ul.main-links a { font-size: 2rem; }
    
    .modal-content { flex-direction: column; margin: 10% auto; padding: 1.5rem; text-align: center; }
    .modal-content img { width: 100%; }
    .modal-text h3 { font-size: 2rem; }

    .modal-nav-button { top: auto; bottom: 15px; transform: translateY(0); padding: 0.8rem 1rem; font-size: 1.5rem; }
    .modal-nav-button.prev { left: 15px; }
    .modal-nav-button.next { right: 15px; }
    
    .menu-controls { flex-direction: column; }
    #menu-search { max-width: none; }
    .menu-tab { padding: 0.5rem 1rem; font-size: 1rem; }
}