/* ESTIA Luxury Residence, Chania — static site stylesheet
   Palette and type carried over from the original Volver/Volver Child WordPress theme. */

:root {
  --navy: #074360;
  --orange: #d07913;
  --ink: #34383a;
  --paper: #ffffff;
  --paper-soft: #f7f5f2;
  --line: #e4e0d8;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 .5em;
  line-height: 1.2;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: .06em; }
.eyebrow {
  font-family: var(--sans);
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: .6em;
  display: block;
}
p { margin: 0 0 1.1em; }
.lede { font-size: 1.2rem; color: var(--navy); }

.button {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--navy);
  color: #fff;
  padding: .85em 1.8em;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background .2s ease;
}
.button:hover { background: var(--orange); color: #fff; }
.button-outline { background: transparent; border: 1px solid var(--navy); color: var(--navy); }
.button-outline:hover { background: var(--navy); color: #fff; }
.button-small { padding: .5em 1.2em; font-size: .75rem; }

/* Header */
.site-header { background: #fff; }
.top-bar { background: #f2f1ef; color: #2c2c2c; font-family: var(--serif); }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; padding: 18px 40px; }
.top-bar-phone {
  font-variant: small-caps;
  letter-spacing: .06em;
  font-size: 1.05rem;
  color: #2c2c2c;
}
.top-bar a { color: inherit; }
.top-bar-phone a { font-variant: normal; color: var(--navy); font-weight: 600; }
.top-bar .button {
  background: #fff;
  color: var(--navy);
  border: 1px solid #ddd9d1;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  font-family: var(--sans);
  letter-spacing: .1em;
  padding: .95em 1.9em;
}
.top-bar .button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.logo-row { display: flex; justify-content: center; padding: 28px 24px 18px; }
.site-logo { display: flex; flex-direction: column; align-items: center; text-align: center; }
.site-logo img { border-radius: 0; }
.nav-row {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.main-header-inner {
  display: flex; flex-direction: column; align-items: center;
  padding: 14px 24px; position: relative;
}
.main-nav ul { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; margin: 0; padding: 0; font-family: var(--sans); }
.main-nav a { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; color: #a3a6a5; padding: 6px 0; border-bottom: 1px solid transparent; }
.main-nav a:hover, .main-nav a.current { color: var(--navy); border-bottom-color: var(--navy); }
.nav-toggle, .nav-toggle-label { display: none; }

@media (max-width: 880px) {
  .main-header-inner { align-items: center; }
  .nav-toggle-label {
    display: flex; flex-direction: column; gap: 5px; cursor: pointer; z-index: 20;
    position: absolute; right: 24px; top: 14px;
  }
  .nav-toggle-label span { width: 26px; height: 2px; background: var(--navy); display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,.08);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 18px; }
  .main-nav li { border-top: 1px solid var(--line); }
  .main-nav a { display: block; padding: 12px 0; }
  .nav-toggle:checked ~ .main-nav { max-height: 400px; }
  .top-bar-inner { flex-direction: column; gap: 6px; align-items: flex-start; }
}

/* Hero: 2-up auto-rotating slideshow (1-up on narrow screens), matching the
   original site's owl-carousel two-cols-layout behavior — inset in the page's
   normal wrap, bordered boxes with a gap, caption overlaid across the seam. */
.hero { padding: 48px 40px 0; }
.hero-inner { position: relative; max-width: 1100px; margin: 0 auto; }
.hero-viewport { overflow: hidden; }
.hero-track {
  display: flex; gap: 8px;
}
.hero-slide {
  flex: 0 0 auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}
.hero-caption {
  position: absolute;
  left: 50%; top: 58%; transform: translate(-50%, -50%);
  background: rgba(255,255,255,.94);
  padding: 22px 36px;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
  text-align: center;
  max-width: 90%;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.hero-caption strong { font-weight: 600; }
@media (max-width: 560px) {
  .hero-caption { font-size: .95rem; padding: 16px 20px; }
}
.hero-track-noscript { overflow-x: auto; display: flex; gap: 10px; margin-top: 20px; }
.hero-track-noscript img { flex: 0 0 60%; max-width: 640px; aspect-ratio: 2 / 3; object-fit: cover; }

/* Sections */
.section { padding: 64px 0; }
.section-soft { background: var(--paper-soft); }
.section-center { text-align: center; max-width: 760px; margin: 0 auto; }

.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px;
  text-align: center; margin-top: 8px;
}
.feature-grid p { color: var(--navy); }

.section-divider { border: none; border-top: 1px solid var(--line); margin: 0 0 56px; }

.mini-gallery-section { padding-bottom: 64px; }
.mini-gallery-viewport { overflow: hidden; }
.mini-gallery { display: flex; gap: 6px; }
.mini-slide { flex: 0 0 auto; aspect-ratio: 390/400; object-fit: cover; }

.map-section { padding: 0; background: #ece7e0; }
.map-embed { line-height: 0; }
.map-embed iframe { display: block; }

.room-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch;
  background: #fff; border-radius: 4px; overflow: hidden;
  max-width: 900px; margin: 20px auto 48px;
}
.room-card img { width: 100%; height: 100%; object-fit: cover; }
.room-card-body {
  padding: 80px 48px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.room-card-body h3 {
  font-family: var(--serif); text-transform: uppercase; letter-spacing: .06em;
  font-size: 1.3rem; margin-bottom: .3em;
}
.room-card-body .eyebrow { margin-bottom: .9em; }
.room-card ul {
  list-style: none; margin: 0 0 1.2em; padding: 0;
  font-family: var(--serif); font-size: 1.05rem; color: var(--ink);
}
.room-card li { padding: 4px 0; }
.room-card li strong { color: var(--navy); }
.room-card-divider { width: 100%; max-width: 280px; border: none; border-top: 1px solid var(--line); margin: 0 0 1.4em; }
.button-muted { background: #e8e7e7; color: var(--navy); }
.button-muted:hover { background: var(--navy); color: #fff; }
@media (max-width: 640px) {
  .room-card { grid-template-columns: 1fr; }
  .room-card-body { padding: 32px 24px; }
}

/* Gallery page */
.photo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px;
}
.photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; }
.gallery-group { margin-bottom: 12px; }
.gallery-group h3 { margin-bottom: 16px; }

/* Content pages */
.content-page .wrap { max-width: 820px; }
.content-page h2 { margin-top: 1.4em; }
.content-page .lede { margin-bottom: 1.4em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-details { font-family: var(--sans); }
.contact-details a { color: var(--navy); font-weight: 600; }
form.contact-form { display: grid; gap: 16px; font-family: var(--sans); }
.contact-form label { display: block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); margin-bottom: 6px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 2px;
  font-family: var(--sans); font-size: .95rem; background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--navy); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: .85rem; color: #6b6f70; margin-top: -6px; }

/* Directions / info blocks */
.info-block { border-left: 3px solid var(--orange); padding-left: 20px; margin-bottom: 36px; }

/* Footer */
.site-footer { background: #fff; color: var(--ink); padding-top: 96px; }
.footer-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 20px; padding-bottom: 64px; font-family: var(--serif); font-size: 1.05rem;
}
.footer-logo { margin-bottom: 10px; }
.footer-name { color: var(--ink); font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.footer-tagline, .footer-address, .footer-phone { margin: 0; color: var(--ink); }
.footer-phone a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.footer-nav-wrap { background: #f2f1ef; }
.footer-nav { padding: 20px 0; }
.footer-nav ul {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 0; font-family: var(--sans); font-size: .8rem;
  text-transform: uppercase; letter-spacing: .07em; font-weight: 500;
}
.footer-nav li { display: flex; align-items: center; }
.footer-nav li:not(:last-child)::after { content: "•"; color: var(--orange); margin: 0 12px; }
.footer-nav a { color: var(--navy); }
.footer-nav a:hover { color: var(--orange); }
.footer-bottom { padding: 14px 0 22px; font-family: var(--serif); font-size: .82rem; color: #8a8a8a; text-align: center; }
.footer-bottom a { color: #8a8a8a; }

.page-title-block { padding: 56px 0 8px; text-align: center; }
.page-title-block .eyebrow { display: block; }
