/* ============================================================
   SECTIONS – Section-specific styles
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: var(--space-2xl);
  overflow: hidden;
}

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

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(30,22,18,0.6) 0%, rgba(30,22,18,0) 18%),
    linear-gradient(to top, rgba(30,22,18,0.72) 0%, rgba(30,22,18,0.2) 50%, rgba(30,22,18,0) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
  width: 100%;
}

.hero__eyebrow {
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.hero__title {
  color: var(--color-white);
  max-width: 14ch;
  margin-bottom: var(--space-md);
}

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

.hero__subtitle {
  color: rgba(253, 252, 250, 0.8);
  font-size: 1.05rem;
  max-width: 44ch;
  margin-bottom: var(--space-lg);
  font-weight: 300;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(253,252,250,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(253,252,250,0.4));
}

/* ── Page Hero (sub-pages) ───────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-2xl);
  padding-top: 6rem;
  overflow: hidden;
}

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

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

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(30,22,18,0.6) 0%, rgba(30,22,18,0) 20%),
    linear-gradient(to top, rgba(30,22,18,0.7) 0%, rgba(30,22,18,0.15) 100%);
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
  width: 100%;
}

.page-hero__content h1 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.page-hero__content p {
  color: rgba(253,252,250,0.75);
  max-width: 50ch;
}

/* ── Destination / Why Fuerteventura ─────────────────────────── */
.destination-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

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

.destination-intro__image {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-md);
}

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

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

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

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

.why-item {
  padding: var(--space-lg) var(--space-md);
  background: var(--color-white);
  border: 1px solid var(--color-sand);
  border-radius: var(--radius-md);
  text-align: center;
}

.why-item__icon {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.why-item h4 {
  margin-bottom: var(--space-xs);
  font-size: 0.95rem;
}

.why-item p {
  font-size: 0.82rem;
}

/* ── Locations ───────────────────────────────────────────────── */
.location-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

@media (min-width: 768px) {
  .location-card { aspect-ratio: 4/5; }
}

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

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

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

.location-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,22,18,0.8) 0%, transparent 50%);
  transition: background var(--transition);
}

.location-card:hover .location-card__overlay {
  background: linear-gradient(to top, rgba(30,22,18,0.85) 0%, rgba(30,22,18,0.15) 100%);
}

.location-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
}

.location-card__content h3 {
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.location-card__content p {
  font-size: 0.82rem;
  color: rgba(253,252,250,0.7);
}

.location-card__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(184,150,90,0.2);
  border: 1px solid rgba(184,150,90,0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

/* ── Gallery ─────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

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

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item__inner {
  width: 100%;
  height: 100%;
  min-height: 200px;
  position: relative;
}

.gallery-item--tall .gallery-item__inner {
  min-height: 420px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
  display: block;
  min-height: 200px;
}

.gallery-item--tall img {
  min-height: 420px;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ── About / Portrait ────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

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

.about-split.reverse > *:first-child {
  order: 1;
}

@media (min-width: 768px) {
  .about-split.reverse > *:first-child { order: 2; }
  .about-split.reverse > *:last-child  { order: 1; }
}

.about-portrait {
  position: relative;
}

.about-portrait__image {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-md);
}

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

.about-portrait__badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--color-gold);
  color: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 120px;
}

.about-portrait__badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
}

.about-portrait__badge span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Testimonials Section ────────────────────────────────────── */
.testimonials-section {
  position: relative;
  overflow: hidden;
}

.testimonials-section__bg {
  position: absolute;
  inset: 0;
  background: var(--color-sand);
}

.testimonials-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.testimonials-section__inner {
  position: relative;
  z-index: 1;
}

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing-card {
  padding: var(--space-xl) var(--space-lg);
  border: 1px solid var(--color-beige);
  border-radius: var(--radius-md);
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 8px 32px rgba(184,150,90,0.1);
}

.pricing-card--featured {
  border-color: var(--color-gold);
  background: var(--color-dark);
}

.pricing-card--featured h3,
.pricing-card--featured p,
.pricing-card--featured li {
  color: var(--color-white) !important;
}

.pricing-card__badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-card__features {
  margin-block: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--color-stone);
}

.pricing-card__features li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23B8965A' opacity='0.15'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='%23B8965A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-section {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-3xl);
}

.cta-section__bg {
  position: absolute;
  inset: 0;
}

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

.cta-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(30,22,18,0.65);
}

.cta-section__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width-narrow);
  margin-inline: auto;
  padding-inline: var(--space-md);
  text-align: center;
}

.cta-section__content h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-section__content p {
  color: rgba(253,252,250,0.75);
  margin-bottom: var(--space-lg);
}

.cta-section__content .btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

/* ── Contact Section ─────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1fr 1.4fr; }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-info__item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--color-sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.contact-info__item h4 {
  font-size: 0.82rem;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-stone);
  margin-bottom: 0.2rem;
}

.contact-info__item p {
  font-size: 0.95rem;
  color: var(--color-dark);
}

/* ── Scroll Animations ───────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }
