/* Hotel Pop Alaçatı: lean and sleek (Founder 2026-10-08). Limestone, navy, the yellow of the POP sign.
   Lora for the voice, Poppins for everything else. The Cloudbeds engine is the page's main actor. */
:root {
  --limestone: #F4EFE5;
  --stone: #E9E1D2;
  --navy: #1E2B4A;
  --navy-soft: #4A5570;
  --yellow: #FFC21A;
  --terracotta: #B96F52;
  --terracotta-text: #96502F;   /* small coloured labels: darker, for contrast */
  --white: #FFFFFF;
  --serif: "Lora", Georgia, serif;
  --sans: "Poppins", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--limestone); color: var(--navy); font: 400 17px/1.65 var(--sans); }
@media (min-width: 900px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 6.2vw, 80px); }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.kicker { font: 500 13px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--terracotta-text); margin-bottom: 14px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); }
.link { font-weight: 500; text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.small { font-size: 13px; opacity: .7; }

/* Buttons: yellow is kept for booking only */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px;
  background: var(--yellow); color: var(--navy); border: 0; border-radius: 999px; font: 600 16px var(--sans);
  text-decoration: none; box-shadow: 3px 3px 0 var(--navy); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--navy); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--navy); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 12px var(--gutter);
  background: rgba(244, 239, 229, .94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(30, 43, 74, .08); }
.brand svg { display: block; width: 150px; height: auto; overflow: visible; }
.menu { display: none; gap: 26px; margin-left: auto; }
.menu a, .lang a { text-decoration: none; font-size: 15px; font-weight: 500; }
.menu a:hover { color: var(--terracotta); }
.lang { display: flex; gap: 10px; margin-left: auto; }
.lang a { font-size: 13px; letter-spacing: .08em; opacity: .7; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
.lang a[aria-current] { opacity: 1; border-bottom: 2px solid var(--yellow); }
.top .btn-book { display: none; min-height: 42px; padding: 0 20px; font-size: 15px; }
@media (min-width: 900px) { .menu { display: flex; } .lang { margin-left: 0; } .top .btn-book { display: inline-flex; } }
/* Phones: the menu as a second row under the logo, so the guide and the questions are one tap away */
@media (max-width: 899px) {
  .top { flex-wrap: wrap; row-gap: 6px; padding-bottom: 8px; }
  .menu { display: flex; order: 3; width: 100%; gap: 20px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .menu a { font-size: 14px; padding: 4px 0; }
}

/* Hero */
.hero { position: relative; min-height: min(70vh, 700px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 28, 48, .72) 0%, rgba(20, 28, 48, .35) 55%, rgba(20, 28, 48, 0) 80%),
  linear-gradient(180deg, rgba(20, 28, 48, 0) 40%, rgba(20, 28, 48, .55) 100%); }
.hero-text { position: relative; width: 100%; padding-bottom: 64px; }
.hero .kicker { color: var(--white); opacity: .9; }
.hero h1 { max-width: 12em; }
.hero .lead { max-width: 30em; }

/* The Cloudbeds booking engine */
.engine { background: var(--white); padding: 56px 0 40px; border-top: 6px solid var(--yellow); }
.engine-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 24px; }
.engine-head h2 { margin: 0; }
.engine-head p { margin: 0; color: var(--navy-soft); }
.engine-frame cb-immersive-experience { display: block; min-height: 640px; }
.engine-alt { margin: 14px auto 0; font-size: 14px; text-align: right; }
.engine-alt a { color: var(--navy-soft); }

/* Alaçatı today: weather, wind, on-duty pharmacy (with drawings: the sky, a compass, the pharmacy "E") */
.today { padding-top: 44px; }
.today-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 16px; }
.today-head h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 0; }
.t-date { color: var(--navy-soft); font-size: 15px; }
.today-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .today-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .today-grid { grid-template-columns: 1fr 1fr 1fr 1.2fr; } }
.t-card { display: flex; align-items: center; gap: 18px; border-radius: 18px; padding: 20px 22px;
  border: 1px solid rgba(30, 43, 74, .08); box-shadow: 0 1px 0 rgba(30, 43, 74, .04); }
