/* ───────────────────────────────────────────────────────────────
   YouTravel.me — Design tokens
   Two-brand system: Purple (primary identity) + Citron (the lime mark).
   Fonts: system stack (no licensed SF Pro binaries shipped from this site).
   To visually match SF Pro more closely, swap --yt-display/--yt-text for a
   legally distributable web font, e.g. Google Fonts "Golos Text" or "Inter".
   ─────────────────────────────────────────────────────────────── */

:root {
  /* ────── Families ────── */
  --yt-display: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --yt-text:    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ────── Brand · Purple — identity, wordmark, CTAs, active state ────── */
  --yt-purple-500: #8600EF;
  --yt-purple-600: #771F96;

  /* ────── Brand · Citron — the iconic lime triangle mark ────── */
  --yt-citron-600:  #9DB319;
  --yt-citron-mark: #B0CB1F;

  /* ────── Neutrals ────── */
  --yt-fg-1: #242A37;
  --yt-bd:   #DBDFE9;
  --yt-bg-1: #F0F2F5;
  --yt-bg-soft: #EBEEF4;

  /* ────── Shadows — soft gray cast is the signature ────── */
  --yt-shadow-card: 1px 3px 60px 0 rgba(153, 153, 169, 0.35);
  --yt-shadow-card-hover: 1px 8px 60px 0 rgba(153, 153, 169, 0.45);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--yt-text);
  color: var(--yt-fg-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--yt-purple-500); }
a:hover { color: var(--yt-purple-600); }

/* ───────────────────────────────────────────────────────────────
   Page shell
   ─────────────────────────────────────────────────────────────── */

.yt-page {
  min-height: 100vh;
  background: var(--yt-bg-1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ───────────────────────────────────────────────────────────────
   Header
   ─────────────────────────────────────────────────────────────── */

.yt-head {
  width: 100%;
  padding: 10px 24px;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--yt-bd);
  background: #fff;
}

.yt-head-inner {
  width: 100%;
  max-width: 1180px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.yt-logo { height: 56px; width: auto; display: block; flex-shrink: 0; }

.yt-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #1A1A2E;
  background: var(--yt-bg-1);
  border: 1px solid var(--yt-bd);
  border-radius: 8px;
  padding: 10px 18px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.yt-nav-btn:hover { background: var(--yt-bg-soft); color: #1A1A2E; }

/* ───────────────────────────────────────────────────────────────
   Hero
   ─────────────────────────────────────────────────────────────── */

.yt-body {
  width: 100%;
  padding: 72px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.yt-hero-wrap {
  width: 100%;
  max-width: 1180px;
  text-align: center;
  margin-bottom: 56px;
}

.yt-hero-title {
  font-family: var(--yt-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #1A1A2E;
  margin: 0 0 16px;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.yt-hero-title .yt-accent { color: var(--yt-citron-600); }

.yt-hero-sub {
  font-size: 18px;
  line-height: 1.5;
  color: #6B6B80;
  max-width: 560px;
  margin: 0 auto;
}

/* ───────────────────────────────────────────────────────────────
   Banner grid / cards
   ─────────────────────────────────────────────────────────────── */

.yt-grid {
  width: 100%;
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.yt-banner-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
}

.yt-banner-lift {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--yt-shadow-card);
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.yt-banner-card:hover .yt-banner-lift {
  transform: translateY(-4px);
  box-shadow: var(--yt-shadow-card-hover);
}

.yt-banner-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.yt-banner-img {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.yt-banner-card:hover .yt-banner-img { transform: scale(1.06); }

.yt-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.yt-slide.is-active { opacity: 1; }
.yt-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.yt-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 8, 20, 0.4);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.yt-carousel-prev { left: 10px; }
.yt-carousel-next { right: 10px; }

.yt-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.yt-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.yt-dot.is-active { background: #fff; }

.yt-banner-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.yt-banner-body h3 {
  font-family: var(--yt-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  color: #1A1A2E;
  margin: 0 0 8px;
}
.yt-banner-body p {
  font-size: 14px;
  line-height: 1.45;
  color: #6B6B80;
  margin: 0 0 14px;
  flex: 1;
}
.yt-banner-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--yt-citron-mark);
  border-radius: 8px;
  padding: 12px 16px;
  width: 100%;
}

/* ───────────────────────────────────────────────────────────────
   Bottom CTA
   ─────────────────────────────────────────────────────────────── */

.yt-cta {
  width: 100%;
  max-width: 1180px;
  margin-top: 64px;
  background: var(--yt-purple-600);
  border-radius: 16px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.yt-cta-text { flex: 1; min-width: 280px; }
.yt-cta-text h2 {
  font-family: var(--yt-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 12px;
}
.yt-cta-text p {
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  margin: 0;
  max-width: 620px;
}
.yt-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--yt-citron-mark);
  border-radius: 8px;
  padding: 14px 24px;
  white-space: nowrap;
  text-decoration: none;
}

/* ───────────────────────────────────────────────────────────────
   Responsive
   ─────────────────────────────────────────────────────────────── */

@media (max-width: 860px) {
  .yt-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .yt-hero-title { font-size: 34px; }
  .yt-body { padding: 40px 16px 32px; }
  .yt-head { padding: 10px 16px; }
  .yt-cta { padding: 32px; }
}

@media (max-width: 560px) {
  .yt-grid { grid-template-columns: 1fr; }
  .yt-hero-title { font-size: 26px; }
  .yt-hero-sub { font-size: 15px; }
  .yt-hero-wrap { margin-bottom: 28px; text-align: left; }
  .yt-body { padding: 28px 16px 28px; }
  .yt-logo { height: 40px; }
  .yt-nav-btn { flex: 1; font-size: 13px; padding: 10px 12px; }
  .yt-cta { padding: 24px 20px; margin-top: 40px; gap: 20px; }
  .yt-cta-text h2 { font-size: 21px; }
  .yt-cta-text p { font-size: 15px; }
  .yt-cta-btn { width: 100%; }
}
