/* =========================
   Bustani - Polished CSS
   (Drop-in replacement)
   ========================= */

/* Root palette - slightly richer gold for depth */
:root{
  --olive: #4b5a2a;
  --warm-brown: #6b4730;
  --gold: #d1b15e;            /* slightly brighter/more metallic */
  --gold-dark: #b08f3f;
  --ivory: #f8f3ec;
  --muted-ivory: #f3efe6;     /* warmed slightly for lift */
  --matte: #0f0f0f;
  --glass: rgba(255,255,255,0.06);
  --glass-strong: rgba(255,255,255,0.04);
  --overlay-dark: rgba(9,9,9,0.5);
  --overlay-hero: rgba(9,9,9,0.45);
  --max-width: 1200px;
  --radius: 14px;
  --transition-fast: 180ms;
  --focus-ring: rgba(209,177,94,0.28);
}

/* Respect user prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Base reset and typography */
*{box-sizing:border-box}
html,body{
  height:100%;margin:0;
  font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  -webkit-font-smoothing:antialiased;
  color:var(--matte);
  background:none;
  font-size:17px;              /* slightly larger base for readability */
  line-height:1.65;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none;outline:none}
a:focus{ box-shadow:0 0 0 6px var(--focus-ring); border-radius:8px; }

/* container */
.container{max-width:var(--max-width);margin:0 auto;padding:0 20px}

/* -------------------------
   Header / Navigation
   ------------------------- */
.header{
  position:fixed;
  top:0;left:0;right:0;
  z-index:1100;
  background:linear-gradient(180deg, rgba(8,8,8,0.45), rgba(8,8,8,0.35));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: background 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}
.header.scrolled{
  background: rgba(8,8,8,0.94);
  box-shadow: 0 6px 30px rgba(5,5,5,0.25);
  transform: translateY(0);
}
.header .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:72px;
}
.logo{display:flex;align-items:center;gap:12px}
.logo .mark{
  width:46px;height:46px;border-radius:8px;
  background:linear-gradient(135deg,var(--olive),var(--warm-brown));
  display:flex;align-items:center;justify-content:center;color:var(--ivory);font-weight:700;
  box-shadow: 0 6px 18px rgba(11,11,11,0.18);
  font-size:18px;
}
.logo > div { color: var(--ivory); line-height:1; }
.logo > div div:first-child { font-weight:800; font-size:18px; font-family: 'Playfair Display', serif;}
.logo > div div:last-child { font-size:15px; color: rgba(255,255,255,0.75); font-family: 'Playfair Display', serif; }

/* Nav */
.nav{display:flex;gap:18px;align-items:center}
.nav a{
  padding:8px 12px;border-radius:8px;font-weight:600;color:rgba(255,255,255,0.92);
  transition: color var(--transition-fast) ease, transform var(--transition-fast);
  font-family: 'Playfair Display', serif;
}
.nav a:hover, .nav a:focus{ color:var(--gold); transform: translateY(-2px); }
.nav a.active{ color:var(--gold); box-shadow: inset 0 -3px 0 var(--gold); }

