:root {
  /* Soft Corporate Palette */
  --color-gold: #B8860B;
  /* DarkGoldenRod for better contrast */
  --color-gold-dark: #9B700A;
  --color-yellow: #FFCF54;
  --color-green: #2A5A44;
  --color-green-light: #E8F0EA;
  --color-cream: #F5EFE6;
  --color-cream-dark: #E6DECE;

  --color-bg-light: #FAFAFA;
  --color-bg-alt: var(--color-cream);
  --color-white: #FFFFFF;

  --color-text-main: #1A3326;
  /* Dark Green for main text */
  --color-text-muted: #4A6D5A;
  /* Visible dark green for secondary text */
  --color-surface-beige: #F4EFE6;
  /* The new beige color from second image */
  --color-on-surface: #1A3326;
  --color-amber: #D97706;

  /* Typography */
  --font-heading: 'Cinzel', serif;
  --font-accent: 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;

  /* Utilities */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --shadow-sm: 0 4px 6px rgba(42, 90, 68, 0.05);
  --shadow-md: 0 10px 20px rgba(42, 90, 68, 0.1);
  --shadow-lg: 0 20px 40px rgba(42, 90, 68, 0.15);
}

/* =========================================
   RESETS & GLOBAL STYLES
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  line-height: 1.7;
  /* Slightly more breathable */
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text-main);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

h1 {
  font-size: clamp(1.8rem, 8vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  /* Tighter for large headings */
}

h2 {
  font-family: var(--font-accent);
  /* Using Playfair for secondary headings */
  font-size: clamp(1.5rem, 6vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--font-accent);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

p {
  margin-bottom: var(--space-sm);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* =========================================
   GRID SYSTEM
   ========================================= */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.section {
  padding: var(--space-lg) 0;
}

.section-bg-alt {
  background-color: var(--color-bg-alt);
}

.text-center {
  text-align: center;
}

/* =========================================
   COMPONENTS
   ========================================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem 0.7rem;
  line-height: 1;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease-in-out;
  pointer-events: none;
}

.btn:hover::after {
  left: 150%;
}

.btn:active {
  transform: translateY(1px) scale(0.95) !important;
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-gold-dark);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5) !important;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn-outline:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--color-white);
  border: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20b858;
  color: var(--color-white);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5) !important;
}

.btn-google {
  background-color: #4285F4;
  color: #FFFFFF !important;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-tripadvisor {
  background-color: #34E0A1;
  color: #000000 !important;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 480px) {
  .btn {
    padding: 0.8rem 1.2rem;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    width: 100%;
    text-align: center;
  }
}

.section-header {
  margin-bottom: var(--space-lg);
}

.section-header p {
  color: var(--color-gold-dark);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  /* More premium spacing */
  font-weight: 700;
  font-size: 0.9rem;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  padding: var(--space-sm) 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@keyframes floatEmblem {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-green);
  display: flex;
  align-items: center;
  position: relative;
  transition: opacity 0.4s ease;
}

.logo:hover {
  opacity: 0.95;
}

.logo img {
  height: 60px;
  width: auto;
  margin-right: 12px;
  animation: floatEmblem 4s ease-in-out infinite;
  transition: filter 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s ease-out !important;
  transform-origin: center;
}

/* Mobile Header Button Fix */
.nav-book-btn {
  transition: all 0.3s ease;
}

.nav-book-btn-mobile {
  display: none;
}

@media (max-width: 768px) {
  .header {
    padding: 0.5rem 0;
  }

  .logo img {
    height: 45px;
    /* Scaled down logo */
  }

  .logo span {
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
    letter-spacing: 0.05em;
  }

  .nav {
    gap: 0.5rem;
    /* Tighter navigation on mobile */
  }

  .nav-book-btn {
    display: inline-flex !important;
    padding: 0.4rem 0.8rem !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.05em !important;
    white-space: nowrap !important;
    margin-right: 0.2rem !important;
    min-width: auto !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 35px;
    margin-right: 8px;
  }

  .logo span {
    font-size: 0.7rem !important;
  }

  .nav {
    gap: 0.3rem;
  }

  .nav-book-btn {
    padding: 0.3rem 0.6rem !important;
    font-size: 0.65rem !important;
  }
}

.logo:hover img {
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.8)) brightness(1.1) !important;
  transform: scale(1.03);
}

