:root {
  color-scheme: light;
  --bg: #faf8v5; /* Sand/cream glow */
  --bg: #faf8f5;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-muted: #e6ece8; /* Soft green-grey */
  --text: #10211d; /* Very deep green-black */
  --muted: #4f635c; /* Muted moss green */
  --border: #d2ded9;
  --primary: #0c3a2e; /* Deep pine forest green */
  --primary-dark: #062119;
  --accent: #d97706; /* Golden warm sand/terracotta */
  --accent-light: #fef3c7;
  --sand: #f3dfb7;
  --danger: #dc2626;
  --danger-light: #fee2e2;
  --danger-border: #fca5a5;
  --focus: #2563eb;
  --dark: #0a1c18;
  --shadow: 0 12px 40px rgba(12, 58, 46, 0.06);
  --shadow-hover: 0 20px 50px rgba(12, 58, 46, 0.12);
  --radius: 12px;
  --radius-sm: 6px;
  
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.large-text {
  font-size: 118%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(12, 58, 46, 0.08), transparent 40rem),
    linear-gradient(180deg, #fdfcf9 0%, var(--bg) 40rem);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html.large-text body {
  font-size: 19px;
}

html.large-text h1 {
  font-size: clamp(3.4rem, 7.5vw, 6.5rem);
}

html.large-text .section-heading h2,
html.large-text .faq-layout h2,
html.large-text .contact-details-box h2 {
  font-size: clamp(2.55rem, 5vw, 4rem);
}

html.large-text .lead,
html.large-text .section-heading > p,
html.large-text .product-desc,
html.large-text .news-card p,
html.large-text .faq-content,
html.large-text .contact-details-box p,
html.large-text .eu-project-description p,
html.large-text .footer-tagline {
  font-size: 1.25em;
}

html.large-text .main-nav a,
html.large-text .button,
html.large-text label,
html.large-text input,
html.large-text select,
html.large-text textarea,
html.large-text .calendar-day,
html.large-text .tool-button,
html.large-text .lang-button {
  font-size: 1.08em;
}

/* Accessible High Contrast Mode Styles */
body.high-contrast {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-muted: #f3f3f3;
  --text: #000000;
  --muted: #1a1a1a;
  --border: #000000;
  --primary: #002b66;
  --primary-dark: #00193d;
  --accent: #5e2f00;
  --sand: #ffffff;
  --danger: #990000;
  --focus: #e5a93c;
  --dark: #000000;
  --shadow: none;
  --shadow-hover: none;
  background: #ffffff !important;
  color: #000000;
}

body.high-contrast .hero-media,
body.high-contrast .tour-placeholder-bg,
body.high-contrast .map-card-wrapper {
  filter: grayscale(1) contrast(1.25);
}

body.high-contrast .bg-blob {
  display: none;
}

body.high-contrast .site-header,
body.high-contrast .site-header.is-scrolled,
body.high-contrast .main-nav,
body.high-contrast .hero-booking-bar,
body.high-contrast .booking-shell,
body.high-contrast .booking-panel,
body.high-contrast .calendar-panel,
body.high-contrast .reservation-form,
body.high-contrast .product-card,
body.high-contrast .news-card,
body.high-contrast .price-card,
body.high-contrast .faq-item,
body.high-contrast .admin-lock-screen,
body.high-contrast .admin-dashboard,
body.high-contrast .eu-logos-block {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #000000 !important;
  box-shadow: none !important;
}

body.high-contrast .dark-section,
body.high-contrast .site-footer,
body.high-contrast .footer-main {
  background: #000000 !important;
  color: #ffffff !important;
}

body.high-contrast .dark-section p,
body.high-contrast .dark-section h2,
body.high-contrast .dark-section dt,
body.high-contrast .dark-section dd,
body.high-contrast .site-footer p,
body.high-contrast .site-footer a,
body.high-contrast .site-footer h4,
body.high-contrast .footer-contact-list,
body.high-contrast .footer-tagline {
  color: #ffffff !important;
}

body.high-contrast a,
body.high-contrast .main-nav a,
body.high-contrast .site-header.is-scrolled .main-nav a {
  color: #000000 !important;
}

body.high-contrast .dark-section a,
body.high-contrast .site-footer a {
  color: #ffffff !important;
}

body.high-contrast .button,
body.high-contrast .tool-button,
body.high-contrast .lang-button,
body.high-contrast .icon-button,
body.high-contrast input,
body.high-contrast select,
body.high-contrast textarea {
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
  box-shadow: none !important;
}

body.high-contrast .button.primary,
body.high-contrast .tool-button.is-active,
body.high-contrast .lang-button.is-active,
body.high-contrast .calendar-day.is-selected {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}

body.high-contrast :focus-visible {
  outline: 4px solid #ffbf47;
  outline-offset: 3px;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  transition: color 0.3s ease;
}

button,
input,
select,
textarea {
  font-family: var(--font-sans);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Accessibility skip link */
.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  transform: translateY(-170%);
  background: var(--primary);
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
}

/* Navigation & Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 66px;
  border-radius: 6px;
  background: #eef9df;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.4rem;
}

.main-nav a {
  position: relative;
  padding: 0.6rem 0.9rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0.2rem;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a:hover::after {
  width: calc(100% - 1.8rem);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  min-width: 44px;
  height: 44px;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 60;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(12, 58, 46, 0.06);
  border-color: var(--primary);
}

.hamburger-box {
  width: 24px;
  height: 18px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -1px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
  border-radius: 4px;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -8px;
}

.hamburger-inner::after {
  bottom: -8px;
}

/* Burger Animation on Active */
.mobile-menu-toggle.is-active .hamburger-inner {
  transform: rotate(45deg);
}

.mobile-menu-toggle.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
}

