/* ============================================
   GABRIEL TOUR — Homepage
   ============================================ */

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-24) var(--space-5) var(--space-16);
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video video,
.hero__video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(11, 22, 35, 0.5) 0%,
      rgba(11, 22, 35, 0.3) 40%,
      rgba(11, 22, 35, 0.6) 80%,
      rgba(11, 22, 35, 0.85) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero__label {
  font-family: var(--font-accent);
  font-size: var(--text-lg);
  color: var(--color-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  color: var(--color-white);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.hero__subtitle {
  font-family: var(--font-accent);
  font-size: var(--text-xl);
  color: rgba(248, 246, 241, 0.8);
  font-style: italic;
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta-row {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-xs);
  text-align: center;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

.hero__scroll-hint svg {
  width: 24px;
  height: 24px;
  margin: 0 auto;
  display: block;
}


/* ---- Verticals Section ---- */

.verticals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .verticals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .verticals-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vertical-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.vertical-card__image {
  position: absolute;
  inset: 0;
}

.vertical-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.vertical-card:hover .vertical-card__image img {
  transform: scale(1.06);
}

.vertical-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 22, 35, 0.8) 0%,
    rgba(11, 22, 35, 0.3) 50%,
    rgba(11, 22, 35, 0.1) 100%
  );
  transition: background 0.4s ease;
}

.vertical-card:hover::after {
  background: linear-gradient(
    to top,
    rgba(13, 148, 136, 0.7) 0%,
    rgba(11, 22, 35, 0.3) 50%,
    rgba(11, 22, 35, 0.05) 100%
  );
}

.vertical-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: var(--space-5);
}

.vertical-card__label {
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-1);
}

.vertical-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-white);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.vertical-card__desc {
  font-size: var(--text-sm);
  color: rgba(248, 246, 241, 0.75);
  line-height: 1.5;
}


/* ---- Featured Offers ---- */

.offer-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: center;
  flex-wrap: wrap;
}

.offer-tabs::-webkit-scrollbar {
  display: none;
}

.offer-tab {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  white-space: nowrap;
  background: var(--color-ivory);
  color: var(--color-text-secondary);
  border: 1px solid transparent;
}

.offer-tab:hover {
  background: var(--color-pearl);
  color: var(--color-text-primary);
}

.offer-tab.active {
  background: var(--color-teal);
  color: var(--color-white);
}

.offers-scroll {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .offers-scroll {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .offers-scroll {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ---- Destinations ---- */

.destinations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .destinations-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 260px 220px;
  }

  .destinations-grid .dest-card:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }
}

.dest-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 160px;
  cursor: pointer;
}

.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.dest-card:hover img {
  transform: scale(1.06);
}

.dest-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 22, 35, 0.7) 0%, transparent 60%);
}

.dest-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: var(--space-4);
}

.dest-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-white);
  font-weight: 600;
}

.dest-card__count {
  font-size: var(--text-xs);
  color: var(--color-teal-light);
}


/* ---- Trust Section ---- */

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.trust-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.trust-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.trust-point {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.trust-point__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-teal-soft);
  color: var(--color-teal);
}

.trust-point__icon svg {
  width: 24px;
  height: 24px;
}

.trust-point h4 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.trust-point p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}


/* ---- Testimonial ---- */

.testimonial {
  position: relative;
  padding: var(--space-24) 0;
  overflow: hidden;
}

.testimonial__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.testimonial__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 22, 35, 0.8);
}

.testimonial__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--color-white);
  line-height: 1.5;
  margin-bottom: var(--space-6);
}

.testimonial__quote::before {
  content: '\201E';
  display: block;
  font-size: var(--text-4xl);
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.testimonial__author {
  font-family: var(--font-accent);
  font-size: var(--text-lg);
  color: var(--color-gold);
}

.testimonial__meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}


/* ---- Newsletter CTA ---- */

.newsletter-section {
  text-align: center;
}

.newsletter-section h2 {
  margin-bottom: var(--space-3);
}

.newsletter-section p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: var(--space-3);
  max-width: 460px;
  margin: 0 auto;
}

@media (max-width: 639px) {
  .newsletter-form {
    flex-direction: column;
  }
}

.newsletter-form input {
  flex: 1;
  min-height: 52px;
  padding: 0 var(--space-5);
  border: 2px solid var(--color-pearl);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  background: var(--color-white);
  color: var(--color-text-primary);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-teal);
}

.newsletter-form input::placeholder {
  color: var(--color-text-muted);
}