.logo span {
  color: var(--color-green);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  display: inline-block;
  position: relative;
}

.logo:hover span {
  color: var(--color-gold) !important;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.5) !important;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-list {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-green);
  position: relative;
  padding: 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--color-green);
  /* Dark green for visibility on light header */
  transition: var(--transition);
  border-radius: 2px;
}

/* =========================
   FOOTER MAIN LAYOUT
========================= */
.footer {
  background: #2f5d46;
  color: #fff;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* =========================
   COLUMN FIX
========================= */
.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-header {
  margin-bottom: 15px;
}

.footer-col h3 {
  margin: 0;
  font-family: var(--font-accent);
  font-size: 1.2rem;
  color: #d4af37;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* =========================
   LOGO + LEFT SECTION FIX
========================= */
.footer-logo {
  height: 80px;
  margin-bottom: 15px;
  display: block;
}

/* =========================
   LINKS + TEXT
========================= */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #ddd;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #d4af37;
}

/* =========================
   CONTACT ICON ALIGNMENT
========================= */
.contact-links li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-icon-svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* =========================
   BOTTOM BAR (IMPORTANT)
========================= */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding: 20px 0;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* 🔥 KEY FIX */
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 25px;
}

.footer-legal a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: #d4af37;
}

/* =========================
   RESPONSIVE (IMPORTANT)
========================= */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .contact-links li {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.5rem !important;
    margin-bottom: 1.5rem !important;
  }

  .footer-icon-svg {
    margin-right: 0 !important;
    margin-bottom: 5px !important;
    width: 24px !important;
    height: 24px !important;
  }

  .footer-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .footer-bottom-flex {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-col-header {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 20px !important;
    text-align: center !important;
  }

  .footer-logo {
    display: block !important;
    margin: 0 auto !important;
    height: 80px !important;
    width: auto !important;
  }
}

/* =========================================
   HERO SECTION
   ========================================= */
/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: #1A3326;
  overflow: hidden;
  padding-top: 120px;
}

/* Specific override for homepage hero to shift content up */
#home {
  padding-top: 30px !important;
  /* Moved even higher */
}

#home .hero-top {
  gap: 0.3rem !important;
  /* Even tighter spacing */
}

/* Lift the bottom elements on homepage specifically */
#home .hero-content-spread {
  padding-bottom: 0rem !important;
  /* Significant lift for the Book Now button */
}

.hero-small {
  min-height: 400px;
  height: 50vh;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/hero_sunset.jpg') center/cover no-repeat;
  z-index: 0;
  opacity: 1;
}

.hero-small .hero-bg {
  background-position: center 25%;
  /* Shift ship down to avoid title overlap */
}

/* Gradient overlay for better text readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

.hero-container {
  width: 100%;
  margin: 0;
  padding: 0 2vw;
  /* Further increased left padding for premium off-center look */
  position: relative;
  z-index: 10;
}

.hero-content {
  max-width: 650px;
  /* More restricted to avoid collision */
  color: var(--color-white);
  text-align: left;
}

/* New spread layout for hero */
.hero-content-spread {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - 120px);
  padding-top: 4rem;
  padding-bottom: 0;
}

.hero-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-small .hero-content {
  max-width: 900px;
  /* Allow subpage headings to stretch to avoid awkward wrapping */
}

