/* ── Coco Palms – Nature Luxury Theme ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
  --green-deep:   #2A4030;
  --green-mid:    #3D6147;
  --green-light:  #5A8A62;
  --gold:         #B8975A;
  --gold-light:   #D4B483;
  --cream:        #F5F0E8;
  --cream-dark:   #EDE5D6;
  --brown-warm:   #6B4E2A;
  --text:         #1C2118;
  --text-muted:   #5C6659;
  --white:        #FDFAF5;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }

.serif-italic { font-style: italic; }
.gold { color: var(--gold); }

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5%;
  transition: background 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(42, 64, 48, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.nav-logo span { color: var(--gold-light); font-style: italic; }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-cta {
  background: var(--gold);
  color: var(--green-deep) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
  font-weight: 500 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; color: var(--green-deep) !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; transition: 0.3s; }
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--green-deep);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--white);
  text-decoration: none;
  font-style: italic;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold-light); }
.mobile-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
}

/* ── HERO ── */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/exterior-hero.jpeg') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20,35,22,0.88) 0%,
    rgba(20,35,22,0.4) 50%,
    rgba(20,35,22,0.15) 100%
  );
}
.hero-content {
  position: relative;
  padding: 0 7% 7%;
  max-width: 780px;
}
.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  padding: 0.35rem 1rem;
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.hero-content h1 {
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  margin-bottom: 1rem;
}
.hero-content p {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 2rem;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--green-deep);
  padding: 0.9rem 2.2rem;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.7);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.3s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--green-deep);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.stat {
  padding: 1.6rem 3rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  flex: 1;
  min-width: 140px;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 0.3rem;
  display: block;
}

/* ── SECTION ── */
.section {
  padding: 6rem 7%;
}
.section-sm { padding: 4rem 7%; }
.section-dark { background: var(--green-deep); color: var(--white); }
.section-cream { background: var(--cream-dark); }

.section-tag {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: block;
  margin-bottom: 0.8rem;
}
.section-title { margin-bottom: 1.2rem; }
.section-title.dark { color: var(--white); }
.divider {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 1.2rem 0 2.5rem;
}
.divider.center { margin: 1.2rem auto 2.5rem; }

/* ── INTRO ── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.intro-text p { color: var(--text-muted); font-weight: 300; margin-bottom: 1rem; font-size: 1.05rem; }
.intro-img {
  position: relative;
  height: 520px;
}
.intro-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.intro-img-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--gold);
  color: var(--green-deep);
  padding: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  line-height: 1.3;
  font-style: italic;
  max-width: 160px;
  text-align: center;
}

/* ── AMENITY GRID ── */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.amenity-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  padding: 1.8rem 1.5rem;
  border-radius: 4px;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.2s;
}
.amenity-card:hover { box-shadow: 0 8px 30px rgba(42,64,48,0.12); transform: translateY(-3px); }
.amenity-icon { font-size: 2rem; margin-bottom: 0.8rem; display: block; }
.amenity-card h4 { font-size: 1rem; color: var(--green-deep); margin-bottom: 0.3rem; }
.amenity-card p { font-size: 0.82rem; color: var(--text-muted); font-weight: 300; }

/* ── GALLERY PREVIEW ── */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 8px;
}
.gallery-grid .g-big { grid-row: 1 / 3; }
.gallery-img {
  overflow: hidden;
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}
.gallery-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-img:hover img { transform: scale(1.05); }
.gallery-img-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(20,35,22,0.75);
  color: white;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}
.gallery-see-all {
  margin-top: 2rem;
  text-align: center;
}

