/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ── Nav ── */
#nav {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
#nav.scrolled {
  background: rgba(254, 253, 251, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(123, 46, 58, 0.08);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #7B2E3A 0%, #9a3a48 100%);
  color: #fefdfb;
  padding: 0.75rem 1.75rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(123, 46, 58, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(123, 46, 58, 0.35); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  color: #7B2E3A;
  padding: 0.75rem 1.75rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1.5px solid rgba(123, 46, 58, 0.2);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.95); border-color: rgba(123, 46, 58, 0.4); }

/* ── Inputs ── */
.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(123, 46, 58, 0.15);
  border-radius: 12px;
  background: rgba(255,255,255,0.8);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  color: #3d141a;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}
.input-field::placeholder { color: #b8a0a0; }
.input-field:focus { border-color: #7B2E3A; box-shadow: 0 0 0 3px rgba(123, 46, 58, 0.1); background: #fff; }

/* ── Card hover ── */
.card-hover { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card-hover:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(123, 46, 58, 0.15) !important; }

/* ── Floating cards (hero) ── */
.floating-card { position: absolute; z-index: 10; }
.card-1 { top: 10%; left: 0; width: 200px; }
.card-2 { top: 48%; right: -20px; width: 200px; }
.card-3 { bottom: 18%; left: 20px; width: 200px; }

@keyframes float1 {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(0deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0px) rotate(1deg); }
  50% { transform: translateY(-10px) rotate(0deg); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0px) rotate(-0.5deg); }
  50% { transform: translateY(-18px) rotate(0.5deg); }
}
.card-1 { animation: float1 5s ease-in-out infinite; }
.card-2 { animation: float2 6s ease-in-out infinite; }
.card-3 { animation: float3 4.5s ease-in-out infinite; }

/* ── Reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile menu ── */
.mobile-link {
  display: block;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(123, 46, 58, 0.08);
  text-decoration: none;
}
.mobile-link:last-child { border-bottom: none; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .floating-card { display: none; }
  #hero { min-height: auto; padding: 6rem 0 4rem; }
  h1 { font-size: 2.75rem !important; }
  h2 { font-size: 2.25rem !important; }
}
