/* The Temple Boutique Hotel · Kuşadası */
:root {
  --green: #1b8029;          /* logo green, a touch deeper for text contrast */
  --green-deep: #146b21;
  --forest: #10301a;
  --forest-2: #183f24;
  --ink: #1b2a1f;
  --muted: #4c5c50;
  --sage: #eaf0e3;
  --sage-2: #dfe8d6;
  --paper: #fbfcf8;
  --coral: #ff5a36;          /* neon sign */
  --amber: #f5a524;          /* layered shots */
  --teal: #2a7f86;           /* dartboard wall */
  --wa: #0f7a3f;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px -18px rgba(16, 48, 26, .35);
  --header-h: 76px;
  --f-head: "Young Serif", Georgia, serif;
  --f-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Caveat", "Segoe Print", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sage);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.hand { font-family: var(--f-hand); font-weight: 700; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; background: var(--forest); color: #fff; padding: .7rem 1rem; border-radius: 10px; z-index: 100; }
.skip:focus { top: 1rem; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-deep); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow-light { color: #9fe0a8; }
.eyebrow-neon { color: var(--coral); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem;
  font: 800 1rem/1.2 var(--f-body); text-decoration: none;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 56px; padding: .95rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 174, 91, .7); }
.btn-wa:hover { background: #0b6332; }
.hero .btn-wa { background: #ffe7a6; color: var(--forest); box-shadow: 0 12px 26px -12px rgba(0,0,0,.45); }
.hero .btn-wa:hover { background: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-deep); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--green-deep); }
.btn-outline { color: var(--green-deep); border-color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-neon { background: transparent; color: #fff; border-color: var(--coral); box-shadow: 0 0 22px -6px var(--coral), inset 0 0 14px -8px var(--coral); }
.btn-neon:hover { background: var(--coral); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 252, 248, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(16, 48, 26, .08);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 48px; height: 48px; border-radius: 14px; }
.brand-text { font-family: var(--f-head); font-size: 1.2rem; line-height: 1; color: var(--forest); }
.brand-text small { display: block; font-family: var(--f-body); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--green); margin-top: .3rem; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav ul { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  display: block; padding: .55rem .85rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; color: var(--forest);
}
.nav ul a:hover { background: var(--sage-2); }
.nav-cta { min-height: 44px; padding: .6rem 1.1rem; }
.menu-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  background: var(--green);
  color: #fff;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: auto -10% -45% auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 62%);
  z-index: -1;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 48px;
  background: var(--sage);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-kicker { font-size: clamp(1.45rem, 2.4vw, 1.85rem); color: #ffe7a6; margin-bottom: .6rem; transform: rotate(-2deg); transform-origin: left; }
.hero h1 { font-size: clamp(2.9rem, 6.8vw, 5.4rem); margin-bottom: 1.4rem; line-height: 1.02; }
.hero h1 span { color: #ffe7a6; font-style: italic; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); max-width: 34em; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.6rem; }
.rating {
  display: inline-flex; align-items: center; gap: .7rem; flex-wrap: wrap;
  padding: .55rem 1rem; border-radius: 999px;
  background: rgba(16, 48, 26, .28); text-decoration: none; font-size: .95rem;
}
.rating:hover { background: rgba(16, 48, 26, .45); }
.stars { color: var(--amber); letter-spacing: 2px; }
.stars .half { background: linear-gradient(90deg, var(--amber) 50%, rgba(255,255,255,.35) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-photos { position: relative; min-height: 540px; }
.polaroid {
  margin: 0; background: #fff; padding: 12px 12px 0; border-radius: 6px;
  box-shadow: var(--shadow); color: var(--ink);
}
.polaroid img { width: 100%; object-fit: cover; border-radius: 3px; }
.polaroid figcaption { text-align: center; font-size: 1.4rem; line-height: 1; padding: .7rem .3rem .85rem; color: var(--forest); }
.hero-photos .polaroid { position: absolute; transition: transform .4s ease; }
.hero-photos .p1 { width: 66%; left: 0; top: 4%; transform: rotate(-4deg); z-index: 2; }
.hero-photos .p1 img { aspect-ratio: 4/3; }
.hero-photos .p2 { width: 52%; right: 0; bottom: 0; transform: rotate(3deg); z-index: 3; }
.hero-photos .p2 img { aspect-ratio: 4/3; }
.hero-photos .p3 { width: 36%; right: 4%; top: 0; transform: rotate(5deg); z-index: 1; }
.hero-photos .p3 img { aspect-ratio: 3/4; object-position: center 45%; }
.hero-photos .polaroid:hover { transform: rotate(0) scale(1.03); z-index: 4; }

/* Ribbon */
.ribbon { background: var(--forest); color: #fff; overflow: hidden; padding: 1rem 0; transform: rotate(-1.2deg); margin: -1.6rem -1rem 0; position: relative; z-index: 2; }
.ribbon-track { display: flex; gap: 1.6rem; width: max-content; animation: marquee 32s linear infinite; font-family: var(--f-head); font-size: 1.45rem; align-items: center; }
.ribbon-track i { color: var(--amber); font-style: normal; font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* House */
.house-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.framed { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.framed img { width: 100%; height: 100%; object-fit: cover; }
.house-photo { border: 10px solid #fff; transform: rotate(-1.5deg); }
.house-photo img { aspect-ratio: 4/3; }
.pin {
  position: absolute; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--amber); color: var(--forest); font-weight: 800;
  border: 3px solid #fff; box-shadow: 0 6px 14px rgba(0,0,0,.3);
}
.pin-a { left: 30%; top: 14%; }
.pin-b { left: 47%; top: 50%; }
.pin-c { left: 75%; top: 63%; }
.floors { list-style: none; padding: 0; margin: 1.6rem 0 1.2rem; display: grid; gap: 1.2rem; }
.floors li { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: start; padding: 1.1rem 1.2rem; background: var(--paper); border-radius: var(--radius-sm); border: 1px solid rgba(16,48,26,.07); }
.floors .num { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-family: var(--f-head); font-size: 1.3rem; }
.floors h3 { font-size: 1.18rem; margin-bottom: .25rem; color: var(--forest); }
.floors p { margin: 0; color: var(--muted); }
.note-hand { font-size: 1.6rem; color: var(--green-deep); transform: rotate(-1.5deg); margin: 0; }

/* Rooms */
.rooms { background: var(--paper); border-radius: 48px 48px 0 0; }
.section-head { max-width: 760px; margin-bottom: 2.6rem; }
.rooms-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr; gap: 1.4rem; align-items: stretch; }
.room-main img { aspect-ratio: 4/3; }
.room-side img { aspect-ratio: 4/5; }
.room-main, .room-side { display: flex; flex-direction: column; }
.room-main img, .room-side img { flex: 1; min-height: 0; }
.framed figcaption { padding: .9rem 1.1rem; font-weight: 700; color: var(--forest); display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.tag { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--sage-2); color: var(--green-deep); padding: .3rem .65rem; border-radius: 999px; }
.room-card { background: var(--forest); color: #fff; border-radius: var(--radius); padding: 1.9rem 1.7rem; display: flex; flex-direction: column; }
.room-card h3 { font-size: 1.5rem; }
.room-card p { color: rgba(255,255,255,.82); font-size: .98rem; }
.room-card .btn { margin-top: auto; align-self: flex-start; }
.ticks { list-style: none; padding: 0; margin: .4rem 0 1.4rem; display: grid; gap: .55rem; }
.ticks li { display: flex; gap: .65rem; align-items: baseline; }
.ticks li::before { content: "✓"; color: var(--amber); font-weight: 800; }

/* Kitchen */
.kitchen { background: var(--forest); color: #fff; overflow: hidden; }
.kitchen-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.8rem; }
.kitchen-head h2 { margin: 0; }
.kitchen-head p { color: rgba(255,255,255,.8); margin: 0; }
.strip {
  display: flex; gap: 1.6rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 1.5rem max(1.25rem, calc((100vw - 1180px) / 2)) 2rem;
  scrollbar-width: thin; scrollbar-color: var(--green) transparent;
}
.strip:focus-visible { outline-offset: -6px; }
.strip .polaroid { flex: 0 0 clamp(230px, 24vw, 300px); scroll-snap-align: center; }
.strip .polaroid img { aspect-ratio: 4/5; }
.strip .polaroid figcaption { font-size: 1.55rem; }
.tilt-l { transform: rotate(-2deg); }
.tilt-r { transform: rotate(2deg); margin-top: 1.2rem; }
.strip-hint { text-align: center; font-family: var(--f-hand); font-size: 1.35rem; color: #9fe0a8; margin: 0; }

/* Nights */
.nights { background: #160c14; color: #fff; position: relative; overflow: hidden; }
.nights::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 15% 30%, rgba(255, 90, 54, .22), transparent 70%),
    radial-gradient(500px 380px at 90% 80%, rgba(28, 138, 44, .25), transparent 70%);
  pointer-events: none;
}
.nights-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.neon-frame { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 60px -10px rgba(255, 90, 54, .55); }
.neon-frame img { aspect-ratio: 4/5; object-fit: cover; object-position: center 42%; width: 100%; }
.nights h2 { text-shadow: 0 0 24px rgba(255, 90, 54, .45); }
.nights-copy > p { color: rgba(255,255,255,.82); max-width: 36em; }
.night-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0 2.2rem; }
.night-card { padding: 1.3rem 1.2rem; border-radius: var(--radius-sm); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.night-card svg { width: 30px; height: 30px; color: var(--amber); margin-bottom: .7rem; }
.night-card h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.night-card p { margin: 0; font-size: .95rem; color: rgba(255,255,255,.75); }
.terrace { position: relative; margin-top: clamp(3rem, 6vw, 5rem); margin-bottom: 0; }
.terrace img { width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: var(--radius); }
.terrace figcaption { position: absolute; left: 1.4rem; bottom: 1rem; font-size: 1.6rem; background: rgba(22, 12, 20, .72); padding: .2rem .9rem; border-radius: 10px; }

/* Location */
.loc-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.addr { font-style: normal; display: flex; gap: .8rem; align-items: flex-start; padding: 1.1rem 1.2rem; background: var(--paper); border-radius: var(--radius-sm); margin: 1.4rem 0; font-weight: 600; }
.addr svg { width: 24px; height: 24px; flex: none; color: var(--green); margin-top: .15rem; }
.loc-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.aerial { border: 10px solid #fff; transform: rotate(1.5deg); }
.aerial img { aspect-ratio: 16/10; }
.aerial figcaption { font-size: 1.35rem; padding: .6rem .4rem .2rem; text-align: center; display: block; font-weight: 700; }

/* Booking */
.booking { background: var(--green); color: #fff; border-radius: 48px 48px 0 0; }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.book-logo { width: 96px; height: 96px; border-radius: 24px; margin-bottom: 1.5rem; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.book-copy p { color: rgba(255,255,255,.9); max-width: 32em; }
.contact-list { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .6rem; }
.contact-list a { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 700; font-size: 1.1rem; padding: .35rem 0; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-list svg { width: 22px; height: 22px; }
.book-form { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.3rem); box-shadow: 0 30px 60px -25px rgba(0,0,0,.45); transform: rotate(.8deg); }
.form-title { font-size: 2rem; color: var(--green-deep); margin-bottom: .6rem; line-height: 1; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-weight: 700; font-size: .95rem; color: var(--forest); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .75rem .9rem; min-height: 48px;
  border: 2px solid #cfdac7; border-radius: 12px; background: #fff;
  transition: border-color .2s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(28,138,44,.2); }
.form-error { color: #b42318; font-weight: 700; margin: 0 0 1rem; }

/* Footer */
.site-footer { background: var(--forest); color: rgba(255,255,255,.85); padding: 3rem 0 2rem; }
.footer-inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-inner img { width: 72px; height: 72px; border-radius: 18px; }
.footer-inner p { margin: 0; }
.footer-name { font-family: var(--f-head); font-size: 1.35rem; color: #fff; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0 0 0 auto; padding: 0; }
.footer-links a { text-decoration: none; font-weight: 700; padding: .4rem 0; display: inline-block; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.demo-note { text-align: center; font-size: .8rem; color: rgba(255,255,255,.55); margin: 2.5rem 1rem 0; }

.mobile-bar { display: none; }

/* Reveal */
.reveal { opacity: 0; translate: 0 24px; transition: opacity .7s ease, translate .7s ease; }
.reveal.in { opacity: 1; translate: 0 0; }

/* Responsive */
@media (max-width: 1040px) {
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .room-card { grid-column: 1 / -1; }
  .night-cards { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .menu-toggle {
    display: grid; place-items: center; width: 48px; height: 48px;
    border: 0; border-radius: 14px; background: var(--sage-2); cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--forest); position: relative; transition: transform .25s ease, background .25s ease; }
  .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); }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem 1.25rem 1.5rem; background: var(--paper);
    border-bottom: 1px solid rgba(16,48,26,.1); box-shadow: 0 20px 30px -20px rgba(0,0,0,.25);
    display: none;
  }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: .85rem 1rem; font-size: 1.1rem; }

  .hero-grid, .house-grid, .loc-grid, .book-grid, .nights-grid, .kitchen-head { grid-template-columns: 1fr; }
  .hero-photos { min-height: 0; aspect-ratio: 1 / .92; max-width: 560px; width: 100%; margin-inline: auto; }
  .neon-frame { max-width: 420px; }
  .neon-frame img { aspect-ratio: 4/3; }
  .book-form { transform: none; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 72px; }
  .brand-text { font-size: 1.05rem; }
  .hero-actions .btn { width: 100%; }
  .hero-photos .p1 { width: 74%; }
  .hero-photos .p2 { width: 60%; }
  .hero-photos .p3 { width: 40%; right: 0; }
  .polaroid { padding: 8px 8px 0; }
  .polaroid figcaption { font-size: 1.15rem; padding: .5rem .2rem .6rem; }
  .rooms-grid { grid-template-columns: 1fr; }
  .room-side img { aspect-ratio: 4/3; }
  .night-cards { grid-template-columns: 1fr; }
  .terrace img { aspect-ratio: 4/3; }
  .terrace figcaption { font-size: 1.25rem; left: .8rem; bottom: .7rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .rooms, .booking { border-radius: 28px 28px 0 0; }
  .footer-links { margin-left: 0; }
  .loc-actions .btn { flex: 1 1 100%; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(251,252,248,.96); border-top: 1px solid rgba(16,48,26,.1);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px;
    border-radius: 999px; text-decoration: none; font-weight: 800;
    background: var(--forest); color: #fff;
  }
  .mobile-bar a.wa { background: var(--wa); }
  .mobile-bar svg { width: 20px; height: 20px; }
}

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