/* ============================================================
   LADRAM BAY RETREAT — Stylesheet
   ============================================================ */

:root {
  --sand:    #f5efe6;
  --sand-d:  #e8ddd0;
  --cream:   #faf7f2;
  --ink:     #1a2332;
  --navy:    #253347;
  --rust:    #c4593a;
  --rust-l:  #d97b5e;
  --gold:    #b8975a;
  --white:   #ffffff;
  --text:    #3a3530;
  --text-l:  #7a7068;

  /* category accent colours */
  --cat-eat:     #d4622a;
  --cat-drink:   #5a7a3a;
  --cat-explore: #3a6a8a;
  --cat-beach:   #2a8aaa;
  --cat-shop:    #7a4a8a;

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Jost', sans-serif;

  --max-w: 1180px;
  --radius: 4px;
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: .875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--primary { background: var(--rust); color: var(--white); border-color: var(--rust); }
.btn--primary:hover { background: var(--rust-l); border-color: var(--rust-l); transform: translateY(-2px); }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--white { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--white:hover { background: var(--sand); }
.btn--large { font-size: 1rem; padding: 18px 44px; }

/* ── LABELS ── */
.label {
  display: block;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 12px;
}
.label--center { text-align: center; }
.label--light { color: var(--sand-d); }

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
  text-align: center;
  margin-bottom: 56px;
}

/* ════════════════════════════════
   NAV
════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(26,35,50,.97);
  backdrop-filter: blur(12px);
  padding: 14px 40px;
  box-shadow: 0 2px 30px rgba(0,0,0,.2);
}
.nav__logo { font-family: var(--ff-display); font-size: 1.25rem; color: var(--white); }
.nav__links { display: flex; gap: 28px; align-items: center; }
.nav__links a { color: rgba(255,255,255,.85); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; transition: color .2s; }
.nav__links a:hover { color: var(--white); }
.nav__cta { background: var(--rust) !important; color: var(--white) !important; padding: 8px 20px; border-radius: var(--radius); }
.nav__cta:hover { background: var(--rust-l) !important; }
.nav__burger { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  position: relative; height: 100vh; min-height: 620px;
  display: flex; align-items: center; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; background: var(--navy); }
.hero__bg::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  opacity: .4; pointer-events: none;
}
.hero__bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 40%, rgba(196,89,58,.18) 0%, transparent 65%); }
.hero__img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,35,50,.75) 0%, rgba(26,35,50,.3) 60%, rgba(26,35,50,.5) 100%); }
.hero__content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 40px; padding-top: 80px;
  animation: fadeUp .9s .2s both;
}
.hero__eyebrow { font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.hero__title { font-family: var(--ff-display); font-size: clamp(3.5rem, 8vw, 6.5rem); font-weight: 700; color: var(--white); line-height: 1.05; margin-bottom: 24px; }
.hero__title em { font-style: italic; color: var(--gold); }
.hero__sub { font-size: 1.15rem; color: rgba(255,255,255,.8); max-width: 480px; margin-bottom: 40px; font-weight: 300; }
.hero__scroll { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero__scroll span { display: block; width: 1px; height: 56px; background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent); margin: 0 auto; animation: scrollPulse 2s infinite; }

/* ════════════════════════════════
   ABOUT
════════════════════════════════ */
.about { padding: 120px 0; background: var(--cream); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__text h2 { font-family: var(--ff-display); font-size: clamp(2rem, 3.5vw, 2.75rem); color: var(--ink); line-height: 1.2; margin-bottom: 24px; }
.about__text p { color: var(--text-l); margin-bottom: 16px; }
.about__text .btn { margin-top: 16px; }
.about__image-wrap { position: relative; height: 520px; border-radius: 2px; overflow: hidden; box-shadow: 24px 24px 0 var(--sand-d); }
.about__image-wrap.no-img { background: var(--sand-d); }
.about__image-wrap.no-img::after { content: '📸 Add your photo here'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--text-l); }
.about__badge { position: absolute; bottom: 28px; right: -12px; background: var(--white); border-radius: 4px; padding: 16px 20px; display: flex; align-items: center; gap: 12px; box-shadow: 0 8px 32px rgba(0,0,0,.15); }
.badge__num { font-size: 1.75rem; }
.badge__text { font-size: .85rem; font-weight: 500; color: var(--ink); line-height: 1.3; }

/* ════════════════════════════════
   GALLERY
════════════════════════════════ */
.gallery { padding: 100px 0; background: var(--sand); }
.gallery__grid { display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: auto auto; gap: 12px; margin-top: 48px; padding: 0 32px; }
.gallery__item { position: relative; overflow: hidden; cursor: pointer; border-radius: var(--radius); background: var(--sand-d); min-height: 220px; }
.gallery__item--tall { grid-row: span 2; min-height: 460px; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { transition: transform .6s ease, opacity .3s; height: 100%; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 16px 16px; background: linear-gradient(transparent, rgba(26,35,50,.7)); color: var(--white); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transition: opacity .3s; }
.gallery__item:hover .gallery__caption { opacity: 1; }
.gallery__item.placeholder { display: flex; align-items: center; justify-content: center; }
.gallery__item.placeholder::after { content: '📷 Add photo'; position: absolute; font-size: .85rem; color: var(--text-l); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,14,20,.95); display: none; align-items: center; justify-content: center; flex-direction: column; }
.lightbox.active { display: flex; }
.lightbox__img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 2px; }
.lightbox__caption { color: rgba(255,255,255,.6); margin-top: 16px; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.lightbox__close, .lightbox__prev, .lightbox__next { position: fixed; background: none; border: 1px solid rgba(255,255,255,.2); color: var(--white); font-size: 1.25rem; cursor: pointer; border-radius: 2px; padding: 10px 16px; transition: background .2s; }
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,.1); }
.lightbox__close { top: 24px; right: 24px; font-size: 1.5rem; }
.lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ════════════════════════════════
   FEATURES
