/* ============================================================================
   NİKSAR KALESİ · KALEHAN — Stil dosyası
   Tema: Osmanlı/Anadolu esintili; bordo + altın + krem
   ========================================================================== */

:root {
  --bordo:        #7a1f2b;
  --bordo-dark:   #5c1620;
  --bordo-deep:   #3d0f16;
  --gold:         #c8a45c;
  --gold-soft:    #e3c98a;
  --cream:        #f7f1e6;
  --cream-2:      #efe6d4;
  --ink:          #2b2320;
  --ink-soft:     #6b5f57;
  --white:        #ffffff;
  --shadow:       0 14px 40px rgba(61, 15, 22, .14);
  --shadow-sm:    0 6px 18px rgba(61, 15, 22, .10);
  --radius:       16px;
  --radius-sm:    10px;
  --container:    1140px;
  --serif:        "Cormorant Garamond", Georgia, serif;
  --sans:         "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 78px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  cursor: pointer; border: 1.5px solid transparent; transition: .25s ease;
  font-family: var(--sans); letter-spacing: .01em;
}
.btn--primary { background: var(--bordo); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--bordo-dark); transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--bordo); }
.btn--block { width: 100%; }

/* ============================ NAVBAR ============================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(61, 15, 22, .35); backdrop-filter: blur(10px);
  transition: background .3s ease, box-shadow .3s ease;
}
.nav.scrolled { background: var(--bordo-deep); box-shadow: 0 4px 20px rgba(0,0,0,.25); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--serif); }
.nav__crest { font-size: 1.6rem; color: var(--gold); }
.nav__brand-text { font-size: 1.35rem; font-weight: 700; line-height: 1; display: flex; flex-direction: column; }
.nav__brand-text small { font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-soft); font-family: var(--sans); font-weight: 600; margin-top: 3px; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a { color: #f3e9da; padding: 8px 13px; border-radius: 8px; font-size: .92rem; font-weight: 500; transition: .2s; }
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.12); }
.nav__links .nav__cta { background: var(--gold); color: var(--bordo-deep); font-weight: 700; margin-left: 6px; }
.nav__links .nav__cta:hover { background: var(--gold-soft); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }

/* ============================ HERO ============================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); animation: heroZoom 18s ease-in-out infinite alternate; }
@keyframes heroZoom { to { transform: scale(1.14); } }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(61,15,22,.55) 0%, rgba(61,15,22,.35) 40%, rgba(61,15,22,.85) 100%); }
.hero__content { position: relative; color: #fff; padding-top: 80px; max-width: 760px; }
.hero__eyebrow { letter-spacing: .35em; text-transform: uppercase; font-size: .8rem; font-weight: 600; color: var(--gold-soft); margin-bottom: 14px; }
.hero__title { font-family: var(--serif); font-size: clamp(3rem, 9vw, 6rem); font-weight: 700; line-height: .98; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.hero__sub { font-size: clamp(1.05rem, 2.3vw, 1.4rem); margin: 22px 0 32px; color: #f3e9da; max-width: 620px; }
.hero__sub strong { color: var(--gold-soft); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 2.4rem; line-height: 1; opacity: .8; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 10px); } }

/* ============================ STATS ============================ */
.stats { background: var(--bordo-deep); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 38px 22px; }
.stat { text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stat__num { display: block; font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat__label { display: block; margin-top: 8px; font-size: .82rem; letter-spacing: .04em; color: #e7d8c4; text-transform: uppercase; }

/* ============================ SECTIONS ============================ */
.section { padding: 84px 0; }
.section--alt { background: var(--cream-2); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section__kicker { display: inline-block; letter-spacing: .3em; text-transform: uppercase; font-size: .76rem; font-weight: 700; color: var(--bordo); background: rgba(122,31,43,.08); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.section__title { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 700; color: var(--bordo-deep); line-height: 1.05; }
.section__title::after { content: ""; display: block; width: 64px; height: 3px; background: var(--gold); border-radius: 3px; margin: 16px auto 0; }
.section__lead { margin-top: 18px; color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Prose ---------- */
.prose p { margin-bottom: 18px; font-size: 1.06rem; color: #463b34; }
.prose strong { color: var(--bordo); }
.two-col { columns: 2; column-gap: 48px; }
.two-col p { break-inside: avoid; }
.note { margin-top: 34px; background: #fff; border-left: 4px solid var(--gold); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; box-shadow: var(--shadow-sm); font-size: 1rem; }
.note strong { color: var(--bordo); }

/* ============================ TIMELINE ============================ */
.timeline { list-style: none; position: relative; max-width: 820px; margin: 0 auto; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), rgba(200,164,92,.2)); }
.tl { position: relative; padding: 0 0 32px 26px; }
.tl::before { content: ""; position: absolute; left: -28px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream-2); border: 3px solid var(--gold); }
.tl--accent::before { background: var(--bordo); border-color: var(--bordo); box-shadow: 0 0 0 4px rgba(122,31,43,.18); }
.tl__era { display: inline-block; font-weight: 700; color: var(--bordo); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.tl h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin-bottom: 4px; }
.tl p { color: var(--ink-soft); }

/* ============================ CARDS ============================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); border: 1px solid rgba(122,31,43,.06); transition: .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__ic { font-size: 2rem; display: block; margin-bottom: 12px; }
.card h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--bordo-deep); margin-bottom: 6px; }
.card p { color: var(--ink-soft); font-size: .98rem; }

/* ============================ GALLERY ============================ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery__item { overflow: hidden; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); cursor: pointer; margin: 0; height: 100%; }
.gallery__item--wide { grid-column: span 2; grid-row: span 1; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.08); }
.credit { text-align: center; margin-top: 18px; font-size: .82rem; color: var(--ink-soft); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(20,8,10,.92); display: none; align-items: center; justify-content: center; z-index: 200; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox__close { position: absolute; top: 20px; right: 28px; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; line-height: 1; }

/* ============================ VIDEO ============================ */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); max-width: 900px; margin: 0 auto; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-grid--multi { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 980px; margin: 0 auto; }
.video-grid--multi .video-wrap { max-width: none; margin: 0; }
@media (max-width: 700px) { .video-grid--multi { grid-template-columns: 1fr; } }

/* ============================ KALEHAN ============================ */
.kalehan { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.kalehan__text .section__kicker { margin-bottom: 14px; }
.kalehan__text .section__title { text-align: left; }
.kalehan__text .section__title::after { margin: 16px 0 0; }
.kalehan__text p { margin: 20px 0; font-size: 1.08rem; color: #463b34; }
.kalehan__text strong { color: var(--bordo); }
.kalehan__features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
.kalehan__features li { background: #fff; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 500; box-shadow: var(--shadow-sm); font-size: .96rem; }
.kalehan__img img { border-radius: var(--radius); box-shadow: var(--shadow); height: 100%; object-fit: cover; max-height: 460px; width: 100%; }

/* ============================ MENU ============================ */
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; align-items: start; }
.menu-cat { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid rgba(122,31,43,.06); }
.menu-cat__head { background: linear-gradient(135deg, var(--bordo), var(--bordo-dark)); color: #fff; padding: 16px 22px; display: flex; align-items: center; gap: 12px; }
.menu-cat__head .ic { font-size: 1.5rem; }
.menu-cat__head h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; }
.menu-cat__list { list-style: none; padding: 8px 22px 18px; }
.menu-item { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px dashed rgba(122,31,43,.16); }
.menu-item:last-child { border-bottom: 0; }
.menu-item__name { font-weight: 500; color: var(--ink); }
.menu-item__dots { flex: 1; border-bottom: 1px dotted #cbb9a6; transform: translateY(-4px); }
.menu-item__price { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--bordo); white-space: nowrap; }
.menu-item__price span { font-size: .8rem; color: var(--gold); }

/* ============================ CONTACT ============================ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.info-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; padding: 16px 18px; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.info-list .ic { font-size: 1.4rem; flex-shrink: 0; }
.info-list .lbl { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.info-list .val { font-weight: 600; color: var(--ink); }
.info-list a.val:hover { color: var(--bordo); }

.social-title { font-family: var(--serif); font-size: 1.5rem; color: var(--bordo-deep); margin-bottom: 14px; }
.social-row { display: flex; gap: 16px; flex-wrap: wrap; }
.social-card { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); border: 1px solid rgba(122,31,43,.06); transition: .25s ease; position: relative; overflow: hidden; }
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.social-card__ic { width: 48px; height: 48px; flex-shrink: 0; border-radius: 13px; display: flex; align-items: center; justify-content: center; color: #fff; }
.social-card__ic svg { width: 26px; height: 26px; }
.social-card--ig .social-card__ic { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-card--fb .social-card__ic { background: #1877f2; }
.social-card__meta { display: flex; flex-direction: column; line-height: 1.2; }
.social-card__plat { font-weight: 700; color: var(--ink); font-size: 1rem; }
.social-card__handle { font-size: .85rem; color: var(--ink-soft); }
.social-card__go { margin-left: auto; font-size: .82rem; font-weight: 700; color: var(--bordo); white-space: nowrap; transition: transform .2s; }
.social-card:hover .social-card__go { transform: translateX(3px); }
.qr-hint { margin-top: 14px; font-size: .82rem; color: var(--ink-soft); }

.contact__form { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.contact__form h3 { font-family: var(--serif); font-size: 1.7rem; color: var(--bordo-deep); }
.form-desc { color: var(--ink-soft); font-size: .92rem; margin: 6px 0 18px; }
#msgForm label { display: block; margin-bottom: 14px; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
#msgForm input, #msgForm textarea { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid var(--cream-2); border-radius: var(--radius-sm); font-family: var(--sans); font-size: .98rem; color: var(--ink); background: var(--cream); transition: .2s; }
#msgForm input:focus, #msgForm textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
#msgForm textarea { resize: vertical; }
.form-ok { margin-top: 12px; background: #e3f3e9; color: #2e7d4f; border: 1px solid #b9e0c8; padding: 11px 14px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500; }

/* ---------- Map ---------- */
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ============================ YÜZEN WHATSAPP ============================ */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: transform .2s ease, box-shadow .2s ease; animation: waPulse 2.4s ease-in-out infinite; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(37,211,102,.6); }
.wa-float svg { width: 32px; height: 32px; }
@keyframes waPulse { 0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,.45); } 50% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 12px rgba(37,211,102,0); } }
@media (max-width: 640px) { .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; } .wa-float svg { width: 28px; height: 28px; } }
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }

