/* ============================================================
  Seagull's View — Holiday House Landing Page
  styles.css
  ------------------------------------------------------------
  Coastal-modern theme. Colors:
    Deep ocean   #1c3a47   Mid teal     #2e5566
    Sand gold    #c1965f   Warm cream   #e9dcc8
    Page bg      #f3efe8   Body text    #44525c
   ============================================================ */

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

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ---------- Scroll reveal (direction-aware) ----------
  --rev-dir = 1 when scrolling down (rise up from below),
             -1 when scrolling up   (drop down from above). */
.reveal { 
  opacity: 0; 
  transform: translateY(calc(34px * var(--rev-dir, 1))); 
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), 
  transform .7s cubic-bezier(.22,.61,.36,1); 
  will-change: opacity, transform; 
}
.reveal.in { 
  opacity: 1; 
  transform: none; 
}
/* Stagger children of a revealed group */
.reveal-group.in > * { 
  opacity: 1; 
  transform: none; 
}
.reveal-group > * { 
  opacity: 0; 
  transform: translateY(calc(28px * var(--rev-dir, 1))); 
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), 
  transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal-group.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-group.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-group.in > *:nth-child(4) { transition-delay: .24s; }
.reveal-group.in > *:nth-child(5) { transition-delay: .32s; }
.reveal-group.in > *:nth-child(6) { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-group > * {
    opacity: 1 !important; 
    transform: none !important; 
    transition: none !important; }
}
body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  color: #22323c;
  background: #f3efe8;
}
::selection { 
  background: #c1965f; 
  color: #fff; 
}
img { 
  display: block; 
  max-width: 100%; 
}
a { 
  color: inherit; 
}

.wrap { max-width: 1200px; 
  margin: 0 auto; 
  padding-left: clamp(20px, 5vw, 64px); 
  padding-right: clamp(20px, 5vw, 64px); 
}
.eyebrow { 
  font-size: 12px; 
  letter-spacing: 3px; 
  text-transform: uppercase; 
  color: #a87b46; 
  font-weight: 600; 
}
.script { 
  font-family: 'Pinyon Script', cursive; 
  color: #e9dcc8; 
  line-height: 1; 
}
.serif {
  font-family: 'Cormorant Garamond', serif; 
}