.mobile-menu-toggle.is-active .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
}

/* Premium Parameter Badges */
.product-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1.5px solid var(--border);
  background: var(--surface-muted);
  border-radius: 6px;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.3s ease;
}

.product-meta li:hover {
  background: var(--surface);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.spec-icon {
  width: 15px;
  height: 15px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Premium Button Animation */
.button {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.button:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Card elevations and lifts */
.product-card,
.price-card,
.news-card,
.info-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover,
.price-card:hover,
.news-card:hover,
.info-panel:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(12, 58, 46, 0.12);
  border-color: var(--primary);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.accessibility-tools,
.language-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-muted);
  padding: 2px;
}

.tool-button,
.lang-button {
  min-width: 38px;
  height: 34px;
  padding: 0 0.75rem;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.lang-button.is-active,
.tool-button.is-active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 6px rgba(12, 58, 46, 0.08);
}

.lang-button:hover:not(.is-active),
.tool-button:hover:not(.is-active) {
  background: rgba(12, 58, 46, 0.05);
  color: var(--primary);
}

/* Premium Hero Section */
.hero {
  position: relative;
  min-height: min(780px, calc(100vh - 80px));
  display: grid;
  align-items: center;
  background: var(--dark);
  color: white;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 28, 24, 0.95) 0%, rgba(10, 28, 24, 0.7) 45%, rgba(10, 28, 24, 0.25) 100%),
    linear-gradient(180deg, rgba(10, 28, 24, 0.1), rgba(10, 28, 24, 0.8)),
    url("https://images.unsplash.com/photo-1504280390367-361c6d9f38f4?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 9rem 0 6rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.dark-section .eyebrow {
  color: #fbbf24;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
}

h1 {
  max-width: 800px;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}

h3 {
  font-size: 1.45rem;
}

.lead {
  max-width: 650px;
  margin: 1.5rem 0 2.2rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  padding: 0.8rem 1.6rem;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button.primary {
  background: var(--primary);
  color: white;
}

.button.primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(12, 58, 46, 0.2);
}

