/* ==========================================================================
   Apex Lanka Travels — Premium Luxury Travel Design System
   Colors: Deep Navy (#102A43), Luxury Gold (#C6A15B), Warm White (#FFFFFF),
           Soft Background (#F7F8FA), Dark Text (#202B38), Muted (#6B7280)
   Typography: Playfair Display (Headings) & Inter (Body)
   ========================================================================== */

:root {
  --navy: #102A43;
  --navy-dark: #0A1B2C;
  --navy-light: #1B3B5A;
  --gold: #C6A15B;
  --gold-hover: #B28C45;
  --gold-soft: rgba(198, 161, 91, 0.14);
  --white: #FFFFFF;
  --bg-soft: #F7F8FA;
  --text-dark: #202B38;
  --text-muted: #6B7280;
  --border-light: #E5E7EB;
  --border-subtle: rgba(16, 42, 67, 0.08);
  --error: #B91C1C;
  --error-bg: #FEF2F2;
  --success: #047857;
  --success-bg: #ECFDF5;
  --info: #1E40AF;
  --info-bg: #EFF6FF;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 4px 12px rgba(16, 42, 67, 0.05);
  --shadow-md: 0 12px 30px rgba(16, 42, 67, 0.08);
  --shadow-lg: 0 20px 45px rgba(10, 27, 44, 0.14);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --container-max: 1240px;
  --header-height: 80px;
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
}

ul, ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Container & Layout */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

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

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

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 600;
}

.section--navy h1,
.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.section-header {
  max-width: 720px;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--text-muted);
}

.section--navy .section-subtitle {
  color: rgba(255, 255, 255, 0.82);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  min-height: 48px;
  text-align: center;
  white-space: nowrap;
  transition: transform var(--transition), background-color var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.btn--primary {
  background-color: var(--gold);
  color: var(--navy-dark);
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(198, 161, 91, 0.28);
}

.btn--primary:hover {
  background-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(198, 161, 91, 0.36);
}

.btn--secondary {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
}

.btn--secondary:hover {
  background-color: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--outline-navy {
  background-color: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn--outline-navy:hover {
  background-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--navy {
  background-color: var(--navy);
  color: var(--white);
}

.btn--navy:hover {
  background-color: var(--navy-light);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.65rem 1.25rem;
  min-height: 42px;
  font-size: 0.875rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--transition), background-color var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  border: 1.5px solid var(--gold);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.brand-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

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

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

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  padding-block: 0.35rem;
}

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

.nav-link:hover,
.nav-link.is-active {
  color: var(--navy);
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--navy);
  border: 1px solid var(--border-light);
}

.nav-mobile {
  display: none;
  background-color: var(--white);
  border-top: 1px solid var(--border-subtle);
  padding: 1.25rem 0 1.75rem;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.nav-mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text-dark);
}

.nav-mobile-link.is-active,
.nav-mobile-link:hover {
  background-color: var(--bg-soft);
  color: var(--navy);
}

.nav-mobile .btn {
  width: 100%;
}

/* ==========================================================================
   Hero & Page Banners
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(540px, 84vh, 820px);
  display: flex;
  align-items: center;
  background-color: var(--navy-dark);
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 27, 44, 0.86) 0%,
    rgba(16, 42, 67, 0.68) 52%,
    rgba(16, 42, 67, 0.42) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-block: 4rem;
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero__text {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.25rem;
  max-width: 600px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Inner Page Hero */
.page-hero {
  position: relative;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  background-color: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(198, 161, 91, 0.18), transparent 55%);
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.page-hero__title {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero__text {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.86);
}

/* ==========================================================================
   Split Sections & Checklists
   ========================================================================== */
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.highlight-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.25rem;
  margin-top: 1.75rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500;
  color: var(--navy);
  font-size: 0.96rem;
}

.highlight-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--gold-soft);
  color: var(--gold-hover);
  display: grid;
  place-items: center;
  margin-top: 2px;
}

/* ==========================================================================
   Cards (Features, Values, Commitments)
   ========================================================================== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

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

.card {
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(198, 161, 91, 0.4);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--gold-soft);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.card__text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
}

.card__link:hover {
  color: var(--gold-hover);
}

/* ==========================================================================
   Destination Cards
   ========================================================================== */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.destination-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.destination-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--bg-soft);
}

.destination-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.destination-card:hover .destination-card__media img {
  transform: scale(1.06);
}

.destination-card__body {
  padding: 1.25rem 1.35rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.destination-card__title {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.destination-card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.section-cta {
  margin-top: 2.75rem;
  text-align: center;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(198, 161, 91, 0.25);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.cta-banner__title {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 0.85rem;
}

.cta-banner__text {
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin: 0 auto 2rem;
}

/* ==========================================================================
   About Page Specifics
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
}

.value-pill-card {
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.value-pill-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.value-pill-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Gallery Page & Lightbox
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  background-color: var(--bg-soft);
  border: 1px solid var(--border-light);
  min-height: 42px;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--navy-dark);
}

.filter-btn.is-active {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--bg-soft);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item.is-hidden {
  display: none;
}

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

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

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 27, 44, 0.85) 0%, rgba(10, 27, 44, 0.15) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem;
  color: var(--white);
  opacity: 0.95;
  transition: opacity var(--transition);
}

.gallery-item__category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.gallery-item__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(10, 20, 32, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__dialog {
  position: relative;
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__img {
  max-height: 76vh;
  width: auto;
  max-width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
  margin-top: 1rem;
  text-align: center;
  color: var(--white);
}

.lightbox__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--white);
}

.lightbox__desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0.25rem;
}

.lightbox__btn {
  position: fixed;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  transition: background-color var(--transition);
}

.lightbox__btn:hover {
  background-color: var(--gold);
  color: var(--navy-dark);
}

.lightbox__close {
  top: 1.25rem;
  right: 1.25rem;
}

.lightbox__prev {
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ==========================================================================
   Contact Page & Forms
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.form-card {
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.form-label span {
  color: var(--gold-hover);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 46px;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.form-control.is-invalid {
  border-color: var(--error);
}

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

.field-error {
  font-size: 0.8rem;
  color: var(--error);
  min-height: 1.1em;
}

.form-privacy-note {
  margin-top: 1.15rem;
  padding: 0.9rem 1rem;
  background-color: var(--bg-soft);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.form-status {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status--error {
  background-color: var(--error-bg);
  color: var(--error);
  border: 1px solid rgba(185, 28, 28, 0.25);
}

.form-status--info {
  background-color: var(--info-bg);
  color: var(--info);
  border: 1px solid rgba(30, 64, 175, 0.25);
}

.form-status--success {
  background-color: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(4, 120, 87, 0.25);
}

.btn.is-loading {
  opacity: 0.78;
  pointer-events: none;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-box {
  background-color: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.info-box h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.93rem;
}

.info-item__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--navy);
  display: grid;
  place-items: center;
  border: 1px solid var(--border-subtle);
}

.info-item__label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

.whatsapp-btn {
  background-color: #1F7A53;
  color: var(--white);
  width: 100%;
}

.whatsapp-btn:hover {
  background-color: #186242;
  transform: translateY(-2px);
}

/* Policy Sections */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.policy-card {
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.policy-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.policy-card p,
.policy-card li {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.policy-card ul {
  padding-left: 1.15rem;
  list-style: disc;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--navy-dark);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-brand__tagline {
  color: var(--gold);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.footer-brand__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.15rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  color: var(--white);
}

.social-link:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}

.footer-bottom {
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   Subtle Reveal Animation
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Responsive Breakpoints (1024px, 768px, 430px, 375px, 320px)
   ========================================================================== */
@media (max-width: 1100px) {
  .grid-4,
  .destinations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .split-grid,
  .contact-layout,
  .policy-grid {
    grid-template-columns: 1fr;
  }
  .grid-3,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid-4,
  .grid-3,
  .grid-2,
  .destinations-grid,
  .gallery-grid,
  .values-grid,
  .highlight-list,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero__actions {
    flex-direction: column;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .lightbox__prev {
    left: 0.5rem;
  }
  .lightbox__next {
    right: 0.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