.t-card > div:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.t-weather { background: linear-gradient(135deg, #FFF6D6, #FFFFFF 70%); }
.t-windcard { background: linear-gradient(135deg, #E3EEF4, #FFFFFF 70%); }
.t-pharmacy { background: linear-gradient(135deg, #F8E7E1, #FFFFFF 70%); }
.t-seacard { background: linear-gradient(135deg, #DCEFEA, #FFFFFF 70%); }
.t-icon, .t-compass, .t-eczane, .t-sea { flex: 0 0 64px; width: 64px; height: 64px; }
.t-icon svg { width: 64px; height: 64px; display: block; }
.t-arrow { transform-origin: 32px 32px; transform-box: view-box; opacity: .25; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1), opacity .6s; }
.t-label { font: 500 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-text); }
.t-temp, .t-wind, .t-water { font: 400 30px/1.15 var(--serif); }
.t-sky, .t-gust, .t-sunset { color: var(--navy-soft); font-size: 14px; }
.t-card a { font-size: 15px; }
.t-112 { font-weight: 600; text-decoration: none; color: #C8102E; }

/* Story: one short paragraph */
.story { max-width: 820px; text-align: center; padding-top: clamp(80px, 10vw, 130px); padding-bottom: 56px; }

/* Moments: four photos, one line each */
.moments { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 10px; }
@media (min-width: 900px) { .moments { grid-template-columns: repeat(4, 1fr); } }
.moment { margin: 0; position: relative; overflow: hidden; border-radius: 12px; }
.moment img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .8s ease; }
.moment:hover img { transform: scale(1.03); }
.moment figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: var(--white); font-size: 15px; font-weight: 500;
  background: linear-gradient(180deg, rgba(20, 28, 48, 0), rgba(20, 28, 48, .6)); }

/* Visit: where, times, questions */
.visit { display: grid; gap: 48px; padding-top: clamp(80px, 9vw, 120px); padding-bottom: clamp(80px, 9vw, 120px); }
@media (min-width: 900px) { .visit { grid-template-columns: 1.2fr 1fr; } }
.address { font-weight: 500; }
.times { display: grid; gap: 6px; margin: 28px 0 0; max-width: 360px; }
.times div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--stone); padding-bottom: 6px; }
.times dt { color: var(--navy-soft); }
.times dd { margin: 0; font-weight: 500; }
.faq-teaser { background: var(--white); border-radius: 14px; padding: 28px; align-self: start; }
.faq-teaser ul { list-style: none; padding: 0; margin: 0 0 20px; }
.faq-teaser li { border-bottom: 1px solid var(--stone); }
.faq-teaser li a { display: block; padding: 10px 0; text-decoration: none; }
.faq-teaser li a:hover { color: var(--terracotta); }

/* Story page */
.story-page { padding-top: clamp(56px, 8vw, 100px); padding-bottom: clamp(56px, 8vw, 100px); }
.story-page p:not(.kicker) { font-size: clamp(17px, 1.4vw, 19px); }
.story-pic { margin: 36px 0; }
.story-pic img { width: 100%; border-radius: 14px; aspect-ratio: 3 / 2; object-fit: cover; }

/* Question pages */
.faq { padding-top: clamp(56px, 8vw, 100px); padding-bottom: clamp(56px, 8vw, 100px); }
.faq details { border-bottom: 1px solid var(--stone); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h2 { font-size: 24px; margin: 0; }
.faq details p { margin: 10px 0 0; color: var(--navy-soft); }
.faq-book { margin-top: 40px; }

/* Footer */
.foot { background: var(--navy); color: var(--limestone); padding: 56px 0 28px; font-size: 15px; }
.foot-grid { display: grid; gap: 28px; align-items: center; margin-bottom: 28px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: auto 1fr auto; gap: 48px; } }
.foot-logo { width: 130px; }
.foot p { margin: 0 0 .4em; }
.foot a { text-decoration: none; }
.foot-lang a { opacity: .6; }

/* Floating book button on phones */
.btn-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; }
@media (min-width: 900px) { .btn-float { display: none; } }
.btn-float { transition: opacity .3s, transform .3s; }
.btn-float.float-off { opacity: 0; transform: translateY(16px); pointer-events: none; }

/* Journal */
.journal { padding-top: clamp(56px, 8vw, 100px); padding-bottom: clamp(56px, 8vw, 100px); }
.journal .lead { max-width: 36em; margin-bottom: 40px; }
.post-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: block; text-decoration: none; background: var(--white); border-radius: 14px; overflow: hidden; padding-bottom: 22px; }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 18px; transition: transform .8s ease; }
.post-card:hover img { transform: scale(1.03); }
.post-card .post-date, .post-card h3, .post-card p { padding: 0 22px; }
.post-date { display: block; font-size: 13px; color: var(--navy-soft); margin-bottom: 6px; }
.post-card p { color: var(--navy-soft); margin: 0; }
.post-card.no-pic { padding-top: 22px; border-top: 6px solid var(--yellow); }
.guide-cat { font-size: clamp(22px, 2.4vw, 30px); margin: 48px 0 18px; }
.places { margin-top: 32px; }
.places h2 { font-size: 24px; }
.places ul { padding-left: 18px; }
.places li { margin-bottom: 10px; }
.places ul:has(.place-pic) { list-style: none; padding: 0; display: grid; gap: 22px; }
@media (min-width: 800px) { .places ul:has(.place-pic) { grid-template-columns: 1fr 1fr; } }
.place-pic { margin: 0 0 10px; }
.place-pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
figcaption { font-size: 12px; color: var(--navy-soft); margin-top: 4px; }
figcaption a { color: inherit; }
.wind { margin-top: 36px; padding: 22px; background: var(--white); border-radius: 14px; border-top: 6px solid var(--yellow); }
.wind h2 { font-size: 24px; }
.wind-frame iframe { width: 100%; height: 420px; border: 0; border-radius: 10px; display: block; }
.contact { font-size: 14px; color: var(--navy-soft); white-space: nowrap; }
.contact a { color: inherit; }
.maplink { font-size: 14px; white-space: nowrap; color: var(--navy-soft); }
.draft { display: inline-block; background: var(--terracotta); color: var(--white); font-size: 11px; letter-spacing: .1em; padding: 1px 8px; border-radius: 999px; }
.post { padding-top: clamp(56px, 8vw, 100px); padding-bottom: clamp(56px, 8vw, 100px); }
.post .kicker a { text-decoration: none; }
.post p:not(.kicker):not(.faq-book) { font-size: clamp(17px, 1.4vw, 19px); }
.sources { margin-top: 40px; border-top: 1px solid var(--stone); padding-top: 18px; font-size: 14px; color: var(--navy-soft); }
.sources h2 { font: 500 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.sources ul { margin: 0; padding-left: 18px; }
.post-back { margin-left: 22px; }

/* Opening (home page, once per visit): the header logo shows large over the hero, its letters fall into place,
   do one Mexico wave, and the logo settles into the header. No other animation on the logo. */
.brand svg { transform-origin: 0 25%; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.intro-on .brand svg { transform: scale(2.1); }
.brand .l { transform-box: fill-box; transform-origin: 50% 100%; }
.intro-on .brand .l { animation: pop-fall .7s cubic-bezier(.25, 1.5, .5, 1) calc(var(--i) * 110ms) both,
  pop-wave .55s ease-in-out calc(1.3s + var(--i) * 90ms) 1; }
@keyframes pop-fall { from { transform: translateY(-70px) rotate(-10deg); opacity: 0; } 50% { opacity: 1; } }
@keyframes pop-wave { 0%, 100% { transform: none; } 45% { transform: translateY(-9px) scale(1.06); } }

/* The Rezervasyon button reminds itself after a few idle seconds */
.nudge .btn-book, .nudge .btn-float { animation: nudge 2.4s ease-in-out 1; }
@keyframes nudge { 0%, 55%, 100% { transform: none; } 62% { transform: translateY(-5px) rotate(-3deg); }
  70% { transform: translateY(0) rotate(3deg); } 78% { transform: translateY(-3px) rotate(-1.5deg); } 86% { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; animation: none !important; }
}

/* Phones: room under the footer for the floating Rezervasyon button (after .foot, so it wins) */
@media (max-width: 899px) { .foot { padding-bottom: 96px; } }

/* Codex UX review 2026-10-09 */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--navy); color: var(--white); padding: 10px 16px;
  border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.foot a:focus-visible { outline-color: var(--yellow); }
.hero-cta { margin: 26px 0 0; }
.engine-newtab { white-space: nowrap; font-size: 14px; margin-left: 10px; color: var(--navy-soft); }
.engine-alt { display: none; }
.post h1 { font-size: clamp(34px, 4.4vw, 54px); }
.places li.no-pic { background: var(--white); border-radius: 12px; padding: 18px 20px; border-top: 4px solid var(--yellow); align-self: start; }
.places ul:has(.place-pic) { align-items: start; }
.sources a { color: inherit; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::after { content: "+"; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--navy);
  display: inline-flex; align-items: center; justify-content: center; font: 500 20px/1 var(--sans); }
.faq details[open] summary::after { content: "−"; }
.faq details p a { color: var(--navy); }
.btn-quiet { background: var(--white); box-shadow: 3px 3px 0 var(--navy-soft); border: 2px solid var(--navy); }

/* Our rooms: one card per room type (details and prices stay in the booking engine) */
.rooms { padding-top: clamp(40px, 6vw, 72px); }
.rooms h1 { font-size: clamp(34px, 4.4vw, 54px); margin-bottom: 8px; }
.rooms .lead { margin-bottom: 28px; }
.rooms-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 22px; }
.rooms-head h2 { margin: 0; }
.rooms-head p { margin: 0; color: var(--navy-soft); }
.room-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .room-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .room-grid { grid-template-columns: repeat(4, 1fr); } }
.room-card { display: flex; flex-direction: column; background: var(--white); border-radius: 14px; overflow: hidden; text-decoration: none;
  padding-bottom: 18px; transition: transform .2s ease, box-shadow .2s ease; }
