/* Dias Hotel — cephedeki antrasit balkon çerçeveleri, beyaz sıva ve lobideki sekizgen mermer desen üzerine kurulu tasarım sistemi */
:root {
  --ink: #2f2c2a;          /* antrasit cephe */
  --ink-2: #4a4643;
  --chalk: #f5f3ef;        /* beyaz sıva */
  --paper: #ffffff;
  --stone: #e6e2db;        /* mermer */
  --muted: #6b6560;
  --sea: #0d6672;          /* Ege */
  --sea-soft: #d6ecee;
  --oleander: #c43f62;     /* oleander çiçeği vurgusu */
  --wa: #128c4a;
  --radius: 4px;
  --header-h: 72px;
  --wrap: 1200px;
  --display: "Zilla Slab", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--chalk);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; }
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sea); margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; flex: none; background: currentColor; clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); }
.eyebrow-light { color: #9fd3d9; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.3rem; border-radius: var(--radius);
  font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0d7039; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(245, 243, 239, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--stone); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; background: var(--ink); flex: none;
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 9px; background: var(--chalk);
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
}
.brand-mark-light { background: var(--chalk); }
.brand-mark-light::after { background: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .06em; }
.brand-sub { font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }

.nav ul { list-style: none; display: flex; gap: 1.8rem; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; padding: .4rem 0; position: relative; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sea); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav ul a:hover::after, .nav ul a.active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.menu-toggle { display: none; }

/* Hero */
.hero { padding: clamp(2rem, 5vw, 4.5rem) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); margin-bottom: 1.4rem; }
.hero h1 em { font-style: normal; color: var(--sea); }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--ink-2); max-width: 36rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-media { margin: 0; position: relative; }
.hero-media::before {
  content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; background: var(--ink); z-index: 0;
}
.hero-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; object-position: 42% 50%; }

