/* home.css — Homepage-specific styles */

/* ── HERO ── */
.home-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    oklch(0.08 0.04 30 / 0.55) 0%,
    oklch(0.08 0.04 30 / 0.7) 60%,
    oklch(0.05 0.03 30 / 0.85) 100%
  );
}

.home-hero-content {
  position: relative;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
  padding-top: var(--space-16);
  width: 100%;
}

.home-hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
  opacity: 0.9;
}

.home-hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 900;
  color: #fff;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-6);
  text-shadow: 0 4px 24px oklch(0 0 0 / 0.4);
  max-width: 12ch;
}

.home-hero-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  max-width: 48ch;
  line-height: 1.6;
  margin-bottom: var(--space-8);
}

.home-hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: oklch(1 0 0 / 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid oklch(1 0 0 / 0.2);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
}

.badge-stars {
  color: var(--color-gold);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.badge-text {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

.home-hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.scroll-indicator {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
  animation: scrollPulse 2s ease-in-out infinite;
  border-radius: 2px;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(0.6); opacity: 1; }
}

/* ── INFO BAR ── */
.info-bar {
  background: var(--color-primary);
  color: #fff;
}

.info-bar-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
  padding-block: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
}

.info-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .info-divider { display: none; }
  .info-bar-inner { justify-content: flex-start; gap: var(--space-4); }
}

/* ── HIGHLIGHTS GRID ── */
.home-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-6);
}

.highlight-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}

.highlight-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
}

.highlight-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  letter-spacing: 0.02em;
}

.highlight-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 30ch;
  margin-inline: auto;
}

/* ── BEACH CTA ── */
.beach-cta-section {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  padding: 0;
}

.beach-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.beach-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    oklch(0.08 0.04 200 / 0.8) 0%,
    oklch(0.08 0.04 200 / 0.5) 60%,
    transparent 100%
  );
}

.beach-cta-content {
  position: relative;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
  padding-block: var(--space-16);
  width: 100%;
}

@media (max-width: 600px) {
  .home-hero-title { font-size: var(--text-3xl); }
}
