/*
Theme Name: TeaCow Hotel
Author: L.A.
Version: 0.1.0
*/

:root {
  --ink: #183229;
  --ink-soft: #50655d;
  --cream: #f5f1e8;
  --paper: #fffdf7;
  --sage: #b8cbb7;
  --deep: #244a3d;
  --coral: #ee835f;
  --line: rgba(24, 50, 41, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1240px, 92vw);
  min-height: 88px;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(255,255,255,.28);
  color: white;
}
.logo { display: flex; align-items: center; gap: 11px; }
.logo span { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.58); border-radius: 50%; font-family: Georgia, serif; font-size: 21px; }
.logo strong { font-family: Georgia, serif; font-size: 19px; font-weight: 500; }
.site-header nav { display: flex; gap: 28px; font-size: 14px; }
.site-header nav a { opacity: .82; }
.site-header nav a:hover { opacity: 1; }
.header-phone { justify-self: end; font-size: 14px; font-weight: 700; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 760px;
  overflow: hidden;
  color: white;
  background: linear-gradient(120deg, #1c4539 0%, #315f4f 52%, #6e8e7d 100%);
}
.hero-glow { position: absolute; width: 640px; height: 640px; left: -260px; top: 160px; border-radius: 50%; background: rgba(238,131,95,.22); filter: blur(10px); }
.hero-content { z-index: 1; align-self: center; width: min(590px, 80%); margin: 90px auto 0; }
.kicker { margin: 0 0 18px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(64px, 7.5vw, 116px); font-weight: 400; line-height: .86; letter-spacing: -.055em; }
.hero-copy { max-width: 520px; margin: 34px 0 0; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 52px; padding: 0 24px; align-items: center; justify-content: center; border: 0; border-radius: 999px; font: inherit; font-weight: 800; cursor: pointer; }
.button-primary { color: #23382f; background: #f3c376; }
.button-ghost { border: 1px solid rgba(255,255,255,.36); color: white; background: rgba(255,255,255,.06); }
.hero-card { position: relative; min-height: 760px; overflow: hidden; background: linear-gradient(#b8d2cd 0 42%, #e9c88f 43% 58%, #79a7a1 59%); }
.sun { position: absolute; top: 155px; right: 15%; width: 140px; height: 140px; border-radius: 50%; background: #f6d79f; box-shadow: 0 0 90px rgba(246,215,159,.7); }
.coast { position: absolute; right: -5%; width: 88%; border-radius: 58% 0 0 0; transform: rotate(-7deg); transform-origin: right bottom; }
.coast-back { bottom: 210px; height: 250px; background: #6d8875; }
.coast-front { bottom: 135px; height: 220px; background: #405f50; clip-path: polygon(0 38%, 21% 17%, 45% 32%, 68% 0, 100% 17%, 100% 100%, 0 100%); }
.water-lines { position: absolute; right: 0; bottom: 0; width: 100%; height: 230px; opacity: .45; background: repeating-linear-gradient(176deg, transparent 0 18px, rgba(255,255,255,.32) 19px 21px); }
.hero-note { position: absolute; right: 40px; bottom: 38px; display: grid; gap: 3px; padding: 16px 20px; border: 1px solid rgba(255,255,255,.38); border-radius: 18px; background: rgba(19,55,46,.52); backdrop-filter: blur(12px); }
.hero-note span { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.hero-note strong { font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.facts { display: grid; grid-template-columns: repeat(4,1fr); width: min(1180px, 92vw); margin: -36px auto 0; position: relative; z-index: 2; border-radius: 22px; background: var(--paper); box-shadow: 0 18px 50px rgba(28,57,47,.1); }
.facts div { display: grid; gap: 5px; padding: 28px 30px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts strong { font-family: Georgia, serif; font-size: 32px; font-weight: 400; }
.facts span { color: var(--ink-soft); font-size: 13px; }
.section { width: min(1180px, 92vw); margin: 0 auto; padding: 120px 0 20px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 38px; }
.section-heading h2, .booking h2 { max-width: 720px; margin: 0; font-family: Georgia, serif; font-size: clamp(44px, 5vw, 72px); font-weight: 400; line-height: .98; letter-spacing: -.04em; }
.section-heading > p { max-width: 430px; margin: 0; color: var(--ink-soft); line-height: 1.7; }
.room-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.room-card { overflow: hidden; border-radius: 24px; background: var(--paper); }
.room-visual { position: relative; height: 260px; overflow: hidden; background: linear-gradient(150deg,#ded6c7,#9eb6a7); }
.room-card-2 .room-visual { background: linear-gradient(150deg,#afc5c5,#4f7566); }
.room-card-3 .room-visual { background: linear-gradient(150deg,#e6bc8e,#bd795f); }
.room-visual::before { position: absolute; inset: 28px 25px 0; content: ""; border-radius: 150px 150px 0 0; background: linear-gradient(160deg,rgba(255,255,255,.8),rgba(255,255,255,.13)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.room-visual::after { position: absolute; right: 12%; bottom: 0; width: 52%; height: 42%; content: ""; border-radius: 45% 45% 0 0; background: rgba(33,63,52,.56); }
.room-visual span { position: absolute; z-index: 1; top: 20px; left: 22px; color: white; font-family: Georgia, serif; font-size: 21px; }
.room-content { display: grid; min-height: 230px; padding: 24px; align-content: space-between; }
.room-content h3 { margin: 0 0 10px; font-family: Georgia, serif; font-size: 27px; font-weight: 400; }
.room-content p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.room-meta { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 17px; border-top: 1px solid var(--line); }
.room-meta span { color: var(--ink-soft); font-size: 12px; }
.room-meta strong { font-size: 16px; }
.features { padding-bottom: 120px; }
.feature-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid article { padding: 30px 24px 34px; }
.feature-grid article + article { border-left: 1px solid var(--line); }
.feature-grid span { color: var(--coral); font-size: 12px; font-weight: 800; }
.feature-grid h3 { margin: 48px 0 10px; font-family: Georgia, serif; font-size: 24px; font-weight: 400; }
.feature-grid p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.booking { display: grid; grid-template-columns: 1fr 460px; gap: 70px; width: min(1240px, 94vw); margin: 0 auto 28px; padding: 80px; border-radius: 34px; color: white; background: var(--deep); }
.booking > div > p:last-child { max-width: 560px; color: rgba(255,255,255,.68); line-height: 1.7; }
.booking form { display: grid; gap: 14px; padding: 28px; border-radius: 24px; color: var(--ink); background: var(--paper); }
.booking label { display: grid; gap: 7px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.booking input { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: white; font: inherit; }
.date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.booking small { color: var(--ink-soft); font-size: 10px; text-align: center; }
.form-success { margin: 0; padding: 12px; border-radius: 10px; color: #235737; background: #dff2df; font-size: 13px; }
footer { display: flex; justify-content: space-between; width: min(1180px,92vw); margin: 0 auto; padding: 34px 0 48px; color: var(--ink-soft); font-size: 13px; }
footer strong { color: var(--ink); font-family: Georgia, serif; font-size: 18px; font-weight: 400; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-content { min-height: 670px; padding-top: 80px; }
  .hero-card { min-height: 480px; }
  .facts, .room-grid { grid-template-columns: repeat(2,1fr); }
  .facts div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .facts div:nth-child(4) { border-top: 1px solid var(--line); }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .feature-grid article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .feature-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .booking { grid-template-columns: 1fr; padding: 54px; }
}

@media (max-width: 620px) {
  .site-header { min-height: 72px; }
  .header-phone { font-size: 12px; }
  .hero-content { width: 88%; min-height: 620px; }
  .hero h1 { font-size: 58px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-card { min-height: 380px; }
  .facts, .room-grid, .feature-grid { grid-template-columns: 1fr; }
  .facts div + div, .facts div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding-top: 82px; }
  .section-heading { align-items: start; flex-direction: column; }
  .feature-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .booking { width: 100%; margin-bottom: 0; padding: 42px 22px; border-radius: 0; }
  .date-row { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; gap: 12px; }
}
