/* 
   Hôtel Masony - Main Stylesheet
   Colors:
   Green: #006B3C
   Warm Red: #a33b3b (Terracotta)
   Yellow: #FCD116
   White: #FFFFFF
*/

/* Base Styles and Reset */
:root {
  --primary-color: #006b3c; /* Green */
  --secondary-color: #a33b3b; /* Warm Terracotta Red */
  --accent-color: #fcd116; /* Yellow */
  --light-color: #ffffff; /* White */
  --dark-color: #1a1a2e; /* Deep Dark */
  --neutral-color: #f7f5f0; /* Warm Light */
  --text-color: #2d2d2d;
  --border-radius: 10px;
  --border-radius-sm: 6px;
  --box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --box-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --image-placeholder: #c9b99a; /* warm tan while images load */
}

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

html {
  scroll-behavior: smooth;
}

/* ── Language System ──────────────────────────────────────────────────────
   French elements are hidden by default (English = default language).
   Specificity-based (no !important) so other display rules are safe to use.
   html body gives 0-1-2; html.lang-is-fr body gives 0-2-2 — these beat any
   single-class rule (0-1-0) without needing !important.
   ───────────────────────────────────────────────────────────────────────── */
html body .lang-fr {
  display: none;
}

html.lang-is-fr body .lang-fr {
  display: revert;
}

html.lang-is-fr body .lang-en {
  display: none;
}

/* ── Base ─────────────────────────────────────────────────────────────── */
body {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  position: relative;
  margin-bottom: 2rem;
  color: var(--dark-color);
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
  margin: 0.6rem auto;
}

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

/* Buttons */

.btn-primary {
  background-color: var(--primary-color);
  color: var(--light-color);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: #005530;
  border-color: #005530;
  color: var(--light-color);
  box-shadow: 0 4px 16px rgba(0,107,60,0.35);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--light-color);
  border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
  background-color: #8b2626;
  border-color: #8b2626;
  color: var(--light-color);
  box-shadow: 0 4px 16px rgba(163,59,59,0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid currentColor;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
  border-color: var(--primary-color);
}

/* Header and Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: var(--transition);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.99);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo .logo-text {
  display: block;
  margin-bottom: 0;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--primary-color);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.logo .logo-text span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: var(--dark-color);
  font-weight: 700;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

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

.language-toggle {
  display: flex;
  gap: 5px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--dark-color);
  opacity: 0.6;
  transition: var(--transition);
  padding: 5px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
}

.lang-btn.active {
  opacity: 1;
  border-bottom: 2px solid var(--accent-color);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 100;
  padding: 5px;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background: var(--image-placeholder) center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

/* Dark overlay that works regardless of inline background-image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.42) 0%,
    rgba(0, 0, 0, 0.62) 100%
  );
  z-index: 0;
}

.hero-content {
  color: var(--light-color);
  max-width: 820px;
  padding: 0 24px;
  animation: fadeInUp 0.9s ease both;
  position: relative;
  z-index: 1;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  line-height: 1.15;
}

.hero-content p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 2rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  opacity: 0.92;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-buttons .btn {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* About Preview Section */
.about-preview {
  padding: 5rem 0;
  background-color: var(--neutral-color);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23006b3c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-content {
  padding: 1rem;
}

.about-content .section-title {
  text-align: left;
}

.about-content .section-title::after {
  margin-left: 0;
}

/* Featured Rooms Section */
.featured-rooms {
  padding: 5rem 0;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.room-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  background: #fff;
}

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

/* ── Image containers: warm placeholder colour while images load ─────────── */
.room-image {
  background: var(--image-placeholder);
  overflow: hidden;
  position: relative;
}

.room-image img,
.room-image-carousel img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.room-card:hover .room-image img,
.room-card:hover .room-image-carousel img {
  transform: scale(1.04);
}

.about-image {
  background: var(--image-placeholder);
  border-radius: var(--border-radius);
  overflow: hidden;
  min-height: 280px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.event-image {
  background: var(--image-placeholder);
  border-radius: var(--border-radius);
  overflow: hidden;
  min-height: 320px;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.room-info {
  padding: 1.5rem;
}

/* .room-price is defined in the Design Polish section below */

.room-features {
  margin-bottom: 1.5rem;
}

.room-features li {
  margin-bottom: 0.5rem;
}

.room-features i {
  color: var(--accent-color);
  margin-right: 10px;
}

/* Event Space Section */
.event-space {
  padding: 5rem 0;
  background-color: var(--neutral-color);
}

.event-content .section-title {
  text-align: left;
}

.event-content .section-title::after {
  margin-left: 0;
}

.event-features {
  margin-bottom: 1.5rem;
}

.event-features li {
  margin-bottom: 0.5rem;
}

.event-features i {
  color: var(--secondary-color);
  margin-right: 10px;
}

/* Gallery Preview Section */
.gallery-preview {
  padding: 5rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--border-radius);
  background: var(--image-placeholder);
  aspect-ratio: 4/3;
  position: relative;
}

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

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

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--neutral-color) 0%, #eef4f0 100%);
}

