/* =====================================================
   Cruisesingalapagos.com - 2026 Modern Design
   Style: Minimalist Editorial / Magazine Layout
   ===================================================== */

/* === CSS Variables / Design Tokens === */
:root {
  /* Colors */
  --color-primary: #1A3A4A;
  --color-primary-dark: #0F2A3A;
  --color-primary-light: #2A5A6A;
  --color-secondary: #4A7C6F;
  --color-secondary-light: #5A9C8F;
  --color-secondary-dark: #3A6C5F;
  --color-accent: #C9A962;
  --color-accent-light: #D9C07A;
  --color-accent-dark: #B99952;
  --color-bg: #FAFAFA;
  --color-bg-alt: #F0F4F5;
  --color-bg-warm: #F8F5F0;
  --color-bg-cool: #EDF4F7;
  --color-bg-cream: #FDF8F3;
  --color-bg-sand: #F5EFE6;
  --color-bg-mist: #E8F0F2;
  --color-bg-cloud: #F2F6F8;
  --color-text: #2C2C2C;
  --color-text-secondary: #6B6B6B;
  --color-text-light: #999999;
  --color-border: #E0E0E0;
  --color-border-light: #F0F0F0;
  --color-white: #FFFFFF;

  /* Semantic Colors */
  --color-success: #4A7C6F;
  --color-info: #5A9C8F;
  --color-warning: #C9A962;
  --color-danger: #B85C5C;

  /* Gradient Colors */
  --gradient-ocean: linear-gradient(135deg, #1A3A4A 0%, #2A5A6A 50%, #4A7C6F 100%);
  --gradient-sunset: linear-gradient(135deg, #C9A962 0%, #E8C88A 50%, #F5E6C8 100%);
  --gradient-sky: linear-gradient(180deg, #EDF4F7 0%, #FAFAFA 50%, #F8F5F0 100%);
  --gradient-deep: linear-gradient(180deg, #0F2A3A 0%, #1A3A4A 100%);
  --gradient-gold: linear-gradient(135deg, #C9A962 0%, #D4B872 50%, #E8C88A 100%);
  --gradient-teal: linear-gradient(135deg, #4A7C6F 0%, #5A9C8F 50%, #6ABCAF 100%);
  --gradient-navy: linear-gradient(135deg, #0F2A3A 0%, #1A3A4A 50%, #2A5A6A 100%);
  --gradient-warm: linear-gradient(135deg, #F8F5F0 0%, #F5EFE6 50%, #E8D9C8 100%);
  --gradient-cool: linear-gradient(135deg, #EDF4F7 0%, #E0EAEF 50%, #D0E0E8 100%);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 64px;

  /* Layout */
  --max-width: 1200px;
  --content-width: 760px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-xl: 0 12px 36px rgba(0,0,0,0.15);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
}

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

/* === Body with Background Pattern === */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle at 20% 80%, rgba(74, 124, 111, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(26, 58, 74, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(201, 169, 98, 0.03) 0%, transparent 70%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

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

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

/* === Layout Utilities === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

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

.section--alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(ellipse at 10% 20%, rgba(74, 124, 111, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(26, 58, 74, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

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

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

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

.section--ocean .content-section__title,
.section--ocean h2,
.section--ocean h3 {
  color: var(--color-white);
}

.section--ocean .content-section__subtitle,
.section--ocean p {
  color: rgba(255, 255, 255, 0.9);
}

.bg-pattern-dots {
  background-image: radial-gradient(var(--color-border) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* === More Background Patterns === */
.bg-pattern-cross {
  background-image:
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bg-pattern-zigzag {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath fill='none' stroke='%23E0E0E0' stroke-width='1' d='M0 20 L20 0 L40 20 L20 40 Z'/%3E%3C/svg%3E");
  background-size: 40px 40px;
}

.bg-pattern-circles {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23E0E0E0' stroke-width='1'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3Ccircle cx='0' cy='0' r='20'/%3E%3Ccircle cx='60' cy='0' r='20'/%3E%3Ccircle cx='0' cy='60' r='20'/%3E%3Ccircle cx='60' cy='60' r='20'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
}

.bg-pattern-triangles {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52' viewBox='0 0 60 52'%3E%3Cpath fill='none' stroke='%23E0E0E0' stroke-width='1' d='M30 0 L60 52 L0 52 Z M30 0 L0 52 L60 52 Z' opacity='0.3'/%3E%3C/svg%3E");
  background-size: 60px 52px;
}

.bg-pattern-waves {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='20' viewBox='0 0 100 20'%3E%3Cpath fill='none' stroke='%23E0E0E0' stroke-width='1' d='M0 10 Q25 0 50 10 T100 10'/%3E%3C/svg%3E");
  background-size: 100px 20px;
}

.bg-pattern-dots-blue {
  background-image: radial-gradient(rgba(26, 58, 74, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
}

.bg-pattern-grid {
  background-image:
    linear-gradient(rgba(26, 58, 74, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 58, 74, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* === Section Color Variants === */
.section--gradient-1 {
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.section--gradient-2 {
  background: linear-gradient(180deg, var(--color-bg-cool) 0%, var(--color-bg) 50%, var(--color-bg-warm) 100%);
}

.section--gradient-3 {
  background: linear-gradient(135deg, rgba(74, 124, 111, 0.1) 0%, rgba(26, 58, 74, 0.1) 100%);
}

.section--gradient-ocean {
  background: linear-gradient(180deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-secondary) 100%);
  color: var(--color-white);
}

.section--gradient-ocean .content-section__title,
.section--gradient-ocean h2,
.section--gradient-ocean h3 {
  color: var(--color-white);
}

.section--gradient-sunset {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-bg-cool) 100%);
  color: var(--color-white);
}

.section--gradient-sunset .content-section__title,
.section--gradient-sunset h2,
.section--gradient-sunset h3 {
  color: var(--color-white);
}

/* === Decorative Section Dividers === */
.section-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
}

.section-divider--top {
  margin-top: -80px;
  z-index: 10;
}

.section-divider--bottom {
  margin-bottom: -80px;
  z-index: 10;
}

.section-divider svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* === Full-width Background Containers === */
.bg-full {
  position: relative;
}

.bg-full::before,
.bg-full::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  opacity: 0.1;
}

.bg-full::before {
  top: -200px;
  left: -200px;
  background: var(--color-secondary);
}

.bg-full::after {
  bottom: -200px;
  right: -200px;
  background: var(--color-primary);
}

/* === Card with Image Background === */
.card-with-bg {
  position: relative;
  overflow: hidden;
  background: var(--color-white);
  border-radius: var(--radius-lg);
}

.card-with-bg__image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  transition: opacity var(--transition-normal);
}

.card-with-bg:hover .card-with-bg__image {
  opacity: 0.15;
}

.card-with-bg__content {
  position: relative;
  z-index: 1;
}

/* === Gradient Border Cards === */
.gradient-border {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2px;
}

.gradient-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-ocean);
  border-radius: inherit;
  z-index: -1;
}

.gradient-border > * {
  background: var(--color-white);
  border-radius: calc(var(--radius-lg) - 2px);
}

/* === Header with Shadow === */
.header {
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-sm) 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.logo__subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-secondary);
}

.nav {
  display: flex;
  gap: var(--space-md);
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-xs) 0;
  position: relative;
}

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

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

.nav__link:hover,
.nav__link--active {
  color: var(--color-primary);
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* === Hero Section === */
.hero {
  padding: var(--space-xl) 0;
  text-align: center;
  background: var(--gradient-sky);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  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='%231A3A4A' 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");
  opacity: 0.5;
}

.hero__title {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  position: relative;
}

/* === Decorative Wave Divider === */
.wave-divider {
  position: relative;
  height: 80px;
  background: var(--color-bg);
}

.wave-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23F0F4F5' d='M0,50 C360,100 1080,0 1440,50 L1440,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat center;
  background-size: cover;
}

/* === Dual Core Layout === */
.dual-core {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
  position: relative;
}

.dual-core::before,
.dual-core::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 124, 111, 0.08) 0%, transparent 70%);
  z-index: 0;
}

.dual-core::before {
  top: -50px;
  left: -100px;
}

.dual-core::after {
  bottom: -50px;
  right: -100px;
}

.dual-core__column {
  padding: var(--space-lg);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(224, 224, 224, 0.5);
}

.dual-core__column::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-ocean);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.dual-core__header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-border);
}

.dual-core__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-alt);
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 1.25rem;
}

