/*
Theme Name: Explore Sumatra Trekking
Theme URI: https://exploresumatratrekking.com
Author: Explore Sumatra Trekking
Description: Premium custom theme for Explore Sumatra Trekking — jungle trekking and cultural tours in Bukit Lawang, North Sumatra.
Version: 2.0
Text Domain: explore-sumatra
*/

/* ==========================================================================
   1. DESIGN SYSTEM — Tokens & Variables
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Premium European Travel Palette */
  --clr-primary:    #8F5B36;   /* Muted earthy terracotta */
  --clr-primary-h:  #754A2C;   /* Darker terracotta */
  --clr-accent:     #2B4533;   /* Deep elegant forest green */
  --clr-accent-h:   #1E3324;
  --clr-wa:         #25D366;
  --clr-dark:       #222222;   /* Soft charcoal */
  --clr-body:       #4A4A4A;   /* Muted grey for reading */
  --clr-muted:      #7A7A7A;
  --clr-border:     #E8E6E1;   /* Soft beige border */
  --clr-bg:         #F8F7F3;   /* Premium warm paper beige */
  --clr-bg-alt:     #EFECE6;   /* Slightly darker beige */
  --clr-card:       #FFFFFF;
  --clr-overlay:    rgba(30, 40, 35, 0.7);
  --clr-glass:      rgba(255,255,255,0.15);
  --clr-glass-border: rgba(255,255,255,0.25);

  /* Typography */
  --ff-heading: 'Lora', serif;
  --ff-body:    'Inter', sans-serif;

  --fs-xs:   0.75rem;    /* 12px */
  --fs-sm:   0.875rem;   /* 14px */
  --fs-base: 1rem;       /* 16px */
  --fs-md:   1.2rem;     /* 19.2px */
  --fs-lg:   1.5rem;     /* 24px */
  --fs-xl:   2rem;       /* 32px */
  --fs-2xl:  2.75rem;    /* 44px */
  
  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radius */
  --radius-sm:  0;
  --radius-md:  2px;
  --radius-lg:  4px;
  --radius-xl:  6px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 2px 4px rgba(0,0,0,0.03);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.05);
  --shadow-lg:  0 10px 30px rgba(0,0,0,0.06);
  --shadow-card: 0 0 0 1px var(--clr-border), 0 4px 20px rgba(0,0,0,0.03);
  --shadow-card-hover: 0 0 0 1px var(--clr-primary), 0 10px 40px rgba(0,0,0,0.08);

  /* Transitions */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur: 0.4s;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; width: 100%; }

body {
  font-family: var(--ff-body);
  font-weight: 300;
  font-size: var(--fs-base);
  color: var(--clr-body);
  background: var(--clr-bg);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  overflow-wrap: break-word; /* Prevent long text from breaking layout */
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--dur) var(--ease);
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  color: var(--clr-dark);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-4);
}

h1 { font-size: var(--fs-2xl); font-weight: 400; font-style: italic; }
h2 { font-size: var(--fs-xl); font-weight: 400; }
h3 { font-size: var(--fs-lg); font-weight: 500; }
h4 { font-size: var(--fs-md); font-weight: 500; }

p { margin-bottom: var(--sp-4); color: var(--clr-body); }

::selection { background: var(--clr-primary); color: white; }

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section {
  padding: var(--sp-24) 0;
}

.section-sm {
  padding: var(--sp-16) 0;
}

/* Flexible Grid */
.grid {
  display: grid;
  gap: var(--sp-8);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: var(--sp-16) 0; }
}

/* Flex Row */
.flex-row {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.flex-row.reverse { flex-direction: row-reverse; }

@media (max-width: 768px) {
  .flex-row, .flex-row.reverse { flex-direction: column; }
}

.flex-row > * { flex: 1; }

/* ==========================================================================
   4. COMPONENTS — Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: var(--fs-sm);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--clr-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--clr-primary-h);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--clr-accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--clr-accent-h);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}
.btn-outline:hover {
  background: var(--clr-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--clr-dark);
}
.btn-white:hover {
  background: var(--clr-bg-alt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-wa {
  background: var(--clr-wa);
  color: #fff;
}
.btn-wa:hover {
  background: #20BD5A;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--fs-base);
  border-radius: var(--radius-lg);
}

.btn-pill {
  border-radius: 100px;
}

/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */
.top-bar {
  display: none;
  background: var(--clr-dark);
  color: rgba(255,255,255,0.8);
  padding: var(--sp-2) 0;
  font-size: var(--fs-xs);
  letter-spacing: 0.3px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: rgba(255,255,255,0.8); }
.top-bar a:hover { color: var(--clr-primary); }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: var(--sp-5); }
.top-bar-right .social-icons { display: flex; gap: var(--sp-2); }