/* ============================ DUYURULAR ============================ */
.announce-band { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); padding: 22px 0; }
.announce-list { display: flex; flex-direction: column; gap: 12px; }
.announce { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.92); border-radius: var(--radius); padding: 14px 20px; box-shadow: var(--shadow-sm); }
.announce__ic { font-size: 1.8rem; flex-shrink: 0; }
.announce__img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.announce__body h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--bordo-deep); line-height: 1.1; }
.announce__body p { color: #594b42; font-size: .96rem; margin-top: 2px; }

/* ============================ ETKİNLİKLER ============================ */
.events { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.event { display: flex; gap: 18px; background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid rgba(122,31,43,.06); transition: .25s; }
.event:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.event__date { flex-shrink: 0; width: 70px; height: 76px; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--bordo), var(--bordo-dark)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.event__day { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; line-height: 1; }
.event__mon { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); margin-top: 3px; }
.event__body h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--bordo-deep); margin-bottom: 4px; }
.event__body p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 8px; }
.event__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .85rem; color: var(--bordo); font-weight: 500; }

/* ============================ FOOTER ============================ */
.footer { background: var(--bordo-deep); color: #e7d8c4; padding: 44px 0 28px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer__brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.footer__brand .nav__crest { font-size: 2rem; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer__links a { color: var(--gold-soft); font-weight: 500; }
.footer__links a:hover { color: #fff; }
.footer__copy { font-size: .82rem; color: #b89a86; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 900px) {
  .nav__links { position: fixed; top: 64px; right: 0; height: calc(100vh - 64px); width: min(78vw, 300px); background: var(--bordo-deep); flex-direction: column; align-items: stretch; padding: 18px; gap: 4px; transform: translateX(100%); transition: transform .3s ease; }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { padding: 14px; font-size: 1rem; }
  .nav__links .nav__cta { margin: 8px 0 0; text-align: center; }
  .nav__toggle { display: flex; }
  .nav__toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .two-col { columns: 1; }
  .cards { grid-template-columns: 1fr 1fr; }
  .kalehan { grid-template-columns: 1fr; gap: 28px; }
  .kalehan__img { order: -1; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery__item--wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .stat:nth-child(2) { border-right: 0; }
  .cards { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .social-row { flex-direction: column; }
  .events { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
}