.hero-small .hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  /* Slightly smaller base for the short banner */
  margin-bottom: 0.5rem;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.6);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 0;
  text-transform: none;
  opacity: 0;
  animation: fadeSlideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-content .subheading {
  font-family: var(--font-accent);
  font-size: clamp(0.65rem, 1vw, 0.9rem);
  color: #F1C40F;
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.12em;
  margin-bottom: 0;
  text-transform: uppercase;
  font-weight: 500;
  font-style: italic;
  opacity: 0;
  animation: fadeSlideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards;
}

.hero-cta {
  opacity: 0;
  animation: fadeSlideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards;
}

/* Updated Dynamic Logo positioning to avoid text collision */
.dynamic-logo-container {
  position: absolute;
  right: 18vw;
  /* Shifted further left */
  bottom: 5%;
  /* Fine-tuned for vertical balance */
  width: clamp(140px, 18vw, 240px);
  /* Reduced size for elegance */
  z-index: 5;
  opacity: 0;
  animation: fadeIn 1.5s ease 1s forwards;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dynamic-logo-container:hover {
  transform: scale(1.05) rotate(2deg);
}

.dynamic-rotate {
  position: absolute;
  width: 100%;
  bottom: 0px;
  left: 0;
  animation: swing 4s ease-in-out infinite;
  /* Slower, more elegant swing */
  transform-origin: center center;
  z-index: 2;
}

.dynamic-static {
  width: 100%;
  display: block;
  z-index: 1;
  position: relative;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .hero-content {
    max-width: 600px;
  }
}

@media (max-width: 992px) {
  .hero-content {
    max-width: 100%;
    text-align: left;
    margin: 0;
  }

  .hero {
    flex-direction: column;
    justify-content: center;
    padding-top: 60px;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .hero-container {
    order: 2;
  }

  .dynamic-logo-container {
    order: 1;
    position: relative;
    right: auto;
    bottom: auto;
    margin: 3rem auto 2.5rem 0;
    width: 160px;
    opacity: 1 !important;
    animation: none !important;
  }
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes swing {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(10deg);
  }

  50% {
    transform: rotate(0deg);
  }

  75% {
    transform: rotate(-10deg);
  }

  100% {
    transform: rotate(0deg);
  }
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================
   CARDS & GRIDS
   ========================================= */
.grid {
  display: grid;
  gap: var(--space-md);
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  height: 250px;
  position: relative;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
  color: var(--color-on-surface);
}

.card-text {
  color: #666;
  font-size: 0.9rem;
  flex-grow: 1;
  margin-bottom: 1rem;
}

/* New Card Components from Screenshot */
.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.badge-red {
  background-color: var(--color-green);
}

.badge-orange {
  background-color: var(--color-amber);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.card-duration {
  color: var(--color-gold-dark);
  font-weight: 700;
  font-size: 0.85rem;
}

.btn-dark {
  background-color: #1a1a1a;
  color: #fff;
  padding: 0.4rem 1.2rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 500;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
}

.btn-dark:hover {
  background-color: #333;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonial-card {
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-on-surface);
}

.testimonial-title {
  color: #666;
  font-size: 0.9rem;
}

.testimonial-stars {
  color: var(--color-amber);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  color: #555;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
  flex-grow: 1;
}

.testimonial-screenshot {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-top: auto;
}

.btn-red {
  background-color: var(--color-gold);
  color: var(--color-white);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  transition: transform 0.2s, background-color 0.2s;
  border: none;
  cursor: pointer;
  text-transform: none;
  font-size: 1rem;
  letter-spacing: 0;
}

.btn-red:hover {
  background-color: #d62828;
  color: var(--color-white);
  transform: translateY(-2px);
}

/* =========================================
   GALLERY PAGE
   ========================================= */
.gallery-page-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 200px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  color: var(--color-white);
  font-size: 1rem;
  margin: 0;
}

@media (max-width: 1024px) {
  .gallery-page-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-page-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-page-container {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   FORMS
   ========================================= */
.form-group {
  margin-bottom: var(--space-sm);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-brown-dark);
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(44, 26, 20, 0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* =========================================
   RESPONSIVE DESIGN (MOBILE FIRST)
   ========================================= */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(42, 90, 68, 0.4);
    /* Light green tint */
    backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: auto;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start !important;
    padding: 80px 2rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  .nav-list.active {
    left: 0;
  }

  .nav-link {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
  }

  .nav-book-btn-mobile {
    display: inline-flex !important;
    margin-top: var(--space-md);
    width: 100%;
  }

  .grid-3 {
    grid-template-columns: 1fr !important;
    justify-items: center;
  }

  .grid-3>* {
    width: 100%;
    max-width: 500px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .gallery-page-container {
    justify-items: center;
  }

  .gallery-item {
    width: 100%;
    max-width: 500px;
    margin-left: auto !important;
    margin-right: auto !important;
  }


  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--color-gold);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--color-gold);
  }



  .hero-content {
    padding: 0 1.5rem !important;
    text-align: left !important;
  }

  .hero-content-spread {
    min-height: calc(100svh - 120px);
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .hero-content h1 {
    font-size: clamp(1.2rem, 6vw, 2rem) !important;
    margin-bottom: 0 !important;
  }

  .hero-content p {
    font-size: 0.85rem !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 0 !important;
  }

  .hero-content .btn {
    padding: 1rem 2rem !important;
    font-size: 0.9rem !important;
  }
}

/* =========================================
   GALLERY MODULE (Restored)
   ========================================= */
.gallery-page-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  cursor: pointer;
  background-color: var(--color-gold);
  /* Fallback color when image is missing */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  min-height: 100%;
  /* forces fallback colored box to remain visible */
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(42, 90, 68, 0.75);
  /* Dark corporate green overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  margin: 0;
}

.gallery-item:hover .gallery-overlay h3 {
  transform: translateY(0);
}

/* =========================================
   ADVANCED MOTION & DYNAMIC CITY EFFECTS
   ========================================= */

/* 1. Page Transition Overlay */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-green);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.8, 0, 0.2, 1);
}

