/* ==========================================================================
   1. DEĞİŞKENLER VE GENEL AYARLAR (ROOT & RESETS)
   ========================================================================== */
:root {
  --bg: #061312;
  --bg-soft: #0a1d1c;
  --deep-green: #0d2e2a;
  --gold: #bd914a;
  --gold-soft: #c79b58;
  --text: #f7f2ea;
  --muted: rgba(247, 242, 234, 0.78);
  --line: rgba(189, 145, 74, 0.34);
  --card: rgba(255, 255, 255, 0.04);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  --whatsapp-green: #25d366;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}

body {
  min-height: 100svh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(189, 145, 74, 0.13), transparent 23%),
    radial-gradient(circle at 84% 78%, rgba(189, 145, 74, 0.12), transparent 22%),
    linear-gradient(135deg, #061312 0%, #04100f 48%, #071918 100%);
}

a { color: inherit; }
img { max-width: 100%; }

.page {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background:
    radial-gradient(circle at 38% 35%, transparent 0 9%, rgba(189, 145, 74, 0.18) 10%, transparent 11%),
    radial-gradient(circle at 68% 18%, transparent 0 8%, rgba(189, 145, 74, 0.16) 9%, transparent 10%),
    radial-gradient(circle at 74% 64%, transparent 0 10%, rgba(189, 145, 74, 0.12) 11%, transparent 12%);
}

/* ==========================================================================
   2. MASAÜSTÜ HEADER & NAVIGASYON (DESKTOP HEADER)
   ========================================================================== */
.top {
  position: relative;
  height: 150px;
  flex: 0 0 auto;
}

.bands {
  position: absolute;
  top: 20px;
  left: 0;
  width: calc(100% - clamp(128px, 25vw, 205px));
}

.band {
  height: 7px;
  background: var(--gold);
}

.band + .band { margin-top: 30px; }

.logo-wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(128px, 33vw, 255px);
  height: 155px;
  background: var(--deep-green);
  border-bottom-left-radius: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 3;
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.logo {
  display: block;
  width: min(72%, 170px);
  height: auto;
  max-height: 96px;
  object-fit: contain;
}

/* Masaüstü Navigasyon Linkleri */
.nav {
  position: absolute;
  top: 27px;
  left: 24px;
  width: calc(100% - clamp(128px, 33vw, 255px) - 48px);
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.7vw, 24px);
  z-index: 4;
}

.nav a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
  color: var(--muted);
  transition: color 180ms ease;
}

.nav a:hover { color: var(--gold-soft); }

/* Hamburger Elemanları Masaüstünde Tamamen Gizli */
.menu-checkbox, .hamburger-btn, .nav-container {
  display: none;
}

/* ==========================================================================
   3. GİRİŞ SAYFASI (LANDING PAGE) BUTONLARI
   ========================================================================== */
.content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 24px 22px 40px;
}

.landing-btn {
  width: 100%;
  max-width: 340px;             /* Masaüstünde devasa olmasını kesin engeller */
  min-height: 58px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, filter 180ms ease;
  text-align: center;
}

.landing-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* ==========================================================================
   4. WEB SİTESİ İÇERİK ALANLARI (HERO & SECTIONS)
   ========================================================================== */
.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: min(66vh, 680px);
  margin: 28px auto 0;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
  background: 
    linear-gradient(90deg, rgba(4, 16, 15, 0.94), rgba(4, 16, 15, 0.38)), 
    url("../img/slide-1.webp") center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.62));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: clamp(26px, 5vw, 54px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.76rem;
}

h1, h2, h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04;
}

.hero-copy {
  max-width: 560px;
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  line-height: 1.65;
}

.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.button {
  min-height: 54px;
  padding: 0 25px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  transition: transform 180ms ease, filter 180ms ease;
}

.button-primary { background: var(--gold); color: #fff; }
.button-secondary { border: 1px solid rgba(247, 242, 234, 0.4); background: rgba(6, 19, 18, 0.48); }
.button:hover { transform: translateY(-2px); filter: brightness(1.06); }

/* Kurumsal Bölümler */
.section { position: relative; z-index: 1; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: clamp(66px, 8vw, 100px) 0; }
.section-head { max-width: 690px; margin-bottom: 34px; }
.section h2 { margin: 0 0 16px; font-size: clamp(1.7rem, 4vw, 2.7rem); }
.section-copy { margin: 0; color: var(--muted); line-height: 1.78; font-size: 1rem; }

/* Kartlar ve Izgaralar */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { border: 1px solid var(--line); background: var(--card); border-radius: 26px; padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow); }
.card h3 { margin: 0 0 14px; font-size: 1.35rem; }
.card p { margin: 0; color: var(--muted); line-height: 1.72; }

.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.highlight { border: 1px solid var(--line); background: var(--card); border-radius: 24px; padding: 24px; }
.highlight span { display: block; color: var(--gold-soft); text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.7rem; margin-bottom: 12px; }
.highlight h3 { margin: 0 0 12px; font-size: 1.3rem; }
.highlight p { margin: 0; color: var(--muted); line-height: 1.72; }

.event-box { border-radius: 32px; padding: clamp(28px, 5vw, 52px); border: 1px solid var(--line); background: linear-gradient(110deg, rgba(6, 19, 18, 0.94), rgba(14, 42, 40, 0.74)), url("../img/events.webp") center/cover no-repeat; box-shadow: var(--shadow); }
.event-box h2 { max-width: 760px; }
.event-box .section-copy { max-width: 690px; margin-bottom: 26px; }

