/* ============================================
   SUN SUMMIT & SAFARIS - PROFESSIONAL IDENTITY
   Tour Operator in Kenya | Targeting USA Audience
   ============================================
   COLOR PALETTE: 90-10 RULE
   90% Primary: White (#FFFFFF) & Light Greys
   10% Accent: Jungle Green (#1D5D3A) for CTAs
   Supporting: Warm pastels & neutral greys
   ============================================ */

/* ============================================
   ROOT VARIABLES
   ============================================ */

:root {
    /* ===========================================
       PRIMARY BACKGROUND (90% - Clean & Modern)
       =========================================== */
    --bg-primary: #FFFFFF;           /* Pure White - Main background */
    --bg-secondary: #FAFAFA;         /* Off-white - Alternating sections */
    --bg-tertiary: #F5F5F5;          /* Light grey - Cards hover */
    --bg-warm: #FAF9F7;              /* Warm white - Soft sections */
    --bg-cream: #FDF8F3;             /* Cream - Warm accent sections */
    --bg-sage: #F4F7F5;              /* Sage mist - Hero sections */
    
    /* ===========================================
       BRAND COLOR - JUNGLE GREEN (CTA Focus)
       =========================================== */
    --brand-green: #1D5D3A;          /* Deep Jungle Green - Primary CTA */
    --brand-green-dark: #164A2E;     /* Darker green for hover states */
    --brand-green-light: #2A7A4F;    /* Lighter green for accents */
    --brand-green-muted: #3D8B5F;    /* Muted for secondary elements */
    
    /* ===========================================
       ACCENT COLORS (Warm & Earthy)
       =========================================== */
    --accent-gold: #C4A35A;          /* Safari Gold - Premium accents */
    --accent-terracotta: #C67B5C;    /* Warm terracotta */
    --accent-sand: #D4C4A8;          /* Sandy beige */
    
    /* ===========================================
       NEUTRAL/TEXT COLORS
       =========================================== */
    --text-primary: #1A1A1A;         /* Nearly black - Primary text */
    --text-secondary: #4A4A4A;       /* Dark gray - Secondary text */
    --text-muted: #6B6B6B;           /* Medium gray - Muted text */
    --text-light: #9A9A9A;           /* Light gray - Hints, captions */
    --text-white: #FFFFFF;           /* White text on dark backgrounds */
    
    /* ===========================================
       GREY SCALE (Professional Look)
       =========================================== */
    --grey-50: #FAFAFA;
    --grey-100: #F5F5F5;
    --grey-200: #EEEEEE;
    --grey-300: #E0E0E0;
    --grey-400: #BDBDBD;
    --grey-500: #9E9E9E;
    --grey-600: #757575;
    --grey-700: #616161;
    --grey-800: #424242;
    --grey-900: #212121;
    
    /* ===========================================
       BORDER/LINE COLORS
       =========================================== */
    --border-light: #EEEEEE;
    --border-medium: #E0E0E0;
    --border-dark: #BDBDBD;
    
    /* ===========================================
       TYPOGRAPHY - FONT FAMILIES (Simple & Clean)
       =========================================== */
    --font-heading: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* ===========================================
       SHADOWS (Subtle & Professional)
       =========================================== */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.1);
    
    /* ===========================================
       TRANSITIONS
       =========================================== */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.35s ease;
}

/* ============================================
   1. TYPOGRAPHY - BASE SETTINGS
   ============================================ */

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   HEADING HIERARCHY
   ============================================ */

h1, .h1 {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

h2, .h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 0.875rem;
    color: var(--text-primary);
}

h3, .h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

h4, .h4 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.625rem;
    color: var(--text-primary);
}

h5, .h5 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

h6, .h6 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Display headings */
.display-1 { font-size: 4.5rem; font-weight: 500; line-height: 1.1; }
.display-2 { font-size: 4rem; font-weight: 500; line-height: 1.1; }
.display-3 { font-size: 3.5rem; font-weight: 500; line-height: 1.15; }
.display-4 { font-size: 2.75rem; font-weight: 500; line-height: 1.15; }
.display-5 { font-size: 2.25rem; font-weight: 500; line-height: 1.2; }
.display-6 { font-size: 1.875rem; font-weight: 500; line-height: 1.2; }

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
}

/* Body text styles */
p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ============================================
   2. COLOR CLASSES
   ============================================ */