.cta-book{
  background: linear-gradient(90deg,var(--gold), var(--gold-dark));
  padding:10px 16px;border-radius:10px;color:var(--matte);
  box-shadow:0 8px 26px rgba(185,145,63,0.12);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.cta-book:hover, .cta-book:focus{ transform: translateY(-3px); box-shadow:0 14px 40px rgba(185,145,63,0.18); }

/* Burger (mobile) styling */
.burger{ display:none; flex-direction:column; gap:6px; cursor:pointer; margin-left:12px }
.burger span{ width:26px;height:3px;background:var(--ivory);border-radius:2px;transition:all 0.28s cubic-bezier(.2,.9,.3,1); }
@media(max-width:768px){
  .nav{ display:none; position:absolute; top:72px; left:0; right:0; background:linear-gradient(180deg, rgba(8,8,8,0.98), rgba(8,8,8,0.95)); flex-direction:column; align-items:center; gap:16px; padding:20px 0; box-shadow:0 6px 18px rgba(0,0,0,0.12) }
  .nav.active{ display:flex; animation:fadeIn 0.28s ease forwards }
  @keyframes fadeIn{ from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }
  .burger{ display:flex }
  .burger.active span:nth-child(1){ transform: rotate(45deg) translate(5px,5px) }
  .burger.active span:nth-child(2){ opacity:0 }
  .burger.active span:nth-child(3){ transform: rotate(-45deg) translate(5px,-5px) }
}

/* -------------------------
   Hero / Slideshow
   ------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color:transparent;
}

/* Keep slideshow behavior */
.hero .media,
.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%) saturate(1.2);
  transition: opacity 1.5s ease;
}
.hero-slide { opacity: 0; }
.hero-slide.active { opacity: 1; }

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.65));
  z-index: 2;
}

.hero .content {
  position: relative;
  z-index: 3;
  max-width: 850px;
  padding: 0 20px;
  animation: fadeInUp 1.5s ease both;
}

/* ------------------------
   Hero Typography Upgrade
------------------------ */
.hero h1 {
  font-family: 'Playfair Display', serif;
  margin: 0 0 8px;
  line-height: 1.05;
  font-weight: 400;
}

/* Subtle "Welcome to" */
.hero h1 .intro {
  display: block;
  font-size: clamp(22px, 3vw, 28px);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 1.2px;
  animation: fadeIn 1.5s ease both;
}

/* Main hero title: BUSTANI LUXURY COTTAGES */
.hero h1 .main-title {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 8px 36px rgba(0,0,0,0.6);
  margin-bottom: 12px;
  animation: fadeIn 2s ease both;
}

/* Subtitle in italics */
.hero .subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-style: italic;
  color: rgba(255,255,255,0.92);
  margin-top: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  animation: fadeIn 2.4s ease both;
}

/* Buttons remain stylish */
.hero .cta-book {
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  padding: 12px 22px;
  border-radius: 10px;
  color: var(--matte);
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(185,145,63,0.18);
  transition: all 0.3s ease;
}
.hero .cta-book:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(185,145,63,0.28);
}

.hero a[href*="cottages"] {
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 18px;
  color: var(--ivory);
  margin-left: 10px;
  transition: all 0.3s ease;
}
.hero a[href*="cottages"]:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero h1 .intro { font-size: 18px; }
  .hero h1 .main-title { font-size: 36px; }
  .hero .subtitle { font-size: 16px; }
  .hero a[href*="cottages"] { display: block; margin: 10px auto 0; }
}

/* Fade animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}



/* -------------------------
   Footer - darker for contrast
   ------------------------- */
.footer{
  padding: 56px 0 34px;
  background: linear-gradient(180deg, rgba(8,8,8,0.9), rgba(8,8,8,0.98));
  border-top: 1px solid rgba(255,255,255,0.03);
  color: var(--ivory);
  font-family: 'Inter', sans-serif;
  position:relative; z-index:10;
}
.footer .inner{
  display:flex; justify-content:space-between; align-items:flex-start; gap:40px;
  flex-wrap:wrap; max-width:var(--max-width); margin:0 auto; padding:0 20px;
}
.footer .inner > div{ flex:1; min-width:240px }
.footer .small{ font-size:15px; color: rgba(255,255,255,0.82); margin-top:6px }
.footer a{ color:var(--gold); text-decoration:none; transition: color var(--transition-fast) }
.footer a:hover{ color: var(--gold-dark) }
.footer .cta-book{ display:inline-block; margin-top:12px; background:var(--gold); color:var(--matte); padding:10px 18px; border-radius:10px; font-weight:600; text-decoration:none }
.footer .cta-book:hover{ background:#fff; color:var(--matte) }
.footer .logo-mark{ font-size:28px; font-weight:800; color:var(--gold); margin-bottom:10px }
/* Footer social icons - larger and polished */
.social-links a {
  display: inline-block;
  margin-right: 14px; /* spacing between icons */
  color: var(--gold); /* make them gold to stand out */
  font-size: 28px; /* bigger size */
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.2);
  color: #ffd700; /* brighter gold on hover */
}