.social-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  transition: all var(--dur) var(--ease);
}
.social-badge:hover { background: var(--clr-primary); color: #fff; transform: scale(1.1); }

/* Main Header */
.site-header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--sp-4) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--clr-border);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  max-height: 56px;
  border-radius: var(--radius-full);
}
.logo { display: flex; align-items: center; gap: var(--sp-3); }
.logo strong {
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--clr-dark);
}

.main-nav ul {
  display: flex;
  gap: var(--sp-1);
}
.main-nav a {
  display: block;
  padding: var(--sp-2) var(--sp-4);
  font-family: var(--ff-heading);
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--clr-body);
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
}
.main-nav a:hover,
.main-nav .current-menu-item a {
  color: var(--clr-primary);
  background: rgba(199, 114, 58, 0.08);
}

.mobile-menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--clr-dark);
  transition: all var(--dur) var(--ease);
}
.mobile-menu-toggle:hover { border-color: var(--clr-primary); color: var(--clr-primary); }

@media (max-width: 768px) {
  .top-bar { display: none; }
  .mobile-menu-toggle { display: flex; align-items: center; justify-content: center; }
  .main-nav {
    position: fixed;
    top: 0; right: -300px;
    width: 280px; height: 100vh;
    background: var(--clr-card);
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    padding: var(--sp-20) var(--sp-6);
    transition: right var(--dur) var(--ease);
    z-index: 999;
  }
  .main-nav.active { right: 0; }
  .main-nav ul { flex-direction: column; gap: var(--sp-1); }
  .main-nav a { padding: var(--sp-3) var(--sp-4); font-size: var(--fs-base); }
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(10,20,15,0.4) 0%, rgba(10,20,15,0.85) 100%);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-content {
  max-width: 640px;
  color: #fff;
}
.hero-content h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  margin-bottom: var(--sp-5);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-content p {
  color: rgba(255,255,255,0.9);
  font-size: var(--fs-md);
  margin-bottom: var(--sp-8);
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* ==========================================================================
   7. SECTION HEADERS
   ========================================================================== */
.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-12);
}
.section-heading .tag {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--clr-primary);
  margin-bottom: var(--sp-3);
  padding: var(--sp-1) var(--sp-4);
  border-bottom: 1px solid var(--clr-primary);
}
.section-heading h2 {
  margin-bottom: var(--sp-4);
}
.section-heading p {
  color: var(--clr-muted);
  font-size: var(--fs-md);
}

/* ==========================================================================
   8. CARDS — Trek & Tour
   ========================================================================== */
.card {
  background: var(--clr-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}
.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.card:hover .card-img {
  transform: scale(1.04);
}
.card-img-wrap {
  overflow: hidden;
  position: relative;
}
.card-badge {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  background: var(--clr-accent);
  color: #fff;
  font-family: var(--ff-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: var(--sp-1) var(--sp-3);
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.card-body {
  padding: var(--sp-6);
}
.card-body h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--sp-2);
}
.card-body h3 a { color: var(--clr-dark); }
.card-body h3 a:hover { color: var(--clr-primary); }
.card-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--clr-muted);
  margin-bottom: var(--sp-4);
}
.card-meta i { color: var(--clr-primary); margin-right: var(--sp-1); }
.card-price {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: var(--sp-1);
}
.card-price-note {
  font-size: var(--fs-xs);
  color: var(--clr-muted);
  margin-bottom: var(--sp-4);
}

/* ==========================================================================
   9. ABOUT / FEATURE BLOCKS
   ========================================================================== */
.feature-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.feature-img:hover img { transform: scale(1.03); }

.feature-text {
  max-width: 520px;
}
.feature-text h2 { margin-bottom: var(--sp-5); }
.feature-text p {
  color: var(--clr-muted);
  font-size: var(--fs-md);
  line-height: 1.8;
}

