/* ============================================
   ViziteazaSighisoara.com — Premium Stylesheet
   Inspired by apuseni.ro design system
   ============================================ */

/* --- Google Fonts loaded in HTML --- */

/* --- CSS Variables --- */
:root {
  /* Sighișoara palette — light & warm */
  --color-cream: #f9f8f6;
  --color-cream-dark: #f0efec;
  --color-white: #ffffff;
  --color-accent: #f26d52;
  --color-accent-dark: #d95a42;
  --color-accent-light: #f58a74;
  --color-accent-muted: rgba(242, 109, 82, 0.08);
  --color-secondary: #0f0200;
  --color-dark: #0f0200;
  --color-text: #4c4c4c;
  --color-text-secondary: #6b6b6b;
  --color-text-muted: #999999;
  --color-border: #e8e8e8;
  --color-border-light: #f0f0f0;
  --color-card: #ffffff;
  --color-dark-card: #1a1210;
  --color-overlay: rgba(15, 2, 0, 0.12);

  /* Legacy aliases for compatibility */
  --color-green: #0f0200;
  --color-green-light: #2a1a14;
  --color-green-lighter: #f26d52;
  --color-green-muted: rgba(242, 109, 82, 0.08);
  --color-gold: #f26d52;
  --color-gold-dark: #d95a42;
  --color-gold-light: #f58a74;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Sizing */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --radius-pill: 100px;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --glass-bg: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-blur: blur(16px);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem; /* 16px */
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 32px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-secondary);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.688rem); /* 75px */
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.875rem); /* 46px */
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 2.25rem); /* 36px */
}

h4 {
  font-size: 1.375rem; /* 22px */
}

h5 {
  font-size: 1.25rem; /* 20px */
}

h6 {
  font-size: 1.125rem; /* 18px */
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

/* Section label / eyebrow */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-gold);
}

/* --- Floating Navbar (apuseni.ro style) --- */
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: 1240px;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 28px;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(211, 84, 0, 0.08);
  border: 1px solid rgba(211, 84, 0, 0.1);
}

.site-header.scrolled .header-inner {
  box-shadow: 0 8px 32px rgba(211, 84, 0, 0.12);
}

.logo {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #11263c;
  white-space: nowrap;
}

.logo span {
  color: var(--color-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  padding: 7px 13px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #666;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-links a:hover {
  color: #11263c;
  background: rgba(211, 84, 0, 0.08);
}

.nav-links a.active {
  color: #11263c;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--color-accent);
}

.lang-toggle {
  margin-left: 8px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1.5px solid rgba(211, 84, 0, 0.2);
  border-radius: var(--radius-pill);
  color: #11263c;
  cursor: pointer;
  transition: var(--transition-fast);
  background: transparent;
}

.lang-toggle:hover {
  background: rgba(211, 84, 0, 0.08);
  color: #11263c;
  border-color: rgba(211, 84, 0, 0.4);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #11263c;
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ============================================
   HERO — Homepage
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-img-mobile {
  display: none;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}
@media (max-width: 768px) {
  .hero-video { display: none; }
  .hero-img-mobile {
    display: block;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: left center;
    z-index: 0;
  }
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--color-overlay);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.hero-text h1 {
  color: var(--color-cream);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.4);
}

.hero-text p {
  color: rgba(245, 242, 235, 0.95);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.8;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent-dark) 100%);
  color: var(--color-white);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(242, 109, 82, 0.35);
}

.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.9);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-white);
  font-weight: 700;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent-dark) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(242, 109, 82, 0.35);
}

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

.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

/* --- Planning Widget (glassmorphism, apuseni.ro style) --- */
.plan-widget {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xl);
}

.plan-widget h3 {
  text-align: center;
  margin-bottom: 24px;
  color: var(--color-green);
  font-size: 1.35rem;
}

.plan-widget .form-group {
  margin-bottom: 16px;
}