.dual-core__title {
  font-size: 1.25rem;
  margin-bottom: 0;
}

.dual-core__content {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
}

/* === Cruise Card === */
.cruise-card {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  padding-left: var(--space-md);
  transition: all var(--transition-normal);
}

.cruise-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--gradient-ocean);
  border-radius: 2px;
  transition: height var(--transition-normal);
}

.cruise-card:hover::before {
  height: 80%;
}

.cruise-card:last-child {
  border-bottom: none;
}

.cruise-card:hover {
  padding-left: calc(var(--space-md) + 4px);
  background: linear-gradient(90deg, rgba(74, 124, 111, 0.03) 0%, transparent 50%);
}

.cruise-card__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.1) 0%, rgba(201, 169, 98, 0.05) 100%);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.cruise-card__title {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.cruise-card__title a {
  color: var(--color-primary);
}

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

.cruise-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

.cruise-card__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cruise-card__link:hover {
  gap: 8px;
}

/* === Comparison Table === */
.comparison-table {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.comparison-table__title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.comparison-table__content {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.comparison-table__content th {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 6px;
  text-align: left;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.comparison-table__content td {
  padding: 8px 6px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.comparison-table__content tr:last-child td {
  border-bottom: none;
}

.comparison-table__content tr:hover td {
  background: rgba(74, 124, 111, 0.05);
}

.comparison-table__content td a {
  color: var(--color-primary);
  font-weight: 500;
}

.comparison-table__content td a:hover {
  color: var(--color-secondary);
}

/* === Quick Facts === */
.quick-facts {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: var(--radius-md);
  color: var(--color-white);
}

.quick-facts__title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-white);
  opacity: 0.8;
  margin-bottom: var(--space-sm);
  text-align: center;
}

.quick-facts__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  text-align: center;
}

.quick-facts__item {
  display: flex;
  flex-direction: column;
}

.quick-facts__number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.quick-facts__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* === Destination Card === */
.dest-card {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  padding-left: var(--space-md);
  transition: all var(--transition-normal);
}

.dest-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  border-radius: 2px;
  transition: height var(--transition-normal);
}

.dest-card:hover::before {
  height: 80%;
}

.dest-card:last-child {
  border-bottom: none;
}

.dest-card:hover {
  padding-left: calc(var(--space-md) + 4px);
  background: linear-gradient(90deg, rgba(74, 124, 111, 0.03) 0%, transparent 50%);
}

.dest-card__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-secondary);
  margin-bottom: var(--space-xs);
  background: linear-gradient(135deg, rgba(74, 124, 111, 0.1) 0%, rgba(74, 124, 111, 0.05) 100%);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.dest-card__title {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.dest-card__title a {
  color: var(--color-primary);
}

.dest-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

/* === Content Section === */
.content-section {
  padding: var(--space-lg) 0;
}

.content-section__header {
  margin-bottom: var(--space-lg);
  text-align: center;
}

.content-section__title {
  margin-bottom: var(--space-xs);
}

.content-section__subtitle {
  color: var(--color-text);
  font-size: 1rem;
}

/* === Article Block === */
.article-block {
  max-width: var(--content-width);
  margin: 0 auto;
}

.article-block__title {
  margin-bottom: var(--space-md);
}

.article-block__lead {
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.article-block p {
  margin-bottom: var(--space-md);
}

/* === Detail Cards Grid === */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.detail-card {
  padding: var(--space-md);
  background: linear-gradient(145deg, var(--color-white) 0%, var(--color-bg-alt) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-ocean);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.detail-card:hover::before {
  opacity: 1;
}

.detail-card__title {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-primary);
}

.detail-card__text {
  font-size: 0.9375rem;
  color: var(--color-text);
  margin-bottom: 0;
}

/* === Sidebar === */
.sidebar {
  padding: var(--space-lg);
  background: linear-gradient(180deg, var(--color-white) 0%, rgba(240, 244, 245, 0.5) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(224, 224, 224, 0.5);
}

.sidebar__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-accent);
  color: var(--color-primary);
}

.sidebar__list {
  list-style: none;
}

.sidebar__item {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
}

.sidebar__item:last-child {
  border-bottom: none;
}

.sidebar__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
}

