@charset "utf-8";
/* Ghalat Village Website — Persian RTL */

:root {
  --forest-dark:   #1B4332;
  --forest:        #2D6A4F;
  --forest-mid:    #3A7D5C;
  --forest-light:  #52B788;
  --forest-pale:   #D8F3DC;
  --gold:          #C9A84C;
  --gold-light:    #F0D990;
  --stone:         #D4C5A9;
  --stone-dark:    #B5977A;
  --earth:         #795548;
  --sky:           #6B9FC7;
  --sky-light:     #B8D4E8;
  --cream:         #F7F3EE;
  --cream-dark:    #EDE8DD;
  --dark:          #1C2B22;
  --dark-mid:      #344E41;
  --purple:        #7B5EA7;
  --warm-orange:   #D4783A;

  --font-heading: 'Markazi Text', 'Amiri', Georgia, serif;
  --font-body:    'Vazirmatn', 'Tahoma', 'Arial', sans-serif;

  --sidebar-width: 280px;
  --section-pad:   clamp(3rem, 6vw, 6rem);
  --gap:           clamp(1rem, 2.5vw, 2rem);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-card:  0 4px 24px rgba(27, 67, 50, 0.09);
  --shadow-hover: 0 10px 40px rgba(27, 67, 50, 0.18);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.5s;
}

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

html {
  direction: rtl;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background-color: var(--cream);
  line-height: 1.85;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* ============================================================
   Sidebar — right side for RTL
   ============================================================ */
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--forest-dark);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow-y: auto;
  transition: transform 0.4s var(--ease-out);
  scrollbar-width: thin;
  scrollbar-color: rgba(82,183,136,0.3) transparent;
}

.sidebar__brand {
  padding: 2rem 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(244, 241, 222, 0.1);
}

.sidebar__logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.01em;
}

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

.sidebar__tagline {
  font-size: 0.73rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--forest-light);
  margin-top: 0.35rem;
}

.sidebar__nav {
  flex: 1;
  padding: 1.5rem 0;
}

.sidebar__nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar__nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(247, 243, 238, 0.65);
  transition: all 0.3s var(--ease-out);
  position: relative;
}

.sidebar__nav a::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 70%;
  background: var(--gold);
  border-radius: 3px 0 0 3px;
  transition: transform 0.3s var(--ease-out);
}

.sidebar__nav a:hover,
.sidebar__nav a.active {
  color: var(--cream);
  background: rgba(244, 241, 222, 0.06);
}

.sidebar__nav a:hover::after,
.sidebar__nav a.active::after {
  transform: translateY(-50%) scaleY(1);
}

.nav-icon {
  width: 22px;
  text-align: center;
  font-size: 1rem;
  flex-shrink: 0;
  opacity: 0.8;
}

.sidebar__footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(244, 241, 222, 0.1);
}

.sidebar__info {
  font-size: 0.78rem;
  color: rgba(247, 243, 238, 0.5);
  line-height: 1.7;
}

.sidebar__info strong {
  color: var(--forest-light);
  font-weight: 600;
}

/* ============================================================
   Hamburger (mobile)
   ============================================================ */
