@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root { --bg-color: #080808; --text-color: #e0e0e0; --primary-green: #1db954; --glass-bg: rgba(15, 15, 15, 0.85); --glass-border: rgba(255, 255, 255, 0.08); --title-font: 'Playfair Display', serif; --body-font: 'Montserrat', sans-serif; --header-height: 85px; }

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { background-color: var(--bg-color); color: var(--text-color); font-family: var(--body-font); overflow-x: hidden; }

/* YÜKLEME EKRANI */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: #050505; z-index: 999999; display: flex; justify-content: center; align-items: center; transition: transform 0.8s cubic-bezier(0.8, 0, 0.2, 1), opacity 0.8s ease; }
#preloader img { width: 140px; animation: pulse 1s infinite; }
@keyframes pulse { 0% { opacity: 0.5; transform: scale(0.95); } 50% { opacity: 1; transform: scale(1); } 100% { opacity: 0.5; transform: scale(0.95); } }

/* HEADER - MASAÜSTÜ İÇİN KUSURSUZ 3'LÜ YAPI */
header { position: fixed; top: 0; width: 100%; height: var(--header-height); z-index: 10000; background: var(--glass-bg); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-bottom: 1px solid var(--glass-border); display: flex; justify-content: space-between; align-items: center; padding: 0 5%; }

/* Sol Parça (Genişlik sabitlendi ki orta kısım tam ortalansın) */
.logo-container { width: 220px; display: flex; justify-content: flex-start; }
.logo-container img { height: 55px; }

/* Orta Parça */
.nav-links { flex: 1; display: flex; justify-content: center; }
.nav-links ul { display: flex; list-style: none; gap: 25px; align-items: center; }
.nav-links a { color: #fff; text-decoration: none; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary-green); }

/* Sağ Parça */
.custom-dropdown-container { width: 220px; position: relative; }
.custom-dropdown-selected { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); padding: 10px 15px; border-radius: 6px; font-size: 13px; font-weight: 500; color: #fff; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s ease; user-select: none; }
.custom-dropdown-selected:hover { border-color: var(--primary-green); background: rgba(29, 185, 84, 0.05); }
.custom-dropdown-options { position: absolute; top: 115%; left: 0; width: 100%; background: #0f0f0f; border: 1px solid var(--glass-border); border-radius: 6px; overflow: hidden; display: none; flex-direction: column; z-index: 99999; box-shadow: 0 10px 30px rgba(0,0,0,0.9); }
.custom-dropdown-options.show { display: flex; animation: slideDown 0.2s ease forwards; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.custom-option { padding: 12px 15px; font-size: 13px; color: #aaa; cursor: pointer; transition: 0.3s; border-bottom: 1px solid rgba(255,255,255,0.02); }
.custom-option:last-child { border-bottom: none; }
.custom-option:hover { background: var(--primary-green); color: #000; font-weight: 600; padding-left: 20px; } 

/* ŞERİT & HERO */
.marquee-container { position: fixed; top: var(--header-height); width: 100%; z-index: 999; background: var(--primary-green); height: 40px; display: flex; align-items: center; overflow: hidden; }
.marquee-content { display: flex; white-space: nowrap; animation: marquee 40s linear infinite; }
.marquee-content span { font-family: var(--body-font); font-size: 14px; font-weight: 600; color: #000; padding: 0 30px; text-transform: uppercase; letter-spacing: 2px; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

section { padding: 90px 5%; min-height: auto; position: relative; }
.section-title { font-family: var(--title-font); font-size: 38px; color: #fff; text-align: center; margin-bottom: 40px; font-weight: 600; letter-spacing: 2px; }
.section-title span { color: var(--primary-green); font-style: italic; }

.hero-section { margin-top: calc(var(--header-height) + 40px); height: 50vh; background: linear-gradient(to bottom, rgba(8,8,8,0.4), rgba(8,8,8,1)), url('hero-bg.webp') center/cover; display: flex; align-items: center; justify-content: center; position: relative; }
.hero-text { text-align: center; z-index: 2; padding: 0 20px; animation: dropDownText 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards; }
@keyframes dropDownText { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: translateY(0); } }
.hero-text h1 { font-family: var(--title-font); font-size: 45px; letter-spacing: 3px; margin-bottom: 10px; font-weight: 700; }
.hero-text p { font-family: var(--body-font); font-size: 16px; color: #bbb; letter-spacing: 4px; text-transform: uppercase; font-weight: 300; }

/* GALERİ */
.premium-gallery { width: 100%; height: 60vh; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #050505; border-radius: 12px; }
.gallery-track { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.gallery-slide { position: absolute; width: 50%; height: 80%; border-radius: 16px; transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); opacity: 0; pointer-events: none; overflow: hidden; background: #1a1a1a; box-shadow: 0 0 20px rgba(0,0,0,0.8); display: flex; align-items: center; justify-content: center; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-slide.active { opacity: 1; transform: translateX(0) scale(1); z-index: 3; filter: blur(0); pointer-events: auto; }
.gallery-slide.prev { opacity: 0.4; transform: translateX(-60%) scale(0.85); z-index: 2; filter: blur(4px); }
.gallery-slide.next { opacity: 0.4; transform: translateX(60%) scale(0.85); z-index: 2; filter: blur(4px); }

.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(29, 185, 84, 0.8); color: #000; border: none; width: 55px; height: 55px; border-radius: 50%; font-size: 24px; cursor: pointer; z-index: 1000; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.slider-btn:hover { background: #fff; box-shadow: 0 0 20px var(--primary-green); transform: translateY(-50%) scale(1.1); }
.slider-btn.prev-btn { left: 5%; }
.slider-btn.next-btn { right: 5%; }

/* ETKİNLİKLER & BİZ KİMİZ */
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 20px; }
.event-card { background: rgba(255,255,255,0.02); border: 1px solid var(--glass-border); border-radius: 12px; overflow: hidden; transition: transform 0.3s ease; }
.event-card:hover { transform: translateY(-8px); border-color: rgba(29, 185, 84, 0.3); box-shadow: 0 10px 20px rgba(29, 185, 84, 0.1); }
.event-img { width: 100%; height: 200px; object-fit: cover; border-bottom: 1px solid var(--glass-border); background: #111; }
.event-content { padding: 25px; text-align: center; }
.event-content h3 { font-family: var(--title-font); font-size: 20px; color: #fff; margin-bottom: 10px; }
.event-content p { font-size: 14px; color: #aaa; line-height: 1.6; margin-bottom: 15px; }
.event-price { color: var(--primary-green); font-size: 20px; font-weight: 600; }

.about-wrapper { display: flex; align-items: center; gap: 50px; background: rgba(255,255,255,0.02); border: 1px solid var(--glass-border); border-radius: 12px; overflow: hidden; }
.about-text { flex: 1; padding: 50px; }
.about-text p { font-size: 15px; color: #aaa; line-height: 1.9; margin-bottom: 20px; }
.about-img { flex: 1; min-height: 400px; background: url('https://images.unsplash.com/photo-1470337458703-46ad1756a187?q=80&w=1200') center/cover; background-color: #222; border-radius: 8px;}

/* İLETİŞİM */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; background: rgba(255,255,255,0.02); padding: 40px; border-radius: 12px; border: 1px solid var(--glass-border); }
.contact-details { display: flex; flex-direction: column; justify-content: center; gap: 25px; }
.contact-item { padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.contact-label { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.contact-value { font-family: var(--body-font); font-size: 18px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.copy-btn { background: transparent; border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; padding: 6px 10px; cursor: pointer; transition: 0.3s; z-index: 10; font-size:16px;}
.copy-btn:hover { border-color: var(--primary-green); background: rgba(29, 185, 84, 0.1); }
.map-container { position: relative; z-index: 1; }
.map-container iframe { width: 100%; height: 100%; min-height: 350px; border-radius: 8px; filter: grayscale(100%) contrast(1.1) opacity(0.8); }

/* TOAST */
#toast { visibility: hidden; min-width: 250px; background: #fff; color: #000; text-align: center; border-radius: 30px; padding: 12px 24px; position: fixed; z-index: 999999; left: 50%; bottom: 20px; transform: translateX(-50%); font-weight: 600; font-size: 13px; letter-spacing: 1px; box-shadow: 0 5px 20px rgba(0,0,0,0.5); opacity: 0; transition: opacity 0.4s, bottom 0.4s; }
#toast.show { visibility: visible; opacity: 1; bottom: 40px; }

/* MENÜ ÇUBUĞU VE SAYFASI (ESKİSİ GİBİ SAĞLAM) */
.menu-header-layout { display: flex; align-items: center; justify-content: flex-start; width: 100%; position: relative; }
.back-btn { font-size: 28px; color: #fff; text-decoration: none; margin-right: 20px; transition: color 0.3s; }
.back-btn:hover { color: var(--primary-green); }
.menu-logo { height: 45px; }
.category-bar { display: flex; overflow-x: auto; gap: 10px; padding: 15px 5%; background: var(--bg-color); position: sticky; top: var(--header-height); z-index: 998; scroll-behavior: smooth; box-shadow: 0 15px 20px -15px rgba(0,0,0,0.9); }
.category-bar::-webkit-scrollbar { height: 6px; }
.category-bar::-webkit-scrollbar-track { background: #111; border-radius: 10px; }
.category-bar::-webkit-scrollbar-thumb { background: var(--primary-green); border-radius: 10px; }
.cat-btn { background: rgba(255,255,255,0.05); color: #aaa; border: 1px solid transparent; padding: 8px 20px; border-radius: 20px; white-space: nowrap; font-size: 13px; font-family: var(--body-font); cursor: pointer; transition: all 0.3s; margin-bottom: 5px; }
.cat-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }
.cat-btn.active { background: var(--primary-green); color: #000; font-weight: 600; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 15px; padding: 30px 5% 50px; }
.menu-item { background: rgba(255,255,255,0.02); border-radius: 12px; display: flex; flex-direction: row; padding: 12px; border: 1px solid var(--glass-border); align-items: center; gap: 15px; transition: transform 0.3s, border-color 0.3s; }
.menu-item:hover { transform: translateY(-3px); border-color: rgba(29, 185, 84, 0.3); }
.menu-img-container { width: 80px; height: 80px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #111; }
.menu-img { width: 100%; height: 100%; object-fit: cover; }
.menu-details { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.menu-title { font-family: var(--title-font); font-size: 16px; margin-bottom: 4px; color: #fff; font-weight: 600; white-space: normal; word-break: break-word; line-height: 1.2; }
.menu-price { color: var(--primary-green); font-weight: 600; font-size: 15px; }
.menu-desc { font-size: 11px; color: #888; margin-top: 4px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ==============================================================
   MOBİL (TELEFON) İÇİN KUSURSUZ VE İNCE ÇÖZÜM
============================================================== */
@media (max-width: 900px) {
  /* Logo gizleniyor, div şişmiyor */
  .logo-container { display: none !important; }
  
  header:not(.menu-header) { 
    flex-direction: column; 
    height: auto; 
    padding: 10px 5%; 
    justify-content: center;
    gap: 10px;
  }
  
  /* Şube Seçici Kutusu Ortalanıyor */
  .custom-dropdown-container { 
    width: 100%; 
    max-width: 250px; 
    margin: 0 auto; 
  }
  
  /* Yazılar (Linkler) Tek Bir Satırda Yana Kaydırılabilir Hale Geliyor */
  .nav-links { 
    width: 100%; 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    padding-bottom: 5px; 
  }
  /* Scrollbar gizleme */
  .nav-links::-webkit-scrollbar { display: none; }
  
  .nav-links ul { 
    flex-wrap: nowrap; 
    justify-content: flex-start; 
    gap: 15px; 
  }
  .nav-links a { font-size: 12px; white-space: nowrap; }
  
  /* Diğer kısımlar ince Header'a uyum sağlıyor */
  .marquee-container { top: 95px; } 
  .hero-section { margin-top: 135px; height: 40vh; }
  .hero-text h1 { font-size: 32px; }
  
  .about-wrapper { flex-direction: column; gap: 0; }
  .about-img { width: 100%; min-height: 250px; }
  .contact-wrapper { grid-template-columns: 1fr; padding: 20px; }
  .menu-grid { grid-template-columns: 1fr; padding: 20px 5% 50px; }
  .gallery-slide { width: 85%; } 

  /* Menü sayfası header'ı bozulmasın diye kalkan eklendi */
  .menu-header { height: 60px !important; padding: 0 5% !important; flex-direction: row !important; justify-content: flex-start !important; }
  .menu-logo { height: 35px; }
  .back-btn { font-size: 24px; }
  .category-bar { top: 60px; }
}