.testimonial-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.testimonial {
  flex: 0 0 100%;
  max-width: 620px;
  scroll-snap-align: center;
  background-color: var(--light-color);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin: 0 auto;
  position: relative;
  border-left: 4px solid var(--accent-color);
}

.testimonial-content {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.author-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.author-title {
  color: #777;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #006b3c22 100%), #1a1a2e;
  color: var(--light-color);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h3 {
  color: var(--light-color);
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-contact ul li a {
  color: var(--light-color);
}

.footer-contact ul li a:hover {
  color: var(--accent-color);
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: var(--light-color);
}

.footer-links ul li a:hover {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-color);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--accent-color);
  color: var(--dark-color);
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--light-color);
  opacity: 0.7;
}

.footer-bottom-links a:hover {
  opacity: 1;
  color: var(--accent-color);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: var(--light-color);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  font-size: 1.8rem;
  transition: var(--transition);
}

.whatsapp-float a:hover {
  transform: scale(1.12);
  background-color: #1ebe5d;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.9);
  color: var(--light-color);
  padding: 1rem 0;
  z-index: 999;
  display: none;
}

.cookie-consent .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-consent p {
  margin-bottom: 0;
}

.cookie-consent a {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Page Header Styles */
.page-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    #00954f 60%,
    #005530 100%
  );
  color: var(--light-color);
  padding: 7rem 2rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M40 0L80 40 40 80 0 40z'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.88;
  margin-bottom: 0;
}

/* Rooms Page Styles */
.room-filter {
  padding: 2rem 0;
  background-color: var(--neutral-color);
}

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

.filter-group {
  flex: 1;
  min-width: 180px;
}

.filter-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary-color);
  padding-left: 0.6rem;
}

.filter-group select {
  width: 100%;
  padding: 0.72rem 2.8rem 0.72rem 1rem;
  border: 1.5px solid #d0ccc5;
  border-radius: 50px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23006b3c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-color);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.filter-group select:hover {
  border-color: var(--primary-color);
}

.filter-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 107, 60, 0.15);
}

.rooms-section {
  padding: 3rem 0;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.room-card {
  display: flex;
  flex-direction: column;
}

.room-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.room-meta span {
  display: flex;
  align-items: center;
}

.room-meta i {
  margin-right: 5px;
  color: var(--accent-color);
}

.room-description {
  margin-bottom: 1rem;
}

.room-buttons {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

/* Booking Banner */
.booking-banner {
  background: linear-gradient(rgba(0, 107, 60, 0.9), rgba(0, 107, 60, 0.9)),
    url("/images/exterior/view_roof_legacy.jpg")
      center/cover;
  color: var(--light-color);
  padding: 3rem 0;
  text-align: center;
}

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

.banner-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.banner-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Events Page Styles */
.events-header {
  background: linear-gradient(135deg, #8b2626 0%, var(--secondary-color) 100%);
}

.event-overview {
  padding: 4rem 0;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin: 2rem 0;
}

.event-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  background: #fff;
  display: flex;
  flex-direction: column;
}

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

.event-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--image-placeholder);
}

.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.event-card:hover .event-card-image img {
  transform: scale(1.04);
}

.event-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(
    to top,
    rgba(0, 107, 60, 0.88) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  color: #fff;
}

