/* index.css (EXACTO desde tu <style> original; sin inventar nada) */

:root {
  --fondo-pagina: #fdf9f2;
  --panel-claro: #fffdf8;
  --panel-oscuro: #efe4cc;
  --borde-dorado: #c19a4a;
  --borde-dorado-oscuro: #8a5a11;
  --texto-principal: #3b2b18;
  --texto-secundario: #5a4630;
  --sombra-suave: rgba(0,0,0,0.08);

  --azul-profundo: #0d254f;
  --dorado-btn: #cda24d;
  --dorado-btn-dark: #8a5a11;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--fondo-pagina);
  color: var(--texto-principal);
  line-height: 1.5;
}

main {
  max-width: 1200px;
  margin: 0 auto 100px auto;
  padding: 20px;
}

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 600;
  color: var(--texto-principal);
  line-height: 1.2;
  margin: 0 0 .6rem 0;
  letter-spacing: -0.01em;
}

/* dekorativer goldener Balken unter Titeln */
.titulo-deco {
  position: relative;
  text-align: center;
  margin-bottom: 1rem;
}
.titulo-deco h2 {
  font-size: clamp(1.3rem, 0.5vw + 1rem, 1.6rem);
  color: var(--azul-profundo);
  margin-bottom: .4rem;
}
.titulo-deco::after {
  content: "";
  width: 90px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    #b38b4a 0%,
    #d9c18a 50%,
    #b38b4a 100%
  );
  display: block;
  margin: 0 auto;
  box-shadow: 0 0 6px rgba(179,139,74,0.6);
}

/* ========== HERO ========== */
.hero-card {
  max-width: 1200px;
  margin: 20px auto 16px auto;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 24px 48px rgba(0,0,0,0.2),
    0 2px 4px rgba(0,0,0,0.4);
  position: relative;
  background-color: #000;
}
.hero-bg {
  background-image: url('/imagenes/samarkand-hero.jpg');
  background-size: cover;
  background-position: center 40%;
  width: 100%;
  height: 360px;
  position: relative;
}
.hero-overlay {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(420px, 80%);
  background: radial-gradient(
    circle at 10% 10%,
    rgba(0,0,0,0.7) 0%,
    rgba(0,0,0,0.55) 40%,
    rgba(0,0,0,0) 100%
  );
  color: #fff;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
.hero-overlay h1 {
  font-size: clamp(1.2rem, 0.6vw + 1rem, 1.4rem);
  color: #fff;
  margin-bottom: 8px;
}
.hero-overlay p {
  font-size: .8rem;
  line-height: 1.4;
  margin: 0 0 12px 0;
  color: #fff;
}
.hero-btn {
  background: #ffcf00;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.6);
  color: #000;
  cursor: pointer;
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 8px 12px;
  text-decoration: none;
  width: fit-content;
}
.hero-btn:hover { filter: brightness(1.08); }

/* ========== GOLDENER PANEL (Pergament-Stil) ========== */
.panel-dorado {
  background:
    radial-gradient(circle at 20% 20%, var(--panel-claro) 0%, var(--panel-oscuro) 70%);
  border-radius: 12px;
  border: 1px solid var(--borde-dorado);
  box-shadow:
    0 24px 48px var(--sombra-suave),
    0 2px 4px rgba(0,0,0,0.06);
  color: var(--texto-principal);
  position: relative;
  padding: 16px 18px 20px;
  margin-bottom: 20px;
}

/* ========== SUCHBLOCK OBEN ========== */
.search-block {
  max-width: 520px;
  margin: 0 auto 20px auto;
  background:
    radial-gradient(circle at 20% 20%, var(--panel-claro) 0%, var(--panel-oscuro) 70%);
  box-shadow:
    0 24px 48px var(--sombra-suave),
    0 2px 4px rgba(0,0,0,0.06);
  border: 1px solid var(--borde-dorado);
  border-radius: 12px;
  position: relative;
  padding: 14px 16px;
  font-size: .8rem;
}
.search-form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}
.search-form-row label {
  width: 100%;
  font-size: .7rem;
  font-weight: 500;
  color: var(--texto-principal);
  margin-bottom: 2px;
  font-family: "Inter", sans-serif;
}
.search-select-wrap {
  flex: 1 1 auto;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 6px;
  display: flex;
  align-items: center;
  position: relative;
}
.search-select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  width: 100%;
  padding: 8px 30px 8px 8px;
  font-size: .8rem;
  line-height: 1.2;
  color: var(--texto-principal);
  border-radius: 6px;
  outline: none;
  font-family: inherit;
}
.search-select-wrap .chevron {
  position: absolute;
  right: 8px;
  pointer-events: none;
  font-size: .7rem;
  color: var(--texto-principal);
}