.footer-bottom{
  text-align:center; font-size:13px; color:rgba(255,255,255,0.62); margin-top:28px; padding-top:20px;
  border-top:1px solid rgba(255,255,255,0.03);
  border-color: rgba(209,177,94,0.08);
}

/* -------------------------
   Floating book FAB
   ------------------------- */
.book-fab{
  position:fixed; right:18px; bottom:18px; z-index:1200;
  background: linear-gradient(90deg,var(--gold), var(--gold-dark));
  padding:14px 16px; border-radius:14px; box-shadow:0 12px 30px rgba(186,140,55,0.18);
  display:flex; align-items:center; gap:10px; color:var(--matte); font-weight:700;
  transition: transform 200ms ease, box-shadow 200ms ease;
  animation: fabPulse 4s ease-in-out infinite;
}
.book-fab:hover{ transform: translateY(-4px); box-shadow:0 20px 50px rgba(186,140,55,0.22); }
@keyframes fabPulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* -------------------------
   Cursor (if used)
   ------------------------- */
.cursor{ position:fixed; top:0; left:0; width:14px; height:14px; border-radius:50%; pointer-events:none; z-index:2000; transform:translate(-50%,-50%); background:transparent; border:2px solid rgba(202,168,90,0.95); transition:transform .12s ease, width .12s ease, height .12s ease }
.cursor.grow{ width:40px; height:40px; opacity:0.95 }

/* small helpers */
.row{ display:flex; gap:12px; align-items:center }
.badge{ background:var(--ivory); padding:6px 8px; border-radius:999px; font-weight:700 }

/* page transition overlay (keeps the transition visible) */
.page-transition{ position:fixed; inset:0; background:var(--muted-ivory); z-index:1500; transform:scaleY(0); transform-origin:top; }

/* slideshow rules (already included) */
.hero-slideshow{ position:relative; width:100%; height:100% }
.hero-slide{ position:absolute; inset:0; opacity:0; transition:opacity 1.2s ease-in-out }
.hero-slide.active{ opacity:1 }
.hero-slide img{ width:100%; height:100%; object-fit:cover }

/* -------------------------
   Responsive
   ------------------------- */
@media (max-width:900px){
  .highlights{ grid-template-columns:repeat(2,1fr) }
  .gallery-grid{ grid-template-columns:repeat(2,1fr) }
  .hero h1{ font-size:36px }
  .logo .mark{ width:40px; height:40px }
}

@media (max-width:768px){
  .header .wrap{ padding:0 12px }
  .logo > div div:first-child{ font-size:14px }
  .hero .content{ padding: 0 18px }
  .hero h1{ font-size:28px }
  .hero p{ font-size:16px }
  .highlights{ gap:12px }
  .footer .inner{ padding:0 16px }
  .gallery-grid img, .cottage-card img { height:160px }
  .book-fab{ right:12px; bottom:12px; padding:12px 14px; font-size:15px; }
}

/* small utility */
html { scroll-behavior: smooth; }

/* -------------------------
   Experience Card
------------------------- */
/* =========================
   Experience Section Enhancements
========================= */

/* Intro Text Upgrade */
.section.intro {
  text-align: center;
  margin-bottom: 50px;
}
.section.intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 800;
  color: var(--warm-brown);
  margin-bottom: 16px;
}
.section.intro p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--matte);
  line-height: 1.6;
  max-width: 850px;
  margin: 0 auto;
}

/* Experience Grid */
.card-experiences .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