.page-transition-overlay.is-active {
  transform: translateY(0);
}

/* 2. Magnetic Button Feel */
.btn-magnetic {
  display: inline-flex;
  transition: transform 0.2s cubic-bezier(0.1, 0.5, 0.2, 1);
  will-change: transform;
}

/* 3. Sophisticated Mask Reveals */
.mask-reveal {
  overflow: hidden;
  position: relative;
  display: block;
  padding-bottom: 0.1em;
  /* Prevent clipping descenders */
}

.mask-reveal span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.mask-reveal.is-visible span {
  transform: translateY(0);
}

/* 4. Floating Spice Particles */
.floating-spice {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.15;
  filter: blur(1px);
  will-change: transform;
}

@keyframes floatAround {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(30px, -50px) rotate(90deg);
  }

  50% {
    transform: translate(-20px, 40px) rotate(180deg);
  }

  75% {
    transform: translate(40px, 20px) rotate(270deg);
  }

  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.floating-spice {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.anim-float {
  animation: floatAround 20s linear infinite;
}

.spice-blur-sm {
  filter: blur(1px) drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.spice-blur-md {
  filter: blur(3px) drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}


/* 5. Image Reveal Animation */
.image-mask {
  position: relative;
  overflow: hidden;
  background: var(--color-gold);
}

.image-mask::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.image-mask.is-visible::after {
  transform: scaleX(1);
  transform-origin: left;
  transition-delay: 0.2s;
}

.image-mask img {
  opacity: 0;
  transition: opacity 0.5s ease;
  transition-delay: 1s;
}

.image-mask.is-visible img {
  opacity: 1;
}

/* =========================================
   RESPONSIVE OVERRIDES
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 6. Advanced Scroll Depth & Interactivity */

/* Side Dot Navigation */
.side-dot-nav {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dot-item {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(26, 51, 38, 0.3);
  border: 1px solid var(--color-gold);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  padding: 0;
}

.dot-item.is-active {
  background: var(--color-gold);
  transform: scale(1.5);
}

.dot-item:hover::before {
  content: attr(data-label);
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-green);
  color: var(--color-gold);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 1;
  pointer-events: none;
}

/* Card Image Parallax Container */
.card-img {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.card-img img {
  height: 120% !important;
  /* Larger than container for parallax */
  width: 100%;
  object-fit: cover;
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Subtle Heading Lag Effect */
.mask-reveal.is-visible span {
  transform: translateY(var(--scroll-lag, 0));
  transition: transform 0.1s linear;
}

/* Scroll-Driven Scale */
.scroll-scale {
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.1, 0.5, 0.2, 1);
}

@media (max-width: 1024px) {
  .side-dot-nav {
    display: none;
  }
}

/* =========================================
   MOBILE FOOTER OVERRIDES (FINAL)
   ========================================= */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    text-align: center !important;
  }

  .footer-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .footer-col-header {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 20px !important;
  }

  .footer-logo {
    display: block !important;
    margin: 0 auto !important;
    height: 80px !important;
    width: auto !important;
    flex-shrink: 0 !important;
  }

  .contact-links {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .contact-links li {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.8rem !important;
    margin-bottom: 2rem !important;
    width: 100% !important;
  }

  .footer-icon-svg {
    margin-right: 0 !important;
    margin-bottom: 8px !important;
    width: 28px !important;
    height: 28px !important;
    color: #B8860B !important;
  }

  .footer-bottom-flex {
    flex-direction: column !important;
    gap: 15px !important;
    text-align: center !important;
  }

  .footer-col p {
    line-height: 1.6 !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }
}

/* ==========================================================================
   GLOBAL UTILITY CLASSES (Spice & Silk Standard)
   ========================================================================== */

/* Footer & Logo Utilities */
.footer-col-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo-standard {
  display: block;
  margin: 0 auto 15px;
  height: 80px;
  width: auto;
}

/* Page Section Utilities */
.section-cta {
  background-color: var(--color-surface-beige);
  color: var(--color-on-surface);
  text-align: center;
}

.section-cta h2 {
  color: var(--color-on-surface);
}

.section-cta p {
  margin-bottom: var(--space-md);
  font-size: 1.2rem;
  color: var(--color-on-surface);
}

.flex-center {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.max-w-800 {
  max-width: 800px;
  margin: 0 auto;
}

/* Testimonial Avatar Utility */
.avatar-placeholder {
  background-color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
}

/* Hero Button Customization */
.hero-btn-large {
  padding: 1.2rem 3.5rem;
  font-size: 1.1rem;
}

/* Interactive Components */
/* 1. Counter Banner */
.counter-banner {
  background: linear-gradient(135deg, var(--color-green) 0%, #153320 100%);
  color: white;
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
  margin: var(--space-xl) auto;
  box-shadow: 0 20px 40px rgba(21, 51, 32, 0.4);
  position: relative;
  overflow: hidden;
}
.counter-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('../images/star_anise.png') repeat;
  opacity: 0.05;
  animation: bg-pan-slow 30s linear infinite;
}
@keyframes bg-pan-slow { 0% { background-position: 0% 0%; } 100% { background-position: 100% 100%; } }

.counter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .counter-grid { grid-template-columns: 1fr; }
  .counter-item { margin-bottom: 2rem; }
}
.counter-item {
  text-align: center;
}
.counter-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.counter-label {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* 2. Interactive Timeline */
.timeline-container {
  position: relative;
  padding: 2rem 0;
  max-width: 800px;
  margin: 0 auto;
}
.timeline-line {
  position: absolute;
  top: 0; left: 24px;
  width: 2px; height: 100%;
  background: rgba(212, 175, 55, 0.3);
}
.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 2rem;
  cursor: pointer;
}
.timeline-dot {
  position: absolute;
  left: 17px; top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid var(--color-gold);
  transition: all 0.3s ease;
  z-index: 2;
}
.timeline-item:hover .timeline-dot, .timeline-item.active .timeline-dot {
  background: var(--color-gold);
  box-shadow: 0 0 15px var(--color-gold);
  transform: scale(1.2);
}
.timeline-time {
  font-family: var(--font-accent);
  color: var(--color-gold-dark);
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
  display: block;
}
.timeline-title {
  color: var(--color-green);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}
.timeline-item:hover .timeline-title {
  color: var(--color-gold-dark);
}
.timeline-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  color: var(--color-text-muted);
}
.timeline-item.active .timeline-content {
  max-height: 300px;
  margin-top: 1rem;
}

/* 3. Media Lightbox */
.hero-media-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.play-btn-pulse {
  width: 80px; height: 80px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  display: flex; justify-content: center; align-items: center;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  animation: pulse-border 2s infinite;
}
.play-btn-pulse svg {
  fill: var(--color-gold);
  width: 30px; height: 30px;
  margin-left: 5px;
  transition: transform 0.3s;
}
.play-btn-pulse:hover {
  background: var(--color-gold);
  transform: translate(-50%, -50%) scale(1.1);
  animation: none;
}
.play-btn-pulse:hover svg {
  fill: white;
}
@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
  70% { box-shadow: 0 0 0 20px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.lightbox-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.95);
  z-index: 1000;
  display: flex; justify-content: center; align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s ease;
}
.lightbox-overlay.active {
  opacity: 1; pointer-events: auto;
}
.lightbox-content {
  width: 90%; max-width: 1000px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.lightbox-overlay.active .lightbox-content {
  transform: scale(1);
}
.lightbox-img {
  width: 100%; height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}
.lightbox-close {
  position: absolute;
  top: -40px; right: 0;
  background: none; border: none;
  color: white; font-size: 2rem;
  cursor: pointer; transition: color 0.3s;
}
.lightbox-close:hover { color: var(--color-gold); }

/* Anywhere We Roam Blog Layout Styles */
.blog-archive {
    background-color: var(--color-bg-light);
    padding: var(--space-xl) 0;
}

.awr-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    background: transparent;
    margin-bottom: 6rem;
}

