/* Claor Travel — Packages Gallery
   Luxury travel-agency aesthetic: deep navy + warm gold on cream.
   Fonts: Playfair Display (headlines) + Inter (body) via Google Fonts.
*/

:root {
  --navy: #0a1e3f;
  --navy-deep: #061429;
  --gold: #c8a96a;
  --gold-soft: #e8d9b8;
  --cream: #f7f4ef;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --line: rgba(10, 30, 63, 0.08);
  --shadow-sm: 0 2px 12px rgba(10, 30, 63, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 30, 63, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; letter-spacing: -0.01em; }

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

/* ─── Top bar ─────────────────────────────────────────── */
.topbar {
  background: var(--navy);
  color: var(--cream);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(200, 169, 106, 0.15);
}
.brand {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand .accent { color: var(--gold); }
.topbar nav { display: flex; gap: 24px; font-size: 14px; opacity: 0.9; }
.topbar nav a:hover { color: var(--gold); }

/* ─── Hero on landing ─────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  padding: 80px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(200, 169, 106, 0.18), transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(200, 169, 106, 0.1), transparent 50%);
  pointer-events: none;
}
.hero-content { position: relative; max-width: 720px; margin: 0 auto; }
.hero .eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.1;
  margin-bottom: 18px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p {
  font-size: 17px;
  opacity: 0.85;
  max-width: 540px;
  margin: 0 auto;
}
.divider {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 24px auto 0;
}

/* ─── Country grid ────────────────────────────────────── */
.grid-wrap { max-width: 1200px; margin: 0 auto; padding: 64px 24px 96px; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.tile {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile .cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: brightness(0.72);
}
.tile:hover .cover { transform: scale(1.06); filter: brightness(0.82); }
.tile .label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px 22px 22px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 20, 41, 0.92) 100%);
  color: var(--cream);
}
.tile .label .country-name {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 4px;
}
.tile .label .country-tag {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}
.tile .corner {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(247, 244, 239, 0.92);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
  backdrop-filter: blur(8px);
}

/* ─── Footer ──────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  color: rgba(247, 244, 239, 0.7);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  border-top: 1px solid rgba(200, 169, 106, 0.15);
}
.footer a { color: var(--gold); }
.footer .contact { margin-top: 8px; opacity: 0.6; }

/* ─── Country page header ─────────────────────────────── */
.country-head {
  background: var(--navy);
  color: var(--cream);
  padding: 36px 24px 28px;
  text-align: center;
  position: relative;
}
.country-head .back {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}
.country-head .back:hover { color: var(--cream); }
.country-head .back svg { width: 14px; height: 14px; }
.country-head h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 4px;
}
.country-head .tag {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}
@media (max-width: 640px) {
  .country-head { padding-top: 64px; }
  .country-head .back { top: 18px; left: 18px; transform: none; }
}

/* ─── Intro copy + CTA (country page) ─────────────────── */
.intro {
  background: var(--navy);
  color: rgba(247, 244, 239, 0.92);
  text-align: center;
  padding: 0 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.intro p {
  max-width: 760px;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
  margin: 0;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #052e16;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 30px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35); }

/* Lead paragraph on landing */
.lead {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

/* ─── Cross-destination nav (country page footer) ─────── */
.country-nav {
  background: var(--navy-deep);
  color: rgba(247, 244, 239, 0.7);
  padding: 22px 24px;
  text-align: center;
  font-size: 13px;
  line-height: 2.1;
}
.country-nav-label {
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  margin-right: 8px;
}
.country-nav a {
  color: rgba(247, 244, 239, 0.78);
  padding: 4px 10px;
  border: 1px solid rgba(200, 169, 106, 0.22);
  border-radius: 20px;
  margin: 0 3px;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}
.country-nav a:hover { background: var(--gold); color: var(--navy-deep); }
.country-nav a[aria-current="page"] { background: var(--gold); color: var(--navy-deep); }

/* ─── Swiper carousel ─────────────────────────────────── */
.swiper {
  width: 100%;
  height: calc(100vh - 130px);
  min-height: 480px;
  background: var(--navy-deep);
  padding: 24px 0;
}
.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}
.swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  cursor: zoom-in;
  background: var(--navy);
}
.swiper-button-next, .swiper-button-prev {
  color: var(--gold) !important;
  background: rgba(10, 30, 63, 0.85);
  width: 48px !important;
  height: 48px !important;
  border-radius: 50%;
  border: 1px solid rgba(200, 169, 106, 0.35);
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
  background: var(--gold);
  color: var(--navy-deep) !important;
  transform: scale(1.06);
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 16px !important; font-weight: 700; }
.swiper-pagination-bullet { background: var(--gold) !important; opacity: 0.4; }
.swiper-pagination-bullet-active { opacity: 1; }

.counter {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(10, 30, 63, 0.92);
  color: var(--gold);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  border: 1px solid rgba(200, 169, 106, 0.25);
  backdrop-filter: blur(8px);
  z-index: 10;
}

/* ─── Lightbox (fullscreen click-to-zoom) ──────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 20, 41, 0.97);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: zoom-out;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--gold);
  background: none;
  border: 1px solid rgba(200, 169, 106, 0.35);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover { background: var(--gold); color: var(--navy-deep); }

/* ─── Empty state ─────────────────────────────────────── */
.empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--muted);
}
.empty h2 { color: var(--ink); margin-bottom: 8px; font-size: 22px; }