/* Stats bar */
.stats-row {
  display: flex;
  gap: var(--sp-8);
  margin-top: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--clr-border);
}
.stat { text-align: center; }
.stat-number {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--clr-primary);
}
.stat-label {
  font-size: var(--fs-xs);
  color: var(--clr-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   10. TEAM
   ========================================================================== */
.team-card {
  text-align: center;
  padding: var(--sp-6);
}
.team-card img {
  width: 160px; height: 160px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin: 0 auto var(--sp-4);
  border: 4px solid var(--clr-bg-alt);
  transition: all var(--dur) var(--ease);
}
.team-card:hover img { border-color: var(--clr-primary); transform: scale(1.05); }
.team-card h4 { margin-bottom: var(--sp-1); }
.team-card .role { font-size: var(--fs-sm); color: var(--clr-muted); }

/* ==========================================================================
   11. CTA SECTIONS
   ========================================================================== */
.cta-section {
  position: relative;
  padding: var(--sp-20) 0;
  overflow: hidden;
}
.cta-section .cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.cta-section .cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,107,74,0.85), rgba(199,114,58,0.75));
  z-index: 1;
}
.cta-section .container {
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta-section h2, .cta-section p { color: #fff; }
.cta-section p { color: rgba(255,255,255,0.9); font-size: var(--fs-md); margin-bottom: var(--sp-8); }

/* ==========================================================================
   12. DETAIL PAGES — Page Header & Booking Box
   ========================================================================== */
.page-hero {
  position: relative;
  padding: var(--sp-24) 0 var(--sp-16);
  text-align: center;
  overflow: hidden;
}
/* Fallback for tours/ pages using page-header */
.page-header {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,20,15,0.4), rgba(10,20,15,0.85));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: var(--sp-3); }
.page-hero p { color: rgba(255,255,255,0.85); font-size: var(--fs-md); max-width: 700px; margin: 0 auto; }

/* Booking Sidebar Box */
.booking-box {
  background: var(--clr-card);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
  border: 1px solid var(--clr-border);
}
.booking-box h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--clr-border);
}
.booking-box .detail-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  font-size: var(--fs-sm);
}
.booking-box .detail-item i {
  color: var(--clr-primary);
  width: 20px;
  text-align: center;
}
.booking-box .price-display {
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--clr-primary);
  margin: var(--sp-6) 0 var(--sp-2);
}
.booking-box .price-note {
  font-size: var(--fs-xs);
  color: var(--clr-muted);
  margin-bottom: var(--sp-6);
}

/* Content Prose */
.content-area {
  font-size: var(--fs-md);
  line-height: 1.9;
  color: var(--clr-body);
}
.content-area h2 { margin-top: var(--sp-10); margin-bottom: var(--sp-4); }
.content-area h3 { margin-top: var(--sp-8); margin-bottom: var(--sp-3); }
.content-area ul, .content-area ol {
  margin-left: var(--sp-6);
  margin-bottom: var(--sp-4);
}
.content-area li { margin-bottom: var(--sp-2); }
.content-area img { border-radius: var(--radius-md); margin: var(--sp-6) 0; }

/* Two-column layout for detail pages */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--sp-10);
  align-items: start;
}
@media (max-width: 968px) {
  .detail-layout { grid-template-columns: 1fr; }
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--clr-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--sp-16) 0 var(--sp-6);
}
.site-footer h6 {
  font-family: var(--ff-heading);
  color: #fff;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--sp-5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-10);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-col ul li { margin-bottom: var(--sp-3); font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--clr-primary); }
.footer-col .contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  font-size: var(--fs-sm);
}
.footer-col .contact-item i { color: var(--clr-primary); margin-top: 3px; }

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.footer-logo-wrap img { width: 48px; height: 48px; border-radius: var(--radius-full); }
.footer-logo-wrap span { font-family: var(--ff-heading); color: #fff; font-weight: 700; font-size: var(--fs-md); }

.copyright-bar {
  text-align: center;
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
}

/* ==========================================================================
   14. FLOATING WHATSAPP
   ========================================================================== */
.floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 60px; height: 60px;
  background: var(--clr-wa);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--dur) var(--ease);
  animation: wa-pulse 2s infinite;
}
.floating-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}
.floating-wa i { color: #fff; font-size: 28px; }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 20px rgba(37,211,102,0.15), 0 0 0 12px rgba(37,211,102,0.1); }
}

/* ==========================================================================
   15. BLOG
   ========================================================================== */