.awr-card-img-wrapper {
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    position: relative;
    display: block;
}

.awr-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.awr-card-img-wrapper:hover .awr-card-img {
    transform: scale(1.05);
}

.awr-card-content {
    padding-right: 2rem;
}

.awr-category {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-green);
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.awr-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    line-height: 1.2;
    color: var(--color-on-surface);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    transition: color 0.3s;
}

.awr-title a {
    color: inherit;
    text-decoration: none;
}

.awr-title a:hover {
    color: var(--color-gold-dark);
}

.awr-excerpt {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.awr-meta {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-style: italic;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1rem;
}

/* Alternate row reversal */
.awr-card:nth-child(even) {
    grid-template-columns: 1fr 1.2fr;
}
.awr-card:nth-child(even) .awr-card-img-wrapper {
    order: 2;
}
.awr-card:nth-child(even) .awr-card-content {
    order: 1;
    padding-right: 0;
    padding-left: 2rem;
}

@media (max-width: 900px) {
    .awr-card, .awr-card:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }
    .awr-card:nth-child(even) .awr-card-img-wrapper {
        order: 1;
    }
    .awr-card:nth-child(even) .awr-card-content {
        order: 2;
        padding-left: 0;
    }
    .awr-card-content {
        padding-right: 0;
    }
}

/* Responsive Overrides (Ensuring Desktop standard is forced on mobile correctly) */
@media (max-width: 768px) {
  .footer-col-centered {
    width: 100% !important;
  }

  .contact-links li {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
  }
}