.sidebar__link:hover {
  color: var(--color-secondary);
}

/* === Page Header === */
.page-header {
  padding: var(--space-lg) 0;
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg-cool) 50%, var(--color-bg-warm) 100%);
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(74, 124, 111, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(26, 58, 74, 0.06) 0%, transparent 50%);
}

.page-header__title {
  margin-bottom: var(--space-xs);
  position: relative;
}

.page-header__breadcrumb {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.page-header__breadcrumb a {
  color: var(--color-text-secondary);
}

.page-header__breadcrumb a:hover {
  color: var(--color-primary);
}

/* === Itinerary Table === */
.itinerary {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
}

.itinerary th,
.itinerary td {
  padding: var(--space-sm);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.itinerary th {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.itinerary td {
  font-size: 0.9375rem;
}

.itinerary tbody tr:hover {
  background-color: var(--color-bg-alt);
}

/* === CTA Block === */
.cta-block {
  padding: var(--space-lg);
  background: var(--gradient-ocean);
  color: var(--color-white);
  text-align: center;
  border-radius: var(--radius-lg);
  margin: var(--space-lg) 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-block::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta-block__title {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  position: relative;
}

.cta-block__text {
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-block__btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background: var(--gradient-sunset);
  color: var(--color-primary);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: 0 4px 15px rgba(201, 169, 98, 0.3);
}

.cta-block__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 98, 0.4);
  background: var(--color-accent-light);
}

/* === Footer === */
.footer {
  background: var(--gradient-deep);
  color: rgba(255,255,255,0.8);
  padding: var(--space-lg) 0 var(--space-md);
  margin-top: var(--space-xl);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-ocean);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0;
  color: rgba(255,255,255,0.85);
}

.footer__title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.footer__list {
  list-style: none;
}

.footer__item {
  margin-bottom: var(--space-xs);
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
}

.footer__bottom a {
  color: rgba(255,255,255,0.7);
}

.footer__bottom a:hover {
  color: var(--color-white);
}

/* Footer Newsletter */
.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.footer-newsletter__text {
  flex: 1;
}

.footer-newsletter__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 4px;
}

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