/* Background colors */
.bg-primary { background-color: var(--brand-green) !important; }
.bg-light { background-color: var(--bg-secondary) !important; }
.bg-white { background-color: var(--bg-primary) !important; }
.bg-warm, .bg-sand { background-color: var(--bg-warm) !important; }
.bg-cream { background-color: var(--bg-cream) !important; }
.bg-sage { background-color: var(--bg-sage) !important; }

/* Text colors */
.text-primary { color: var(--brand-green) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-dark { color: var(--text-primary) !important; }
.text-success { color: var(--brand-green) !important; }
.text-brand { color: var(--brand-green) !important; }

/* ============================================
   3. UI ELEMENTS - BUTTONS
   ============================================ */

.btn {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.875rem 1.75rem;
    border-radius: 4px;
    border-width: 2px;
    border-style: solid;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
}

/* PRIMARY CTA BUTTON - Jungle Green */
.btn-primary,
.btn-cta {
    background-color: var(--brand-green);
    border-color: var(--brand-green);
    color: var(--text-white);
    box-shadow: 0 2px 8px rgba(29, 93, 58, 0.2);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-cta:hover,
.btn-cta:focus {
    background-color: var(--brand-green-dark);
    border-color: var(--brand-green-dark);
    color: var(--text-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(29, 93, 58, 0.25);
}

.btn-primary:active,
.btn-cta:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(29, 93, 58, 0.2);
}

/* SECONDARY/OUTLINE BUTTON */
.btn-outline-primary,
.btn-secondary {
    background-color: transparent;
    border-color: var(--brand-green);
    color: var(--brand-green);
    box-shadow: none;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--brand-green);
    border-color: var(--brand-green);
    color: var(--text-white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 93, 58, 0.2);
}

/* DANGER/ACCENT BUTTON */
.btn-danger {
    background-color: var(--brand-green);
    border-color: var(--brand-green);
    color: var(--text-white);
}

.btn-danger:hover,
.btn-danger:focus {
    background-color: var(--brand-green-dark);
    border-color: var(--brand-green-dark);
    color: var(--text-white);
}

/* Light outline button (for dark backgrounds) */
.btn-outline-light {
    background-color: transparent;
    border-color: var(--text-white);
    color: var(--text-white);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background-color: var(--text-white);
    border-color: var(--text-white);
    color: var(--brand-green);
}

/* Success button - Green solid */
.btn-success {
    background-color: var(--brand-green);
    border-color: var(--brand-green);
    color: var(--text-white);
}

.btn-success:hover,
.btn-success:focus {
    background-color: var(--brand-green-dark);
    border-color: var(--brand-green-dark);
    color: var(--text-white);
}

/* Button Sizes */
.btn-lg {
    font-size: 1rem;
    padding: 1rem 2rem;
}

.btn-sm {
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
}

/* ============================================
   4. UI ELEMENTS - CARDS
   ============================================ */

.card {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--border-medium);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.card-header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 1.25rem;
}

.card-footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    padding: 1rem 1.25rem;
}

/* Tour Card specific styling */
.tour-card {
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.tour-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--brand-green);
}

/* ============================================
   NAVIGATION STYLES
   ============================================ */

.navbar {
    background-color: var(--bg-primary);
    box-shadow: 0 1px 0 var(--border-light);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--brand-green) !important;
    letter-spacing: -0.01em;
}

.navbar-brand .brand-highlight {
    color: var(--accent-gold);
}

.navbar-nav .nav-link {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    transition: color var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--brand-green) !important;
}

/* Desktop Navigation */
@media (min-width: 992px) {
    .navbar-nav.mx-auto {
        flex-grow: 1;
        justify-content: center;
        max-width: 70%;
    }
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem 0;
        border-top: 1px solid var(--border-light);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-light);
    }
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: 2px solid var(--brand-green);
    outline-offset: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    padding: 5rem 0 4rem;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-sage) 100%);
    overflow: hidden;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 540px;
    line-height: 1.7;
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-green);
    margin-bottom: 0.75rem;
    padding: 0.375rem 1rem;
    background-color: rgba(29, 93, 58, 0.08);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   DYNAMIC CONTENT STYLING
   ============================================ */

.blog-content,
.package-description,
.article-content,
.dynamic-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
    overflow-x: auto;
}

.blog-content p,
.package-description p,
.article-content p,
.dynamic-content p {
    margin-bottom: 1.5rem;
}

.blog-content h2,
.package-description h2,
.article-content h2,
.dynamic-content h2 {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.blog-content h3,
.package-description h3,
.article-content h3,
.dynamic-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 0.875rem;
}