.btn-search {
  background: radial-gradient(circle at 30% 30%, var(--dorado-btn) 0%, var(--dorado-btn-dark) 70%);
  color: #2a1c0c;
  border: 1px solid var(--dorado-btn-dark);
  border-radius: 6px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: .75rem;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
  white-space: nowrap;
  font-family: "Cormorant Garamond", serif;
}
.btn-search:hover { filter: brightness(1.07); }

/* ========== SUBLINE unter h2 in panel-dorado ========== */
.subline {
  font-size: .75rem;
  line-height: 1.4;
  color: var(--texto-secundario);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
  font-family: "Inter", sans-serif;
}

/* ========== ANGEBOTE-GRID ========== */
.offers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}
.offer-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 360px;
  flex: 1 1 300px;
  font-size: .75rem;
  line-height: 1.3;
  overflow: hidden;
}
.offer-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  background-color: #eef2f5;
  display: block;
}
.offer-card-content {
  padding: 10px 12px 14px 12px;
  color: var(--texto-principal);
}
.offer-card-content h3 {
  font-size: .8rem;
  font-weight: 600;
  color: var(--azul-profundo);
  line-height: 1.4;
  margin-bottom: 6px;
  font-family: "Inter", sans-serif;
}
.offer-card-content h3 a {
  color: var(--azul-profundo);
  text-decoration: none;
}
.offer-extra {
  font-size: .7rem;
  line-height: 1.3;
  color: var(--texto-secundario);
  margin-bottom: 6px;
}
.offer-price {
  font-size: .7rem;
  font-weight: 600;
  color: var(--dorado-btn-dark);
}

/* ========== BELIEBTE SUCHEN (Tabs) ========== */
.tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.tab-btn {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.3);
  border-radius: 4px;
  font-size: .7rem;
  line-height: 1.2;
  font-weight: 600;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--texto-principal);
  min-width: 60px;
  text-align: center;
  font-family: "Inter", sans-serif;
}
.tab-btn.active {
  background: radial-gradient(circle at 30% 30%, var(--dorado-btn) 0%, var(--dorado-btn-dark) 70%);
  border-color: var(--dorado-btn-dark);
  color: #2a1c0c;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
  font-family: "Cormorant Garamond", serif;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.popular-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  font-size: .75rem;
  line-height: 1.3;
  color: var(--texto-principal);
  max-width: 700px;
  margin: 0 auto;
}
.popular-img img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  background-color: #eef2f5;
}
.popular-body {
  padding: 10px 12px 14px 12px;
}
.popular-body a {
  color: var(--azul-profundo);
  text-decoration: none;
  font-weight: 600;
  font-size: .8rem;
  line-height: 1.4;
  font-family: "Inter", sans-serif;
}
.popular-city {
  font-size: .7rem;
  line-height: 1.4;
  color: var(--texto-secundario);
  margin-top: 4px;
}
.popular-price {
  font-size: .7rem;
  font-weight: 600;
  margin-top: 6px;
  color: var(--dorado-btn-dark);
}

/* ========== HAUPTROUTEN / SLIDER ========== */
.rutas-wrapper { position: relative; }
.rutas-header {
  text-align: center;
  margin-bottom: 8px;
}
.rutas-header h2 {
  font-size: clamp(1.3rem, 0.5vw + 1rem, 1.6rem);
  color: var(--azul-profundo);
  line-height: 1.2;
  margin-bottom: .4rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}