/* Experience Card */
.experience-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 500px;
  cursor: pointer;
  box-shadow: 0 10px 36px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.15);
}

/* Image Shuffle */
.image-shuffle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.image-shuffle img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease, transform 0.6s ease;
  opacity: 0;
  transform: scale(1.05);
}

.image-shuffle img:first-child {
  opacity: 1;
  transform: scale(1);
}

/* Hover Effect */
.experience-card:hover .image-shuffle img {
  opacity: 1;
  transform: scale(1.15);
}

/* Meta Text */
.experience-card .meta {
  position: relative;
  z-index: 2;
  padding: 20px;
  text-align: center;
  background: rgba(248,243,236,0.92);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.experience-card:hover .meta {
  opacity: 0;
  transform: translateY(20px);
}

.experience-card .meta h4 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--warm-brown);
}

.experience-card .meta p {
  margin: 0;
  font-size: 16px;
  color: rgba(0,0,0,0.7);
}

/* CTA Section */
.cta-section {
  text-align: center;
  margin: 50px 0 80px;
}

.cta-section .cta-book {
  padding: 14px 28px;
  font-size: 18px;
  border-radius: 12px;
  background: linear-gradient(90deg,var(--gold), var(--gold-dark));
  color: var(--matte);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 36px rgba(186,140,55,0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-section .cta-book:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(186,140,55,0.25);
}

/* Responsive */
@media (max-width: 1024px) {
  .experience-card { height: 340px; }
}

@media (max-width: 768px) {
  .experience-card { height: 280px; }
  .card-experiences .card-grid { gap: 14px; }
  .section.intro h2 { font-size: 32px; }
  .section.intro p { font-size: 16px; }
}

/* birdlife.css - Bustani Birdlife & Wildlife page */

/* Colors */
:root {
  --olive: #4b5a2a;
  --gold: #caa85a;
  --ivory: #f8f3ec;
  --matte: #0f0f0f;
  --glass: rgba(255,255,255,0.04);
}

/* Basic layout + hero compact */
body {
  background: var(--ivory);
  color: var(--matte);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  -webkit-font-smoothing: antialiased;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 56px 0;
  text-align: center;
}
.hero-compact {
  padding-top: 36px;
  padding-bottom: 36px;
  background: linear-gradient(180deg, rgba(250,248,244,0.6), rgba(250,248,244,0.9));
}
.hero-compact .hero-inner {
  max-width: 880px;
  margin: 0 auto;
}
.hero-compact h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  margin: 6px 0 8px;
  color: var(--olive);
}
.hero-compact p {
  color: rgba(15,15,15,0.75);
  margin-bottom: 8px;
}

/* Section headings and intro */
.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--matte);
  margin-bottom: 6px;
}
.section .intro {
  max-width: 740px;
  margin: 0 auto 28px;
  color: rgba(15,15,15,0.68);
  line-height: 1.6;
}

/* ===================== */
/* Gallery Grid Section  */
/* ===================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
  justify-content: center;
  align-items: stretch;
  margin-top: 32px;
}

/* Birdlife Card */
.media-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 500px;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 10px 36px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.media-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.15);
}

/* Card Image */
.media-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  z-index: 0;
}

.media-card:hover img {
  transform: scale(1.06);
}

/* Caption Overlay */
.media-card figcaption {
  position: relative;
  z-index: 1;
  padding: 20px;
  background: linear-gradient(180deg, rgba(0,0,0,0.65), rgba(0,0,0,0));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  border-radius: 0 0 18px 18px;
}

/* Subtle lighting accent on hover */
.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.media-card:hover::after {
  opacity: 1;
}

.many{
  font-size: 22px;
  font-family:'Playfair Display', serif ;
  text-align: center;
  font-style: italic;
  font-weight: 200;
}
/* Divider */
.soft-divider {
  margin: 36px auto;
  width: 86%;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
}