.plan-widget label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-widget select,
.plan-widget input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  transition: var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.plan-widget select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%235a5a52'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.plan-widget select:focus,
.plan-widget input:focus {
  outline: none;
  border-color: var(--color-green-lighter);
  box-shadow: 0 0 0 3px rgba(74, 124, 75, 0.1);
}

.plan-widget .btn-search {
  width: 100%;
  justify-content: center;
  padding: 14px;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-white);
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
}

.plan-widget .btn-search:hover {
  background: var(--color-green-light);
}

.plan-widget .quick-links {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  justify-content: center;
}

.plan-widget .quick-links a {
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-text-secondary);
  transition: var(--transition-fast);
}

.plan-widget .quick-links a:hover {
  border-color: var(--color-green);
  color: var(--color-green);
  background: var(--color-green-muted);
}

/* --- Features Bar (glassmorphism) --- */
.features-bar {
  position: relative;
  z-index: 3;
  margin-top: -48px;
  margin-bottom: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 24px;
  background: var(--color-white);
  transition: var(--transition);
}

.feature-item:hover {
  background: var(--color-cream);
}

.feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-green-muted);
  border-radius: var(--radius-sm);
  color: var(--color-green);
  font-size: 1.1rem;
}

.feature-item h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.feature-item p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 100px 0;
}

.section-sm {
  padding: 64px 0;
}

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

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

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-cream);
}

.section-dark p {
  color: rgba(245, 242, 235, 0.7);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header .underline {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  margin: 16px auto 20px;
  border-radius: 2px;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.02rem;
}

/* ============================================
   NAVIGATION CARDS — Homepage explore grid
   ============================================ */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.nav-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  aspect-ratio: 4/3;
  display: flex;
  align-items: flex-end;
}

.nav-card.wide {
  grid-column: span 2;
  aspect-ratio: auto;
  min-height: 220px;
}

.nav-card.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.nav-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.nav-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-card:hover .nav-card-bg {
  transform: scale(1.06);
}

.nav-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 18, 10, 0.85) 0%, rgba(10, 18, 10, 0.15) 55%);
}

.nav-card-content {
  position: relative;
  z-index: 2;
  padding: 28px;
  width: 100%;
}

.nav-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  margin-bottom: 10px;
}

.nav-card h3 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.nav-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

.nav-card .card-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  color: #fff;
  font-size: 0.9rem;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: var(--transition);
}

.nav-card:hover .card-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 80px;
}

.stat-item {
  padding: 32px 24px;
  text-align: center;
  background: var(--color-white);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--color-green);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   STANDARD CARDS
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

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

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

.card {
  background: var(--color-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-pill);
}

.card-tag-gold {
  background: var(--color-gold);
  color: var(--color-green);
}

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  margin-bottom: 8px;
}

.card-body p {
  font-size: 0.9rem;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.card-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Featured card with accent border */
.card-featured {
  border-left: 3px solid var(--color-gold);
}

/* ============================================
   INFO BOXES
   ============================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.info-box {
  padding: 32px 28px;
  background: var(--color-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border-light);
  transition: var(--transition);
}

.info-box:hover {
  border-color: var(--color-green-lighter);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.info-box-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.info-box h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.info-box p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Dark variant */
.info-box-dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}

.info-box-dark:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.info-box-dark h3 {
  color: var(--color-cream);
}

.info-box-dark p {
  color: rgba(245,242,235,0.65);
}

/* ============================================
   TAGS & BADGES
   ============================================ */
.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.73rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: var(--color-accent-muted);
  color: var(--color-accent-dark);
}

.tag-gold {
  background: rgba(242, 109, 82, 0.12);
  color: var(--color-accent-dark);
}

.tag-white {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}

/* ============================================
   FILTERS
   ============================================ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-btn {
  padding: 9px 22px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

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

/* ============================================
   PAGE HERO — Inner pages
   ============================================ */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding-top: 100px;
  overflow: hidden;
}