.rutas-header::after {
  content: "";
  width: 90px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    #b38b4a 0%,
    #d9c18a 50%,
    #b38b4a 100%
  );
  display: block;
  margin: 0 auto;
  box-shadow: 0 0 6px rgba(179,139,74,0.6);
}

.rutas-track-container {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
}

.rutas-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.rutas-track::-webkit-scrollbar { display: none; }

.ruta-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  flex: 0 0 260px;
  max-width: 260px;
  font-size: .75rem;
  line-height: 1.3;
  color: var(--texto-principal);
}
.ruta-card a {
  color: inherit;
  text-decoration: none;
  display: block;
}
/* City-card im Slider (Tourismus für alle) */
.rutas-track .city-card {
  flex: 0 0 260px;
  max-width: 260px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 18px 32px rgba(0,0,0,0.22),
    0 2px 4px rgba(0,0,0,0.35);
  transform: translateY(0);
  transition: transform .25s ease, box-shadow .25s ease;
}
.rutas-track .city-card img {
  height: 210px;
}
.ruta-img img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  background-color: #eef2f5;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.ruta-body {
  padding: 10px 12px 14px 12px;
}
.ruta-titulo {
  font-weight: 600;
  color: var(--azul-profundo);
  line-height: 1.4;
  font-size: .8rem;
  margin-bottom: 6px;
  font-family: "Inter", sans-serif;
}
.ruta-desc {
  font-size: .7rem;
  color: var(--texto-secundario);
  line-height: 1.4;
  font-family: "Inter", sans-serif;
}

.rutas-arrow {
  background: radial-gradient(circle at 30% 30%, var(--dorado-btn) 0%, var(--dorado-btn-dark) 70%);
  border: 1px solid var(--dorado-btn-dark);
  box-shadow: 0 8px 16px rgba(0,0,0,0.25), 0 2px 4px rgba(0,0,0,0.45);
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #2a1c0c;
  font-size: .8rem;
  font-weight: 600;
  line-height: 30px;
  text-align: center;
  position: absolute;
  top: calc(50% - 15px);
  cursor: pointer;
  user-select: none;
  font-family: "Cormorant Garamond", serif;
}
.rutas-arrow.left  { left: -10px; }
.rutas-arrow.right { right: -10px; }

/* ========== VORTEILE ========== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  text-align: center;
}
.feature-item {
  flex: 1 1 220px;
  max-width: 260px;
  font-size: .75rem;
  line-height: 1.4;
  color: var(--texto-principal);
  font-family: "Inter", sans-serif;
}
.feature-item img {
  display: block;
  height: 60px;
  width: auto;
  margin: 0 auto 10px auto;
}
.feature-item h4 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--azul-profundo);
  margin-bottom: 6px;
}
.feature-item p {
  font-size: .7rem;
  color: var(--texto-secundario);
  margin: 0;
}

/* ========== Reveal-Animationen ========== */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all .7s ease;
  will-change: transform, opacity;
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all .7s ease;
  will-change: transform, opacity;
}
.reveal-base {
  opacity: 0;
  transform: translateY(60px);
  filter: blur(6px);
  transition: all 0.9s ease;
  will-change: transform, opacity, filter;
}
.reveal-visible-left,
.reveal-visible-right {
  opacity: 1;
  transform: translateX(0);
}
.reveal-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 600px){
  .hero-bg { height: 360px; }
  .hero-overlay { width: 75%; padding: 14px 16px; }
  .hero-overlay p { font-size: .75rem; }
}

/*  Städte */
.cities-section {
  padding-top: 8px;
  padding-bottom: 32px;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 16px 0 18px 0;
}

@media (max-width: 900px) {
  .cities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .cities-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.city-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
  box-shadow:
    0 18px 32px rgba(0,0,0,0.22),
    0 2px 4px rgba(0,0,0,0.35);
  transform: translateY(0);
  transition: transform .25s ease, box-shadow .25s ease;
}