/* Images */
.blog-content img,
.package-description img,
.article-content img,
.dynamic-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    display: block;
}

/* Tables */
.blog-content table,
.package-description table,
.article-content table,
.dynamic-content table {
    width: 100% !important;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-light);
    font-size: 0.9375rem;
}

.blog-content table th,
.package-description table th,
.article-content table th,
.dynamic-content table th {
    background-color: var(--brand-green);
    color: var(--text-white);
    padding: 1rem;
    text-align: left;
    font-family: var(--font-body);
    font-weight: 600;
}

.blog-content table td,
.package-description table td,
.article-content table td,
.dynamic-content table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: top;
}

.blog-content table tr:nth-child(even),
.package-description table tr:nth-child(even),
.article-content table tr:nth-child(even),
.dynamic-content table tr:nth-child(even) {
    background-color: var(--bg-secondary);
}

/* Lists */
.blog-content ul,
.package-description ul,
.article-content ul,
.dynamic-content ul {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.blog-content ul li,
.package-description ul li,
.article-content ul li,
.dynamic-content ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.blog-content ul li::before,
.package-description ul li::before,
.article-content ul li::before,
.dynamic-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-green);
    font-weight: 700;
    font-size: 0.875rem;
}

/* Ordered lists */
.blog-content ol,
.package-description ol,
.article-content ol,
.dynamic-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.75rem;
    counter-reset: list-counter;
    list-style: none;
}

.blog-content ol li,
.package-description ol li,
.article-content ol li,
.dynamic-content ol li {
    position: relative;
    padding-left: 0.5rem;
    margin-bottom: 0.75rem;
    counter-increment: list-counter;
}

.blog-content ol li::before,
.package-description ol li::before,
.article-content ol li::before,
.dynamic-content ol li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: -1.75rem;
    color: var(--brand-green);
    font-weight: 700;
}

/* Blockquotes */
.blog-content blockquote,
.package-description blockquote,
.article-content blockquote,
.dynamic-content blockquote {
    border-left: 3px solid var(--brand-green);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background-color: var(--bg-sage);
    font-style: italic;
    color: var(--text-secondary);
    border-radius: 0 6px 6px 0;
}

/* Links in content */
.blog-content a,
.package-description a,
.article-content a,
.dynamic-content a {
    color: var(--brand-green);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-fast);
}

.blog-content a:hover,
.package-description a:hover,
.article-content a:hover,
.dynamic-content a:hover {
    color: var(--brand-green-dark);
}

/* ============================================
   INCLUSIONS & EXCLUSIONS LISTS
   ============================================ */

.inclusions-list ul li::before,
.inclusions-list li::before {
    content: "✓";
    color: var(--brand-green);
}

.exclusions-list ul li::before,
.exclusions-list li::before {
    content: "✗";
    color: var(--accent-terracotta);
}

/* ============================================
   DESTINATION GRID & CARDS
   ============================================ */

.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.destination-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
}

.destination-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.destination-card img {
    transition: transform var(--transition-slow);
}

.destination-card:hover img {
    transform: scale(1.03);
}

.destination-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    color: var(--text-white);
}

.destination-card-type {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 0.375rem;
    display: block;
}

.destination-card-title {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-white);
}

/* ============================================
   BREADCRUMBS
   ============================================ */

.breadcrumb {
    background-color: transparent;
    padding: 1rem 0;
    font-size: 0.875rem;
    margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-light);
    content: "/";
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--brand-green);
}

.breadcrumb-item.active {
    color: var(--text-primary);
}

/* Light breadcrumb for dark backgrounds */
.breadcrumb-light .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-light .breadcrumb-item a:hover {
    color: var(--text-white);
}

.breadcrumb-light .breadcrumb-item.active,
.breadcrumb-light .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   FORMS
   ============================================ */

.form-label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-control,
.form-select {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    border: 1px solid var(--border-medium);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    transition: all var(--transition-fast);
    background-color: var(--bg-primary);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 3px rgba(29, 93, 58, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-light);
}

/* ============================================
   BADGES
   ============================================ */

.badge {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.375rem 0.75rem;
    border-radius: 3px;
}

.badge-budget {
    background-color: rgba(29, 93, 58, 0.1);
    color: var(--brand-green);
}

.badge-midrange {
    background-color: rgba(196, 163, 90, 0.15);
    color: #8B7033;
}