.button.secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.button.secondary:hover {
  background: var(--surface-muted);
  border-color: var(--primary);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  backdrop-filter: blur(10px);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: white;
}

/* Sections Structure */
.section {
  padding: 6.5rem 0;
}

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

.muted {
  background: var(--surface-muted);
}

.dark-section {
  background: var(--dark);
  color: white;
}

.section-heading {
  margin-bottom: 3.5rem;
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 0.5fr);
  gap: 3rem;
  align-items: flex-end;
}

.section-heading p,
.split-heading > p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0.5rem 0 0;
}

.dark-section .split-heading > p {
  color: rgba(255, 255, 255, 0.75);
}

/* 3-Step cards */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

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

.step-index {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Products Grid & Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

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

.product-image-container {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #cbd5e1;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
}

.badge-camper {
  background: var(--primary);
}

.product-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-body .eyebrow {
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.product-body h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.product-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
}

.product-specs-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.product-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.product-meta li {
  border: 1px solid var(--border);
  background: var(--surface-muted);
  border-radius: 6px;
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.product-price-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: auto;
  margin-bottom: 1.5rem;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
}

.price-val {
  font-size: 1.15rem;
  font-weight: 800;
  font-family: var(--font-display);
}

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

.select-product-btn {
  width: 100%;
}

/* Virtual 360 Tours */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.tour-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tour-preview {
  position: relative;
  height: 380px;
  background: var(--dark);
}

.tour-placeholder-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
}

.tour-one {
  background-image: linear-gradient(rgba(10, 28, 24, 0.4), rgba(10, 28, 24, 0.4)), url('assets/caravan_1.jpg');
}

.tour-two {
  background-image: linear-gradient(rgba(10, 28, 24, 0.4), rgba(10, 28, 24, 0.4)), url('assets/caravan_2.jpg');
}

.tour-play {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tour-card-body {
  padding: 2rem;
}

.tour-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.tour-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  margin: 0;
}

/* Booking Section */
.booking-shell {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 2rem;
  align-items: start;
}

.booking-panel,
.calendar-panel,
.reservation-form,
.admin-dashboard,
.admin-lock-screen {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.reservation-form {
  grid-column: 1 / -1;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  padding: 0.8rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  outline: none;
}

textarea {
  resize: vertical;
}

.selected-product {
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.selected-product-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #cbd5e1;
}

.selected-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.selected-product-info {
  padding: 1.25rem;
}

.selected-product-info h3 {
  font-size: 1.15rem;
  color: var(--primary);
}

.short-spec {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.2rem 0 0.5rem;
}

.seasonal-rates {
  font-size: 0.82rem;
}

.bank-details {
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: #fdf8eb;
  padding: 1.25rem;
  color: var(--text);
}

.bank-details strong {
  display: block;
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.bank-details p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Calendar Toolbar & Grid */
.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.calendar-toolbar h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.3rem;
  text-transform: capitalize;
  color: var(--primary);
}

.icon-button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
}

.icon-button:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.calendar-weekdays {
  margin-bottom: 0.5rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
}

.calendar-day {
  min-height: 86px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calendar-day:hover:not(:disabled):not(.is-booked) {
  border-color: var(--primary);
  background: rgba(12, 58, 46, 0.04);
}

.day-number {
  font-size: 1.15rem;
  font-weight: 800;
}

.day-status-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.78;
}

.calendar-day.is-outside {
  opacity: 0.3;
}

.calendar-day.is-past {
  background: var(--surface-muted);
  cursor: not-allowed;
  opacity: 0.4;
}

.calendar-day.is-booked {
  background: var(--danger-light);
  border-color: var(--danger-border);
  color: var(--danger);
  cursor: not-allowed;
}

.calendar-day.is-booked .day-status-label {
  font-weight: 800;
}