.city-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

/* Overlay-Gradient */
.city-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.15) 45%,
    rgba(0,0,0,0.0) 100%
  );
}

.city-card-featured::after {
  box-shadow: 0 0 32px rgba(255,153,51,0.9);
}

.city-overlay {
  position: absolute;
  inset: 0;
  padding: 0px 18px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

.city-name {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 999px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .10em;

  background: linear-gradient(
    90deg,
    rgba(248,227,160,0.85) 0%,
    rgba(205,162,77,0.78) 40%,
    rgba(138,90,17,0.78) 100%
  );
  color: #fbf9f7ff;

  box-shadow:
    0 6px 16px rgba(0,0,0,0.45),
    0 0 10px rgba(255,193,96,0.6);
  text-shadow: 0 1px 1px rgba(255,255,255,0.4);

  transform: translateY(10px);
}

.city-subtitle {
  font-family: "Inter", sans-serif;
  font-size: .8rem;
  color: rgba(255,255,255,0.9);
  margin-top: 2px;
}

.city-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 40px rgba(0,0,0,0.28),
    0 4px 6px rgba(0,0,0,0.4);
}

.cities-cta {
  text-align: center;
}

/* ========== BLOG / NEUE ARTIKEL ========== */
.blog-section {
  padding-top: 12px;
  padding-bottom: 24px;
}

.blog-header {
  text-align: center;
  margin-bottom: 18px;
}

.blog-kicker {
  font-family: "Inter", sans-serif;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #d46a4c;
  margin-bottom: 6px;
}

.blog-header h2 {
  font-size: clamp(1.4rem, 0.7vw + 1.2rem, 1.9rem);
  color: var(--azul-profundo);
  margin: 0;
}

.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
}

.blog-card {
  flex: 1 1 320px;
  max-width: 360px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 22px 40px rgba(0,0,0,0.2),
    0 3px 6px rgba(0,0,0,0.32);
}

.blog-thumb img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  background-color: #eef2f5;
}

.blog-body {
  padding: 12px 16px 14px;
}

.blog-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--azul-profundo);
  margin: 0 0 6px;
  line-height: 1.3;
}

.blog-excerpt {
  margin: 0;
  font-size: .78rem;
  line-height: 1.4;
  color: var(--texto-secundario);
  font-family: "Inter", sans-serif;
}

.blog-meta {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: var(--texto-secundario);
  font-family: "Inter", sans-serif;
}

.blog-meta span {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .blog-card {
    max-width: 100%;
  }
}

/* ===== FOTOGALERIE ===== */
.gallery-section {
  margin-top: 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.gallery-item {
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow:
    0 18px 32px rgba(0,0,0,0.22),
    0 2px 4px rgba(0,0,0,0.32);
  display: flex;
  flex-direction: column;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  display: block;
  padding: 6px 10px 8px;
  font-size: .75rem;
  font-family: "Inter", sans-serif;
  color: var(--texto-principal);
  background: rgba(255,255,255,0.9);
}

/* ===== LIGHTBOX VOLLBILD ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9999;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.75);
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  border: none;
  background: radial-gradient(circle at 30% 30%, rgba(248,227,160,0.85) 0%, rgba(141,90,17,0.95) 70%);
  color: #2a1705;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-close:hover,
.lightbox-arrow:hover {
  filter: brightness(1.05);
}

@media (max-width: 600px) {
  .gallery-item img {
    height: 150px;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 10px; right: 10px; }
}

/* Button „nach oben“ */
.btn-scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--dorado-btn-dark);
  background: radial-gradient(circle at 30% 30%, var(--dorado-btn) 0%, var(--dorado-btn-dark) 70%);
  color: #2a1c0c;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  box-shadow: 0 6px 14px rgba(0,0,0,0.45);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.btn-scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.btn-scroll-top:hover {
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .btn-scroll-top {
    right: 12px;
    bottom: 12px;
  }
}
