/* ===================== HERO — Centered Layout ===================== */
.hero {
  position: relative;
  background: #ffcc01; /* Booking style yellow */
  min-height: 400px;
  padding: 4rem 0 2rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Subtle dot-grid background pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(180,130,0,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Warm blob top-right */
.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,204,1,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
}

/* ==================== CENTERED CONTENT ==================== */
.hero__center {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: var(--space-6);
  max-width: 900px;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4rem 1.1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(180, 130, 0, 0.25);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary-dark);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 12px rgba(180,130,0,0.08);
  width: fit-content;
}

/* Main headline */
.hero__title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-dark-deep);
  margin: 0;
}

/* Rotating country name */
.hero__country-wrapper {
  display: inline-block;
  position: relative;
  min-width: 200px;
}
.hero__country {
  display: inline-block;
  background: linear-gradient(135deg, #444 0%, #000 35%, #222 55%, #000 80%, #444 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: countryShine 4s linear infinite;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.hero__country.fade-out {
  opacity: 0;
  transform: translateY(8px);
}
.hero__country.fade-in {
  opacity: 1;
  transform: translateY(0);
}
@keyframes countryShine {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* #AGAMAZING */
.hero__agamazing {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  line-height: 1;
}
.hero__hash {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--color-primary-dark);
  letter-spacing: -0.04em;
  opacity: 0.5;
  margin-right: 0.04em;
}
.hero__agamazing-word {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #7a5c00 0%, #c49000 35%, #ffcc01 55%, #c49000 80%, #7a5c00 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: countryShine 4s linear infinite;
}

/* Sub description */
.hero__desc {
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 600px;
}
.hero__desc strong {
  color: var(--color-dark-deep);
}

/* CTA buttons */
.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Trust items */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* ==================== RIGHT: VIDEO CARD ==================== */
.hero__right {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.hero__video-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 28px;
  box-shadow:
    0 4px 20px rgba(0,0,0,0.06),
    0 20px 60px rgba(0,0,0,0.10),
    0 0 0 1px rgba(180,130,0,0.1);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  /* Slight tilt for floating effect */
  transform: rotate(-0.8deg);
}
.hero__video-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.08),
    0 32px 80px rgba(0,0,0,0.14),
    0 0 0 1px rgba(180,130,0,0.15);
}

/* Floating badge on top of video */
.hero__video-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.875rem;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  pointer-events: none;
}

/* 16:9 video wrapper */
.hero__video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  background: #111;
}
.hero__video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Caption bar below video */
.hero__video-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-top: 1px solid rgba(200,150,0,0.1);
  background: #fff;
}

/* ==================== HERO PHOTO MARQUEE ==================== */
.hero__marquee {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
  padding-bottom: 1rem;
  /* Gradient fade on both sides */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.hero__marquee-track {
  display: flex;
  gap: 0.75rem;
  animation: heroMarquee 40s linear infinite;
  width: max-content;
}
.hero__marquee-track img {
  height: 100px;
  width: auto;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
@keyframes heroMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==================== RESPONSIVE ==================== */
.hero__content-left {
  width: 55%;
}

@media (max-width: 900px) {
  .hero__photo-right {
    display: none !important;
  }
  .hero__content-left {
    width: 100%;
    padding-right: 0 !important;
  }
  .hero {
    padding: 3rem 0;
  }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }
  .hero__country-wrapper {
    min-width: 140px;
  }
  .hero__trust {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .hero__marquee-track img {
    height: 70px;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .hero__video-card {
    border-radius: 20px;
  }
}

/* ===================== PAGE HERO — inner pages ===================== */
.page-hero {
  position: relative;
  background: #ffcc01;
  padding-block: clamp(2rem, 4vw, 3.5rem);
  padding-top: calc(var(--navbar-height) + clamp(1.5rem, 3vw, 2.5rem));
  overflow: hidden;
  border-bottom: 2px solid rgba(230, 170, 0, 0.2);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(180,130,0,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__eyebrow {
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-4);
}
.page-hero__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--color-dark-deep);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-4);
}
.page-hero__desc {
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.7;
}

/* ==================== HERO SEARCH BAR (Booking style) ==================== */
.hero-search {
  display: flex;
  background: #ffcc01;
  padding: 4px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  margin-top: 2rem;
  width: 100%;
  max-width: 1000px;
}
.hero-search__inner {
  display: flex;
  width: 100%;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}
.hero-search__field {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-right: 4px solid #ffcc01;
  position: relative;
}
.hero-search__field:last-child {
  border-right: none;
}
.hero-search__icon {
  color: #333;
  margin-right: 0.75rem;
  flex-shrink: 0;
}
.hero-search__input, .hero-search__select {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  outline: none;
  appearance: none;
  cursor: pointer;
}
.hero-search__input::placeholder {
  color: #666;
  font-weight: 500;
}
.hero-search__btn {
  background: #006ce4;
  color: #fff;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0 2.5rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
  flex-shrink: 0;
  margin-left: 4px;
}
.hero-search__btn:hover {
  background: #0054b3;
}

@media (max-width: 900px) {
  .hero-search { flex-direction: column; }
  .hero-search__inner {
    flex-direction: column;
  }
  .hero-search__field {
    border-right: none;
    border-bottom: 4px solid #ffcc01;
    padding: 1rem;
  }
  .hero-search__field:last-child {
    border-bottom: none;
  }
  .hero-search__btn {
    padding: 1rem;
    width: 100%;
    margin-left: 0;
    margin-top: 4px;
  }
}