.calendar-day.is-selected {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(12, 58, 46, 0.2);
}

.calendar-day.is-selected .day-status-label {
  color: white;
}

.calendar-day.in-range {
  background: #eef5f2 !important;
  border-color: var(--border);
  color: var(--primary);
}

.calendar-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 4px;
  border: 1.5px solid var(--border);
}

.legend-dot.available {
  background: white;
}

.legend-dot.booked {
  background: var(--danger-light);
  border-color: var(--danger-border);
}

.legend-dot.selected {
  background: var(--primary);
  border-color: var(--primary);
}

/* Form layout */
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.textarea-label {
  margin-top: 1.5rem;
}

.consent-row {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 0.8rem;
  text-transform: none;
  font-weight: 600;
  font-size: 0.88rem;
}

.consent-row input {
  width: 22px;
  height: 22px;
  min-height: auto;
  margin: 0;
  cursor: pointer;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 1rem 0;
}

.submit-btn {
  width: 100%;
}

.status-message {
  margin-top: 1rem;
  font-weight: 800;
  font-size: 0.95rem;
  display: none;
}

.status-message.success {
  display: block;
  color: var(--primary);
}

.status-message.error {
  display: block;
  color: var(--danger);
}

/* Pricing summary card */
.price-summary-card {
  margin-top: 1.5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #f8fafc;
  padding: 1.5rem;
}

.summary-title {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
}