.footer-newsletter__form {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 400px;
}

.footer-newsletter__input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  font-size: 0.875rem;
}

.footer-newsletter__input::placeholder {
  color: rgba(255,255,255,0.5);
}

.footer-newsletter__input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.footer-newsletter__btn {
  padding: 10px 20px;
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.footer-newsletter__btn:hover {
  background: var(--color-accent-light);
}

/* Footer Social */
.footer-social {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer-social__link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.footer-social__link:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* === Responsive === */
@media (max-width: 768px) {
  :root {
    --space-lg: 32px;
    --space-xl: 48px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero__title { font-size: 2rem; }

  .dual-core {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

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

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    flex-direction: column;
    padding: var(--space-sm);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .nav--active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

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

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

/* === Image Container === */
.image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

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

.image-container__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 50%,
    rgba(26, 58, 74, 0.8) 100%
  );
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
}

.image-container:hover .image-container__overlay {
  opacity: 1;
}

.image-container__caption {
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
}

/* === Image Gallery Grid === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  color: inherit;
  text-decoration: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.gallery-item__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-sm);
  background: linear-gradient(transparent, rgba(26, 58, 74, 0.9));
  color: var(--color-white);
  font-size: 0.8125rem;
}

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-sm);
  background: linear-gradient(transparent, rgba(26, 58, 74, 0.9));
  color: var(--color-white);
  font-size: 0.8125rem;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.gallery-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
}

.gallery-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === Decorative Image Frame === */
.image-frame {
  position: relative;
  padding: var(--space-sm);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.image-frame::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: var(--gradient-ocean);
  border-radius: calc(var(--radius-lg) + 4px);
  z-index: -1;
}

/* === Icon with Background === */
.icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-white) 100%);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--color-primary);
  font-size: 1.25rem;
  transition: all var(--transition-normal);
}