.page-hero .hero-bg::after {
  background: linear-gradient(to top,
    rgba(10, 18, 10, 0.85) 0%,
    rgba(10, 18, 10, 0.3) 50%,
    rgba(10, 18, 10, 0.15) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px 52px;
}

.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}

.page-hero .breadcrumb a {
  color: var(--color-gold-light);
  transition: var(--transition-fast);
}

.page-hero .breadcrumb a:hover {
  color: var(--color-gold);
}

.page-hero h1 {
  color: var(--color-cream);
  margin-bottom: 10px;
}

.page-hero .subtitle {
  color: rgba(245, 242, 235, 0.75);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  position: relative;
  padding-left: 44px;
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border-light);
}

.timeline-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -36px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--color-green);
  border-radius: 50%;
  border: 3px solid var(--color-cream);
  box-shadow: 0 0 0 2px var(--color-green);
}

.timeline-year {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.timeline-item h3 {
  margin-bottom: 8px;
}

/* ============================================
   EVENTS
   ============================================ */
.event-item {
  display: flex;
  gap: 24px;
  padding: 28px;
  background: var(--color-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border-light);
  margin-bottom: 16px;
  transition: var(--transition);
}

.event-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.event-featured {
  border-left: 3px solid var(--color-gold);
}

.event-date {
  flex-shrink: 0;
  width: 68px;
  text-align: center;
  padding: 12px;
  background: var(--color-green);
  border-radius: var(--radius-sm);
  color: var(--color-cream);
}

.event-date-gold {
  background: var(--color-gold);
  color: var(--color-green);
}

.event-date .day {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1;
}

.event-date .month {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  font-weight: 600;
}

.event-info h3 {
  margin-bottom: 6px;
}

.event-info p {
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.event-details {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ============================================
   LISTINGS (Where to Stay, Eat & Drink)
   ============================================ */
.listing-card {
  display: flex;
  background: var(--color-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  transition: var(--transition);
}

.listing-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.listing-card-featured {
  border-left: 3px solid var(--color-gold);
}

.listing-image {
  width: 280px;
  flex-shrink: 0;
}

.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-body {
  padding: 28px;
  flex: 1;
}

.listing-type {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-gold-dark);
  margin-bottom: 6px;
}

.listing-body h3 {
  margin-bottom: 8px;
}

.listing-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.listing-price {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-green);
}

.price small {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.stars {
  color: var(--color-gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

/* ============================================
   CONTENT PAGES
   ============================================ */
.page-content {
  padding: 72px 0;
}

.content-block {
  max-width: var(--max-width-narrow);
  margin: 0 auto 48px;
}

.content-block h2 {
  margin-bottom: 20px;
}

.content-block p {
  font-size: 1.02rem;
}

.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-box {
  padding: 24px;
  background: var(--color-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border-light);
  margin-bottom: 20px;
}

.sidebar-box h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border-light);
}

.sidebar-box ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.88rem;
}

.sidebar-box ul li:last-child {
  border-bottom: none;
}

.sidebar-box ul li a {
  color: var(--color-text-secondary);
  transition: var(--transition-fast);
}

.sidebar-box ul li a:hover {
  color: var(--color-green);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  text-align: center;
  padding: 72px 40px;
  background: linear-gradient(135deg, rgba(211, 84, 0, 0.08) 0%, rgba(139, 111, 71, 0.06) 100%);
  border: 1px solid rgba(211, 84, 0, 0.12);
  border-radius: var(--radius-lg);
}

.cta-banner h2 {
  color: #11263c;
  margin-bottom: 12px;
}

.cta-banner p {
  color: #666;
  max-width: 480px;
  margin: 0 auto 28px;
}

/* ============================================
   MAP
   ============================================ */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: linear-gradient(135deg, rgba(211, 84, 0, 0.04) 0%, rgba(139, 111, 71, 0.03) 100%);
  border-top: 1px solid rgba(211, 84, 0, 0.08);
  color: #666;
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-size: 1.4rem;
  color: #11263c;
  margin-bottom: 12px;
}

.footer-brand h3 span {
  color: var(--color-gold);
}

.footer-brand p {
  color: #999;
  font-size: 0.88rem;
}

.footer-col h4 {
  color: #11263c;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #999;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(211, 84, 0, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.78rem;
  color: #bbb;
}

/* ============================================
   PLACEHOLDER BACKGROUNDS (until real images)
   ============================================ */
.placeholder-citadel {
  background: linear-gradient(145deg, #3a6b35 0%, #1e3d1b 40%, #2d5530 80%, #1a2e18 100%);
}

.placeholder-history {
  background: linear-gradient(145deg, #8B6914 0%, #5a4310 40%, #7a5a12 80%, #3a2e0a 100%);
}

.placeholder-attractions {
  background: linear-gradient(145deg, #2c5f2d 0%, #1a4c2a 40%, #285a35 80%, #0d3020 100%);
}

.placeholder-tours {
  background: linear-gradient(145deg, #4a7c59 0%, #2d5a3a 40%, #3d6b48 80%, #1a3c25 100%);
}

.placeholder-tips {
  background: linear-gradient(145deg, #c29b3e 0%, #9a7a2a 40%, #b08d35 80%, #7d5f1e 100%);
}

.placeholder-stay {
  background: linear-gradient(145deg, #5a7d8c 0%, #3a5c6a 40%, #4a6d7c 80%, #2a4550 100%);
}

.placeholder-eat {
  background: linear-gradient(145deg, #8c5a3a 0%, #6a3520 40%, #7a4a2a 80%, #4a2515 100%);
}

.placeholder-events {
  background: linear-gradient(145deg, #5a3a7c 0%, #4a2a6a 40%, #553570 80%, #3a1e55 100%);
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* Homepage specific layouts */
.info-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.explore-sections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.explore-featured {
  aspect-ratio: auto;
  min-height: 460px;
  grid-row: span 2;
}

.explore-side-card {
  display: flex;
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  transition: var(--transition);
  text-decoration: none;
}

.explore-side-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.explore-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.explore-bottom-grid .nav-card {
  aspect-ratio: 16/9;
  min-height: 180px;
}

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .plan-widget {
    max-width: 420px;
  }

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

  .nav-card.wide {
    grid-column: span 2;
  }

  .nav-card.tall {
    grid-row: auto;
  }

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

  .content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

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

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

  .explore-sections-grid {
    grid-template-columns: 1fr;
  }

  .explore-featured {
    min-height: 320px;
    grid-row: auto;
  }

  .explore-bottom-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    top: 10px;
    width: calc(100% - 24px);
  }

  .header-inner {
    height: 56px;
    padding: 0 20px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0f0200;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px;
    gap: 8px;
    transform: translateX(100%);
    transition: var(--transition);
    z-index: 999;
    border-radius: 0;
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.3rem;
    padding: 16px 20px;
    width: 100%;
    text-align: center;
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--color-accent);
  }

  .menu-toggle {
    display: flex;
    z-index: 1000;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-layout {
    gap: 32px;
  }

  .plan-widget {
    max-width: 100%;
  }

  .explore-grid,
  .card-grid,
  .card-grid-3,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .nav-card {
    aspect-ratio: 16/9;
  }

  .nav-card.wide {
    grid-column: auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .features-bar {
    display: none;
  }

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

  .listing-card {
    flex-direction: column;
  }

  .listing-image {
    width: 100%;
    height: 200px;
  }

  .event-item {
    flex-direction: column;
    gap: 16px;
  }

  .event-date {
    width: auto;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section {
    padding: 64px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* Homepage mobile */
  .info-grid-3 {
    grid-template-columns: 1fr;
  }

  .card-grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .explore-sections-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .explore-featured {
    min-height: 280px;
    grid-row: auto;
  }

  .explore-side-card {
    flex-direction: column;
  }

  .explore-side-card > div:first-child {
    width: 100% !important;
    height: 180px;
  }

  .explore-bottom-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }

  .explore-bottom-grid .nav-card {
    min-height: 160px;
  }

  /* Typography scaling */
  h1 {
    font-size: 2.5rem !important;
  }

  h2 {
    font-size: 1.75rem !important;
  }

  h3 {
    font-size: 1.25rem !important;
  }

  .page-hero {
    min-height: 300px;
    padding-top: 80px;
  }

  .page-hero-content {
    padding: 0 20px 32px;
  }

  .hero {
    padding: 100px 0 40px;
  }

  .hero-content h1 {
    font-size: 2.2rem !important;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  /* Filters scroll horizontally */
  .filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Card meta wrap */
  .card-meta {
    flex-wrap: wrap;
    gap: 6px;
  }

  /* Quick links scroll */
  .quick-links {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-bottom: 8px;
  }

  .quick-links .tag {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Stats */
  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-item h3 {
    font-size: 2rem !important;
  }

  /* Map */
  .map-container {
    min-height: 200px;
  }

  /* CTA banner */
  .cta-banner {
    padding: 40px 24px;
  }

  .cta-banner h2 {
    font-size: 1.5rem !important;
  }

  /* Enhanced mobile touch targets - button sizing */
  .btn {
    padding: 14px 24px;
    min-height: 44px;
    font-size: 0.9rem;
  }

  .btn-primary,
  .btn-gold,
  .btn-outline,
  .btn-outline-light {
    min-height: 44px;
  }

  .plan-widget .btn-search {
    min-height: 48px;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  /* Form input improvements for mobile touch */
  .plan-widget select,
  .plan-widget input {
    padding: 14px 16px;
    min-height: 44px;
    font-size: 1rem;
  }

  .plan-widget select {
    background-position: right 12px center;
    padding-right: 40px;
  }

  .plan-widget label {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }

  .plan-widget .form-group {
    margin-bottom: 18px;
  }

  /* Card spacing improvements */
  .card {
    padding: 20px;
  }

  .card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  .card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Filter and tag button sizing */
  .filter-btn,
  .tag {
    padding: 10px 18px;
    min-height: 40px;
    font-size: 0.9rem;
  }

  /* Hero action buttons */
  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1;
    min-height: 48px;
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  /* Navigation link improvements */
  .nav-links a {
    padding: 18px 20px;
    min-height: 48px;
    font-size: 1.2rem;
  }

  /* CTA banner button improvements */
  .cta-banner .btn {
    min-height: 48px;
    padding: 16px 24px;
    width: 100%;
    font-size: 0.95rem;
  }

  /* Section padding optimization */
  .section {
    padding: 56px 0;
  }

  .section h2 {
    margin-bottom: 20px;
  }

  /* Improved card grid gaps */
  .card-grid,
  .card-grid-2,
  .card-grid-3,
  .card-grid-4 {
    gap: 16px;
  }

  /* Mobile menu button sizing */
  .menu-toggle {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  h1 {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  .hero-content h1 {
    font-size: 1.8rem !important;
  }

  .plan-widget {
    padding: 20px;
  }

  .card-body {
    padding: 16px;
  }

  .listing-body {
    padding: 16px;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    font-size: 0.75rem;
  }

  .container {
    padding: 0 12px;
  }

  .btn {
    padding: 12px 18px;
    min-height: 40px;
    font-size: 0.85rem;
  }

  .section {
    padding: 40px 0;
  }

  .card {
    padding: 16px;
  }

  /* Prevent font size zoom on input focus (iOS) */
  .plan-widget select,
  .plan-widget input {
    font-size: 16px;
  }

  .hero-actions .btn {
    min-height: 44px;
    padding: 12px 14px;
  }

  /* Tighter spacing for extra small screens */
  .plan-widget .form-group {
    margin-bottom: 14px;
  }

  .filter-btn,
  .tag {
    padding: 8px 14px;
    min-height: 36px;
    font-size: 0.85rem;
  }
}

/* ============================================
   SCROLL ANIMATIONS (via JS)
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
