/* ── Homepage ── */

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 10rem 0 6rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg,
      rgba(18, 26, 36, 0.97) 0%,
      rgba(28, 40, 54, 0.92) 42%,
      rgba(44, 62, 80, 0.80) 100%),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1600&q=80') center/cover no-repeat;
  z-index: -2;
}

/* Grain texture overlay */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.07;
  pointer-events: none;
  z-index: 1;
}

/* Terracotta bottom accent */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-terracotta) 30%, var(--color-gold) 70%, transparent 100%);
  z-index: 2;
}

/* Asymmetric editorial layout: copy + search | 360 showcase */
.hero__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4.5rem;
  align-items: center;
}

.hero__content {
  text-align: left;
}

.hero .section-label {
  color: var(--color-terracotta);
  margin-bottom: 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 4px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.45);
}

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

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2.25rem;
  max-width: 520px;
  line-height: 1.7;
  font-weight: 400;
}

.hero__content .hero-search {
  margin-left: 0;
  margin-right: 0;
  max-width: 560px;
}

.hero__quick-links {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ─── 360° Tour Showcase ────────────────────────────────── */
.hero__showcase {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__showcase::before {
  content: '';
  position: absolute;
  width: 78%;
  height: 78%;
  right: -8%;
  top: 6%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.30), transparent 70%);
  filter: blur(46px);
  z-index: 0;
}

.tour-preview {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.55);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.tour-preview__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.6s ease;
}

.tour-preview:hover .tour-preview__img { transform: scale(1.12); }

.tour-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(18, 26, 36, 0.78) 0%,
    transparent 38%,
    transparent 68%,
    rgba(18, 26, 36, 0.38) 100%);
}

.tour-preview__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(18, 26, 36, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.6);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
}

.tour-preview__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: var(--color-white);
  animation: pulse360 2.8s ease-in-out infinite;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.tour-preview:hover .tour-preview__play {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-navy);
}

.tour-preview__hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.hero__ql {
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.8rem;
  transition: all var(--transition);
  backdrop-filter: blur(6px);
  letter-spacing: 0.3px;
}

.hero__ql:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-navy);
}

/* ─── 360° Feature Strip ────────────────────────────────── */
.strip-360 {
  background: var(--color-navy);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  padding: 1.25rem 0;
}

.strip-360__inner {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.strip-360__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
  animation: pulse360 2.8s ease-in-out infinite;
}

@keyframes pulse360 {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.35); }
  50%       { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
}

.strip-360__copy {
  text-align: center;
}

.strip-360__copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.15rem;
  letter-spacing: 0.01em;
}

.strip-360__copy span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

@media (max-width: 640px) {
  .strip-360__copy { text-align: left; }
  .strip-360__inner { gap: 1rem; }
}

/* ─── CTA Banner ────────────────────────────────────────── */
.cta-banner { text-align: center; }

.cta-banner__title {
  font-family: var(--font-display);
  color: var(--color-white);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.cta-banner__text {
  color: rgba(255, 255, 255, 0.7);
  max-width: 540px;
  margin: 0 auto;
  font-size: 0.975rem;
  line-height: 1.75;
}

/* ─── Mobile ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { min-height: auto; padding: 8rem 0 4.5rem; }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero__showcase { order: 2; }
  .hero__showcase::before { display: none; }
  .tour-preview {
    max-width: 400px;
    aspect-ratio: 16 / 10;
    animation: none;
  }
  .hero__content .hero-search { max-width: 100%; }
}

@media (max-width: 768px) {
  .hero { padding: 7rem 0 4rem; }
  .hero__title { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .tour-preview { max-width: 100%; aspect-ratio: 3 / 2; }
  .tour-preview__play { width: 60px; height: 60px; }
}