.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: 250px; gap: 18px; }
.gallery-item { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); box-shadow: var(--shadow); }
.gallery-item:first-child { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-list { display: grid; gap: 18px; }
.contact-item strong { display: block; margin-bottom: 6px; color: var(--gold-soft); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; }
.contact-item p, .contact-item a { margin: 0; color: var(--text); text-decoration: none; line-height: 1.6; }
.map-placeholder { min-height: 320px; border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(rgba(6, 19, 18, 0.55), rgba(6, 19, 18, 0.8)), url("../img/map-placeholder.webp") center/cover no-repeat; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); padding: 24px; }

/* ==========================================================================
   5. MASAÜSTÜ FOOTER & AKSİYON BUTONU
   ========================================================================== */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); margin-top: 28px; padding: 28px 20px 34px; text-align: center; }
.footer-links, .socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; }
.footer-links { margin-bottom: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; }
.socials { margin-bottom: 16px; }
.socials a { width: 34px; height: 34px; border: 1px solid rgba(247, 242, 234, 0.4); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: transform 180ms ease, border-color 180ms ease; }
.socials a:hover { transform: translateY(-2px); border-color: var(--gold); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.footer p { margin: 8px 0; color: var(--muted); font-size: 0.88rem; }
.copyright { color: rgba(247, 242, 234, 0.6) !important; font-size: 0.76rem !important; }

.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #25d366; color: #fff; text-decoration: none; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.34); }
.whatsapp-float svg { width: 29px; height: 29px; fill: currentColor; }

.mobile-bottom-bar { display: none; }

/* ==========================================================================
   6. RESPONSIVE KIRILMALAR (TABLET)
   ========================================================================== */
@media (max-width: 860px) {
  .two-col, .contact-grid, .highlights, .gallery { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-row: span 1; grid-column: auto; }
}

/* ==========================================================================
   7. MASALARA VE TELEFONLARA ÖZEL MOBİL AYARLAR (680px VE ALTI)
   ========================================================================== */
@media (max-width: 680px) {
  .top { height: 140px; }

  .bands {
    top: 0; left: 0;
    width: calc(100% - clamp(108px, 38vw, 150px));
    height: 100%;
    display: flex; flex-direction: column; justify-content: space-around;
    padding: 20px 0; pointer-events: none;
  }

  .band { height: 3px; }
  .band + .band { margin-top: 0; }

  .logo-wrap {
    width: clamp(108px, 38vw, 150px);
    height: 140px;
    border-bottom-left-radius: 78px;
    padding: 14px;
    z-index: 3;
  }

  .logo { width: min(78%, 118px); max-height: 82px; }

  /* Mobil Tetikleyicileri Görünür Yap */
  .nav-container {
    display: flex;
    position: absolute;
    top: 0; left: 0;
    width: calc(100% - clamp(108px, 38vw, 150px));
    height: 140px;
    align-items: center;
    padding-left: 20px;
    z-index: 5;
  }

  .hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px; height: 18px;
    cursor: pointer;
    z-index: 10001;
  }

  .hamburger-btn span {
    display: block;
    width: 100%; height: 2.5px;
    background-color: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* MOBİL TAM EKRAN AÇILIR PANEL - ÇAKIŞMALAR TAMAMEN TEMİZLENDİ */
  .nav {
    position: fixed;
    top: 0;
    left: -100%; /* Masaüstünde taşmayı engelleyen gizli başlangıç */
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #061312 0%, #0d2e2a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 0;
    transition: left 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
    z-index: 10000;
  }

  .nav a {
    position: static; /* Masaüstü absolute kuralını ezer */
    width: auto; height: auto;
    white-space: nowrap;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    color: var(--text);
    font-weight: bold;
    text-transform: uppercase;
  }

  /* Tıklandığında Paneli Aç */
  .menu-checkbox:checked ~ .nav {
    left: 0;
  }

  /* X Animasyonu */
  .menu-checkbox:checked ~ .hamburger-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); background-color: var(--gold); }
  .menu-checkbox:checked ~ .hamburger-btn span:nth-child(2) { opacity: 0; }
  .menu-checkbox:checked ~ .hamburger-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background-color: var(--gold); }

  .landing-btn { min-height: 56px; font-size: 0.88rem; letter-spacing: 0.22em; }
  .hero { width: calc(100% - 24px); min-height: 520px; margin-top: 16px; border-radius: 24px; }
  .section { width: calc(100% - 24px); }
  .gallery { grid-auto-rows: 230px; }
  .actions { flex-direction: column; align-items: flex-start; }
  .button { width: 100%; }

  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0;
    width: 100%; height: 60px;
    z-index: 9999;
    background-color: var(--bg-soft);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--line);
  }

  .m-bar-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; }
  .m-bar-whatsapp { background-color: var(--whatsapp-green); color: #fff; }
  .m-bar-call { background-color: var(--gold); color: #fff; }
  .m-bar-btn svg { width: 18px; height: 18px; fill: currentColor; }

  .whatsapp-float { display: none; }
  .page { padding-bottom: 60px; }
}

/* ==========================================================================
   8. ULTRA KÜÇÜK MOBİL CİHAZ AYARLARI (420px VE ALTI)
   ========================================================================== */
@media (max-width: 420px) {
  .top {
    height: 118px;
  }

  .bands {
    top: 0;
    width: calc(100% - 112px);
    padding: 15px 0;
  }

  .logo-wrap {
    width: 112px;
    height: 118px;
    border-bottom-left-radius: 68px;
    padding: 12px;
  }

  .logo {
    width: 84px;
    max-height: 72px;
  }

  /* 420px altında hamburger panelin sabit kalmasını ve bozulmamasını sağlıyoruz */
  .nav {
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100vh !important;
    gap: 20px !important;
  }
  
  .menu-checkbox:checked ~ .nav {
    left: 0 !important;
  }

  .nav a {
    font-size: 1.1rem !important;
  }

  .hero {
    min-height: 460px;
  }

  .hero-content {
    padding: 24px;
  }
}