:root {
  --bg: #0c0c0c;
  --bg-soft: #141414;
  --text: #f5f3ef;
  --muted: rgba(245, 243, 239, 0.72);
  --line: rgba(255, 255, 255, 0.14);
  --accent: #c9b79a;
  --white: #fff;
  --dark: #1a1a1a;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter Tight", "Segoe UI", sans-serif;
  --container: min(1280px, calc(100% - 3rem));
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: var(--container); margin-inline: auto; }

/* Header — tüm sayfalarda sabit */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: .85rem 0 0;
  background: rgba(8, 8, 8, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.1);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: var(--container);
  margin-inline: auto;
}

.menu-btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: transparent;
  border: 0;
  color: var(--white);
  letter-spacing: .12em;
  font-size: .72rem;
  cursor: pointer;
  padding: .4rem 0;
}

.menu-btn .bars {
  width: 18px;
  height: 12px;
  display: grid;
  gap: 3px;
}
.menu-btn .bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
}

.logo {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: .08em;
  text-align: center;
  font-weight: 500;
}
.logo span { display: block; font-size: .62rem; letter-spacing: .28em; opacity: .7; margin-top: .15rem; font-family: var(--sans); }

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: 1px solid transparent;
  padding: .85rem 1.35rem;
  letter-spacing: .14em;
  font-size: .72rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: .25s ease;
}
.btn-solid {
  background: var(--white);
  color: #111;
}
.btn-solid:hover { background: #ebe7df; }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: var(--white);
}
.btn-ghost:hover { border-color: #fff; }
.btn-dark {
  background: #2a2a2a;
  color: #fff;
}
.btn-dark:hover { background: #3a3a3a; }
.btn-full { width: 100%; }

.nav-bar {
  margin-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
}
.nav-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: .65rem 0;
  font-size: .68rem;
  letter-spacing: .16em;
}
.nav-links a { opacity: .85; }
.nav-links a:hover { opacity: 1; }
.nav-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .68rem;
  letter-spacing: .08em;
  white-space: nowrap;
}
.nav-meta a { opacity: .9; }

/* Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  z-index: 110;
}
.drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(360px, 88vw);
  background: #111;
  transform: translateX(-105%);
  transition: .3s ease;
  z-index: 120;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.drawer.open { transform: none; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer-close {
  align-self: flex-start;
  background: transparent;
  border: 0;
  color: #fff;
  letter-spacing: .14em;
  font-size: .72rem;
  cursor: pointer;
}
.drawer nav {
  display: grid;
  gap: 1rem;
}
.drawer a {
  letter-spacing: .14em;
  font-size: .8rem;
  opacity: .85;
}
.drawer a:hover { opacity: 1; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  background: #1a1a1a center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.55) 100%),
    linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.1) 55%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin: 0 auto 7.5rem;
  max-width: 760px;
  justify-self: start;
  padding-bottom: 1rem;
}
.eyebrow {
  font-size: .68rem;
  letter-spacing: .28em;
  opacity: .8;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.08;
  margin: 0 0 1.4rem;
  max-width: 14ch;
}
.link-underline {
  display: inline-block;
  letter-spacing: .18em;
  font-size: .72rem;
  border-bottom: 1px solid rgba(255,255,255,.7);
  padding-bottom: .2rem;
}
.link-underline:hover { border-color: #fff; }

.booking-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  background: rgba(18,18,18,.82);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.1);
}
.booking-form {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 1rem;
  align-items: end;
  padding: 1.1rem 0;
}
.field label {
  display: block;
  font-size: .62rem;
  letter-spacing: .16em;
  opacity: .7;
  margin-bottom: .35rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.25);
  padding: .55rem 0;
  outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-bottom-color: #fff; }
.guest-row {
  display: flex;
  gap: 1rem;
}
.guest-ctrl {
  display: flex;
  align-items: center;
  gap: .55rem;
  border-bottom: 1px solid rgba(255,255,255,.25);
  padding: .35rem 0;
  min-width: 110px;
}
.guest-ctrl button {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255,255,255,.25);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.guest-ctrl span { min-width: 1.2rem; text-align: center; }

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.section-light {
  background: #f4f1eb;
  color: #1a1a1a;
}
.section-dark { background: var(--bg); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0;
  letter-spacing: .04em;
}
.section-head p {
  max-width: 42ch;
  margin: 0;
  color: inherit;
  opacity: .75;
  font-size: .95rem;
}

.offers-grid,
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  display: grid;
  gap: .85rem;
}
.card-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #222;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card-media img { transform: scale(1.04); }
.card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  margin: 0;
}
.card p {
  margin: 0;
  opacity: .72;
  font-size: .92rem;
}
.card .meta {
  font-size: .78rem;
  letter-spacing: .08em;
  opacity: .8;
}
.price {
  font-family: var(--serif);
  font-size: 1.35rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.split-media {
  min-height: 420px;
  background: center/cover no-repeat #222;
}
.split-copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1rem;
}
.split-copy p {
  opacity: .78;
  margin: 0 0 1.5rem;
  max-width: 42ch;
}

.page-hero {
  padding: 9rem 0 3.5rem;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35)),
    url("https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1600&q=80") center/cover;
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin: 0 0 .5rem;
}
.page-hero p { margin: 0; opacity: .8; max-width: 50ch; }

.detail-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 2rem;
}
.detail-side {
  background: #171717;
  border: 1px solid var(--line);
  padding: 1.5rem;
  height: fit-content;
}
.detail-side .price { margin: .5rem 0 1rem; }
.prose p { opacity: .8; line-height: 1.7; }

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2rem;
}
.contact-card {
  background: #171717;
  border: 1px solid var(--line);
  padding: 1.5rem;
}
.contact-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  margin: 0 0 1rem;
}
.contact-card p { margin: 0 0 .75rem; opacity: .8; }
.form-grid {
  display: grid;
  gap: 1rem;
}
.form-grid .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.alert {
  padding: .9rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.alert-success { border-color: rgba(120, 180, 120, .4); }
.alert-error { border-color: rgba(200, 100, 100, .45); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  background: #0a0a0a;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 {
  margin: 0 0 1rem;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 500;
}
.footer-grid a,
.footer-grid p {
  display: block;
  opacity: .72;
  margin: 0 0 .55rem;
  font-size: .9rem;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .78rem;
  opacity: .55;
}

/* Admin */
.admin-body { background: #f3f1ec; color: #1a1a1a; }
.admin-wrap { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side {
  background: #121212;
  color: #fff;
  padding: 1.5rem 1rem;
}
.admin-side .brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  padding: 0 .5rem;
}
.admin-side nav { display: grid; gap: .35rem; }
.admin-side a {
  padding: .7rem .75rem;
  border-radius: 6px;
  font-size: .9rem;
  opacity: .8;
}
.admin-side a:hover,
.admin-side a.active { background: rgba(255,255,255,.08); opacity: 1; }
.admin-main { padding: 1.5rem; }
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.admin-top h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.8rem;
  margin: 0;
}
.panel {
  background: #fff;
  border: 1px solid #e4dfd6;
  border-radius: 10px;
  padding: 1.25rem;
}
.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
  text-align: left;
  padding: .75rem .5rem;
  border-bottom: 1px solid #ece7de;
  font-size: .92rem;
  vertical-align: top;
}
.table th { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.badge {
  display: inline-block;
  padding: .2rem .5rem;
  border-radius: 999px;
  font-size: .72rem;
  background: #eee8dc;
}
.badge-yeni { background: #e8f0ff; }
.badge-onaylandi { background: #dff5e4; }
.badge-iptal { background: #f8e0e0; }
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
}
.login-box {
  width: min(400px, calc(100% - 2rem));
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,.12);
  padding: 2rem;
}
.login-box h1 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0 0 .35rem;
}
.login-box p { opacity: .65; margin: 0 0 1.5rem; }
.admin-form { display: grid; gap: 1rem; }
.admin-form label { display: grid; gap: .35rem; font-size: .85rem; }
.admin-form input,
.admin-form select,
.admin-form textarea {
  border: 1px solid #ddd4c6;
  background: #fff;
  color: #111;
  padding: .7rem .8rem;
  border-radius: 6px;
}
.login-box .admin-form input {
  background: #111;
  border-color: rgba(255,255,255,.2);
  color: #fff;
}
.actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.btn-sm { padding: .5rem .8rem; font-size: .68rem; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.stat {
  background: #fff;
  border: 1px solid #e4dfd6;
  border-radius: 10px;
  padding: 1rem 1.1rem;
}
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
}
.stat span { font-size: .8rem; opacity: .65; }

/* Blog */
.blog-article { max-width: 820px; }
.blog-cover {
  aspect-ratio: 16/9;
  margin-bottom: 1.75rem;
}
.blog-content h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  margin: 2rem 0 .75rem;
}
.blog-content h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 1.5rem 0 .55rem;
}
.blog-content p,
.blog-content li {
  opacity: .82;
  line-height: 1.75;
  font-size: 1.02rem;
}
.blog-content ul,
.blog-content ol {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}
.blog-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-content strong { opacity: 1; }