.deposit-row {
  border-top: 1px dashed var(--border);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

.total-price-text {
  font-size: 1.25rem;
}

.deposit-price-text {
  font-size: 1.25rem;
  font-weight: 800;
}

.deposit-explanation {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.price-placeholder-box {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  background: rgba(248, 250, 252, 0.5);
}

/* Price Cards */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

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

.price-card span {
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.price-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 0.75rem 0 1rem;
  color: var(--primary);
  line-height: 1.1;
}

.price-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.price-card.featured {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.price-card.featured span {
  color: #fbbf24;
}

.price-card.featured strong {
  color: white;
}

.price-card.featured p {
  color: rgba(255, 255, 255, 0.82);
}

/* News Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

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

.news-meta-row {
  margin-bottom: 0.75rem;
}

.news-date {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent);
}

.news-card h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.news-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* FAQ Layout Accordions */
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item-wrapper {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item-wrapper:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  outline: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  display: grid;
  place-items: center;
}

.faq-icon::before {
  content: "+";
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 400;
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon::before {
  content: "−";
}

.faq-content {
  padding: 0 1.5rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Legal Panels */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.info-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.info-panel h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.info-panel p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.btn-text-link {
  margin-top: auto;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.btn-text-link:hover {
  transform: translateX(4px);
  color: var(--primary);
}

/* Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-details-box {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.contact-details-box p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.method-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.method-item .icon {
  font-size: 1.5rem;
  line-height: 1;
}

.method-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
}

.method-item a,
.method-item span {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.method-item a:hover {
  color: var(--accent);
}

.map-card-wrapper {
  min-height: 400px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Admin Dashboard Section */
.admin-section {
  background: var(--surface-muted);
  border-top: 5px solid var(--primary);
}

.admin-lock-screen {
  max-width: 450px;
  margin: 0 auto;
  text-align: center;
}

.lock-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.admin-lock-screen h3 {
  font-size: 1.45rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.admin-lock-screen p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.admin-lock-screen form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.admin-dashboard h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin: 0;
}

.admin-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.admin-dashboard p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.btn-small {
  min-height: 38px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

.admin-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Footer styling */
/* =========================================
   PREMIUM FOOTER (3-column)
   ========================================= */

.site-footer {
  border-top: 1px solid var(--border);
  background: #0d1117;
  color: rgba(255,255,255,0.7);
}

.footer-main {
  padding: 4rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

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

.footer-col {}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-brand-logo {
  display: block;
  width: auto;
  height: 112px;
  border-radius: 6px;
  background: #eef9df;
}

.footer-tagline {
  font-size: 0.83rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  margin: 0 0 1.25rem;
  max-width: 260px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  transition: all 0.25s;
}

.footer-social:hover {
  color: #ffffff;
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
}

.footer-col-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 1.25rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.83rem;
}

.footer-icon {
  width: 20px;
  flex-shrink: 0;
  text-align: center;
}

.footer-contact-list a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-list a:hover {
  color: #ffffff;
}

.footer-contact-list span {
  color: rgba(255,255,255,0.5);
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1rem 0;
  background: #0d1117;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* Admin lock icon — subtle in footer corner */
.footer-admin-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: rgba(255,255,255,0.15);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.footer-admin-lock:hover {
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.07);
}

/* =========================================
   FEATURED VIDEO SECTION
   ========================================= */

.video-featured {
  margin-top: 2.5rem;
}

.video-frame-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  background: #000;
}

.video-frame-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}



/* Media Queries (Responsive Design) */
@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background: var(--surface);
    box-shadow: -10px 0 40px rgba(12, 58, 46, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 6.5rem 2.5rem 2.5rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 45;
    gap: 1.25rem;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav a {
    width: 100%;
    font-size: 1.2rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  
  .main-nav a::after {
    display: none; /* Disable hover underline line on mobile */
  }

  .main-nav a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
    background: transparent;
  }

  .booking-shell {
    grid-template-columns: 1fr;
  }
  
  .split-heading {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 850px) {
  .steps-grid,
  .price-grid,
  .news-grid,
  .legal-grid,
  .form-grid,
  .tour-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4.5rem 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 8rem 0 3rem;
  }

  .header-tools {
    width: auto;
    margin-left: auto;
  }
  
  .site-header {
    position: sticky;
  }
}

@media (max-width: 580px) {
  .brand-logo {
    height: 52px;
  }

  .footer-brand-logo {
    height: 92px;
  }

  .calendar-day {
    min-height: 64px;
    padding: 0.4rem;
  }

  .day-status-label {
    display: none;
  }

  .calendar-legend {
    gap: 0.75rem;
  }
  
  .header-inner {
    padding: 0.5rem 0;
  }
  
  .accessibility-tools {
    display: none; /* Hide access tools on very small screens to fit layout */
  }
}

/* ==========================================================================
   21st Century WOW Upgrades (Aesthetics, Hero widget, Admin redesign)
   ========================================================================== */

/* Modern Background Blobs */
.bg-blob {
  position: fixed;
  width: 45vw;
  height: 45vw;
  max-width: 600px;
  max-height: 600px;
  border-radius: 50%;
  filter: blur(130px);
  z-index: -2;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: multiply;
  animation: float-blob 22s infinite alternate ease-in-out;
}

.blob-1 {
  background: var(--primary);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.blob-2 {
  background: var(--accent);
  bottom: -10%;
  right: -10%;
  animation-delay: 5s;
}

.blob-3 {
  background: var(--sand);
  top: 45%;
  left: 35%;
  width: 30vw;
  height: 30vw;
  animation-delay: 11s;
}

@keyframes float-blob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(4%, 6%) scale(1.08);
  }
  100% {
    transform: translate(-3%, -4%) scale(0.92);
  }
}

body.high-contrast .bg-blob {
  display: none;
}

/* News Cards Image Upgrades */
.news-card {
  padding: 0 !important; /* Reset padding to let image fill the top */
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-image-container {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-muted);
  border-bottom: 1px solid var(--border);
}

.news-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover .news-image-container img {
  transform: scale(1.06);
}

.news-content {
  padding: 1.75rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* High Contrast adjustment for news card */
body.high-contrast .news-card {
  border: 2px solid #000;
}

/* Hero Quick Booking Bar */
.hero-booking-bar {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  align-items: flex-end;
  gap: 1.25rem;
  background: rgba(12, 58, 46, 0.35); /* Translucent dark forest green */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(10, 28, 24, 0.35);
  margin-top: 3.5rem;
  width: 100%;
  max-width: 900px;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-align: left;
}

.booking-field label {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85); /* White text for contrast on dark glass */
}

.booking-field select,
.booking-field input {
  width: 100%;
  height: 48px;
  background: rgba(10, 28, 24, 0.6); /* Cohesive dark background */
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0 1rem;
  font-size: 0.9rem;
  color: #ffffff; /* White text for input values */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.booking-field select option {
  background: #0a251e; /* Keep option dropdown list readable */
  color: #ffffff;
}

.booking-field select:focus,
.booking-field input:focus {
  border-color: var(--accent); /* Highlight with orange accent */
  outline: none;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.25);
}

.hero-booking-bar input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1); /* Invert calendar icon to be white */
  cursor: pointer;
}

/* High Contrast mode overrides for Booking Bar elements */
body.high-contrast .hero-booking-bar .booking-field label {
  color: #000000;
}

body.high-contrast .hero-booking-bar .booking-field select,
body.high-contrast .hero-booking-bar .booking-field input {
  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
}

body.high-contrast .hero-booking-bar select option {
  background: #ffffff;
  color: #000000;
}

body.high-contrast .hero-booking-bar input[type="date"]::-webkit-calendar-picker-indicator {
  filter: none;
}

#hero-booking-search-btn {
  height: 48px;
  min-height: 48px;
  width: 100%;
  padding: 0 1.5rem;
  margin: 0;
  white-space: nowrap;
  border-radius: var(--radius-sm);
}

