/* ===================================================
   Discover Heritage Tours — Design System
   Base / Theme Variables, Type Scale, Reset, and Utility Styles
   - 1.25 modular type scale
   - Warm, time-worn, sepia-inspired color palette
   - Brand primary: #DC661F
====================================================== */

:root {
  /* =========================================
     COLOR SYSTEM — “Sepia Heritage Palette”
     ========================================= */
    --color-primary: #B55744;       /* Terracotta */
    --color-primary-dark: #802D20; /* Rust */

    --color-secondary: #d9e4b6;     /* Vintage green */

    /* Warm neutrals */
    --color-bg: #FAF7F2;           /* Warm parchment */
    --color-surface: #FFF9F4;      /* Light “aged paper” */
    --color-surface-alt: #F2E8DF;  /* Slightly darker section tone */

    --color-text: #2C2A27;         /* Rich dark warm brown (AA contrast) */
    --color-text-light: #dedddc;   /* Muted warm brown */

    --color-border: #D9CEC3;       /* Subtle warm border */
    --color-muted: #969593;

    --color-focus: #e1e9c5;        /* Warm highlight for focus rings */

  /* =========================================
     TYPOGRAPHY
     Modular 1.25 scale derived from 1rem base
     ========================================= */
    --font-header: "Chonburi", serif;
    --font-body: "Domine", serif;
    --font-ui: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

    --fs-100: 0.8rem;  /* Small / captions */
    --fs-200: 1rem;    /* Base body text */
    --fs-300: 1.25rem; /* Lead / h4 */
    --fs-400: 1.563rem;/* h3 */
    --fs-500: 1.953rem;/* h2 */
    --fs-600: 2.441rem;/* h1 */

  /* =========================================
     SPACING SYSTEM (REM)
     Based on 0.25 → 0.5 → 1 → 1.5 → 2.25 → 3.5 rem
     ========================================= */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 1.0rem;
    --space-4: 1.5rem;
    --space-5: 2.25rem;
    --space-6: 3.5rem;

    /* Corners */
    --radius-sm: 0.25rem;
    --radius: 0.375rem;
    --radius-lg: 0.75rem;

    /* Shadows */
    --shadow-soft: 0 0.25rem 0.5rem rgba(0,0,0,0.05);
    --shadow-card: 0 0.5rem 1rem rgba(0,0,0,0.08);
}




/* ===============================================
   GLOBAL RESET + BASE
================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 1.0rem; /* do not change; scale via variables */
  line-height: 1.6;
  background: var(--color-bg);
  color: var(--color-text);
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
}




/* ===============================================
   TYPOGRAPHY
================================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: var(--space-3);
}

h1, h2, h3 {
    font-family: var(--font-header);
    color: var(--color-primary);
    line-height: 1.0 !important;
    letter-spacing: -2.0%;
}

h4, h5, h6 {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.2 !important;
    letter-spacing: 0%;
}

h1 { font-size: var(--fs-600); }
h2 { font-size: var(--fs-500); }
h3 { font-size: var(--fs-400); letter-spacing: 0% !important; }
h4 { font-size: var(--fs-300); }
h5 { font-size: var(--fs-200); }
h6 { font-size: var(--fs-100); }

p {
    margin-bottom: var(--space-3);
    font-size: var(--fs-200);
    letter-spacing: 2.0%;
}

.lead {
    font-size: var(--fs-400);
    color: var(--color-text);
    line-height: 1.15;
    letter-spacing: 0% !important;
}

.overline {
    font-size: var(--fs-100);
    color: var(--color-muted);
    text-transform: uppercase;
}

.signature {
  font-family: "Yellowtail", cursive;
  font-size: var(--fs-400);
}

.small,
.text-small {
    font-size: var(--fs-100);
    color: var(--color-text-light);
}

.text-muted {
    color: var(--color-muted) !important;
}

.accordion-button { font-family: var(--font-body) !important; font-size: var(--fs-300); }




/* ===============================================
   LINKS
================================================ */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: 0.2s ease color;
}

a:hover,
a:focus {
  color: var(--color-primary-dark);
}

/* Navigation Links */
.nav-link {
    color: var(--color-text);
    transition: 0.2s ease color;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--color-primary-dark);
}

/* Media Queries */
  @media only screen and (max-width: 767.9px) {
    .nav-link {
      text-align: center;
    }
  }




/* ===============================================
   BUTTONS
================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  padding: var(--space-2) var(--space-3);
  font-size: var(--fs-200);
  min-width: 8.0rem !important;
  border-radius: var(--radius);
  border: 0.15rem solid var(--color-primary);
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  text-align: center;
}

.btn:hover,
.btn:focus {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn-outline-primary {
  background: transparent;
  color: var(--color-primary);
}

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

/* Other Button Elements */

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--color-muted) !important;
}

.accordion-button:not(.collapsed) {
  color: var(--color-text);
  background-color: var(--color-secondary);
}

/* Media Queries */
  @media only screen and (max-width: 767.9px) {
    .nav-cta {
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
  }




/* ===============================================
   CARD / SURFACE ELEMENTS
================================================ */
.card {
  background: var(--color-surface);
  border: 0.0625rem solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card-body {
  padding: var(--space-4);
  font-size: var(--fs-200);
}

.card-img-top {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}




/* ===============================================
   SECTION HELPERS
================================================ */
.section {
  padding: var(--space-6) 0;
}

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




/* ===============================================
   SPACING UTILITIES
================================================ */
.mt-1 { margin-top: var(--space-1) !important; }
.mt-2 { margin-top: var(--space-2) !important; }
.mt-3 { margin-top: var(--space-3) !important; }
.mt-4 { margin-top: var(--space-4) !important; }
.mt-5 { margin-top: var(--space-5) !important; }

.mb-1 { margin-bottom: var(--space-1) !important; }
.mb-2 { margin-bottom: var(--space-2) !important; }
.mb-3 { margin-bottom: var(--space-3) !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-5 { margin-bottom: var(--space-5) !important; }

.p-1 { padding: var(--space-1) !important; }
.p-2 { padding: var(--space-2) !important; }
.p-3 { padding: var(--space-3) !important; }
.p-4 { padding: var(--space-4) !important; }
.p-5 { padding: var(--space-5) !important; }




/* ===============================================
   BORDERS / DIVIDERS
================================================ */
hr {
  border: none;
  height: 0.0625rem;
  background: var(--color-border);
  margin: var(--space-5) 0;
}




/* ===============================================
   IMAGES / VIDEOS
================================================ */
img,
video {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.img-logo-primary {
  max-height: 6.0rem;
}

.img-vendor-logo {
  max-height: 2.0rem;
}

/* Media Queries */
  @media only screen and (max-width: 767.9px) {
    .img-logo-primary {
      max-height: 4.0rem;
    }
  }




/* ===============================================
   ACCESSIBILITY
================================================ */
*:focus-visible,
.btn-outline-primary:focus-visible {
  outline: 0.25rem solid var(--color-focus) !important;
  outline-offset: 0.25rem;
}