.facts {
  list-style: none; margin: clamp(3rem, 6vw, 5rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--stone);
}
.facts li { padding: 1.2rem 1.2rem 1.2rem 0; display: flex; flex-direction: column; gap: .2rem; }
.facts li + li { padding-left: 1.2rem; border-left: 1px solid var(--stone); }
.fact-k { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fact-v { font-family: var(--display); font-size: 1.3rem; font-weight: 600; }

/* Sections */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head h2, .about-copy h2, .booking-copy h2, .location-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.section-intro { margin-top: 1.2rem; font-size: 1.1rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.frame { margin: 0; border: 12px solid var(--paper); box-shadow: 0 1px 0 var(--stone), 0 30px 60px -30px rgba(47, 44, 42, .35); }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 70%; }
.about-copy h2 { margin-bottom: 1.4rem; }
.about-copy p { color: var(--ink-2); }
.about-points { margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.about-points div { border-top: 2px solid var(--ink); padding-top: .8rem; }
.about-points dt { font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.about-points dd { margin: .2rem 0 0; font-size: .92rem; color: var(--muted); }

/* Rooms — koyu antrasit blok, cephedeki balkon çerçevelerini anımsatır */
.rooms { background: var(--ink); color: var(--chalk); }
.rooms .section-intro { color: #cfc9c2; }
.room-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); }
.room-list li {
  display: grid; grid-template-columns: 4rem 1fr auto; align-items: baseline; gap: 1rem;
  padding: 1.4rem 0; border-bottom: 1px solid rgba(255,255,255,.18);
  transition: padding-left .25s, background-color .25s;
}
.room-list li:hover { padding-left: .8rem; background: rgba(255,255,255,.03); }
.room-no { font-family: var(--display); color: #9fd3d9; font-size: 1rem; }
.room-name { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; }
.room-fit { color: #cfc9c2; font-size: .95rem; text-align: right; }
.in-room {
  margin-top: 3rem; display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2rem;
  padding: 1.5rem 1.6rem; border: 2px solid rgba(255,255,255,.85);
}
.in-room h3 { font-size: 1.15rem; }
.in-room ul { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; }
.in-room li { padding: .4rem .9rem; background: rgba(255,255,255,.1); border-radius: 999px; font-size: .95rem; }
.rooms-cta { margin: 2rem 0 0; color: #cfc9c2; }
.rooms-cta a { color: #fff; font-weight: 600; text-underline-offset: 3px; }

/* Amenities */
.amenity-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--stone); border: 1px solid var(--stone); }
.amenity { background: var(--paper); padding: 1.8rem 1.6rem 2rem; }
.amenity svg { width: 36px; height: 36px; fill: none; stroke: var(--sea); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.1rem; }
.amenity h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.amenity p { margin: 0; color: var(--muted); font-size: .97rem; }
.amenity-feature { grid-row: span 2; background: var(--sea); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.amenity-feature svg { stroke: #fff; width: 52px; height: 52px; margin-bottom: auto; }
.amenity-feature h3 { font-size: 1.9rem; margin-top: 2rem; }
.amenity-feature p { color: #e1f1f2; }

/* Gallery */
.gallery { background: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: .9rem; }
.g-item { margin: 0; position: relative; overflow: hidden; background: var(--stone); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g-item:hover img { transform: scale(1.03); }
.g-tall { grid-row: span 2; }
.g-item figcaption {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 2.2rem 1rem .8rem;
  color: #fff; font-size: .92rem; font-weight: 500;
  background: linear-gradient(to top, rgba(20,18,17,.78), rgba(20,18,17,0));
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
}
.tag { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: .15rem .5rem; border: 1px solid rgba(255,255,255,.7); border-radius: 2px; }
.credit { margin-top: 1rem; font-size: .82rem; color: var(--muted); }

/* Booking */
.booking { background: var(--ink); color: var(--chalk); }
.booking-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.booking-copy h2 { margin-bottom: 1.4rem; }
.booking-copy p { color: #cfc9c2; }
.booking-alt a { color: #fff; font-weight: 600; }
.booking-form { background: var(--chalk); color: var(--ink); padding: clamp(1.4rem, 3vw, 2.2rem); border-top: 6px solid var(--sea); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; min-width: 0; }
.field label { font-weight: 600; font-size: .92rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid #bdb6ad; border-radius: var(--radius); padding: .7rem .8rem; min-height: 48px; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--sea); outline-offset: 1px; border-color: var(--sea); }
.field [aria-invalid="true"] { border-color: var(--oleander); }
.form-error { color: var(--oleander); font-weight: 600; font-size: .95rem; }
.form-hint { margin: .8rem 0 0; font-size: .85rem; color: var(--muted); text-align: center; }

/* Location */
.location-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.location-copy h2 { margin-bottom: 1.2rem; }
.location-copy > p { color: var(--ink-2); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0; border-top: 2px solid var(--ink); }
.contact-list li { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--stone); }
.c-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-top: .2rem; }
.contact-list a { font-weight: 600; text-underline-offset: 3px; }
.location-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.map-card { position: relative; aspect-ratio: 1; background: var(--stone); overflow: hidden; border: 12px solid var(--paper); box-shadow: 0 30px 60px -30px rgba(47,44,42,.35); }
.map-sea { position: absolute; inset: 0; background: var(--sea-soft); clip-path: polygon(0 0, 45% 0, 30% 25%, 38% 50%, 18% 75%, 0 82%); }
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-lines path { fill: none; stroke: #fff; stroke-width: 6; }
.map-pin { position: absolute; left: 58%; top: 52%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.pin-oct { width: 46px; height: 46px; background: var(--ink); clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); position: relative; }
.pin-oct::after { content: ""; position: absolute; inset: 14px; background: var(--oleander); clip-path: inherit; }
.pin-label { background: var(--ink); color: #fff; font-family: var(--display); font-weight: 600; padding: .3rem .7rem; font-size: 1rem; white-space: nowrap; }
.map-note { position: absolute; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.map-note-sea { left: 7%; top: 12%; color: var(--sea); }
.map-note-center { right: 6%; bottom: 7%; color: var(--ink-2); background: rgba(255,255,255,.8); padding: .25rem .5rem; }

/* Footer */
.site-footer { background: #1f1d1c; color: #d8d3cc; padding: 3.5rem 0 1.5rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-brand .brand-mark { background: var(--chalk); }
.footer-brand .brand-mark::after { background: #1f1d1c; }
.footer-name { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1.3rem; color: #fff; margin: 0; }
.footer-sub { margin: 0; font-size: .9rem; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; font-weight: 500; padding: .5rem 0; display: inline-block; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.4rem; font-size: .85rem; color: #a8a29a; }
.footer-bottom p { margin: 0; }

.mobile-bar { display: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

.room-list li.reveal { transition: opacity .7s ease, transform .7s ease, padding-left .25s, background-color .25s; }

/* Responsive */
@media (max-width: 1024px) {
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .amenity-feature { grid-row: span 1; grid-column: span 2; }
  .nav ul { gap: 1.2rem; }
}

@media (max-width: 880px) {
  :root { --header-h: 64px; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    background: transparent; border: 0; cursor: pointer; color: var(--ink);
  }
  .bars, .bars::before, .bars::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: transform .25s, background-color .25s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -7px; }
  .bars::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--chalk);
    border-bottom: 1px solid var(--stone); padding: .5rem 1.25rem 1.5rem;
    display: none; box-shadow: 0 20px 30px -20px rgba(0,0,0,.25);
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: .9rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--stone); }
  .nav ul a::after { display: none; }
  .nav-cta-mobile { display: flex; margin-top: 1.2rem; width: 100%; }

  .hero-grid, .about-grid, .booking-grid, .location-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; margin-right: 1rem; }
  .hero-media::before { inset: 1rem -1rem -1rem 1rem; }
  .hero-media img { aspect-ratio: 16 / 10; object-position: 45% 40%; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--stone); }
  .about-media { max-width: 520px; }
  .frame img { aspect-ratio: 4 / 3; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .map-card { max-width: 460px; width: 100%; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.6fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--ink); padding: .5rem; gap: .5rem; padding-bottom: calc(.5rem + env(safe-area-inset-bottom));
  }
  .mobile-bar a { min-height: 48px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; border-radius: var(--radius); color: #fff; }
  .mb-call { border: 1px solid rgba(255,255,255,.4); }
  .mb-wa { background: var(--wa); }
  body { padding-bottom: 72px; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .about-points { grid-template-columns: 1fr; }
  .room-list li { grid-template-columns: 2.6rem 1fr; }
  .room-fit { grid-column: 2; text-align: left; margin-top: -.6rem; }
  .amenity-grid { grid-template-columns: 1fr; }
  .amenity-feature { grid-column: span 1; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .g-tall { grid-row: span 1; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-list li { grid-template-columns: 1fr; gap: .2rem; }
  .location-actions .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