/* Animations */
.animate-up {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

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

body.high-contrast .hero-booking-bar {
  background: #ffffff;
  border: 2px solid #000000;
  box-shadow: none;
}

/* Admin Lock Screen and Dashboard Redesign */
.admin-lock-screen {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  box-shadow: var(--shadow);
  max-width: 480px !important;
  margin: 0 auto;
}

.admin-lock-screen .lock-icon {
  font-size: 3rem;
  background: var(--surface-muted);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--border);
}

.admin-lock-screen form label {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 0.5rem;
}

.admin-lock-screen form label span {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
}

.admin-lock-screen form input[type="password"] {
  height: 48px;
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.5em;
  padding-left: 0.5em; /* Compensate for letter spacing */
}

/* Unlocked Admin Dashboard */
.admin-dashboard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.admin-form .form-grid {
  grid-template-columns: repeat(4, 1fr) !important; /* 4 columns on desktop */
}

.admin-blocks-section {
  margin-top: 3rem;
  border-top: 1.5px solid var(--border);
  padding-top: 2rem;
}

.admin-blocks-section h4 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.admin-blocks-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.admin-blocks-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.admin-blocks-table th,
.admin-blocks-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.admin-blocks-table th {
  background: var(--surface-muted);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.admin-blocks-table tr:last-child td {
  border-bottom: none;
}

.block-dates-badge {
  display: inline-block;
  background: var(--danger-light);
  color: var(--danger);
  border: 1px solid var(--danger-border);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Responsive updates for Admin & Hero */
@media (max-width: 850px) {
  .hero-booking-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
    padding: 1.25rem;
  }
  
  #hero-booking-search-btn {
    width: 100%;
    margin-top: 0.5rem;
  }

  .admin-form .form-grid {
    grid-template-columns: 1fr 1fr !important; /* 2 columns on tablets */
  }
}

