/* ============================================================
   Gaziayintap Butik Otel — site styles
   Palet: sicak tas notrleri + bakir vurgu
   Tipografi: Cormorant Garamond (basliklar) / Jost (metin)
   ============================================================ */

:root {
  --bg:        #f6f3ee;
  --bg-deep:   #efeae2;
  --ink:       #211d18;
  --ink-soft:  #5d564c;
  --line:      #d8d1c5;
  --accent:    #96683c;
  --accent-dk: #7a5430;
  --white:     #fdfcfa;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body:    "Jost", "Segoe UI", sans-serif;

  --container: 1180px;
  --pad: clamp(20px, 4vw, 48px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .35s ease, box-shadow .35s ease;
}

.site-header.solid {
  background: rgba(246, 243, 238, .96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  height: 52px;
  width: auto;
  /* Logo saf siyah cizgi; koyu hero zemininde beyaza cevrilir */
  filter: invert(1) drop-shadow(0 1px 3px rgba(0, 0, 0, .4));
  transition: filter .35s ease;
}

.site-header.solid .brand-logo {
  /* Acik krem header zemininde orijinal siyah */
  filter: none;
}

.main-nav {
  display: flex;
  gap: 34px;
}

.main-nav a {
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  transition: color .25s ease;
}

.main-nav a:hover { color: #fff; }

.site-header.solid .main-nav a { color: var(--ink-soft); }
.site-header.solid .main-nav a:hover { color: var(--ink); }

.header-right { display: flex; align-items: center; gap: 20px; }

.lang-switch { display: flex; gap: 2px; }

.lang-switch a {
  font-size: 11.5px;
  letter-spacing: .14em;
  padding: 4px 8px;
  color: rgba(255, 255, 255, .65);
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}

.lang-switch a.active,
.lang-switch a:hover { color: #fff; border-bottom-color: currentColor; }

.site-header.solid .lang-switch a { color: #998f80; }
.site-header.solid .lang-switch a.active,
.site-header.solid .lang-switch a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  color: #fff;
  transition: transform .3s ease, top .3s ease;
}

.site-header.solid .nav-toggle span { color: var(--ink); }
.nav-toggle span:nth-child(1) { top: 5px; }
.nav-toggle span:nth-child(2) { top: 15px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img { object-fit: cover; }

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(20, 16, 12, .35) 0%, rgba(20, 16, 12, 0) 35%),
    linear-gradient(to top, rgba(20, 16, 12, .72) 0%, rgba(20, 16, 12, .15) 55%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad) clamp(64px, 12vh, 130px);
  color: var(--white);
}

.kicker {
  font-size: 12.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.08;
  max-width: 14em;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 300;
  color: rgba(255, 255, 255, .85);
  max-width: 34em;
  margin-bottom: 36px;
}

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

.hero-scroll {
  position: absolute;
  z-index: 2;
  bottom: 0;
  right: clamp(24px, 5vw, 64px);
  width: 1px;
  height: 90px;
  background: rgba(255, 255, 255, .4);
}

.hero-scroll::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: #fff;
  animation: scrollhint 2.4s ease-in-out infinite;
}

@keyframes scrollhint {
  0%   { transform: translateY(0);    opacity: 1; }
  70%  { transform: translateY(60px); opacity: 1; }
  100% { transform: translateY(60px); opacity: 0; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  padding: 16px 34px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.btn-solid {
  background: var(--accent);
  color: #fff;
}

.btn-solid:hover { background: var(--accent-dk); }

.btn-ghost {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

.btn-line {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-line:hover { background: var(--ink); color: var(--bg); }

/* ---------- Sections ---------- */

.section { padding: clamp(80px, 11vw, 140px) 0; }

.label {
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.15;
  margin-bottom: 26px;
  max-width: 15em;
}

.section p + p { margin-top: 1em; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.split-text p { color: var(--ink-soft); max-width: 36em; }

.frame {
  position: relative;
  overflow: hidden;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform 1.2s ease;
}

.frame.tall img { aspect-ratio: 1 / 1; }

.frame:hover img { transform: scale(1.03); }

/* dekoratif ince cerceve */
.frame::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, .45);
  pointer-events: none;
}

/* ---------- Stats ---------- */

.stats {
  display: flex;
  gap: clamp(28px, 4vw, 56px);
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.stat .num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}

.stat .cap {
  display: block;
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  max-width: 12em;
}

/* ---------- Band ---------- */

.band {
  height: clamp(320px, 55vh, 560px);
  overflow: hidden;
}

.band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Rooms ---------- */

.rooms { background: var(--bg-deep); }

.split.reverse .split-media { order: -1; }

.amenities {
  list-style: none;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 36px;
}

.amenities h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 6px;
}

.amenities p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.amenities li {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* ---------- Gallery ---------- */

.section-head { margin-bottom: clamp(36px, 5vw, 64px); }

.gallery-grid {
  columns: 3;
  column-gap: 18px;
}

.g-item {
  display: block;
  margin-bottom: 18px;
  overflow: hidden;
  break-inside: avoid;
  position: relative;
}

.g-item img {
  width: 100%;
  transition: transform .9s ease, opacity .4s ease;
}

.g-item:hover img { transform: scale(1.04); }

.gallery-actions {
  text-align: center;
  margin-top: 44px;
}

/* ---------- Location ---------- */

.location { background: var(--bg-deep); }

.poi-list {
  list-style: none;
  margin-top: 36px;
  columns: 2;
  column-gap: 40px;
}

.poi-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--ink);
  break-inside: avoid;
  position: relative;
  padding-left: 22px;
}

.poi-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--line);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.35) sepia(.12);
}

