/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #fdf2f5;
}
::-webkit-scrollbar-thumb {
  background: #8B1A38;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7a1732;
}

/* ===== NAVIGATION ===== */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #FF85A8;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(139, 26, 56, 0.08);
}

/* Mobile menu */
#mobile-menu {
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-link {
  position: relative;
  padding-left: 0;
  transition: padding-left 0.3s ease;
}
.mobile-nav-link:hover {
  padding-left: 12px;
}
.mobile-nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: #FF85A8;
  transition: width 0.3s ease;
}
.mobile-nav-link:hover::before {
  width: 6px;
}

/* Hamburger animation */
.menu-line {
  transition: all 0.3s ease;
}
#mobile-menu-btn.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
#mobile-menu-btn.active .menu-line:nth-child(2) {
  opacity: 0;
}
#mobile-menu-btn.active .menu-line:nth-child(3) {
  width: 24px;
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: linear-gradient(135deg, #FF85A8 0%, #FF5C88 100%);
  color: white;
  border: none;
  border-radius: 1rem;
  padding: 0.875rem 1.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 92, 136, 0.35);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 92, 136, 0.45);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  border-radius: 1rem;
  padding: 0.8125rem 1.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* ===== TAGS ===== */
.tag-burgundy {
  display: inline-block;
  background: rgba(139, 26, 56, 0.08);
  color: #8B1A38;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 100px;
}

.tag-blush {
  display: inline-block;
  background: rgba(255, 133, 168, 0.12);
  color: #E03D6A;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 100px;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== INPUT FIELDS ===== */
.input-field {
  border: 2px solid #f0e0e4;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: #1f2937;
  background: #fefaf6;
  transition: all 0.3s ease;
  outline: none;
  width: 100%;
}
.input-field:hover {
  border-color: #f9a6b8;
}
.input-field:focus {
  border-color: #8B1A38;
  background: white;
  box-shadow: 0 0 0 4px rgba(139, 26, 56, 0.08);
}
.input-field::placeholder {
  color: #9ca3af;
}

select.input-field {
  appearance: none;
  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='%238B1A38' 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;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: #8B1A38;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(139, 26, 56, 0.3);
  z-index: 40;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #7a1732;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(139, 26, 56, 0.4);
}

/* ===== GEOMETRIC SHAPES (HERO) ===== */
.geo-shape {
  position: absolute;
  pointer-events: none;
}

.geo-circle-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 133, 168, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: -200px;
  left: -200px;
  animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 92, 136, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  bottom: 10%;
  right: 5%;
  animation: float 6s ease-in-out infinite reverse;
}

.geo-circle-3 {
  width: 150px;
  height: 150px;
  border: 2px solid rgba(255, 184, 204, 0.3);
  border-radius: 50%;
  top: 30%;
  right: 15%;
  animation: float 10s ease-in-out infinite;
}

.geo-rect-1 {
  width: 80px;
  height: 80px;
  background: rgba(255, 214, 229, 0.15);
  border-radius: 1rem;
  top: 20%;
  right: 30%;
  transform: rotate(45deg);
  animation: spin-slow 20s linear infinite;
}

.geo-rect-2 {
  width: 50px;
  height: 50px;
  background: rgba(255, 133, 168, 0.2);
  border-radius: 0.75rem;
  bottom: 25%;
  left: 10%;
  transform: rotate(20deg);
  animation: spin-slow 15s linear infinite reverse;
}

.geo-triangle {
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid rgba(255, 184, 204, 0.12);
  top: 45%;
  left: 5%;
  animation: float 7s ease-in-out infinite;
}

.dot-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 20px 20px;
}

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

@keyframes spin-slow {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}

/* ===== HERO TAG ANIMATION ===== */
.hero-tag {
  animation: fadeInUp 0.8s ease forwards;
}

/* ===== SECTION ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 70px;
  }

  .font-display.text-5xl {
    font-size: 2.75rem;
  }

  .font-display.text-4xl {
    font-size: 2.25rem;
  }
}

@media (max-width: 640px) {
  .font-display.text-5xl {
    font-size: 2.25rem;
  }

  .font-display.text-4xl {
    font-size: 1.875rem;
  }
}

/* ===== 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;
  }
  .service-card, .fade-in, .fade-in-left, .fade-in-right {
    opacity: 1;
    transform: none;
  }
}
