/* ============================================
   DESTINATIONS — Shared Styles
   css/destinations.css

   Color schemes via body.dest-[name] classes.
   All classes prefixed dest- to avoid conflicts.
   ============================================ */

/* ---- COLOR SCHEMES ---- */

:root {
  --cream: #FDF8F0;
  --cream-warm: #FAF3E6;
  --text-dark: #2C2416;
  --text-body: #3D3328;
  --text-light: #6B5E50;
  --section-divider: #DDD3C0;
}

body.dest-abruzzo {
  --heading-color: #1A5276;
  --accent-secondary: #2E7D32;
  --cta-color: #D35400;
  --cta-hover: #B94700;
  --azzurro-bg: #1A5276;
  --verde-bg: #2E5D2F;
  --hero-overlay-r: 26;
  --hero-overlay-g: 82;
  --hero-overlay-b: 118;
  --footer-bg: #14405E;
}

body.dest-kerala {
  --heading-color: #C17817;
  --accent-secondary: #7B2D3B;
  --cta-color: #D35400;
  --cta-hover: #B94700;
  --azzurro-bg: #C17817;
  --verde-bg: #6B2433;
  --hero-overlay-r: 107;
  --hero-overlay-g: 36;
  --hero-overlay-b: 51;
  --footer-bg: #4A1A24;
}

body.dest-rajasthan {
  --heading-color: #C76B6F;
  --accent-secondary: #2856A3;
  --cta-color: #D35400;
  --cta-hover: #B94700;
  --azzurro-bg: #2856A3;
  --verde-bg: #C76B6F;
  --hero-overlay-r: 168;
  --hero-overlay-g: 75;
  --hero-overlay-b: 78;
  --footer-bg: #8B3A3D;
}

body.dest-nainital {
  --heading-color: #2B5940;
  --accent-secondary: #3A7D8C;
  --cta-color: #D35400;
  --cta-hover: #B94700;
  --azzurro-bg: #2B5940;
  --verde-bg: #2C6170;
  --hero-overlay-r: 43;
  --hero-overlay-g: 89;
  --hero-overlay-b: 64;
  --footer-bg: #1A3B28;
}

body.dest-wilkesboro {
  --heading-color: #3D5A80;
  --accent-secondary: #A0522D;
  --cta-color: #D35400;
  --cta-hover: #B94700;
  --azzurro-bg: #3D5A80;
  --verde-bg: #7A3B1E;
  --hero-overlay-r: 61;
  --hero-overlay-g: 90;
  --hero-overlay-b: 128;
  --footer-bg: #263D54;
}

/* ---- HERO ---- */
.dest-hero {
  position: relative; width: 100%; height: 88vh; min-height: 520px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.dest-hero-img-placeholder {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: 'Source Sans 3', sans-serif; text-align: center; padding: 40px;
}
.dest-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(var(--hero-overlay-r),var(--hero-overlay-g),var(--hero-overlay-b),0.85) 0%, rgba(var(--hero-overlay-r),var(--hero-overlay-g),var(--hero-overlay-b),0.3) 35%, rgba(0,0,0,0.08) 100%);
}
.dest-hero-content {
  position: relative; z-index: 2; max-width: 820px;
  padding: 0 6% 72px; animation: destFadeUp 0.9s ease-out both 0.2s;
}
.dest-hero-breadcrumb {
  font-family: 'Source Sans 3', sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-bottom: 16px;
}
.dest-hero-breadcrumb a { color: rgba(255,255,255,0.65); text-decoration: none; }
.dest-hero h1 {
  font-size: clamp(3rem, 7vw, 5rem); color: #fff;
  line-height: 1.05; margin-bottom: 18px; font-weight: 700;
}
.dest-hero-subtitle {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem); color: rgba(255,255,255,0.9);
  line-height: 1.55; max-width: 600px;
}
.dest-hero-accent-bar {
  height: 5px;
  background: linear-gradient(to right, var(--accent-secondary), var(--heading-color), var(--cta-color));
}

.dest-content-wrap { max-width: 1200px; margin: 0 auto; padding: 0 6%; }

/* ---- INTRO ---- */
.dest-intro { padding: 80px 0 64px; text-align: left; }
.dest-intro p { max-width: 780px; font-size: 1.15rem; line-height: 1.85; }
.dest-intro p + p { margin-top: 1.4em; }
.dest-intro-accent { width: 60px; height: 3px; background: var(--cta-color); border-radius: 2px; margin-bottom: 32px; }

.dest-section-divider { border: none; height: 1px; background: var(--section-divider); max-width: 1200px; margin: 0 auto; }