.icon-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--gradient-ocean);
  color: var(--color-white);
}

/* === Utility Classes === */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-secondary { color: var(--color-text-secondary); }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }

/* === Additional Background Image Classes === */

/* Hero with nature pattern overlay */
.hero-pattern {
  background:
    linear-gradient(var(--gradient-sky)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%231A3A4A' fill-opacity='0.03'%3E%3Cpath opacity='.5' d='M50 0 L100 50 L50 100 L0 50 Z'/%3E%3Cpath opacity='.3' d='M25 0 L75 50 L25 100 L-25 50 Z'/%3E%3Cpath opacity='.2' d='M0 25 L50 75 L0 125 L-50 75 Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Floating shapes background */
.bg-floating-shapes {
  position: relative;
  overflow: hidden;
}

.bg-floating-shapes::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 5%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(74, 124, 111, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float1 8s ease-in-out infinite;
}

.bg-floating-shapes::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 10%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(201, 169, 98, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float2 10s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 20px); }
}

/* Animated gradient background */
.bg-animated-gradient {
  background: linear-gradient(-45deg, var(--color-bg), var(--color-bg-alt), var(--color-bg-cool), var(--color-bg-warm));
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Layered wave background */
.bg-layered-waves {
  position: relative;
  background: var(--color-bg);
}

.bg-layered-waves::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200'%3E%3Cpath fill='%23F0F4F5' fill-opacity='0.5' d='M0,160 C240,200 480,120 720,160 C960,200 1200,120 1440,160 L1440,200 L0,200 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

/* Hexagon pattern background */
.bg-hexagon {
  background-color: var(--color-bg-alt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%231A3A4A' fill-opacity='0.04'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Diagonal stripe background */
.bg-diagonal-stripes {
  background: repeating-linear-gradient(
    45deg,
    var(--color-bg-alt),
    var(--color-bg-alt) 10px,
    var(--color-bg) 10px,
    var(--color-bg) 20px
  );
}

/* Dot matrix with color background */
.bg-dot-matrix {
  background-color: var(--color-bg-cool);
  background-image: radial-gradient(circle, var(--color-secondary) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* Organic blob shapes background */
.bg-blob-shapes {
  position: relative;
  overflow: hidden;
}

.bg-blob-shapes::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(74, 124, 111, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(26, 58, 74, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(201, 169, 98, 0.05) 0%, transparent 50%);
  animation: blobMove 20s ease-in-out infinite;
}

@keyframes blobMove {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, 2%) rotate(120deg); }
  66% { transform: translate(-2%, 1%) rotate(240deg); }
}

/* Subtle topographic lines pattern */
.bg-topo {
  background-color: var(--color-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cpath fill='none' stroke='%231A3A4A' stroke-opacity='0.05' stroke-width='1' d='M0 200 Q100 150 200 200 T400 200 M0 100 Q100 50 200 100 T400 100 M0 300 Q100 250 200 300 T400 300'/%3E%3C/svg%3E");
  background-size: 400px 400px;
}

/* Mountain silhouette background */
.bg-mountains {
  position: relative;
  overflow: hidden;
}

.bg-mountains::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 150' preserveAspectRatio='none'%3E%3Cpath fill='%23F0F4F5' fill-opacity='0.3' d='M0,150 L0,80 L200,120 L400,60 L600,100 L800,40 L1000,90 L1200,50 L1440,100 L1440,150 Z'/%3E%3Cpath fill='%23F0F4F5' fill-opacity='0.5' d='M0,150 L0,100 L300,130 L500,70 L700,110 L900,60 L1100,100 L1300,70 L1440,110 L1440,150 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

/* Noise texture overlay */
.bg-noise::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* =====================================================
   Image Gallery with Placeholder Patterns
   ===================================================== */

/* Placeholder image with gradient */
.img-placeholder {
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg-cool) 50%, var(--color-bg-warm) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  min-height: 200px;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.img-placeholder__icon {
  font-size: 2rem;
  opacity: 0.3;
  z-index: 1;
}

/* Image overlay effects */
.img-overlay-gradient {
  position: relative;
}

.img-overlay-gradient::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(26, 58, 74, 0.7) 0%, transparent 50%);
  pointer-events: none;
}

.img-overlay-vignette::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: inset 0 0 100px rgba(0,0,0,0.3);
  pointer-events: none;
}

/* Polaroid-style image frame */
.img-polaroid {
  background: var(--color-white);
  padding: 10px 10px 40px;
  box-shadow: var(--shadow-md);
  transform: rotate(-2deg);
  transition: transform var(--transition-normal);
}

.img-polaroid:hover {
  transform: rotate(0deg) scale(1.02);
}

.img-polaroid img {
  filter: sepia(10%);
  transition: filter var(--transition-normal);
}

.img-polaroid:hover img {
  filter: sepia(0%);
}

/* Vintage postcard style */
.img-postcard {
  border: 8px solid var(--color-white);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.img-postcard::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid var(--color-accent);
  pointer-events: none;
}

/* Full-width banner image */
.banner-image {
  position: relative;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.banner-image__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 58, 74, 0.85) 0%, rgba(74, 124, 111, 0.75) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Split image layout */
.split-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.split-image__item {
  position: relative;
  overflow: hidden;
}

.split-image__item:first-child {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.split-image__item:last-child {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-bg-cool) 100%);
}