.badge-luxury {
    background-color: rgba(198, 123, 92, 0.15);
    color: var(--accent-terracotta);
}

.bg-success-subtle {
    background-color: rgba(29, 93, 58, 0.08) !important;
}

.bg-secondary-subtle {
    background-color: rgba(108, 117, 125, 0.08) !important;
}

/* Type badges */
.type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 3px;
    background-color: rgba(29, 93, 58, 0.08);
    color: var(--brand-green);
}

/* ============================================
   PRICE DISPLAY
   ============================================ */

.price-display {
    font-family: var(--font-body);
}

.price-amount {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--brand-green);
}

.price-from {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background-color: var(--grey-900);
    padding: 4rem 0 1.5rem;
    margin-top: 0;
    color: var(--text-white);
}

footer h5 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

footer p,
footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
    font-size: 0.9375rem;
}

footer a:hover {
    color: var(--text-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ============================================
   LINKS (Global)
   ============================================ */

a {
    color: var(--brand-green);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--brand-green-dark);
}

/* ============================================
   TRUST SIGNALS
   ============================================ */

.trust-signals {
    background-color: var(--bg-sage);
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
    border: 1px solid rgba(29, 93, 58, 0.1);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.trust-badge i {
    font-size: 1.75rem;
    color: var(--brand-green);
}

/* ============================================
   STICKY SIDEBAR
   ============================================ */

.sticky-sidebar {
    position: sticky;
    top: 100px;
}

/* ============================================
   PRICING CALCULATOR
   ============================================ */

.pricing-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.tier-option {
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.tier-option:hover {
    border-color: var(--brand-green);
    background-color: var(--bg-sage);
}

.tier-option:has(.form-check-input:checked) {
    border-color: var(--brand-green);
    background-color: var(--bg-sage);
}

/* ============================================
   ITINERARY TIMELINE
   ============================================ */

.itinerary-day {
    position: relative;
}

.day-marker {
    flex-shrink: 0;
}

.day-number {
    width: 48px;
    height: 48px;
    background-color: var(--brand-green);
    color: var(--text-white);
    font-family: var(--font-body);
    font-weight: 700;
    border-radius: 4px;
}

.accommodation-card {
    background-color: var(--bg-sage);
    border-radius: 6px;
    padding: 1rem;
    border-left: 3px solid var(--brand-green);
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
.stagger-5 { animation-delay: 0.25s; }
.stagger-6 { animation-delay: 0.3s; }

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

.hero-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.hero-image-wrapper img {
    transition: transform 0.3s ease;
}

.hero-image-wrapper:hover img {
    transform: scale(1.02);
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.0625rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .hero-image-wrapper {
        margin-top: 2rem;
    }
    
    .hero-image-wrapper img {
        max-height: 400px;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 1rem;
    }
    
    h1, .h1 { font-size: 2rem; }
    h2, .h2 { font-size: 1.75rem; }
    h3, .h3 { font-size: 1.375rem; }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .destination-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .btn-lg {
        font-size: 0.9375rem;
        padding: 0.875rem 1.5rem;
    }
    
    .sticky-sidebar {
        position: static;
    }
}

@media (max-width: 576px) {
    h1, .h1 { font-size: 1.75rem; }
    h2, .h2 { font-size: 1.5rem; }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* ============================================
   PAGINATION STYLING
   ============================================ */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.375rem;
    flex-wrap: wrap;
    margin: 2rem 0;
    padding: 0;
    list-style: none;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link {
    display: block;
    padding: 0.5rem 0.875rem;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    text-decoration: none;
    transition: all var(--transition-fast);
    min-width: 40px;
    text-align: center;
    font-weight: 500;
    font-size: 0.875rem;
}

.pagination .page-link:hover {
    background-color: var(--bg-sage);
    border-color: var(--brand-green);
    color: var(--brand-green);
}

.pagination .page-item.active .page-link {
    background-color: var(--brand-green);
    border-color: var(--brand-green);
    color: var(--text-white);
    font-weight: 600;
}

.pagination .page-item.disabled .page-link {
    color: var(--text-light);
    background-color: var(--bg-secondary);
    border-color: var(--border-light);
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination .page-item.disabled .page-link:hover {
    transform: none;
    background-color: var(--bg-secondary);
    border-color: var(--border-light);
    color: var(--text-light);
}

.pagination-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

@media (max-width: 576px) {
    .pagination {
        gap: 0.25rem;
    }
    
    .pagination .page-link {
        padding: 0.375rem 0.625rem;
        min-width: 36px;
        font-size: 0.8125rem;
    }
}

/* ============================================
   PAGE HERO SECTION
   ============================================ */

.page-hero {
    background-color: #F0F4F1; /* Pale grey-green, muted jungle green */
}

.page-hero .display-5 {
    font-family: var(--font-heading);
    color: var(--text-primary);
}

.page-hero .lead {
    color: var(--text-secondary);
}

/* ============================================
   CTA SECTION STYLES
   ============================================ */

.cta-section {
    background-color: var(--bg-cream);
}

.cta-section h2 {
    font-family: var(--font-heading);
    color: var(--text-primary);
}

/* CTA Buttons */
.btn-cta-solid {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 1rem 1.75rem;
    border-radius: 4px;
    border: 2px solid var(--brand-green);
    background-color: var(--brand-green);
    color: var(--text-white);
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta-solid:hover,
.btn-cta-solid:focus {
    background-color: var(--brand-green-dark);
    border-color: var(--brand-green-dark);
    color: var(--text-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(29, 93, 58, 0.25);
}

.btn-cta-outline {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 1rem 1.75rem;
    border-radius: 4px;
    border: 2px solid var(--brand-green);
    background-color: transparent;
    color: var(--brand-green);
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta-outline:hover,
.btn-cta-outline:focus {
    background-color: var(--brand-green);
    border-color: var(--brand-green);
    color: var(--text-white);
    transform: translateY(-1px);
}

/* ============================================
   ADDITIONAL UTILITY CLASSES
   ============================================ */

.text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.social-icons a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.social-icons a:hover {
    color: var(--text-white);
}

/* ============================================
   TRUST HEADER (Optional top bar)
   ============================================ */

.trust-header {
    background-color: var(--brand-green);
    font-size: 0.8125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-header a {
    transition: opacity 0.2s;
}

.trust-header a:hover {
    opacity: 0.8;
}

.trust-header .text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* ============================================
   DIFFICULTY METER
   ============================================ */

.difficulty-meter-container {
    margin-top: 1rem;
}

.difficulty-meter {
    height: 6px;
    background-color: var(--grey-200);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.difficulty-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease, background-color 0.3s;
    position: relative;
}

.difficulty-bar[data-level="easy"] {
    background: linear-gradient(90deg, #4CAF50 0%, #66BB6A 100%);
    width: 25% !important;
}

.difficulty-bar[data-level="moderate"] {
    background: linear-gradient(90deg, #FFA726 0%, #FFB74D 100%);
    width: 50% !important;
}

.difficulty-bar[data-level="challenging"] {
    background: linear-gradient(90deg, #FF7043 0%, #FF8A65 100%);
    width: 75% !important;
}

.difficulty-bar[data-level="technical"] {
    background: linear-gradient(90deg, #D32F2F 0%, #E53935 100%);
    width: 100% !important;
}

.difficulty-labels {
    font-size: 0.6875rem;
}

.difficulty-labels small {
    opacity: 0.6;
}

.difficulty-meter-light {
    background-color: var(--grey-200);
}

/* ============================================
   HOME SEO FOOTER SECTION
   ============================================ */

.home-seo-footer {
    background-color: var(--bg-secondary);
    font-family: var(--font-body);
}

.home-seo-footer article {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.home-seo-footer article p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.home-seo-footer article h2 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.home-seo-footer .text-secondary {
    color: var(--text-secondary) !important;
}

/* ============================================
   FEATURE GRID (Why Choose Us)
   ============================================ */

.feature-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 2rem;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--brand-green);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background-color: var(--bg-sage);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--brand-green);
}

/* ============================================
   RESOURCE/BLOG CARDS
   ============================================ */

.resource-card {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-normal);
    background-color: var(--bg-primary);
}

.resource-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.resource-card img {
    transition: transform var(--transition-slow);
}

.resource-card:hover img {
    transform: scale(1.03);
}

/* ============================================
   CATEGORY LINKS
   ============================================ */

.category-link-item {
    display: block;
    padding: 0.625rem 0;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    font-size: 0.9375rem;
}

.category-link-item:hover {
    color: var(--brand-green);
}

.category-name {
    font-weight: 500;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .navbar,
    footer,
    .btn,
    .sticky-sidebar {
        display: none !important;
    }
    
    body {
        font-size: 11pt;
        line-height: 1.5;
        color: #000;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}