/* ---- STORY SECTIONS ---- */
.dest-story-section { padding: 80px 0; }
.dest-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.dest-story-grid.reverse .dest-story-image { order: -1; }
.dest-story-text { text-align: left; }
.dest-story-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 24px; line-height: 1.2; }
.dest-story-text p { margin-bottom: 1.2em; font-size: 1.05rem; }
.dest-story-text p:last-child { margin-bottom: 0; }
.dest-story-text h2::after {
  content: ''; display: block; width: 40px; height: 3px;
  background: var(--accent-secondary); margin-top: 14px; border-radius: 2px;
}
.dest-story-image {
  position: relative; border-radius: 6px; overflow: hidden;
  aspect-ratio: 4/3; box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* ---- IMAGE PLACEHOLDERS ---- */
.dest-img-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: 'Source Sans 3', sans-serif; text-align: center; padding: 24px;
  color: #fff; font-size: 0.95rem; line-height: 1.5;
}
.dest-img-placeholder .label {
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 3px; margin-bottom: 14px;
}
.dest-img-placeholder .desc {
  font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.05rem;
}

/* STOCK = green tones */
.dest-img-placeholder.stock {
  background: linear-gradient(135deg, #1A5276 0%, #1E6A96 50%, #2E7D32 100%);
  border: 3px solid var(--accent-secondary);
}
.dest-img-placeholder.stock .label { background: var(--accent-secondary); }

/* PERSONAL = warm orange tones */
.dest-img-placeholder.personal {
  background: linear-gradient(135deg, #D35400 0%, #B94700 50%, #8B3A00 100%);
  border: 3px solid var(--cta-color);
}
.dest-img-placeholder.personal .label { background: #8B3A00; }

/* ---- FULL-WIDTH IMAGE ---- */
.dest-full-image-break {
  width: 100%; height: 50vh; min-height: 340px;
  overflow: hidden; position: relative;
}

.dest-image-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 16px; background: linear-gradient(transparent, rgba(0,0,0,0.55));
  font-size: 13px; color: rgba(255,255,255,0.85); font-weight: 300;
}

/* ---- PULL QUOTE ---- */
.dest-pull-quote { background: var(--azzurro-bg); padding: 64px 6%; text-align: center; }
.dest-pull-quote blockquote {
  max-width: 820px; margin: 0 auto; font-family: 'Playfair Display', serif;
  font-style: italic; font-size: clamp(1.3rem, 3vw, 1.8rem); line-height: 1.55; color: #fff;
}
.dest-pull-quote blockquote::before {
  content: ''; display: block; width: 50px; height: 3px;
  background: var(--cta-color); margin: 0 auto 24px; border-radius: 2px;
}
.dest-pull-quote.verde { background: var(--verde-bg); }

/* ---- ACTIVITIES ---- */
.dest-activities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.dest-activity-card {
  border-radius: 6px; overflow: hidden; background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06); transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 3px solid var(--accent-secondary);
}
.dest-activity-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.1); }
.dest-activity-card-image { aspect-ratio: 3/2; overflow: hidden; }
.dest-activity-card-body { padding: 24px; text-align: left; }
.dest-activity-card-body h3 { font-size: 1.2rem; margin-bottom: 10px; line-height: 1.3; }
.dest-activity-card-body p { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; }

/* ---- TYPICAL WEEK ---- */
.dest-typical-week { padding: 80px 0; background: var(--cream-warm); }
.dest-typical-week-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.dest-typical-week h2 { margin-bottom: 24px; }
.dest-placeholder-note {
  font-style: italic; color: var(--text-light); border: 2px dashed var(--section-divider);
  border-radius: 8px; padding: 48px 32px; margin-top: 32px; font-size: 1rem;
}

/* ---- CTA ---- */
.dest-cta-section { padding: 100px 0; background: var(--azzurro-bg); text-align: center; }
.dest-cta-section h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; color: #fff; }
.dest-cta-section p { max-width: 560px; margin: 0 auto 36px; font-size: 1.1rem; color: rgba(255,255,255,0.8); }
.dest-cta-button {
  display: inline-block; padding: 16px 52px; background: var(--cta-color); color: #fff;
  font-family: 'Source Sans 3', sans-serif; font-size: 1.05rem; font-weight: 600;
  text-decoration: none; border-radius: 4px; transition: background 0.3s ease, transform 0.2s ease;
}
.dest-cta-section.verde { background: var(--verde-bg); }
.dest-cta-button:hover { background: #E8630A; transform: translateY(-2px); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .dest-story-grid { grid-template-columns: 1fr; gap: 32px; }
  .dest-story-grid.reverse .dest-story-image { order: 0; }
  .dest-story-image { order: -1; }
  .dest-activities-grid { grid-template-columns: 1fr 1fr; }
  .dest-hero { height: 72vh; }
}
@media (max-width: 600px) {
  .dest-hero { height: 62vh; min-height: 400px; }
  .dest-story-section { padding: 56px 0; }
  .dest-pull-quote { padding: 48px 6%; }
  .dest-activities-grid { grid-template-columns: 1fr; }
  .dest-full-image-break { height: 35vh; min-height: 240px; }
  .dest-cta-section { padding: 70px 0; }
}
@keyframes destFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