/* ── VIRTUAL TOUR ── */
.tour-wrap {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.tour-wrap iframe {
  width: 100%;
  height: 520px;
  border: none;
  display: block;
}

/* ── EVENTS SECTION ── */
.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}
.event-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 2.5rem;
  border-radius: 4px;
  transition: background 0.3s;
}
.event-card:hover { background: rgba(255,255,255,0.1); }
.event-card h3 { color: var(--gold-light); margin-bottom: 0.8rem; }
.event-card p { color: rgba(255,255,255,0.7); font-weight: 300; font-size: 0.95rem; margin-bottom: 1rem; }
.event-features { list-style: none; }
.event-features li {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.event-features li::before { content: '✦'; color: var(--gold); font-size: 0.6rem; }

/* ── FOOD SECTION ── */
.food-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.food-card {
  background: var(--green-deep);
  color: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.food-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}
.food-card .food-type { font-size: 2rem; margin-bottom: 1rem; display: block; }
.food-card h3 { color: var(--gold-light); margin-bottom: 0.5rem; }
.food-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; font-weight: 300; margin-bottom: 1.5rem; }
.food-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: var(--white);
}
.food-price span { font-size: 1rem; color: var(--gold-light); }
.food-note { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 0.3rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ── NEARBY ── */
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}
.nearby-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--white);
  border-radius: 4px;
  border-left: 3px solid var(--green-light);
  transition: transform 0.2s;
}
.nearby-card:hover { transform: translateX(4px); }
.nearby-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.nearby-card h4 { font-size: 0.95rem; color: var(--green-deep); margin-bottom: 0.2rem; }
.nearby-card p { font-size: 0.8rem; color: var(--text-muted); font-weight: 300; }

/* ── INQUIRY / BOOKING FORM ── */
.inquiry-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}
.inquiry-info h2 { color: var(--white); }
.inquiry-info p { color: rgba(255,255,255,0.65); font-size: 0.95rem; font-weight: 300; margin: 1.5rem 0; line-height: 1.9; }
.inquiry-contact a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.inquiry-contact a:hover { color: var(--gold-light); }
.inquiry-contact .ic-icon { font-size: 1.1rem; }

.booking-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 6px;
}
.booking-form h3 {
  color: var(--green-deep);
  margin-bottom: 0.3rem;
  font-size: 1.6rem;
}
.booking-form .sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #DDD;
  border-radius: 3px;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green-mid); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-submit {
  width: 100%;
  background: var(--green-deep);
  color: white;
  border: none;
  padding: 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border-radius: 3px;
  margin-top: 0.5rem;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}
.form-submit:hover { background: var(--green-mid); }
.form-submit .wa-icon { font-size: 1.1rem; }
.form-note { font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: 0.8rem; }

/* ── RULES ── */
.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem;
  background: var(--cream);
  border-radius: 3px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-left: 3px solid var(--green-light);
}
.rule-item.no { border-left-color: #C0392B; }
.rule-icon { flex-shrink: 0; font-size: 1rem; }

/* ── FOOTER ── */
footer {
  background: #111A0F;
  color: rgba(255,255,255,0.5);
  padding: 3rem 7% 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--white);
  font-weight: 300;
  margin-bottom: 0.8rem;
  display: block;
}
.footer-brand .logo-text em { color: var(--gold-light); }
.footer-brand p { font-size: 0.85rem; line-height: 1.8; }
.footer-col h4 {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.88rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }

/* ── WA FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #25D366;
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  text-decoration: none;
  z-index: 900;
  transition: transform 0.3s, box-shadow 0.3s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.6); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--green-deep);
  padding: 10rem 7% 5rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.8rem; }
.page-hero p { color: rgba(255,255,255,0.6); font-weight: 300; max-width: 500px; margin: 0 auto; }

/* ── GALLERY PAGE ── */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  justify-content: center;
}
.filter-tab {
  background: none;
  border: 1.5px solid var(--green-light);
  color: var(--green-deep);
  padding: 0.5rem 1.3rem;
  border-radius: 30px;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}
.filter-tab.active,
.filter-tab:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--white);
}
.masonry-grid {
  columns: 3;
  column-gap: 10px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
}
.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s;
}
.masonry-item:hover img { transform: scale(1.04); }
.masonry-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(20,35,22,0.85), transparent);
  padding: 2rem 1rem 0.8rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  opacity: 0;
  transition: opacity 0.3s;
}
.masonry-item:hover .masonry-caption { opacity: 1; }
.masonry-caption .cap-name { color: white; font-size: 0.82rem; font-weight: 500; }
.masonry-caption .cap-tag {
  background: var(--gold);
  color: var(--green-deep);
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}
.lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .intro-grid, .inquiry-wrap, .events-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-grid .g-big { grid-row: auto; }
  .food-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .masonry-grid { columns: 2; }
  .rules-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 600px) {
  .section { padding: 4rem 5%; }
  .hero-content { padding: 0 5% 6rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .masonry-grid { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .stats-bar { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}