.event-overlay h3 {
  margin-bottom: 0;
  font-size: 1.3rem;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.event-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-facilities {
  padding: 4rem 0;
  background-color: var(--neutral-color);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.facility-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.facility-icon {
  font-size: 2rem;
  color: var(--secondary-color);
}

.facility-content h3 {
  margin-bottom: 0.5rem;
}

.event-gallery {
  padding: 4rem 0;
}

.event-contact {
  padding: 4rem 0;
  background-color: var(--neutral-color);
}

.event-contact-form {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-info-card {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.whatsapp-contact {
  margin-top: 2rem;
}

/* Booking Page Styles */
.booking-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #00954f 100%);
}

.booking-section {
  padding: 3rem 0;
}

.booking-container {
  max-width: 900px;
  margin: 0 auto;
}

.booking-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.booking-steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #ddd;
  z-index: 1;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ddd;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step.active .step-number {
  background-color: var(--primary-color);
  color: var(--light-color);
}

.step-name {
  font-size: 0.9rem;
  font-weight: 700;
}

.booking-form-container {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
  display: none;
}

.booking-form-container.active {
  display: block;
}

.booking-form-container h3 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.booking-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
  width: 100%;
}

.form-group.half {
  width: calc(50% - 0.5rem);
}

.form-group label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #d0ccc5;
  border-radius: var(--border-radius);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text-color);
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--primary-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 107, 60, 0.15);
}

.form-group select {
  padding: 0.75rem 2.8rem 0.75rem 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23006b3c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  font-weight: 600;
}

.form-group textarea {
  resize: vertical;
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
}

.form-group.checkbox input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.btn-block {
  width: 100%;
}

