/* =====================================================
   Müsait Bi Yer — Ana Stil Dosyası
   Palet: gece yeşili, koyu zümrüt, krem, sıcak altın
   ===================================================== */

:root {
  --night:        #0a1310;
  --night-2:      #0d1a15;
  --emerald:      #17362a;
  --emerald-deep: #10231b;
  --emerald-line: #1f3d30;
  --cream:        #ece3cd;
  --cream-dim:    rgba(236, 227, 205, 0.66);
  --cream-faint:  rgba(236, 227, 205, 0.38);
  --gold:         #d9a84f;
  --gold-bright:  #eec36a;
  --gold-glow:    rgba(233, 190, 100, 0.35);

  --display: "Fraunces", Georgia, serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --maxw: 1080px;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--night);
  color: var(--cream);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--gold-bright); text-decoration: none; }
a:hover { color: var(--cream); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Film grain (sahne dokusu) ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 3;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  animation: grain 9s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-3%,2%); }
  40% { transform: translate(2%,-3%); }
  60% { transform: translate(-2%,-2%); }
  80% { transform: translate(3%,3%); }
}

/* ---------- Navigasyon ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: linear-gradient(rgba(10,19,16,0.92), rgba(10,19,16,0.75) 70%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.4s;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.12rem;
  letter-spacing: 0.03em;
}
.nav-brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--cream-dim);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--gold-bright); }
.nav-links .nav-cta {
  color: var(--night);
  background: var(--gold);
  padding: 8px 18px;
  border-radius: 999px;
  transition: background 0.25s, box-shadow 0.25s;
}
.nav-links .nav-cta:hover {
  color: var(--night);
  background: var(--gold-bright);
  box-shadow: 0 0 22px var(--gold-glow);
}
.nav-toggle {
  display: none;
  flex-direction: column; gap: 6px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero: sahne ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 110px 24px 80px;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, #1b3a2c 0%, transparent 60%),
    linear-gradient(180deg, var(--night-2) 0%, var(--night) 70%);
  overflow: hidden;
}

/* Spot ışığı hüzmesi */
.hero-beam {
  position: absolute;
  top: -12%; left: 50%;
  width: 780px; height: 130%;
  transform: translateX(-50%);
  background: conic-gradient(
    from 180deg at 50% 0%,
    transparent 165deg,
    rgba(238, 195, 106, 0.07) 175deg,
    rgba(238, 195, 106, 0.13) 180deg,
    rgba(238, 195, 106, 0.07) 185deg,
    transparent 195deg
  );
  filter: blur(6px);
  pointer-events: none;
  animation: beam-sway 12s ease-in-out infinite alternate;
}
@keyframes beam-sway {
  from { transform: translateX(-53%) rotate(-1.2deg); }
  to   { transform: translateX(-47%) rotate(1.2deg); }
}

.hero-inner { position: relative; z-index: 2; max-width: 640px; }

.hero-logo { position: relative; display: inline-block; margin-bottom: 8px; }
.hero-logo img {
  position: relative; z-index: 1;
  width: clamp(200px, 36vw, 340px);
  height: auto;
  filter: drop-shadow(0 0 26px rgba(238, 195, 106, 0.22));
}
.hero-halo {
  position: absolute; inset: -22%;
  background: radial-gradient(circle, rgba(238,195,106,0.24) 0%, rgba(23,54,42,0.32) 45%, transparent 70%);
  border-radius: 50%;
  animation: halo-breathe 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes halo-breathe {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.06); }
}

.hero-tagline {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.3rem, 3.4vw, 1.9rem);
  letter-spacing: 0.34em;
  text-indent: 0.34em; /* harf aralığını ortalar */
  color: var(--gold-bright);
  text-transform: uppercase;
  margin: 20px 0 18px;
  text-shadow: 0 0 30px var(--gold-glow);
}

.hero-text {
  color: var(--cream-dim);
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 36px;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #14231c;
  box-shadow: 0 4px 26px rgba(217, 168, 79, 0.28);
}
.btn-gold:hover { transform: translateY(-2px); color: #0a1310; box-shadow: 0 8px 34px rgba(238, 195, 106, 0.42); }
.btn-ghost {
  color: var(--cream);
  border: 1px solid var(--emerald-line);
  background: rgba(16, 35, 27, 0.4);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }

.hero-scroll {
  position: absolute; bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-line {
  display: block;
  width: 1px; height: 52px;
  background: linear-gradient(var(--gold), transparent);
  animation: scroll-pulse 2.2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.7); transform-origin: top; }
  50%      { opacity: 1;    transform: scaleY(1); }
}

/* ---------- Bölüm iskeleti ---------- */
.section { padding: 96px 24px; position: relative; }
.container { max-width: var(--maxw); margin: 0 auto; }

.eyebrow {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 12px;
  opacity: 0.7;
}

.section-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.6vw, 2.9rem);
  letter-spacing: 0.01em;
  margin-bottom: 40px;
  color: var(--cream);
}