/* Closing CTA */
.closing {
  padding: 48px 0 80px;
  background: linear-gradient(180deg, rgba(255,255,252,0), rgba(246,241,235,0.6));
}
.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.closing-inner h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--olive);
  margin-bottom: 8px;
}
.cta-book {
  display: inline-block;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--gold), #b89540);
  color: #111;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

/* Footer */
.footer {
  margin-top: 56px;
}

/* Floating leaves background */
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: url('/assets/placeholder/fly.svg'), url('/assets/placeholder/fly.svg');
  background-repeat: no-repeat, no-repeat;
  background-position: 85% 70%, 10% 22%;
  opacity: 0.06;
  mix-blend-mode: multiply;
  animation: floatLeaves 10s ease-in-out infinite;
}

@keyframes floatLeaves {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Responsive */
@media (max-width: 1024px) {
  .gallery-grid { gap: 28px; }
  .media-card { height: 420px; }
}

@media (max-width: 640px) {
  .media-card { height: 340px; }
  .media-card figcaption { font-size: 1rem; padding: 16px; }
  .hero-compact h1 { font-size: 22px; }
  .section { padding: 36px 16px; }
}

/* ---------- Scoped Cottages Page Styles ---------- */


.cottages-page main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.cottages-page .section {
  margin-bottom: 70px;
  text-align: center;
}

.cottages-page .section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.cottages-page .section .intro {
  color: #555;
  font-size: 1.05rem;
  margin-bottom: 40px;
}

/* ---------- Cottage Cards ---------- */
.cottages-page .card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  justify-content: center;
  align-items: start;
}

@media (max-width: 768px) {
  .cottages-page .card-grid {
    grid-template-columns: 1fr;
  }
}

.cottages-page .cottage-card {
  background: #fff;
  border-radius: 18px;
   height: 500px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cottages-page .cottage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.cottages-page .cottage-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.cottages-page .cottage-card .meta {
  padding: 2px;
  text-align: left;
}

.cottages-page .cottage-card h3 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
}


/* ---------- Interior Gallery ---------- */
.cottages-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 30px;
}

.cottages-page .gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.cottages-page .gallery-grid img:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

/* ---------- Modal ---------- */
.cottages-page .modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.cottages-page .modal-inner {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  max-width: 600px;
  width: 90%;
  text-align: left;
  position: relative;
}

.cottages-page .close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.cottages-page .modal-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.cottages-page .modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.cottages-page .modal-actions a {
  flex: 1;
  text-align: center;
  padding: 10px;
  background: #7a5623;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cottages-page .modal-actions a:hover {
  background: #5b3f1a;
}

/* ---------- Lightbox (Full-Screen Gallery Viewer) ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 85%;
  max-height: 85%;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(255,255,255,0.2);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.lightbox img.show {
  opacity: 1;
  transform: scale(1);
}

.lightbox .nav-btn {
  position: absolute;
  top: 50%;
  font-size: 2rem;
  color: white;
  background: rgba(255,255,255,0.1);
  border: none;
  padding: 12px 18px;
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.3s ease;
}

.lightbox .nav-btn:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox .prev {
  left: 30px;
}

.lightbox .next {
  right: 30px;
}

.lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2rem;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.lightbox .close:hover {
  transform: scale(1.1);
}


/* ---------- Scoped About Page Styles ---------- */
/* ---------- Scoped About Page Styles ---------- */
.about-page main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.about-page .section {
  margin-bottom: 80px;
}

.about-page h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  margin-bottom: 15px;
  color: #3b2d1f;
}

.about-page p {
  line-height: 1.7;
  color: #4b4b4b;
  font-size: 1.05rem;
}