════════════════════════════════ */
.features { padding: 120px 0; background: var(--cream); }
.features__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.features__item { padding: 32px 24px; border: 1px solid var(--sand-d); border-radius: var(--radius); transition: var(--transition); background: var(--white); }
.features__item:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,35,50,.1); border-color: var(--gold); }
.features__icon { font-size: 2rem; margin-bottom: 16px; }
.features__item h3 { font-family: var(--ff-display); font-size: 1.1rem; color: var(--ink); margin-bottom: 8px; }
.features__item p { font-size: .9rem; color: var(--text-l); }

/* ════════════════════════════════
   LOCAL AREA
════════════════════════════════ */
.local {
  padding: 120px 0;
  background: var(--sand);
}

.local__intro {
  text-align: center;
  color: var(--text-l);
  max-width: 600px;
  margin: -32px auto 48px;
  font-size: 1rem;
}

/* Filter tabs */
.local__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}
.local__tab {
  font-family: var(--ff-body);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--sand-d);
  background: var(--white);
  color: var(--text-l);
  cursor: pointer;
  transition: var(--transition);
}
.local__tab:hover { border-color: var(--gold); color: var(--ink); }
.local__tab.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Cards grid */
.local__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.local__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--sand-d);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.local__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26,35,50,.1);
  border-color: transparent;
}
.local__card.hidden { display: none; }

.local__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.local__emoji { font-size: 2rem; line-height: 1; }

/* Category badges */
.local__cat {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 500;
}
.local__cat--eat     { background: #fdeee8; color: var(--cat-eat); }
.local__cat--drink   { background: #ebf2e8; color: var(--cat-drink); }
.local__cat--explore { background: #e8f0f5; color: var(--cat-explore); }
.local__cat--beach   { background: #e4f3f7; color: var(--cat-beach); }
.local__cat--shop    { background: #f2ecf7; color: var(--cat-shop); }

.local__card h3 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.local__place-meta {
  font-size: .78rem;
  color: var(--text-l);
  margin-bottom: 12px;
  letter-spacing: .03em;
}
.local__card p:not(.local__place-meta) {
  font-size: .9rem;
  color: var(--text-l);
  flex: 1;
  margin-bottom: 20px;
}
.local__link {
  display: inline-block;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--rust);
  border-bottom: 1px solid var(--rust-l);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
  align-self: flex-start;
  margin-top: auto;
}
.local__link:hover { color: var(--ink); border-color: var(--ink); }
.local__link--hidden { display: none; }

/* ════════════════════════════════
   LOCATION
════════════════════════════════ */
.location { padding: 120px 0; background: var(--navy); }
.location__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.location__text .label { color: var(--gold); }
.location__text h2 { font-family: var(--ff-display); font-size: clamp(2rem, 3.5vw, 2.75rem); color: var(--white); line-height: 1.2; margin-bottom: 24px; }
.location__text p { color: rgba(255,255,255,.7); margin-bottom: 24px; }
.location__list { margin-bottom: 36px; }
.location__list li { color: rgba(255,255,255,.8); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .95rem; }
.location__text .btn--outline { border-color: rgba(255,255,255,.4); color: var(--white); }
.location__text .btn--outline:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.location__map { height: 460px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,.4); }

/* ════════════════════════════════
   BOOK
════════════════════════════════ */
.book { position: relative; padding: 140px 0; text-align: center; overflow: hidden; }
.book__bg { position: absolute; inset: 0; background: var(--rust); }
.book__bg img { opacity: .25; }
.book__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, var(--rust) 0%, #8b2e1a 100%); opacity: .85; }
.book__content { position: relative; z-index: 1; }
.book__content h2 { font-family: var(--ff-display); font-size: clamp(2.5rem, 6vw, 4.5rem); color: var(--white); margin-bottom: 20px; }
.book__content p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 40px; }
.book__note { margin-top: 20px !important; font-size: .8rem !important; color: rgba(255,255,255,.5) !important; }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.footer { background: var(--ink); padding: 48px 0; }
.footer__inner { text-align: center; color: rgba(255,255,255,.5); font-size: .875rem; }
.footer__brand { font-family: var(--ff-display); font-size: 1.3rem; color: var(--white); margin-bottom: 8px; }
.footer__loc { margin-bottom: 8px; }

/* ════════════════════════════════
   ANIMATIONS
════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: .6; }
  50%       { opacity: 1; }
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1024px) {
  .local__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .about__grid, .location__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__image-wrap { height: 340px; box-shadow: none; }
  .about__badge { right: 16px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); padding: 0 16px; }
  .gallery__item--tall { grid-row: span 1; min-height: 220px; }
  .gallery__item--wide { grid-column: span 1; }
  .location__map { height: 300px; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__links.open { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--ink); justify-content: center; align-items: center; gap: 28px; z-index: 99; }
  .nav__links.open a { font-size: 1.2rem; }
  .features__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .local__grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .hero__content { padding: 80px 20px 0; }
  .hero__title { font-size: 3rem; }
  .nav { padding: 18px 20px; }
  .nav.scrolled { padding: 12px 20px; }
  .about, .features, .local, .location { padding: 80px 0; }
}