@media (max-width: 580px) {
  .admin-form .form-grid {
    grid-template-columns: 1fr !important; /* 1 column on mobile */
  }
  
  .admin-blocks-table th, 
  .admin-blocks-table td {
    padding: 0.75rem 1rem;
  }
  
  .admin-blocks-table {
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   Dynamic Transparent -> Scrolled Header Color States
   ========================================================================== */

/* Default Transparent State (when at top of page) */
.site-header .main-nav a {
  color: rgba(255, 255, 255, 0.82);
}

.site-header .main-nav a::after {
  background: #ffffff;
}

.site-header .main-nav a:hover {
  color: #ffffff;
}

.site-header:not(.is-scrolled) .accessibility-tools,
.site-header:not(.is-scrolled) .language-switcher {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header:not(.is-scrolled) .accessibility-tools .tool-button,
.site-header:not(.is-scrolled) .language-switcher .lang-button {
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  border: none;
}

.site-header:not(.is-scrolled) .accessibility-tools .tool-button:hover:not(.is-active),
.site-header:not(.is-scrolled) .language-switcher .lang-button:hover:not(.is-active) {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.site-header:not(.is-scrolled) .accessibility-tools .tool-button.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.site-header:not(.is-scrolled) .language-switcher .lang-button.is-active {
  color: #ffffff;
  background: var(--accent);
}

.site-header .mobile-menu-toggle {
  border-color: rgba(255, 255, 255, 0.25);
}

.site-header .mobile-menu-toggle .hamburger-inner,
.site-header .mobile-menu-toggle .hamburger-inner::before,
.site-header .mobile-menu-toggle .hamburger-inner::after {
  background-color: #ffffff;
}

/* Scrolled State overrides (when is-scrolled class is active) */
.site-header.is-scrolled {
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(12, 58, 46, 0.08);
  box-shadow: 0 4px 30px rgba(12, 58, 46, 0.04);
}

.site-header.is-scrolled .main-nav a {
  color: var(--muted);
}

.site-header.is-scrolled .main-nav a::after {
  background: var(--primary);
}

.site-header.is-scrolled .main-nav a:hover {
  color: var(--primary);
}

.site-header.is-scrolled .accessibility-tools,
.site-header.is-scrolled .language-switcher {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

.site-header.is-scrolled .accessibility-tools .tool-button,
.site-header.is-scrolled .language-switcher .lang-button {
  color: var(--muted);
  background: transparent;
  border: none;
}

.site-header.is-scrolled .accessibility-tools .tool-button:hover:not(.is-active),
.site-header.is-scrolled .language-switcher .lang-button:hover:not(.is-active) {
  color: var(--primary);
  background: rgba(0, 0, 0, 0.03);
}

.site-header.is-scrolled .accessibility-tools .tool-button.is-active {
  color: #ffffff;
  background: var(--primary);
}

.site-header.is-scrolled .language-switcher .lang-button.is-active {
  color: #ffffff;
  background: var(--accent);
}

.site-header.is-scrolled .mobile-menu-toggle {
  border-color: var(--border);
}

.site-header.is-scrolled .mobile-menu-toggle .hamburger-inner,
.site-header.is-scrolled .mobile-menu-toggle .hamburger-inner::before,
.site-header.is-scrolled .mobile-menu-toggle .hamburger-inner::after {
  background-color: var(--primary);
}

/* Force dark links in the mobile menu drawer under all circumstances */
@media (max-width: 1024px) {
  .site-header .main-nav a {
    color: var(--muted) !important;
  }
  
  .site-header .main-nav a:hover {
    color: var(--primary) !important;
  }
}

/* ==========================================================================
   Interactive Visual Upgrades & Micro-animations
   ========================================================================== */

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Delay classes */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Premium Card Hover Glows */
.product-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.product-card[id*="camper"]:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 24px 48px rgba(12, 58, 46, 0.16), 0 0 0 1px rgba(12, 58, 46, 0.04);
}

/* Step Card Scaling & Hover Glow */
.step-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(12, 58, 46, 0.08);
}

.step-index {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.4s ease, color 0.4s ease;
}

.step-card:hover .step-index {
  transform: scale(1.1) translateY(-2px);
  text-shadow: 0 0 10px rgba(217, 119, 6, 0.3);
}

/* Tour Card Interactive Zoom */
.tour-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.tour-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.tour-placeholder-bg {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.tour-card:hover .tour-placeholder-bg {
  transform: scale(1.05);
}

.tour-play {
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.tour-play:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 36px rgba(12, 58, 46, 0.4);
}

/* News Card Glows */
.news-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.news-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 24px 48px rgba(12, 58, 46, 0.12);
}

/* Confetti particles */
.confetti-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  will-change: transform, opacity;
  animation: confetti-fall 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-20px) translateX(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(105vh) translateX(var(--drift, 0px)) rotate(360deg);
    opacity: 0;
  }
}

/* Dark section primary button visibility upgrade */
.dark-section .button.primary {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #ffffff !important;
}

.dark-section .button.primary:hover {
  background: #b45309 !important;
  border-color: #b45309 !important;
  box-shadow: 0 12px 36px rgba(217, 119, 6, 0.4) !important;
}

/* =========================================
   EU PROJECT SECTION
   ========================================= */

.eu-project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .eu-project-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.eu-project-description p {
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.eu-project-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.eu-fact-item {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.eu-fact-item:hover { background: rgba(255,255,255,0.12); }

.eu-fact-item dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.eu-fact-item dd {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.eu-logos-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.eu-logos-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #444;
  text-align: center;
  font-weight: 600;
  margin: 0;
}

.eu-logos-img {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
}

.eu-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 1rem;
  background: #1458a8;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  border-radius: 4px;
}

.eu-map-link:hover {
  background: #0f4a91;
}

/* =========================================
   EU FOOTER BAR
   ========================================= */

.eu-footer-bar {
  background: #ffffff;
  border-top: 2px solid #e9f0ee;
  padding: 1.5rem 0;
}

.eu-footer-bar .container {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.eu-footer-logo {
  width: min(720px, 100%);
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.eu-footer-text {
  font-size: 0.78rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

@media (max-width: 600px) {
  .eu-footer-bar .container { flex-direction: column; text-align: center; gap: 1rem; }
  .eu-footer-logo { width: 100%; }
}

/* Final accessibility overrides keep header/tool states readable after all theme rules. */
html.large-text {
  font-size: 118%;
}

html.large-text body {
  font-size: 19px;
}

body.high-contrast,
body.high-contrast main,
body.high-contrast .section,
body.high-contrast .muted,
body.high-contrast .contact-section {
  background: #ffffff !important;
  color: #000000 !important;
}

body.high-contrast .site-header,
body.high-contrast .site-header.is-scrolled,
body.high-contrast .site-header:not(.is-scrolled) .accessibility-tools,
body.high-contrast .site-header:not(.is-scrolled) .language-switcher {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #000000 !important;
  box-shadow: none !important;
}

body.high-contrast .site-header .main-nav a,
body.high-contrast .site-header.is-scrolled .main-nav a,
body.high-contrast .site-header:not(.is-scrolled) .accessibility-tools .tool-button,
body.high-contrast .site-header:not(.is-scrolled) .language-switcher .lang-button {
  color: #000000 !important;
}

body.high-contrast .site-header .mobile-menu-toggle,
body.high-contrast .site-header.is-scrolled .mobile-menu-toggle {
  background: #ffffff !important;
  border-color: #000000 !important;
}

body.high-contrast .site-header .mobile-menu-toggle .hamburger-inner,
body.high-contrast .site-header .mobile-menu-toggle .hamburger-inner::before,
body.high-contrast .site-header .mobile-menu-toggle .hamburger-inner::after,
body.high-contrast .site-header.is-scrolled .mobile-menu-toggle .hamburger-inner,
body.high-contrast .site-header.is-scrolled .mobile-menu-toggle .hamburger-inner::before,
body.high-contrast .site-header.is-scrolled .mobile-menu-toggle .hamburger-inner::after {
  background-color: #000000 !important;
}