/* ---------- Buttons ---------- */
.btn { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  padding: 15px 30px; 
  border-radius: 999px;
  font-size: 14px; 
  font-weight: 600; 
  letter-spacing: 0.4px; 
  text-decoration: none; 
  border: 1.5px solid transparent;
  transition: background .2s ease, color .2s ease; 
  cursor: pointer; 
}
.btn-gold { 
  background: #c1965f; 
  color: #fff; 
}
.btn-gold:hover { 
  background: #a87b46; 
}
.btn-solid { 
  background: #2e5566; 
  color: #fff; 
}
.btn-solid:hover {
  background: #1c3a47; 
}
.btn-ghost-light { 
  background: rgba(255,255,255,0.14); 
  border-color: rgba(255,255,255,0.55); 
  color: #fff; 
  backdrop-filter: blur(4px); 
}
.btn-ghost-light:hover { 
  background: rgba(255,255,255,0.26); 
}
.btn-outline { 
  background: transparent; 
  border-color: #2e5566; 
  color: #2e5566; }
.btn-outline:hover { 
  background: #2e5566; 
  color: #fff; }

/* ---------- Nav ---------- */
.nav { 
  position: sticky; 
  top: 0; 
  z-index: 50; 
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  gap: 24px; 
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(243,239,232,0.82); 
  backdrop-filter: blur(12px); 
  border-bottom: 1px solid rgba(34,50,60,0.08); 
}

.brand { 
    display: flex; 
    flex-direction: column; 
    line-height: 1; 
    text-decoration: none; 
    color: #22323c; 
  }

.brand-name { 
  font-family: 'Cormorant Garamond', serif; 
  font-size: 24px; 
  font-weight: 600; 
  letter-spacing: 0.5px; 
}

.brand-sub { 
  font-size: 10px; 
  letter-spacing: 3px; 
  text-transform: uppercase; 
  color: #a87b46; 
  margin-top: 3px; 
}
.nav-links { 
  display: flex; 
  align-items: center; 
  gap: clamp(14px, 2.4vw, 34px); 
}
.nav-links a { 
  text-decoration: none; 
  color: #44525c; 
  font-size: 13px; 
  font-weight: 500; 
  letter-spacing: 0.4px; 
}
.nav-links a.nav-cta { 
  background: #a87b46; 
  color: #fff; padding: 10px 22px; 
  border-radius: 999px; 
  font-weight: 600; 
}
.nav-links a.nav-cta:hover { 
  background: #1c3a47; 
}

/* ---------- Hero ---------- */
.hero { 
  position: relative; 
  min-height: 100vh; 
  min-height: 100svh; 
  display: flex; 
  align-items: center;
  background: linear-gradient(160deg, #244a5b 0%, #1c3a47 60%, #16303b 100%); 
}

.hero.has-photo { 
  min-height: 100vh; 
  min-height: 100svh;
  background-image: linear-gradient(to bottom, rgba(20,38,47,0.10) 0%, rgba(20,38,47,0.05) 38%, rgba(20,38,47,0.78) 100%), var(--hero-photo);
  background-size: cover; 
  background-position: center 30%; 
}

  .hero-inner { 
  width: 100%; 
  max-width: 1200px; 
  margin: 0 auto;
  padding: clamp(80px,12vw,140px) clamp(20px,5vw,64px) clamp(48px,7vw,90px); 
  color: #fff;
  text-align: center; }

.hero.has-photo .hero-inner { 
  padding-top: 0; 
}

.hero .script { 
  font-size: clamp(38px, 6vw, 68px); 
  color: #c1965f; 
  margin-bottom: 6px; 
  text-shadow: 0 2px 18px rgba(20,38,47,0.55); 
}

.hero h1 { 
  font-family: 'Cormorant Garamond', serif; 
  font-weight: 500; 
  font-size: clamp(52px,10vw,116px);
  line-height: 0.92; 
  margin: 0 0 18px; 
  letter-spacing: -1px; 
  text-shadow: 0 2px 30px rgba(0,0,0,0.25); }

  .hero p { 
  max-width: 540px; 
  font-size: clamp(15px,1.6vw,18px); 
  line-height: 1.6; 
  color: rgba(255,255,255,0.92); 
  font-weight: 300; 
  margin: 0 auto 30px; }

  .hero-actions { 
  display: flex; 
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px; 
  justify-content: center; }

/* ---------- Sections ---------- */
.section { 
  padding-top: clamp(64px,9vw,120px); 
  padding-bottom: clamp(64px,9vw,120px); 
}
.section-head { 
  margin-bottom: 36px; 
}
.section-head h2, .h2 { 
  font-family: 'Cormorant Garamond', serif; 
  font-weight: 500;
  font-size: clamp(32px,4.4vw,52px); 
  line-height: 1.05; 
  margin: 14px 0 0; 
  letter-spacing: -0.5px; }

/* About */
.about { 
  display: grid; 
  grid-template-columns: 1.25fr 0.95fr; 
  gap: clamp(40px,6vw,80px); 
  align-items: start; 
}
.about h2 { 
  margin: 18px 0 26px; 
  line-height: 1.08; 
}
.about p { 
  font-size: 16px; 
  line-height: 1.75; 
  color: #44525c; 
  margin: 0 0 20px; 
  max-width: 560px; 
}
.about .address { 
  font-family: serif;  
  font-size: 22px; 
  font-weight: 600;
  color: #2e5566; 
  margin: 30px 0 0; 
}
.highlights { 
  background: #2e5566; 
  color: #fff; 
  border-radius: 20px; 
  padding: clamp(28px,3vw,40px);
  box-shadow: 0 24px 60px -28px rgba(28,58,71,0.55); 
}
.highlights .eyebrow { 
  color: #e9dcc8; 
  margin-bottom: 22px; 
  display: block; 
}
.highlights ul { 
  list-style: none; 
  margin: 0; 
  padding: 0; 
  display: flex; 
  flex-direction: column; 
  gap: 20px; 
}
.highlights li { 
  border-bottom: 1px solid rgba(255,255,255,0.16); 
  padding-bottom: 20px; 
}
.highlights li:last-child { 
  border-bottom: 0; 
  padding-bottom: 0; 
}
.highlights .label { 
  font-size: 12px; 
  letter-spacing: 1.5px; 
  text-transform: uppercase;
  color: rgba(255,255,255,0.6); 
  margin-bottom: 6px; 
}
.highlights .value { 
  font-family: serif; 
  font-size: 20px; 
  font-weight: 400; 
  line-height: 1.4; 
}

/* Amenities */
.amenities { 
  background: #ece4d6; 
}
.amenities .eyebrow { 
  text-align: center; 
  display: block; 
  margin-bottom: 22px; 
}
.chips { 
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center; 
  gap: 12px; 
}
.chip { 
  background: #f3efe8; 
  border: 1px solid rgba(168,123,70,0.3); 
  color: #3a4750;
  padding: 10px 20px; 
  border-radius: 999px; 
  font-size: 14px; 
  font-weight: 500; 
}

/* Gallery */
.gallery-head { 
  display: flex; 
  align-items: flex-end; 
  justify-content: space-between; 
  flex-wrap: wrap; 
  gap: 16px; 
  margin-bottom: 36px; 
}
.gallery-head .note { 
  font-size: 14px; 
  color: #7a8088; 
  max-width: 300px; 
  margin: 0; 
  font-style: italic; 
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 16px;
}
/* The HTML [hidden] attribute must beat .gallery's display:grid, otherwise
   the "See more" extra row stays visible before the button is clicked. */
.gallery[hidden] { display: none; }
.gallery .tile {
  width: 100%; 
  height: 100%; 
  border-radius: 16px; 
  overflow: hidden; 
  background: #d8d0c2; 
  position: relative; 
}
.gallery .tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1; /* sit above the grey .ph placeholder when the photo loads */
}
.gallery .tile.feature { 
  grid-column: span 2; 
  grid-row: span 2; 
}
.gallery .tile.wide { 
  grid-column: span 2; 
}
.gallery .tile .ph { 
  position: absolute; 
  inset: 0; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  text-align: center;
  padding: 16px; 
  color: #6b6356; 
  font-size: 14px; 
  font-weight: 500; 
  letter-spacing: 0.3px; 
}
.gallery-extra { 
  margin-top: 16px; 
}
.gallery-more { 
  display: flex; 
  justify-content: center; margin-top: 36px; }

/* Area */
.area { 
  background: #1c3a47; 
  color: #fff; 
}
.area .script { 
  font-size: 40px; 
  margin-bottom: 4px; 
  color: #c1965f;
}
.area .intro { 
  max-width: 620px; 
  margin-bottom: 48px; }
.area h2 { 
  margin: 0 0 18px; 
}
.area .intro p { 
  font-size: 16px; 
  line-height: 1.7; 
  color: rgba(255,255,255,0.78); 
  font-weight: 300; 
  margin: 0; 
}
.area-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 18px; 
}
.area-card { 
  background: rgba(255,255,255,0.06); 
  border: 1px solid rgba(255,255,255,0.12); 
  border-radius: 16px; padding: 28px; 
}
.area-card h3 { 
  font-family: 'Cormorant Garamond', serif; 
  font-size: 24px; 
  font-weight: 600; 
  margin: 0 0 10px; 
  color: #e9dcc8; 
}
.area-card p { 
  font-size: 14px; 
  line-height: 1.65; 
  color: rgba(255,255,255,0.72); 
  font-weight: 300; 
  margin: 0; }

/* Reviews */
.reviews-head { 
  text-align: center; 
  margin-bottom: 48px; 
}
.reviews { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px; 
}
.review { 
  background: #fff; 
  border-radius: 18px; 
  padding: 32px; 
  box-shadow: 0 18px 44px -30px rgba(34,50,60,0.4); 
}
.review .stars { 
  color: #c1965f; 
  font-size: 18px; 
  letter-spacing: 3px; 
  margin-bottom: 16px; 
}
.review blockquote { 
  font-family: 'Cormorant Garamond', serif; 
  font-size: 21px; 
  line-height: 1.5; 
  color: #2e3a42; 
  margin: 0 0 22px; 
}
.review .name { 
  font-size: 13px; 
  font-weight: 600; 
  color: #22323c; 
}
.review .when { 
  font-size: 12px; 
  color: #8a9096; 
}

/* Find / Map */
.find { 
  background: #ece4d6; 
}
.find-grid { 
  display: grid; 
  grid-template-columns: 0.85fr 1.15fr; 
  gap: clamp(36px,5vw,64px); 
  align-items: center; 
}
.find h2 { 
  margin: 14px 0 22px; 
}
.find p { 
  font-size: 16px; 
  line-height: 1.7; 
  color: #44525c; 
  margin: 0 0 12px; 
}
.find .muted { 
  font-size: 15px;
  color: #7a8088; 
  margin-bottom: 28px; 
}
.map { 
  border-radius: 20px; 
  overflow: hidden; 
  box-shadow: 0 24px 60px -32px rgba(28,58,71,0.5); 
  height: 380px; 
}
.map iframe { 
  border: 0; 
  width: 100%; 
  height: 100%; 
}

/* Footer / Book */
.footer { 
  background: #1c3a47; 
  color: #fff; 
}
.footer-inner { 
  max-width: 1100px; 
  margin: 0 auto; 
  padding: clamp(72px,10vw,130px) clamp(20px,5vw,64px); 
  text-align: center; 
}
.footer .script { 
  font-size: clamp(34px,5vw,56px); 
  margin-bottom: 6px;
  color: #c1965f; 
}
.footer h2 { 
  font-family: 'Cormorant Garamond', serif; 
  font-weight: 500; 
  font-size: clamp(34px,5vw,64px);
  line-height: 1.02; 
  margin: 0 0 18px; 
  letter-spacing: -0.5px; 
}
.footer .lead { 
  font-size: 16px; 
  line-height: 1.5; 
  color: rgba(255,255,255,0.78); 
  font-weight: 00; 
  max-width: 520px;
  margin: 0 auto 38px; 
  }
.footer-actions { 
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center; 
  gap: 14px; 
  margin-bottom: 56px; 
}
.footer-meta { 
  border-top: 1px solid rgba(255,255,255,0.14); 
  padding-top: 36px;
  display: flex; 
  flex-wrap: wrap; 
  justify-content: space-between; 
  gap: 20px; 
  text-align: left; 
}
.footer-meta .fname { 
  font-family: 'Cormorant Garamond', serif; 
  font-size: 24px; 
  font-weight: 600; 
}
.footer-meta .faddr { 
  font-size: 13px; 
  color: rgba(255,255,255,0.6); 
  margin-top: 4px; 
}
.footer-meta .contact { 
  font-size: 13px; 
  color: rgba(255,255,255,0.6); 
  line-height: 1.7; 
}
.footer-meta .contact .email { 
  color: #e9dcc8; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about, .find-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
}
@media (max-width: 520px) {
  .area-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .tile.feature, .gallery .tile.wide { grid-column: span 1; grid-row: span 1; }
}
