/* home.css */

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

/* Multi-layer blush gradient background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 65% at 50% -5%, #FDE8E0 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 90% 90%,  #FDF1ED 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%,  #FEF5F0 0%, transparent 60%),
    var(--bg-primary);
}

/* Subtle grain texture overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-5);
  max-width: 520px;
  width: 100%;
  animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  width: clamp(190px, 48vw, 300px);
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(201, 149, 106, 0.28));
  animation: logoFloat 5s ease-in-out infinite;
  animation-delay: 0.8s;
}

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

.hero-tagline {
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.07em;
  color: var(--text-secondary);
}

/* Search card */
.search-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 149, 106, 0.25);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-6);
  box-shadow: var(--shadow-soft), 0 1px 0 rgba(255,255,255,0.8) inset;
}

.search-hint {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}

.search-row {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
}
.search-row .input-field { flex: 1; min-width: 0; }

.search-error {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  color: var(--error);
  margin-top: var(--sp-3);
  min-height: 20px;
  text-align: left;
}

/* Mobile */
@media (max-width: 540px) {
  .search-row        { flex-direction: column; }
  .search-row .btn-primary { width: 100%; padding: 14px; }
  .search-card       { padding: var(--sp-5); }
}
