/* =============================================
   ISLAND DREAMING — Design System
   Aegean Blue · White Marble · Warm Gold
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Inter:wght@300;400;500&family=Cinzel:wght@400;500&display=swap');

/* ---- Tokens ---- */
:root {
  --aegean:      #1a8fc1;
  --deep-sea:    #0f6494;
  --sky:         #5cbde8;
  --foam:        #d6eef8;
  --white:       #fefdf9;
  --gold:        #c9963a;
  --gold-light:  #e8c270;
  --stone:       #9b9088;
  --text:        #1e2028;
  --text-soft:   #4a4a55;

  --display: 'Cormorant Garamond', Georgia, serif;
  --caps:    'Cinzel', serif;
  --body:    'Inter', system-ui, sans-serif;

  --max-w: 1160px;
  --gap: clamp(1.5rem, 4vw, 3rem);
  --section-gap: clamp(4rem, 8vw, 7rem);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ---- Base ---- */
body {
  font-family: var(--body);
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 1.0625rem;
}

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* =============================================
   NAVIGATION
   ============================================= */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 74, 114, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s;
}

.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: var(--white);
}

.nav-logo-main {
  font-family: var(--caps);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.nav-logo-sub {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 0.4rem 0.7rem;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

.nav-links a.nav-cta {
  background: var(--gold);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 20px;
}

.nav-links a.nav-cta:hover {
  background: var(--gold-light);
  color: var(--text);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #b8cfe0;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  mix-blend-mode: normal;
}

/* Subtle gradient at bottom only — keeps text legible without darkening the photo */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(10, 30, 50, 0.6) 0%,
    rgba(10, 30, 50, 0.15) 35%,
    transparent 60%
  );
}

/* Greek key border at bottom of hero */
.hero-border {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0px, var(--gold) 8px,
    transparent 8px, transparent 12px,
    var(--gold) 12px, var(--gold) 14px,
    transparent 14px, transparent 18px
  );
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
}

.hero-eyebrow {
  font-family: var(--caps);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold-light);
}

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 1.0;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 2px;
  font-family: var(--body);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--text);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-aegean {
  background: var(--aegean);
  color: var(--white);
}

.btn-aegean:hover {
  background: var(--deep-sea);
  transform: translateY(-1px);
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-label {
  font-family: var(--caps);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-label::after {
  content: '';
  flex: 0 0 24px;
  height: 1px;
  background: var(--gold);
}

h2.section-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

h2.section-title em {
  font-style: italic;
  color: var(--aegean);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 56ch;
  line-height: 1.8;
}

/* =============================================
   ABOUT / INTRO STRIP
   ============================================= */
.intro-strip {
  background: var(--aegean);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.intro-strip p {
  font-family: var(--display);
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-style: italic;
  font-weight: 300;
  max-width: 700px;
  margin-inline: auto;
  line-height: 1.6;
}

.intro-strip .intro-attr {
  font-family: var(--body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-top: 1rem;
  font-style: normal;
  text-transform: uppercase;
}

/* =============================================
   FEATURE SECTIONS
   ============================================= */
.feature-section {
  padding: var(--section-gap) 0;
}

.feature-section.alt-bg {
  background: #f5f8fb;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}

.feature-grid.reversed .feature-text { order: 1; }
.feature-grid.reversed .feature-media { order: 2; }

.feature-text {
  padding: 1rem 0;
}

.feature-text h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.feature-text h2 em { font-style: italic; color: var(--aegean); }

.feature-text p {
  color: var(--text-soft);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.feature-text .cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--body);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aegean);
  font-weight: 500;
  margin-top: 0.5rem;
  border-bottom: 1px solid var(--aegean);
  padding-bottom: 2px;
  transition: gap 0.2s, color 0.2s;
}

.feature-text .cta-link:hover {
  color: var(--deep-sea);
  gap: 0.7rem;
}

.feature-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
}

.feature-media.tall img {
  aspect-ratio: 3/4;
}

/* =============================================
   GALLERY GRID
   ============================================= */
.gallery-section {
  padding: var(--section-gap) 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 10px;
  margin-top: 2.5rem;
}

.gallery-item { overflow: hidden; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 5; }
.gallery-item:nth-child(3) { grid-column: span 5; }
.gallery-item:nth-child(4) { grid-column: span 4; }
.gallery-item:nth-child(5) { grid-column: span 4; }
.gallery-item:nth-child(6) { grid-column: span 4; }

.gallery-item img { border-radius: 2px; display: block; }
.gallery-item:nth-child(1) img { height: 480px; }
.gallery-item:nth-child(n+2) img { height: 230px; }

/* =============================================
   AMENITIES / FEATURES CARDS
   ============================================= */
.amenities-section {
  padding: var(--section-gap) 0;
  background: var(--deep-sea);
  color: var(--white);
}

.amenities-section .section-label { color: var(--gold-light); }
.amenities-section .section-label::after { background: var(--gold-light); }
.amenities-section h2.section-title em { color: var(--sky); }
.amenities-section .section-title { color: var(--white); }

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.amenity-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  padding: 1.5rem 1.25rem;
  transition: background 0.2s;
}

.amenity-card:hover { background: rgba(255,255,255,0.11); }

.amenity-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.amenity-card h3 {
  font-family: var(--caps);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.amenity-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* =============================================
   RETREATS CARDS
   ============================================= */
.retreats-section {
  padding: var(--section-gap) 0;
}

.retreats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.retreat-card {
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  background: var(--white);
}

.retreat-card:hover {
  box-shadow: 0 16px 48px rgba(13,74,114,0.13);
  transform: translateY(-4px);
}

.retreat-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.retreat-card-body {
  padding: 1.5rem 1.5rem 2rem;
}

.retreat-card-tag {
  font-family: var(--caps);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.retreat-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.retreat-card p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.retreat-card .btn {
  width: 100%;
  justify-content: center;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
  padding: var(--section-gap) 0;
  background: var(--foam);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 2px;
  border-left: 3px solid var(--aegean);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--display);
  font-size: 4rem;
  color: var(--aegean);
  opacity: 0.2;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  line-height: 1;
}

.testimonial-card p {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.testimonial-card cite {
  font-style: normal;
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
}

/* =============================================
   GETTING HERE — TRAVEL INFO
   ============================================= */
.travel-section {
  padding: var(--section-gap) 0;
}

.travel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.travel-card {
  padding: 2rem;
  border-top: 2px solid var(--aegean);
}

.travel-card h3 {
  font-family: var(--caps);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aegean);
  margin-bottom: 1rem;
}

.travel-card p {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.travel-card a { color: var(--aegean); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.travel-card a:hover { border-color: var(--aegean); }

/* =============================================
   ARRIVAL / HOUSE INFO
   ============================================= */
.info-section {
  padding: var(--section-gap) 0;
  background: #f5f8fb;
}

.info-accordion {
  margin-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.accordion-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.accordion-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--caps);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep-sea);
  gap: 1rem;
  transition: color 0.2s;
}

.accordion-btn:hover { color: var(--aegean); }

.accordion-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: transform 0.3s;
}

.accordion-item.open .accordion-icon { transform: rotate(45deg); }

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-content-inner {
  padding-bottom: 1.5rem;
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 0.95rem;
}

.accordion-content-inner p { margin-bottom: 0.75rem; }
.accordion-content-inner strong { color: var(--text); }
.accordion-content-inner a { color: var(--aegean); }

/* =============================================
   CONTACT / CTA SECTION
   ============================================= */
.cta-section {
  padding: var(--section-gap) 0;
  background: var(--aegean);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(201,150,58,0.12), transparent);
}