/* ---------- Hakkımızda ---------- */
.about {
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(31, 61, 48, 0.5) 0%, transparent 70%),
    var(--night);
}
.about-text {
  max-width: 680px;
  color: var(--cream-dim);
  font-size: 1.08rem;
  font-weight: 300;
}
.about-marks {
  margin-top: 52px;
  display: flex; align-items: center; gap: 20px;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-faint);
  flex-wrap: wrap;
}
.about-marks i { color: var(--gold); font-style: normal; }

/* ---------- Duyurular ---------- */
.announcements { background: var(--emerald-deep); }
.ann-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.ann-item {
  position: relative;
  background: rgba(10, 19, 16, 0.55);
  border: 1px solid var(--emerald-line);
  border-radius: var(--radius);
  padding: 30px 26px 22px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.ann-item:hover {
  border-color: rgba(217, 168, 79, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.35);
}
.ann-pin {
  position: absolute; top: -7px; left: 26px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-bright), var(--gold) 70%);
  box-shadow: 0 0 12px var(--gold-glow);
}
.ann-item h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.24rem;
  margin-bottom: 10px;
}
.ann-item p { color: var(--cream-dim); font-size: 0.96rem; margin-bottom: 14px; }
.ann-item time {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-faint);
}

/* ---------- Etkinlikler ---------- */
.events {
  background:
    radial-gradient(ellipse 70% 55% at 10% 90%, rgba(27, 58, 44, 0.45) 0%, transparent 70%),
    var(--night);
}
.event-list { display: grid; gap: 20px; }
.event-card {
  display: flex; flex-direction: column;
  background: linear-gradient(135deg, rgba(16,35,27,0.7), rgba(10,19,16,0.7));
  border: 1px solid var(--emerald-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.event-card:hover { border-color: rgba(217, 168, 79, 0.5); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.event-img { max-height: 300px; overflow: hidden; }
.event-img img { width: 100%; height: 100%; object-fit: cover; }
.event-body { display: flex; gap: 24px; padding: 28px; align-items: flex-start; }
.event-date {
  flex: 0 0 auto;
  text-align: center;
  border: 1px solid rgba(217, 168, 79, 0.45);
  border-radius: 12px;
  padding: 12px 18px;
  background: rgba(217, 168, 79, 0.06);
  box-shadow: inset 0 0 18px rgba(217,168,79,0.06);
}
.event-day {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-bright);
}
.event-month {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 6px;
}
.event-info h3 { font-family: var(--display); font-weight: 500; font-size: 1.34rem; margin-bottom: 6px; }
.event-meta {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.event-desc { color: var(--cream-dim); font-size: 0.97rem; }
.empty-note { color: var(--cream-dim); font-style: italic; }

/* ---------- Galeri ---------- */
.gallery { background: var(--emerald-deep); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  border: 1px solid var(--emerald-line);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: saturate(0.9) brightness(0.92);
}
.gallery-item:hover img { transform: scale(1.05); filter: saturate(1) brightness(1); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 14px 12px;
  font-size: 0.84rem;
  color: var(--cream);
  background: linear-gradient(transparent, rgba(10,19,16,0.9));
  opacity: 0;
  transition: opacity 0.35s;
}
.gallery-item:hover figcaption { opacity: 1; }

/* ---------- İletişim ---------- */
.contact { background: var(--night); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 40px;
  align-items: start;
}
.contact-row { margin-bottom: 26px; }
.contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.contact-row p { color: var(--cream-dim); }
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--emerald-line);
  min-height: 380px;
  filter: saturate(0.85) contrast(1.02);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 70px 24px 46px;
  background: linear-gradient(var(--night), #060d0a);
  border-top: 1px solid var(--emerald-line);
}
.footer-logo {
  width: 64px; height: 64px;
  object-fit: contain;
  margin: 0 auto 16px;
  opacity: 0.85;
  filter: drop-shadow(0 0 14px rgba(238,195,106,0.18));
}
.footer-tagline {
  font-family: var(--display);
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  font-size: 0.86rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-copy { font-size: 0.8rem; color: var(--cream-faint); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 60;
  background: rgba(6, 13, 10, 0.94);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.lightbox p { margin-top: 16px; color: var(--cream-dim); font-size: 0.95rem; }
.lightbox-close {
  position: absolute; top: 22px; right: 30px;
  background: none; border: 0;
  color: var(--cream);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.25s, transform 0.25s;
}
.lightbox-close:hover { color: var(--gold-bright); transform: rotate(90deg); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .nav { padding: 12px 18px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(78vw, 320px);
    flex-direction: column;
    justify-content: center;
    background: rgba(10, 19, 16, 0.97);
    border-left: 1px solid var(--emerald-line);
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1rem; }

  .section { padding: 72px 20px; }
  .event-body { flex-direction: column; gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-beam { width: 140vw; }
}

/* ---------- Hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .hero-beam, .hero-halo, .hero-scroll-line { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