.booking-summary {
  background-color: var(--neutral-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
}

.summary-details {
  margin-top: 1rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ddd;
}

.summary-item.total {
  font-weight: 700;
  font-size: 1.2rem;
  border-top: 2px solid #ddd;
  border-bottom: none;
  padding-top: 0.5rem;
}

.payment-methods {
  margin-bottom: 2rem;
}

.payment-method-selector {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  cursor: pointer;
  flex: 1;
}

.payment-option input {
  margin-right: 0.5rem;
}

.confirmation-message {
  text-align: center;
  padding: 2rem;
}

.confirmation-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.confirmation-details {
  text-align: left;
  max-width: 500px;
  margin: 2rem auto;
}

.confirmation-detail {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #ddd;
}

.confirmation-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.book-direct {
  padding: 4rem 0;
  background-color: var(--neutral-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-item {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.booking-faqs {
  padding: 4rem 0;
}

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

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  background-color: var(--light-color);
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 1.5rem;
}

/* Contact Page Styles */
.contact-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #00954f 100%);
}

.contact-info-section {
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.info-card {
  background-color: var(--neutral-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.social-contact {
  margin-top: 2rem;
}

.social-contact h3 {
  margin-bottom: 1rem;
}

.whatsapp-contact-large {
  margin-top: 2rem;
  background-color: #25d366;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  color: var(--light-color);
}

.btn-whatsapp {
  background-color: var(--light-color);
  color: #25d366;
  border: none;
}

.btn-whatsapp:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: #25d366;
}

.map-section {
  padding: 4rem 0;
  background-color: var(--neutral-color);
}

.map-container {
  margin: 2rem 0;
  border-radius: var(--border-radius);
  overflow: hidden;
}

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

.directions h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.direction-item {
  display: flex;
  gap: 1rem;
}

.direction-icon {
  font-size: 2rem;
  color: var(--accent-color);
}

.direction-content h4 {
  margin-bottom: 0.5rem;
}

.contact-faq {
  padding: 4rem 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .room-grid,
  .footer-grid,
  .events-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .booking-steps {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .section-grid,
  .contact-grid,
  .rooms-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 1rem;
  }

  .nav-links,
  .book-btn,
  .language-toggle {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-group.half {
    width: 100%;
  }

  .info-cards,
  .directions-grid {
    grid-template-columns: 1fr;
  }

  .payment-method-selector {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .room-grid,
  .gallery-grid,
  .events-grid,
  .facilities-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .step-name {
    display: none;
  }
}

/* Mobile Navigation Styles */
.nav-links,
.book-btn,
.language-toggle {
  transition: all 0.3s ease;
}

.nav-links.mobile-active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background-color: var(--light-color);
  padding: 1.5rem 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 99;
  align-items: center;
  gap: 1.5rem;
  animation: slideDown 0.3s ease forwards;
}

/* Hide these on mobile by default, but they will be moved inside nav-links JS-side or stacked manually */
.book-btn.mobile-active,
.language-toggle.mobile-active {
  display: none !important; /* We will stack them inside the nav-links logic or just position them relatively */
}

/* Better approach: Let nav-links be the wrapper for EVERYTHING on mobile */
.nav-links.mobile-active a {
  padding: 10px 0;
  width: 100%;
  text-align: center;
  font-size: 1.1rem;
}

.mobile-only-link {
  display: none;
}

.mobile-only-link.separator {
  width: 80%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
  margin: 0.5rem 0;
}

.mobile-lang-toggle {
  display: flex !important;
  flex-direction: row !important;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  
  .mobile-only-link {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

.book-btn.mobile-active {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  width: 100%;
}

.book-btn.mobile-active .btn {
  width: 80%;
  margin: 0 auto;
}

.language-toggle.mobile-active {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
}

.language-toggle.mobile-active .lang-btn {
  padding: 8px 15px;
  font-size: 1.1rem;
}

.mobile-menu-btn.active {
  color: var(--primary-color);
}

/* Improved Button Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px; /* pill shape for modern look */
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
  letter-spacing: 1.2px;
  margin: 0.25rem;
  min-height: 46px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .navbar {
    position: relative;
  }

  .btn {
    padding: 10px 20px;
  }

  .hero-buttons .btn {
    width: 100%;
    margin: 0.5rem 0;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   DESIGN POLISH — added in revision
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Room price badge ────────────────────────────────────────────────── */
/* display: block + width: fit-content is visually identical to inline-block.
   In FR mode, display:revert restores block; width:fit-content keeps pill shape. */
.room-price {
  display: block;
  width: fit-content;
  background: linear-gradient(90deg, var(--primary-color), #00954f);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
}

/* ── Room info h3 refinement ─────────────────────────────────────────── */
.room-info h3 {
  margin-bottom: 0.4rem;
  font-size: 1.35rem;
  color: var(--dark-color);
}

/* ── Testimonial quote marks ──────────────────────────────────────────── */
.testimonial-content::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--accent-color);
  line-height: 0;
  vertical-align: -1.5rem;
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

/* ── Scroll-aware entrance animation for cards ────────────────────────── */
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.room-card,
.event-card,
.gallery-item {
  animation: cardFadeIn 0.5s ease both;
}

/* ── Gallery overlay (gallery.html) ──────────────────────────────────── */
.gallery-item {
  position: relative;
  cursor: pointer;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 107, 60, 0.88) 0%,
    rgba(0, 0, 0, 0) 55%
  );
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.35s ease;
  color: #fff;
  border-radius: var(--border-radius);
}

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

.gallery-info h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: #fff;
}

.gallery-info p {
  font-size: 0.85rem;
  margin-bottom: 0;
  opacity: 0.85;
}

/* ── Event cards ──────────────────────────────────────────────────────── */
/* Full event-card rules (incl. event-card-image & event-overlay) are defined
   in the Events Page Styles section above. */

/* ── Section divider accent lines (REMOVED) ─────────────────────────── */

/* ── Smooth scroll offset for sticky header ──────────────────────────── */
[id] {
  scroll-margin-top: 90px;
}

/* ── Responsive gallery filter buttons ───────────────────────────────── */
.gallery-filter {
  padding: 1.5rem 0;
  background: var(--neutral-color);
}

.filter-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 8px 20px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-color);
  color: #fff;
}

/* ── Mobile nav bilingual links: show side by side only when both visible */
.nav-links li {
  position: relative;
}

/* ── Footer column gap on small screens ──────────────────────────────── */
@media (max-width: 480px) {
  .footer-grid {
    gap: 1.5rem;
  }
  .testimonial-content::before {
    font-size: 3rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   Activities & Tours Page
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Intro section ───────────────────────────────────────────────────── */
.activities-intro {
  padding: 5rem 0;
  background-color: var(--neutral-color);
}

.activities-intro-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

.activities-intro-text .section-title {
  text-align: left;
}

.activities-intro-text .section-title::after {
  margin: 0.6rem 0;
}

.activities-intro-perks {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.activities-intro-perks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.975rem;
  color: var(--text-color);
}

.activities-intro-perks li i {
  flex-shrink: 0;
  width: 1.25rem;
  color: var(--primary-color);
  font-size: 1rem;
}

.activities-intro-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-hover);
  aspect-ratio: 3/4;
  background: var(--image-placeholder);
}

.activities-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Tours grid ──────────────────────────────────────────────────────── */
.tours-section {
  padding: 5rem 0;
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* ── Tour card ───────────────────────────────────────────────────────── */
.tour-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border-top: 4px solid var(--primary-color);
}

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

.tour-card--seasonal {
  border-top-color: var(--accent-color);
}

.tour-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.5rem 0;
}

.tour-icon-wrap {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), #00954f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  margin-top: 0.15rem;
}

.tour-card--seasonal .tour-icon-wrap {
  background: linear-gradient(135deg, #c8940a, var(--accent-color));
  color: var(--dark-color);
}

.tour-title-block {
  flex: 1;
}

.tour-title-block h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
  color: var(--dark-color);
}

.tour-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tour-duration {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #666;
}

.tour-duration i {
  color: var(--primary-color);
}

.tour-badge {
  display: inline-block;
  padding: 0.18rem 0.65rem;
  border-radius: 50px;
  background-color: var(--accent-color);
  color: var(--dark-color);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── Tour card body ──────────────────────────────────────────────────── */
.tour-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tour-card-body > p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.25rem;
  flex: 1;
}

.tour-highlights {
  margin-bottom: 1.25rem;
}

.tour-highlights strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--primary-color);
  margin-bottom: 0.6rem;
}

