/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  overflow-x: hidden;
}

/* ── Hero Gradient ── */
.hero-gradient {
  background: linear-gradient(135deg, #fff5f2 0%, #fce4ec 25%, #ede7f6 50%, #e3f2fd 75%, #e0f2f1 100%);
}

/* ── Hero Subtle Pattern ── */
.hero-pattern {
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 107, 67, 0.08) 1px, transparent 0);
  background-size: 32px 32px;
}

/* ── CTA Gradient ── */
.cta-gradient {
  background: linear-gradient(135deg, #2b2d33 0%, #1e2025 50%, #111216 100%);
}

/* ── Scroll Reveal (progressive enhancement) ── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Navbar ── */
.nav-logo-text {
  color: #1e2025;
}

#navbar.scrolled .nav-logo-text {
  color: #1e2025;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff6b43;
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ── Hero Blobs Animation ── */
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-blob-1 {
  animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-2 {
  animation: blobFloat 10s ease-in-out infinite reverse;
}

.hero-blob-3 {
  animation: blobFloat 12s ease-in-out infinite;
  animation-delay: -4s;
}

/* ── Gallery Hover ── */
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

/* ── Custom Select Arrow ── */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235c606c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ── Mobile Menu Transition ── */
#mobile-menu {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Service Card Tilt on Hover ── */
.service-card {
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-4px);
}

/* ── Button Ripple ── */
button, a {
  cursor: pointer;
  text-decoration: none;
}

/* ── Focus Styles ── */
:focus-visible {
  outline: 2px solid #ff6b43;
  outline-offset: 2px;
}

/* ── Print ── */
@media print {
  nav, #mobile-menu-btn, .animate-bounce {
    display: none;
  }
  .hero-gradient {
    background: #fff5f2 !important;
  }
}