/* Contact + map + rating */
.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.contact-line {
  display: grid;
  gap: .2rem;
  margin: 0 0 1rem;
}
.contact-line span {
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .55;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.25rem;
}
.map-wrap {
  min-height: 320px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #171717;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(.15) contrast(1.05);
}
.rating-section {
  background: #efebe3;
  color: #1a1a1a;
}
.rating-panel {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2.5rem) 1.25rem;
  border: 1px solid rgba(26,26,26,.1);
  background: rgba(255,255,255,.55);
}
.rating-panel .eyebrow {
  color: #1a1a1a;
  opacity: .55;
  margin-bottom: .85rem;
}
.rating-panel h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin: 0 0 .65rem;
  letter-spacing: .02em;
}
.rating-lead {
  margin: 0 auto 1.75rem;
  max-width: 36ch;
  opacity: .68;
  font-size: .95rem;
  line-height: 1.55;
}
.rating-form .stars {
  display: flex;
  justify-content: center;
  gap: .45rem;
  margin: 0 0 .85rem;
}
.star-btn {
  background: transparent;
  border: 0;
  color: rgba(26,26,26,.18);
  font-size: 2.15rem;
  line-height: 1;
  cursor: pointer;
  padding: .15rem .2rem;
  transition: color .2s ease, transform .2s ease;
}
.star-btn.active,
.star-btn:hover { color: #9a8148; }
.star-btn:hover { transform: translateY(-1px); }
.rating-hint {
  margin: 0 0 .25rem;
  min-height: 1.35em;
  opacity: .55;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.low-feedback {
  margin-top: 1.75rem;
  text-align: left;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26,26,26,.1);
}
.low-feedback .field label {
  color: #1a1a1a;
  opacity: .55;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .62rem;
}
.low-feedback .field input,
.low-feedback .field textarea {
  border-bottom-color: rgba(0,0,0,.22);
  color: #1a1a1a;
}
.low-feedback .btn { margin-top: .35rem; }

/* Mobile quick contact — viewport’a sabit, kaymaz */
.quick-contact {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  width: 100%;
  margin: 0;
  background: #0c0c0c;
  border-top: 1px solid rgba(255,255,255,.14);
  padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom, 0px));
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
  box-sizing: border-box;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}
.qc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 48px;
  padding: .65rem .8rem;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.qc-wa { background: #1f6b4a; color: #fff; }
.qc-call { background: #fff; color: #111; }
.qc-ico { display: inline-flex; }

@media (max-width: 980px) {
  .nav-bar { display: none; }
  .booking-form,
  .offers-grid,
  .rooms-grid,
  .split,
  .detail-grid,
  .contact-grid,
  .contact-layout,
  .footer-grid,
  .stats,
  .admin-wrap { grid-template-columns: 1fr; }
  .hero-content { margin-bottom: 11rem; }
  .booking-form { padding-bottom: 1.25rem; }
  .header-top { width: calc(100% - 1.5rem); }
  .form-grid .row-2 { grid-template-columns: 1fr; }
  .admin-side { display: none; }
  .admin-main { padding: 1rem; }
  .map-wrap,
  .map-wrap iframe { min-height: 260px; }

  body.has-quick-contact {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }
  body.has-quick-contact .quick-contact {
    display: grid !important;
  }
  body.has-quick-contact .site-footer {
    padding-bottom: 1.25rem;
  }
  /* Ana sayfa rezervasyon barı, alt çubuğun üstünde kalsın */
  body.has-quick-contact .hero {
    min-height: calc(100svh - 4.75rem);
    min-height: calc(100dvh - 4.75rem);
  }
}

@media (max-width: 640px) {
  :root { --container: min(1280px, calc(100% - 1.5rem)); }
  .logo { font-size: 1.05rem; }
  .logo span { font-size: .55rem; }
  .header-actions .phone-hide { display: none; }
  .header-actions .btn { padding: .7rem .9rem; font-size: .64rem; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.8rem); max-width: 12ch; }
  .booking-form {
    grid-template-columns: 1fr;
    gap: .85rem;
  }
  .guest-row { flex-wrap: wrap; }
  .section { padding: 2.75rem 0; }
  .page-hero { padding: 7.5rem 0 2.5rem; }
  .star-btn { font-size: 2.1rem; }
  .offers-grid,
  .rooms-grid { gap: 1rem; }
  .contact-actions .btn { flex: 1 1 auto; }
}