/* ---------- Contact ---------- */

.contact-narrow {
  max-width: 760px;
  text-align: center;
}

.contact-narrow .section-head { margin-bottom: 0; }
.contact-narrow .label { display: inline-block; }
.contact-narrow h2 { margin-left: auto; margin-right: auto; }
.contact-narrow .section-head p {
  color: var(--ink-soft);
  max-width: 40em;
  margin: 0 auto;
}

.contact-info {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  border-top: 1px solid var(--line);
  padding-top: 44px;
}

.contact-info dt {
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.contact-info dd {
  font-size: 17px;
  color: var(--ink);
  word-break: break-word;
}

.contact-info a:hover { color: var(--accent); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #b5ab9c;
  padding: 56px 0;
}

.footer-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.brand-foot { line-height: 0; }

.brand-logo-foot {
  height: 92px;
  width: auto;
  /* Koyu footer zemininde beyaz */
  filter: invert(1);
}

.copy { font-size: 13.5px; letter-spacing: .04em; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(18, 15, 12, .94);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: min(92vw, 1500px);
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, .75);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  padding: 18px;
  transition: color .2s ease;
  font-family: var(--font-body);
  font-weight: 300;
}

.lightbox button:hover { color: #fff; }

.lb-close { top: 18px; right: 22px; font-size: 30px; }
.lb-prev  { left: 8px;  top: 50%; transform: translateY(-50%); font-size: 52px; }
.lb-next  { right: 8px; top: 50%; transform: translateY(-50%); font-size: 52px; }

/* ---------- Reveal animasyonu ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .gallery-grid { columns: 2; }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 340px);
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    padding: 0 44px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform .4s ease;
  }
  .main-nav.open { transform: none; }
  .main-nav a { color: rgba(255,255,255,.85) !important; font-size: 14px; }
  .nav-toggle { display: block; z-index: 60; }
  body.nav-open .nav-toggle span { color: #fff; }
  body.nav-open .nav-toggle span:nth-child(1) { top: 10px; transform: rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { top: 10px; transform: rotate(-45deg); }
}

@media (max-width: 700px) {
  .contact-info { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 600px) {
  .gallery-grid { columns: 1; }
  .poi-list { columns: 1; }
  .stats { flex-wrap: wrap; }
  .hero-scroll { display: none; }
  .brand-logo { height: 44px; }
  .brand-logo-foot { height: 78px; }
}