.tour-highlights ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
}

.tour-highlights ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--text-color);
  line-height: 1.45;
}

.tour-highlights ul li i {
  flex-shrink: 0;
  color: var(--primary-color);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

.tour-card--seasonal .tour-highlights ul li i {
  color: #c8940a;
}

.tour-enquire-btn {
  align-self: flex-start;
  font-size: 0.9rem;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  margin-top: auto;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.tour-enquire-btn:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.tour-card--seasonal .tour-enquire-btn {
  border-color: #c8940a;
  color: #c8940a;
}

.tour-card--seasonal .tour-enquire-btn:hover {
  background-color: #c8940a;
  color: #fff;
  border-color: #c8940a;
}

/* ── Good to Know section ────────────────────────────────────────────── */
.activities-notes {
  padding: 4rem 0;
  background-color: var(--neutral-color);
}

.notes-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.notes-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #fff;
  border-radius: var(--border-radius-sm);
  padding: 1rem 1.25rem;
  box-shadow: var(--box-shadow);
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.55;
}

.notes-list li i {
  flex-shrink: 0;
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

/* ── CTA section ─────────────────────────────────────────────────────── */
.activities-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #00954f 60%, #005530 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.activities-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M40 0L80 40 40 80 0 40z'/%3E%3C/g%3E%3C/svg%3E");
}

.activities-cta .cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.activities-cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}

.activities-cta p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.activities-cta .btn-primary {
  background-color: #fff;
  color: var(--primary-color);
  border-color: #fff;
  font-weight: 700;
}

.activities-cta .btn-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--dark-color);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .activities-intro-inner {
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .activities-intro-inner {
    grid-template-columns: 1fr;
  }

  .activities-intro-image {
    max-height: 320px;
    aspect-ratio: unset;
  }

  .tours-grid {
    grid-template-columns: 1fr;
  }

  .tour-highlights ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .tour-card-header {
    flex-direction: column;
    gap: 0.75rem;
  }

  .tour-highlights ul {
    grid-template-columns: 1fr;
  }
}

/* ── Events Page Intro (Matched to Activities) ────────────────────────── */
.events-intro {
  padding: 5rem 0;
  background-color: var(--neutral-color);
}

.events-intro-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

.events-intro-text .section-title {
  text-align: left;
}

.events-intro-text .section-title::after {
  margin: 0.6rem 0;
}

.events-intro-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-hover);
  aspect-ratio: 3/4;
  background: var(--image-placeholder);
}

.events-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .events-intro-inner {
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .events-intro-inner {
    grid-template-columns: 1fr;
  }

  .events-intro-image {
    max-height: 320px;
    aspect-ratio: unset;
  }
}

