/* ============================================================
   ELEVATE BY A.S. — Hero Section Styles
   File: css/hero.css
   ============================================================ */

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201, 168, 76, 0.07) 0%, transparent 70%),
    linear-gradient(180deg, #0a0a0a 0%, #0f0d09 50%, #0a0a0a 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 300;
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--off-white);
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-tagline {
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hero-message {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 44px;
  font-weight: 300;
}

/* ── SEARCH BAR — DESKTOP ── */
.search-wrap {
  background: rgba(22, 22, 22, 0.95);
  border: 1px solid var(--border);
  display: flex;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.search-field {
  flex: 1;
  padding: 18px 22px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.search-field:last-of-type { border-right: none; }

.search-label {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 4px;
  font-weight: 500;
}

.search-field input,
.search-field select {
  background: transparent;
  border: none;
  outline: none;
  color: var(--off-white);
  font-size: 13px;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  width: 100%;
}

.search-field select option { background: var(--black-card); }

.search-btn {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 0 32px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.search-btn:hover { background: var(--gold-light); }

/* ── HERO ANIMATIONS ── */
.hero-content > * { animation: fadeUp 0.7s ease both; }
.hero-eyebrow     { animation-delay: 0.10s; }
.hero h1          { animation-delay: 0.25s; }
.hero-tagline     { animation-delay: 0.38s; }
.hero-message     { animation-delay: 0.48s; }
.search-wrap      { animation-delay: 0.58s; }

/* ============================================================
   HERO RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 60px;
    min-height: 100svh;
    align-items: center;
  }

  .hero-eyebrow { font-size: 10px; letter-spacing: 3px; margin-bottom: 16px; }
  .hero-tagline { font-size: 15px; }
  .hero-message { font-size: 13px; margin-bottom: 32px; padding: 0 8px; }

  /* ── Mobile search card ── */
  .search-wrap {
    flex-direction: column;
    max-width: 100%;
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    padding: 4px 0;
  }

  .search-field {
    flex-direction: column;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 14px 20px;
    width: 100% !important;
    max-width: 100% !important;
    text-align: left;
    position: relative;
  }

  .search-field:last-of-type { border-bottom: none; }

  /* Icon prefix for each field */
  .search-field:nth-child(1)::before { content: "📍"; font-size: 14px; margin-bottom: 4px; display: block; }
  .search-field:nth-child(2)::before { content: "📅"; font-size: 14px; margin-bottom: 4px; display: block; }
  .search-field:nth-child(3)::before { content: "📅"; font-size: 14px; margin-bottom: 4px; display: block; }
  .search-field:nth-child(4)::before { content: "👤"; font-size: 14px; margin-bottom: 4px; display: block; }

  .search-label {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--muted);
    margin-bottom: 6px;
  }

  .search-field input,
  .search-field select {
    font-size: 16px; /* Prevents iOS zoom */
    color: var(--off-white);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 14px;
    width: 100%;
  }

  .search-field input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
  }

  .search-field input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7) sepia(1) saturate(2) hue-rotate(5deg);
    cursor: pointer;
    width: 20px;
    height: 20px;
  }

  .search-field select {
    -webkit-appearance: auto;
    appearance: auto;
  }

  /* Search button */
  .search-btn {
    width: calc(100% - 32px);
    margin: 12px 16px;
    padding: 16px;
    border-radius: 8px;
    font-size: 13px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .search-btn::before {
    content: "🔍";
    font-size: 14px;
  }
}

/* ============================================================
   HERO RESPONSIVE — SMALL MOBILE
   ============================================================ */
@media (max-width: 480px) {
  .hero { padding: 90px 16px 48px; }
  .hero-message { display: none; }
}

/* ── SEARCH LABEL WITH SVG ICONS ── */
.search-label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.search-label svg {
  width: 11px;
  height: 11px;
  stroke: var(--gold-dim);
  flex-shrink: 0;
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.search-btn svg {
  width: 14px;
  height: 14px;
  stroke: var(--black);
  flex-shrink: 0;
}

/* Mobile icon sizing */
@media (max-width: 768px) {
  .search-label svg {
    width: 14px;
    height: 14px;
  }

  .search-btn svg {
    width: 16px;
    height: 16px;
  }
}