.split-image__text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.5rem;
  text-align: center;
  padding: var(--space-lg);
}

/* =====================================================
   Header Background Image Styles
   ===================================================== */

.header-image {
  position: relative;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 58, 74, 0.7) 0%,
    rgba(26, 58, 74, 0.5) 50%,
    rgba(74, 124, 111, 0.6) 100%
  );
  z-index: 1;
}

.header-image__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: var(--space-xl);
}

.header-image__title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-white);
  text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
  margin-bottom: var(--space-md);
  letter-spacing: 2px;
}

.header-image__subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto;
}

/* Header with overlay pattern */
.header-pattern {
  position: relative;
  overflow: hidden;
}

.header-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cpath fill='%23FFFFFF' fill-opacity='0.05' d='M1 1 L399 1 L399 399 L1 399 Z M0 0 L400 0 L400 400 L0 400 Z'/%3E%3Cpath fill='none' stroke='%23FFFFFF' stroke-opacity='0.1' stroke-width='1' d='M0 200 Q100 150 200 200 T400 200 M0 100 Q100 50 200 100 T400 100 M0 300 Q100 250 200 300 T400 300'/%3E%3C/svg%3E");
  background-size: 400px 400px;
  pointer-events: none;
  z-index: 1;
}

/* =====================================================
   Homepage Carousel / Slider Styles
   ===================================================== */