.blog-card {
  background: var(--clr-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.4s var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.blog-card-img { overflow: hidden; }
.blog-card-img img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: var(--sp-6); }
.blog-meta {
  display: flex;
  gap: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--clr-muted);
  margin-bottom: var(--sp-3);
}
.blog-card-body h3 { font-size: var(--fs-md); margin-bottom: var(--sp-3); }
.blog-card-body h3 a { color: var(--clr-dark); }
.blog-card-body h3 a:hover { color: var(--clr-primary); }
.blog-card-body .excerpt {
  font-size: var(--fs-sm);
  color: var(--clr-muted);
  margin-bottom: var(--sp-4);
  line-height: 1.7;
}
.read-more {
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.read-more:hover { color: var(--clr-primary-h); gap: var(--sp-3); }

/* Single Post */
.single-post-content { max-width: 760px; margin: 0 auto; }

/* ==========================================================================
   16. MODALS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: var(--sp-12) var(--sp-4);
  overflow-y: auto;
  z-index: 2000;
  opacity: 0; visibility: hidden;
  transition: all var(--dur) var(--ease);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
  background: var(--clr-card);
  padding: var(--sp-8);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  position: relative;
  transform: translateY(-16px) scale(0.97);
  transition: all var(--dur) var(--ease);
  box-shadow: var(--shadow-xl);
  margin: auto;
}
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: var(--sp-4); right: var(--sp-4);
  width: 36px; height: 36px;
  background: var(--clr-bg-alt);
  border: none;
  border-radius: var(--radius-full);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur) var(--ease);
}
.modal-close:hover { background: var(--clr-primary); color: #fff; }

/* Forms */
.form-group { margin-bottom: var(--sp-4); }
.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: var(--sp-2);
  color: var(--clr-dark);
}
.form-control {
  width: 100%;
  padding: var(--sp-4);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  background: var(--clr-bg);
}
.form-control:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(199,114,58,0.15);
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* ==========================================================================
   17. SCROLL ANIMATIONS
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: 0.0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }
.stagger > *:nth-child(5) { transition-delay: 0.35s; }
.stagger > *:nth-child(6) { transition-delay: 0.4s; }

/* ==========================================================================
   18. UTILITIES
   ========================================================================== */
.text-center { text-align: center; }
.text-white { color: #fff; }
.bg-alt { background-color: var(--clr-bg-alt); }
.bg-dark { background-color: var(--clr-dark); }
.mt-4 { margin-top: var(--sp-4); }
.mt-8 { margin-top: var(--sp-8); }
.mb-8 { margin-bottom: var(--sp-8); }

/* Responsive img with rounded corners */
.img-rounded { border-radius: var(--radius-xl); }

/* 404 Page */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; }
.error-page h1 { font-size: 8rem; color: var(--clr-primary); line-height: 1; margin-bottom: var(--sp-4); }

/* ==========================================================================
   19. SPLASH SCREEN
   ========================================================================== */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 20, 0.95);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.splash-screen.active {
  opacity: 1;
  visibility: visible;
}
.splash-content {
  position: relative;
  width: 90%;
  max-width: 850px;
  border-radius: 4px; /* Minimalist sharp/slight rounded edge */
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: translateY(20px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: 0.1s;
}
.splash-screen.active .splash-content {
  transform: translateY(0) scale(1);
}

.premium-splash {
  display: flex;
  background: #F8F7F3; /* Elegant cream */
  min-height: 480px;
}
.splash-image {
  flex: 1.2;
  background-size: cover;
  background-position: center;
}
.splash-text-box {
  flex: 1;
  padding: var(--sp-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.splash-overline {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: var(--sp-4);
  font-weight: 600;
}
.splash-text-box h2 {
  font-family: var(--ff-heading);
  font-size: 2.2rem;
  color: var(--clr-dark);
  margin-bottom: var(--sp-6);
  line-height: 1.2;
}
.splash-text-box p {
  color: var(--clr-body);
  margin-bottom: var(--sp-8);
  font-size: 1rem;
  line-height: 1.8;
}

.splash-close-btn {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  z-index: 3;
  background: rgba(255,255,255,0.9);
  border: none;
  color: var(--clr-dark);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all var(--dur) var(--ease);
}
.splash-close-btn:hover {
  background: var(--clr-primary);
  color: #fff;
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .premium-splash {
    flex-direction: column;
    min-height: auto;
  }
  .splash-image {
    min-height: 250px;
    width: 100%;
  }
  .splash-text-box {
    padding: var(--sp-8);
  }
  .splash-text-box h2 {
    font-size: 1.8rem;
  }
}