.room-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(30, 43, 74, .10); }
.room-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 14px; }
.room-card .room-meta, .room-card h3, .room-card p, .room-card .room-cta { padding: 0 18px; }
.room-meta { font-size: 13px; color: var(--navy-soft); letter-spacing: .02em; }
.room-card h3 { font-size: 20px; margin: 6px 0 6px; }
.room-card p { color: var(--navy-soft); font-size: 15px; margin: 0 0 12px; flex: 1; }
.room-cta { font-weight: 500; font-size: 15px; }

/* Ratings by the booking area: our own strip (no third-party widgets) */
.ratings { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.rating { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; text-decoration: none;
  background: var(--limestone); border: 1px solid rgba(30, 43, 74, .1); }
.rating:hover { border-color: var(--navy); }
.rating .stars { width: 92px; height: 18px; flex: 0 0 auto; }
.rating strong { font: 500 18px/1 var(--sans); }
.rating-where { font-size: 14px; color: var(--navy-soft); }
.rating-more { font-size: 13px; color: var(--navy-soft); text-decoration: underline; }
@media (max-width: 599px) { .rating { width: 100%; } .rating-more { display: none; } .rating-where { white-space: nowrap; } }

/* The hotel's playlist (Spotify, loads on request) */
.music { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border-radius: 18px; padding: 22px;
  margin-top: 8px; margin-bottom: 56px; border: 1px solid rgba(30, 43, 74, .08); }
.music-icon { flex: 0 0 56px; width: 56px; height: 56px; }
.music-text { flex: 1; min-width: 0; }
.music h3 { margin: 0 0 4px; }
.music p { margin: 0 0 10px; color: var(--navy-soft); }
.music-link { font-size: 14px; color: var(--navy-soft); margin-left: 10px; }
.music-frame iframe { width: 100%; height: 352px; border: 0; border-radius: 12px; display: block; margin-top: 8px; }

/* The map on tap (home, location) */
.mapbox { margin: 4px 0 18px; }
.map-frame iframe { width: 100%; height: 320px; border: 0; border-radius: 14px; display: block; }

/* The language suggestion (the browser speaks another of our languages) */
.lang-hint { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding: 8px 48px 8px 16px;
  background: var(--navy); color: var(--white); font-size: 14px; position: relative; }
.lang-hint[hidden] { display: none; }
.lang-hint a { color: var(--yellow); font-weight: 500; }
.lang-hint button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0;
  color: var(--white); font-size: 22px; line-height: 1; width: 40px; height: 40px; cursor: pointer; }