.carousel {
  position: relative;
  overflow: hidden;
  height: 500px;
  background: var(--color-primary-dark);
}

.carousel__slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.carousel__slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel__slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark overlay for text readability */
.carousel__slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 58, 74, 0.85) 0%,
    rgba(74, 124, 111, 0.75) 50%,
    rgba(26, 58, 74, 0.85) 100%
  );
  z-index: 1;
}

.carousel__slide--1 {
  background-image: url('https://images.unsplash.com/photo-1548574505-5e239809ee19?w=1920&h=500&fit=crop');
}

.carousel__slide--2 {
  background-image: url('https://images.unsplash.com/photo-1559827260-dc66d52bef19?w=1920&h=500&fit=crop');
}

.carousel__slide--3 {
  background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1920&h=500&fit=crop');
}

.carousel__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: var(--space-xl);
  max-width: 800px;
}

.carousel__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  text-shadow: 2px 4px 12px rgba(0,0,0,0.3);
}

.carousel__desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.carousel__btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: var(--gradient-gold);
  color: var(--color-primary);
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(201, 169, 98, 0.4);
}

.carousel__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 98, 0.5);
}

/* Carousel Navigation */
.carousel__nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.carousel__dot--active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.2);
}

/* Carousel Arrows */
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel__arrow:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

.carousel__arrow--prev {
  left: 20px;
}

.carousel__arrow--next {
  right: 20px;
}

/* Carousel Progress Bar */
.carousel__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--color-accent);
  width: 0%;
  animation: progress 5s linear infinite;
}

@keyframes progress {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* =====================================================
   Enhanced Heading Styles
   ===================================================== */

/* Heading with underline decoration */
.heading-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.heading-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
}

.heading-underline--center::after {
  left: 50%;
  transform: translateX(-50%);
}

.heading-underline--right::after {
  left: auto;
  right: 0;
}

/* Heading with left border */
.heading-border-left {
  padding-left: 20px;
  border-left: 4px solid var(--color-accent);
}

/* Heading with gradient text */
.heading-gradient {
  background: var(--gradient-ocean);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Heading with shadow */
.heading-shadow {
  text-shadow: 2px 4px 8px rgba(26, 58, 74, 0.2);
}

/* Heading with highlight */
.heading-highlight {
  position: relative;
  display: inline;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(201, 169, 98, 0.3) 50%
  );
  padding: 0 4px;
}

/* Heading with icon */
.heading-icon {
  display: flex;
  align-items: center;
  gap: 12px;
}

.heading-icon__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-ocean);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
}

/* Heading with badge */
.heading-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.heading-badge__badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--gradient-gold);
  color: var(--color-primary);
  padding: 4px 12px;
  border-radius: 20px;
}

/* Large display heading */
.heading-display {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
}

@media (max-width: 768px) {
  .heading-display {
    font-size: 2.5rem;
  }
}

/* Elegant serif heading */
.heading-elegant {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  color: var(--color-primary);
  position: relative;
}

.heading-elegant::before {
  content: '"';
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.5;
  position: absolute;
  top: -20px;
  left: -30px;
}

/* Section title with decorative elements */
.section-title-wrapper {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section-title-wrapper::before,
.section-title-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent));
}

.section-title-wrapper::before {
  right: calc(50% + 120px);
}

.section-title-wrapper::after {
  left: calc(50% + 120px);
  background: linear-gradient(90deg, var(--color-accent), transparent);
}

.section-title-wrapper__icon {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-title-wrapper__title {
  margin-bottom: var(--space-xs);
}

.section-title-wrapper__subtitle {
  color: var(--color-text-secondary);
  font-size: 1.125rem;
}

/* Hero Banner Section */
.hero-banner {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  text-align: center;
}

.hero-banner__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(26,58,74,0.03) 0%, rgba(74,124,111,0.05) 100%);
  z-index: 0;
}