/* ---------- About Section ---------- */
.about-page .about-wrapper {
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.about-page .about-text {
  flex: 1 1 55%;
  text-align: justify;
}

.about-page .about-image {
  flex: 1 1 40%;
  text-align: center;
}

.about-page .about-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* ---------- Signature ---------- */
.about-page .signature {
  margin-top: 25px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #7a5623;
  text-align: right;
}

.about-page .karibu {
  display: block;
  font-size: 1rem;
  color: #b08952;
  margin-top: 5px;
  letter-spacing: 0.5px;
}

/* ---------- Philosophy ---------- */
.about-page .philosophy {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-page .philosophy p {
  font-size: 1.1rem;
  color: #333;
  margin-top: 15px;
}

/* ---------- Gallery ---------- */
.about-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 30px;
}

.about-page .gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.about-page .gallery-grid img:hover {
  transform: scale(1.05);
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 992px) {
  .about-page .about-wrapper {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .about-page main {
    padding: 20px 16px;
  }

  .about-page .about-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .about-page .about-image {
    order: -1; /* Moves image above text */
    margin-bottom: 20px;
  }

  .about-page .about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
  }

  .about-page .about-text {
    flex: 1 1 100%;
    text-align: left;
    font-size: 1rem;
  }

  .about-page h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .about-page .signature {
    text-align: center;
    font-size: 1rem;
  }

  .about-page .karibu {
    font-size: 0.95rem;
  }

  .about-page .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.8rem;
  }

  .about-page .gallery-grid img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .about-page h2 {
    font-size: 1.6rem;
  }

  .about-page p {
    font-size: 0.95rem;
  }

  .about-page .gallery-grid img {
    height: 150px;
  }
}


/* ---------- book-page (Booking form) ---------- */
.book-page { --gold: #d1b15e; --gold-dark: #b08f3f; --matte: #0f0f0f; --muted-ivory: #f3efe6; }

.book-page .book-hero { text-align:center; margin-bottom:28px; }
.book-page .book-hero h2 { font-family:'Playfair Display', serif; font-size:2.2rem; color:var(--warm-brown,#6b4730); margin-bottom:6px; }
.book-page .book-hero p { color: rgba(15,15,15,0.7); margin:0; }

/* card */
.book-page .booking-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.99));
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.03);
}

/* grids */
.book-page .grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
@media (max-width:720px){ .book-page .grid-2 { grid-template-columns:1fr; } }

/* inputs */
.book-page .small { display:block; font-size:0.85rem; color:#444; margin-bottom:6px; font-weight:600; }
.book-page .input, .book-page .select, .book-page .textarea {
  width:100%; padding:12px; border-radius:10px; border:1px solid rgba(0,0,0,0.08);
  font-size:1rem; background:#fff; box-sizing:border-box;
}
.book-page .textarea { resize:vertical; }

/* actions */
.book-page .row-actions { display:flex; gap:12px; align-items:center; margin-top:14px; }
.book-page .btn {
  display:inline-flex; align-items:center; gap:10px;
  background: linear-gradient(90deg,var(--gold), var(--gold-dark));
  color: var(--matte);
  padding:12px 16px; border-radius:10px; border:none; font-weight:700; cursor:pointer; text-decoration:none;
  box-shadow: 0 10px 30px rgba(185,145,63,0.12);
}
.book-page .btn.ghost { background:transparent; border:1px solid rgba(0,0,0,0.06); color:rgba(0,0,0,0.85); box-shadow:none; font-weight:600; }

/* note & mpesa */
.book-page .note { font-size:0.95rem; color: rgba(0,0,0,0.65); margin-top:12px; }
.book-page .mpesa { margin-top:12px; padding:12px; background: linear-gradient(180deg, rgba(248,243,236,0.9), rgba(248,243,236,0.95)); border-radius:10px; border:1px solid rgba(0,0,0,0.03); color:#333; }

/* toast */
.book-page .toast {
  position: fixed; left:50%; transform:translateX(-50%); bottom:26px;
  background: rgba(0,0,0,0.85); color:#fff; padding:10px 14px; border-radius:10px;
  font-size:0.95rem; display:none; z-index:9999;
}