.hamburger {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1100;
  width: 48px;
  height: 48px;
  background: var(--forest-dark);
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.hamburger__lines {
  width: 22px;
  height: 16px;
  position: relative;
}

.hamburger__lines span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

.hamburger__lines span:nth-child(1) { top: 0; }
.hamburger__lines span:nth-child(2) { top: 7px; }
.hamburger__lines span:nth-child(3) { top: 14px; }

.hamburger.is-active .hamburger__lines span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.hamburger.is-active .hamburger__lines span:nth-child(2) { opacity: 0; }
.hamburger.is-active .hamburger__lines span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27, 67, 50, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.is-visible { opacity: 1; }

/* ============================================================
   Main Content
   ============================================================ */
.main {
  margin-right: var(--sidebar-width);
  min-height: 100vh;
}

/* ============================================================
   Scroll-Reveal Animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   Hero — Landing Page
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--section-pad);
  background: linear-gradient(180deg,
    var(--sky-light) 0%,
    #7FB3D6 40%,
    #5A9EC0 60%,
    var(--forest-light) 65%,
    var(--forest) 80%,
    var(--forest-dark) 100%
  );
  overflow: hidden;
}

.hero__content {
  max-width: 680px;
  position: relative;
  z-index: 3;
}

.hero__badge {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  background: var(--gold);
  color: var(--forest-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.hero__title em {
  color: var(--gold-light);
  font-style: normal;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 2;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* SVG Landscape */
.hero__landscape {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Floating leaves animation */
.hero__leaves {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.leaf {
  position: absolute;
  width: 12px;
  height: 16px;
  background: var(--forest-light);
  border-radius: 50% 0 50% 0;
  opacity: 0;
  animation: leafFall linear infinite;
}

.leaf:nth-child(odd) {
  background: var(--gold);
  border-radius: 0 50% 0 50%;
}

@keyframes leafFall {
  0%   { transform: translateY(-20px) rotate(0deg) translateX(0); opacity: 0; }
  5%   { opacity: 0.7; }
  95%  { opacity: 0.5; }
  100% { transform: translateY(110vh) rotate(480deg) translateX(60px); opacity: 0; }
}

/* Hero stats strip */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.hero__stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   Page Hero (sub-pages)
   ============================================================ */
.page-hero {
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding: var(--section-pad);
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  z-index: 1;
}

.page-hero--nature   { background: linear-gradient(135deg, var(--sky-light), var(--forest-light), var(--forest-dark)); }
.page-hero--history  { background: linear-gradient(135deg, #D4C5A9, #B5977A, #795548); }
.page-hero--culture  { background: linear-gradient(135deg, #E8D5F0, #9B6FC9, #5E3B85); }
.page-hero--food     { background: linear-gradient(135deg, #F5D9B0, #E8A040, #C05820); }
.page-hero--traditions { background: linear-gradient(135deg, #B8D4E8, #4A8FB5, #1A3A5C); }
.page-hero--architecture { background: linear-gradient(135deg, #E8D5C4, #C4956A, #7A5C3A); }
.page-hero--tourism  { background: linear-gradient(135deg, var(--forest-pale), var(--forest-light), var(--forest)); }
.page-hero--people   { background: linear-gradient(135deg, #F5E5C5, #C9A84C, #7A6020); }
.page-hero--climate  { background: linear-gradient(135deg, #C5D8F0, #6B9FC7, #1A3A5C); }

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero__label {
  display: inline-block;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  margin-bottom: 0.5rem;
}

.page-hero__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  line-height: 1.9;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}

.btn--primary {
  background: var(--gold);
  color: var(--forest-dark);
}

.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.4);
}

.btn--outline {
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff;
  background: transparent;
}

.btn--outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn--forest {
  background: var(--forest);
  color: #fff;
}

.btn--forest:hover {
  background: var(--forest-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(45, 106, 79, 0.35);
}

.btn--back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--forest);
  font-weight: 600;
  margin-bottom: 1.5rem;
  transition: gap 0.3s ease;
}

.btn--back:hover { gap: 0.8rem; }

/* ============================================================
   Sections (shared)
   ============================================================ */
.section {
  padding: var(--section-pad);
}

.section--alt {
  background: #fff;
}

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

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

.section__header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-light);
  margin-bottom: 0.75rem;
}

.section--forest .section__label { color: var(--gold); }

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--dark);
  letter-spacing: 0.01em;
}

.section--forest .section__title { color: var(--cream); }

.section__desc {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: var(--dark-mid);
  max-width: 600px;
  line-height: 2;
}

.section--forest .section__desc { color: rgba(247,243,238,0.75); }

/* ============================================================
   Page Cards Grid (landing page)
   ============================================================ */
.pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--gap);
}

.page-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  text-decoration: none;
}

.page-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.page-card__bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s var(--ease-out);
}

.page-card:hover .page-card__bg {
  transform: scale(1.06);
}

.page-card__bg--nature      { background: linear-gradient(135deg, #B8D4E8 0%, #52B788 50%, #1B4332 100%); }
.page-card__bg--history     { background: linear-gradient(135deg, #E8DCC8 0%, #B5977A 50%, #795548 100%); }
.page-card__bg--culture     { background: linear-gradient(135deg, #E8D5F0 0%, #9B6FC9 50%, #5E3B85 100%); }
.page-card__bg--food        { background: linear-gradient(135deg, #F5D9B0 0%, #E8A040 50%, #C05820 100%); }
.page-card__bg--traditions  { background: linear-gradient(135deg, #C5D8F0 0%, #4A8FB5 50%, #1A3A5C 100%); }
.page-card__bg--architecture{ background: linear-gradient(135deg, #EDE0CF 0%, #C4956A 50%, #7A5C3A 100%); }
.page-card__bg--tourism     { background: linear-gradient(135deg, #D8F3DC 0%, #52B788 50%, #1B4332 100%); }
.page-card__bg--people      { background: linear-gradient(135deg, #F5E5C5 0%, #C9A84C 50%, #7A6020 100%); }
.page-card__bg--climate     { background: linear-gradient(135deg, #C5D8F0 0%, #6B9FC7 50%, #1A3A5C 100%); }

.page-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  z-index: 1;
}

.page-card__content {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
  width: 100%;
}

.page-card__icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.page-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.page-card__desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
}

/* ============================================================
   Highlights Marquee
   ============================================================ */
.marquee-section {
  overflow: hidden;
  padding: 0;
  background: var(--forest);
}

.marquee {
  position: relative;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee-rtl 30s linear infinite;
}

.marquee__track--reverse {
  animation-name: marquee-rtl-reverse;
  animation-duration: 36s;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee-rtl {
  0%   { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

@keyframes marquee-rtl-reverse {
  0%   { transform: translateX(50%); }
  100% { transform: translateX(0); }
}

.fact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(247,243,238,0.85);
  border-left: 1px solid rgba(247,243,238,0.1);
}

.fact-pill__icon {
  font-size: 1.1rem;
  color: var(--gold);
}

/* ============================================================
   Info Cards (sub-pages)
   ============================================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap);
}

.info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.4s var(--ease-out);
}

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

.info-card__img {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card__img-inner {
  position: absolute;
  inset: 0;
  transition: transform 0.5s var(--ease-out);
}

.info-card:hover .info-card__img-inner {
  transform: scale(1.07);
}

/* Image gradient placeholders */
.img-mountain    { background: linear-gradient(160deg, #B8D4E8 0%, #7FB3D6 30%, #52B788 60%, #1B4332 100%); }
.img-village     { background: linear-gradient(160deg, #EDE0CF 0%, #C4956A 35%, #7A5C3A 70%, #2D6A4F 100%); }
.img-forest      { background: linear-gradient(160deg, #D8F3DC 0%, #52B788 40%, #2D6A4F 70%, #1B4332 100%); }
.img-river       { background: linear-gradient(135deg, #B8D4E8 0%, #6B9FC7 50%, #2D6A4F 100%); }
.img-food        { background: linear-gradient(135deg, #F5D9B0 0%, #E8A040 50%, #C05820 100%); }
.img-culture     { background: linear-gradient(135deg, #E8D5F0 0%, #9B6FC9 60%, #5E3B85 100%); }
.img-house       { background: linear-gradient(160deg, #EDE0CF 0%, #B5977A 40%, #795548 75%, #4A3020 100%); }
.img-sky         { background: linear-gradient(180deg, #B8D4E8 0%, #87CEEB 40%, #6B9FC7 70%, #52B788 100%); }
.img-people      { background: linear-gradient(135deg, #F5E5C5 0%, #C9A84C 50%, #7A6020 100%); }
.img-snow        { background: linear-gradient(135deg, #E8F4F8 0%, #B8D4E8 50%, #6B9FC7 100%); }

.info-card__icon-overlay {
  position: relative;
  z-index: 2;
  font-size: 3rem;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.info-card__body {
  padding: 1.5rem;
}

.info-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--forest-light);
  margin-bottom: 0.5rem;
}

.info-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.info-card__text {
  font-size: 0.9rem;
  color: var(--dark-mid);
  line-height: 1.8;
}

/* ============================================================
   Feature Block (two-column text + visual)
   ============================================================ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.feature-block--reverse { direction: ltr; }
.feature-block--reverse .feature-text { direction: rtl; }

.feature-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.feature-visual__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-visual__icon {
  font-size: 5rem;
  opacity: 0.7;
}

.feature-text__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-light);
  margin-bottom: 0.75rem;
  display: block;
}

.feature-text__title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  color: var(--dark);
  margin-bottom: 1rem;
}

.feature-text__body {
  font-size: 1rem;
  color: var(--dark-mid);
  line-height: 2;
  margin-bottom: 1.5rem;
}

/* ============================================================
   Stats Row
   ============================================================ */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--forest);
  display: block;
  line-height: 1;
}

.section--forest .stat-num { color: var(--gold); }

.stat-label {
  font-size: 0.85rem;
  color: var(--dark-mid);
  margin-top: 0.4rem;
}

.section--forest .stat-label { color: rgba(247,243,238,0.7); }

/* ============================================================
   Seasonal Tabs (landing page)
   ============================================================ */
.season-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.season-tab {
  flex: 1;
  padding: 1rem;
  background: rgba(27, 67, 50, 0.05);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-mid);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-align: center;
}

.season-tab__icon {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.season-tab:hover {
  background: rgba(27, 67, 50, 0.09);
  color: var(--dark);
}

.season-tab.is-active {
  color: #fff;
  border-color: transparent;
}

.season-tab.is-active[data-season="spring"] { background: #5E8E6E; }
.season-tab.is-active[data-season="summer"] { background: #2D6A4F; }
.season-tab.is-active[data-season="autumn"] { background: #C05820; }
.season-tab.is-active[data-season="winter"] { background: #1A3A5C; }

.season-panels { position: relative; }

.season-panel {
  display: none;
  animation: fadeInUp 0.5s var(--ease-out);
}

.season-panel.is-active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

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

.season-panel__img {
  min-height: 360px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.season-panel__img-bg {
  position: absolute;
  inset: 0;
}

.season-panel__img-bg--spring  { background: linear-gradient(160deg, #D8F3DC, #52B788, #2D6A4F); }
.season-panel__img-bg--summer  { background: linear-gradient(160deg, #B8D4E8, #52B788, #1B4332); }
.season-panel__img-bg--autumn  { background: linear-gradient(160deg, #F5D9B0, #C05820, #7A3010); }
.season-panel__img-bg--winter  { background: linear-gradient(160deg, #E8F4F8, #B8D4E8, #1A3A5C); }

.season-panel__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 60%);
}

.season-panel__badge {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 0.4rem 1.1rem;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
}

.season-panel__big-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  opacity: 0.25;
  z-index: 1;
}

.season-panel__details {
  background: #fff;
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.season-panel__season {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.season-panel__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.season-panel__text {
  color: var(--dark-mid);
  font-size: 0.98rem;
  line-height: 2;
  margin-bottom: 1.5rem;
}

.season-panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.season-panel__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.8rem;
  background: var(--cream-dark);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
}

/* ============================================================
   Timeline (history page)
   ============================================================ */
.timeline {
  position: relative;
  padding-right: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--forest-light), var(--forest), var(--forest-dark));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-right: 2.5rem;
  padding-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  right: -7px;
  top: 0.25rem;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--forest-light);
  z-index: 1;
}

.timeline-item__date {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--forest-light);
  margin-bottom: 0.25rem;
}

.timeline-item__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.timeline-item__text {
  color: var(--dark-mid);
  font-size: 0.95rem;
  line-height: 1.9;
}

/* ============================================================
   Nature / Flora items
   ============================================================ */
.flora-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--gap);
}

.flora-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.3s var(--ease-out);
}

.flora-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.flora-item__icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.flora-item__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.flora-item__latin {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--stone-dark);
}

/* ============================================================
   Food Recipe Cards
   ============================================================ */
.recipe-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.4s var(--ease-out);
}

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

.recipe-card__img {
  height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-card__img-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s var(--ease-out);
}

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

.recipe-card__emoji {
  position: relative;
  z-index: 2;
  font-size: 4rem;
}

.recipe-card__body {
  padding: 1.5rem;
}

.recipe-card__category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm-orange);
  margin-bottom: 0.5rem;
}

.recipe-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.recipe-card__desc {
  font-size: 0.88rem;
  color: var(--dark-mid);
  line-height: 1.8;
}

.recipe-card__meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-dark);
}

.recipe-card__meta-item {
  font-size: 0.8rem;
  color: var(--dark-mid);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ============================================================
   Architecture Card
   ============================================================ */
.arch-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: var(--gap);
  transition: all 0.4s var(--ease-out);
}

.arch-card:hover {
  box-shadow: var(--shadow-hover);
}

.arch-card--reverse {
  grid-template-columns: 1fr 300px;
}

.arch-card__img {
  min-height: 240px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arch-card--reverse .arch-card__img {
  order: 2;
}

.arch-card__img-bg {
  position: absolute;
  inset: 0;
}

.arch-card__icon {
  position: relative;
  z-index: 2;
  font-size: 4rem;
  opacity: 0.8;
}

.arch-card__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.arch-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone-dark);
  margin-bottom: 0.5rem;
}

.arch-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.arch-card__text {
  font-size: 0.95rem;
  color: var(--dark-mid);
  line-height: 1.9;
}

/* ============================================================
   People / Testimonial Cards
   ============================================================ */
.person-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s var(--ease-out);
  position: relative;
}

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

.person-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.person-card__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.15rem;
}

.person-card__role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--forest-light);
  margin-bottom: 0.75rem;
}

.person-card__quote {
  font-size: 0.9rem;
  color: var(--dark-mid);
  line-height: 1.9;
  font-style: italic;
}

.person-card__quote::before {
  content: '«';
  color: var(--gold);
  font-size: 1.4rem;
  font-style: normal;
  line-height: 0;
  vertical-align: -0.4rem;
  margin-left: 0.3rem;
}

/* ============================================================
   Climate Chart (visual)
   ============================================================ */
.climate-bars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.5rem;
  align-items: flex-end;
  height: 200px;
  padding: 0 0 1rem;
  border-bottom: 2px solid var(--cream-dark);
  position: relative;
}

.climate-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  gap: 0.25rem;
}

.climate-bar__fill {
  width: 100%;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: var(--forest-light);
  transition: height 1s var(--ease-out);
}

.climate-bar__fill--cold { background: var(--sky); }
.climate-bar__fill--warm { background: var(--gold); }
.climate-bar__fill--hot  { background: var(--warm-orange); }

.climate-bar__label {
  font-size: 0.65rem;
  color: var(--dark-mid);
  font-weight: 600;
}

.climate-bar__val {
  font-size: 0.65rem;
  color: var(--forest);
  font-weight: 700;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding: 3rem var(--section-pad) 2rem;
  background: var(--forest-dark);
  color: rgba(247, 243, 238, 0.6);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(244, 241, 222, 0.1);
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

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

.footer__copy {
  font-size: 0.85rem;
  max-width: 300px;
  line-height: 1.8;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4rem;
}

.footer__col { min-width: 140px; }

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest-light);
  margin-bottom: 0.75rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer__col a {
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer__col a:hover { color: var(--cream); }

.footer__bottom {
  padding-top: 1.5rem;
  font-size: 0.78rem;
  text-align: center;
}

/* ============================================================
   Attractions List (tourism)
   ============================================================ */
.attraction-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--gap);
  transition: all 0.3s var(--ease-out);
}

.attraction-item:hover {
  transform: translateX(-4px);
  box-shadow: var(--shadow-hover);
}

.attraction-item__num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--forest);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
}

.attraction-item__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.attraction-item__text {
  font-size: 0.9rem;
  color: var(--dark-mid);
  line-height: 1.8;
}

/* ============================================================
   Travel tips (tourism)
   ============================================================ */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--gap);
}

.tip-card {
  background: var(--forest-pale);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all 0.3s var(--ease-out);
}

.tip-card:hover {
  background: var(--forest-light);
  color: #fff;
}

.tip-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.tip-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--forest-dark);
  margin-bottom: 0.4rem;
  transition: color 0.3s;
}

.tip-card:hover .tip-card__title { color: #fff; }

.tip-card__text {
  font-size: 0.85rem;
  color: var(--dark-mid);
  line-height: 1.8;
  transition: color 0.3s;
}

.tip-card:hover .tip-card__text { color: rgba(255,255,255,0.9); }

/* ============================================================
   Responsive: Tablet < 1024px
   ============================================================ */
@media (max-width: 1024px) {
  :root { --sidebar-width: 0px; }

  .sidebar {
    transform: translateX(100%);
    width: 280px;
  }

  .sidebar.is-open { transform: translateX(0); }

  .hamburger { display: flex; }

  .main { margin-right: 0; }

  .feature-block,
  .arch-card,
  .arch-card--reverse,
  .season-panel.is-active {
    grid-template-columns: 1fr;
  }

  .arch-card--reverse .arch-card__img { order: 0; }

  .season-panel__img { min-height: 220px; }
}

/* ============================================================
   Responsive: Mobile < 640px
   ============================================================ */
@media (max-width: 640px) {
  .hero { padding-top: 5rem; min-height: auto; }

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

  .season-tabs { flex-wrap: wrap; }
  .season-tab { flex: 1 1 calc(50% - 2px); }

  .section { padding-left: 1.25rem; padding-right: 1.25rem; }

  .climate-bars { height: 140px; }

  .footer__top { flex-direction: column; }
  .footer__links { gap: 2rem; }

  .stats-row { gap: 1rem; }
}