.hero-banner__bg::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(201,169,98,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-banner__bg::after {
  content: '';
  position: absolute;
  bottom: 20px;
  right: 10%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(74,124,111,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-banner .container {
  position: relative;
  z-index: 1;
}

.hero-banner__content {
  max-width: 600px;
  margin: 0 auto;
}

.hero-banner__label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

.hero-banner__title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
}

.hero-banner__title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
  border-radius: 2px;
}

.hero-banner__divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--color-accent), transparent);
  margin: var(--space-md) auto;
}

.hero-banner__subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  font-style: italic;
  margin-bottom: var(--space-md);
}

.hero-banner__decoration {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.hero-banner__star {
  color: var(--color-accent);
  font-size: 1rem;
  opacity: 0.7;
}

.hero-banner__star:nth-child(2) {
  font-size: 1.25rem;
  opacity: 1;
}

/* Decorative line separators */
.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: var(--space-lg) 0;
}

.divider-ornament::before,
.divider-ornament::after {
  content: '';
  width: 80px;
  height: 1px;
  background: var(--color-border);
}

.divider-ornament__icon {
  color: var(--color-accent);
  font-size: 1.25rem;
}

/* =====================================================
   Decorative SVG Backgrounds
   ===================================================== */

/* Wave pattern for sections */
.bg-wave-pattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23F0F4F5' fill-opacity='0.5' d='M0,160 C320,260 640,60 960,160 C1280,260 1400,160 1440,160 L1440,320 L0,320 Z'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: bottom;
}

/* Topographic contour lines */
.bg-contour {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cpath fill='none' stroke='%234A7C6F' stroke-opacity='0.1' stroke-width='1' d='M0 200 C100 150 200 250 400 200 M0 150 C150 100 250 200 400 150 M0 250 C100 200 200 300 400 250'/%3E%3Cpath fill='none' stroke='%231A3A4A' stroke-opacity='0.08' stroke-width='2' d='M0 300 C100 250 200 350 400 300 M0 100 C100 50 200 150 400 100'/%3E%3C/svg%3E");
  background-size: 400px 400px;
}

/* Abstract ocean waves */
.bg-ocean-waves {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cpath fill='none' stroke='%231A3A4A' stroke-opacity='0.06' stroke-width='1' d='M10 100 Q50 50 100 100 T190 100 M10 120 Q50 70 100 120 T190 120 M10 140 Q50 90 100 140 T190 140'/%3E%3Cpath fill='none' stroke='%234A7C6F' stroke-opacity='0.06' stroke-width='1' d='M10 80 Q50 30 100 80 T190 80 M10 160 Q50 110 100 160 T190 160'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* =====================================================
   Parallax Section Styles
   ===================================================== */

.parallax-section {
  position: relative;
  min-height: 400px;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.parallax-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 58, 74, 0.75);
}

.parallax-section__content {
  position: relative;
  z-index: 1;
  padding: var(--space-xl) 0;
  color: var(--color-white);
}

/* =====================================================
   Image Gallery with Lightbox Support
   ===================================================== */

.gallery-lightbox {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-md);
}

.gallery-lightbox__item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  background: var(--gradient-ocean);
}

.gallery-lightbox__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 50%,
    rgba(26, 58, 74, 0.8) 100%
  );
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
}

.gallery-lightbox__item:hover::before {
  opacity: 1;
}

.gallery-lightbox__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 2rem;
  color: var(--color-white);
  z-index: 2;
  transition: transform var(--transition-normal);
}

.gallery-lightbox__item:hover .gallery-lightbox__icon {
  transform: translate(-50%, -50%) scale(1);
}

.gallery-lightbox__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-sm);
  color: var(--color-white);
  font-size: 0.875rem;
  z-index: 2;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.gallery-lightbox__item:hover .gallery-lightbox__caption {
  transform: translateY(0);
}
