/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'DM Sans', sans-serif; -webkit-font-smoothing: antialiased; }

/* ===== NAV ===== */
.nav-fixed { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }

/* ===== HERO GRADIENT ===== */
.hero-gradient {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 30%, #14b8a6 60%, #2dd4bf 100%);
}

/* ===== HERO BLOBS ===== */
.hero-blob { will-change: transform; }
.hero-blob-1 { animation: float 8s ease-in-out infinite; }
.hero-blob-2 { animation: float 10s ease-in-out infinite reverse; }
.hero-blob-3 { animation: pulse-blob 12s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes pulse-blob {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.3; }
}

/* ===== HERO GRID PATTERN ===== */
.hero-grid-pattern {
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ===== HERO HEADLINE ===== */
.hero-headline {
  text-shadow: 0 2px 20px rgba(0,0,0,0.15), 0 4px 40px rgba(0,0,0,0.1);
}

/* ===== HERO BUTTONS ===== */
.btn-hero-primary {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
}
.btn-hero-secondary {
  transition: all 0.2s ease;
}

/* ===== BADGE TAG ===== */
.badge-tag {
  display: inline-block;
  background: linear-gradient(135deg, #ccfbf1, #99f6e0);
  color: #0d9488;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.04);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
}

/* ===== GALLERY ITEMS ===== */
.gallery-item {
  border-radius: 1rem;
  overflow: hidden;
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  border: 1px solid rgba(0,0,0,0.04);
}

/* ===== CTA GRADIENT ===== */
.cta-gradient {
  background: linear-gradient(135deg, #115e59 0%, #0d9488 50%, #14b8a6 100%);
}

.btn-cta-primary {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}
.btn-cta-primary:hover {
  transform: translateY(-2px);
}

/* ===== INPUT FIELDS ===== */
.input-field {
  border: 1.5px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: #1e293b;
  transition: all 0.2s ease;
  outline: none;
  background: white;
  width: 100%;
}
.input-field:focus {
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}
.input-field::placeholder {
  color: #94a3b8;
}

/* ===== SUBMIT BUTTON ===== */
.btn-submit {
  transition: all 0.2s ease;
}
.btn-submit:hover {
  transform: translateY(-1px);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE MENU ===== */
#mobileMenu {
  animation: slideDown 0.2s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .hero-headline { font-size: 2rem; }
  .hero-headline { font-size: 1.75rem; }
}
@media (min-width: 641px) and (max-width: 768px) {
  .hero-headline { font-size: 2.5rem; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-headline { font-size: 3rem; }
}
@media (min-width: 1025px) {
  .hero-headline { font-size: 3.5rem; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== FOCUS VISIBLE ===== */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #0d9488;
  outline-offset: 2px;
  border-radius: 0.5rem;
}