.cta-section .container { position: relative; z-index: 1; }

.cta-section .section-label { justify-content: center; color: var(--gold-light); }
.cta-section .section-label::after { background: var(--gold-light); }

.cta-section h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin-bottom: 1rem;
  color: var(--white);
}

.cta-section h2 em { font-style: italic; color: var(--gold-light); }

.cta-section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   PAGE HEADER (inner pages)
   ============================================= */
.page-hero {
  padding-top: 68px;
  min-height: 45vh;
  background: var(--deep-sea);
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  mix-blend-mode: luminosity;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--deep-sea) 10%, transparent 70%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.page-hero-content .section-label { color: var(--gold-light); }
.page-hero-content .section-label::after { background: var(--gold-light); }

.page-hero-content h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.1;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo-main {
  font-size: 1.3rem;
  color: var(--white);
  display: block;
  margin-bottom: 0.4rem;
}

.footer-brand .nav-logo-sub {
  font-size: 0.95rem;
  display: block;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--caps);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul a {
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--white); }

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-col a { color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-center { text-align: center; }
.text-center .section-label { justify-content: center; }
.text-center .section-label::after { display: none; }
.text-center .section-intro { margin-inline: auto; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* =============================================
   DIVIDER
   ============================================= */
.greek-divider {
  height: 24px;
  background: var(--foam);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
}

.greek-divider::before {
  content: '— ✦ —';
  font-family: var(--display);
  color: var(--stone);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .feature-grid,
  .feature-grid.reversed { grid-template-columns: 1fr; }
  .feature-grid.reversed .feature-text { order: 2; }
  .feature-grid.reversed .feature-media { order: 1; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }

  .gallery-item:nth-child(1) { grid-column: span 12; }
  .gallery-item:nth-child(n+2) { grid-column: span 6; }
  .gallery-item:nth-child(1) img { height: 300px; }
  .gallery-item:nth-child(n+2) img { height: 200px; }
}

@media (max-width: 680px) {
  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--deep-sea);
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open a { padding: 0.75rem 1rem; display: block; border-radius: 2px; }
  .nav-toggle { display: flex; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }

  .gallery-item { grid-column: span 12 !important; }
  .gallery-item img { height: 220px !important; }

  .retreats-grid { grid-template-columns: 1fr; }

  .cta-buttons { flex-direction: column; align-items: center; }

  .hero-actions { flex-direction: column; align-items: flex-start; }
}

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