/* === BASE === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* === NAVBAR === */
#navbar {
  background: rgba(253, 249, 243, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123, 45, 139, 0.08);
}
#navbar.scrolled {
  background: rgba(253, 249, 243, 0.97);
  box-shadow: 0 4px 30px rgba(123, 45, 139, 0.08);
}

/* === BUTTONS === */
.btn-primary {
  background: linear-gradient(135deg, #7B2D8B 0%, #632470 100%);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(123, 45, 139, 0.35);
}
.btn-secondary {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-amber {
  background: linear-gradient(135deg, #F5C518 0%, #e0a800 100%);
  color: #36153d;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(245, 197, 24, 0.4);
}

/* === INPUTS === */
.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e9cff0;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #36153d;
  background: #fff;
  transition: all 0.2s ease;
  outline: none;
}
.input-field::placeholder { color: #c4a7e2; }
.input-field:focus {
  border-color: #7B2D8B;
  box-shadow: 0 0 0 3px rgba(123, 45, 139, 0.1);
}

/* === SERVICE CARD === */
.service-card {
  border: 1px solid rgba(123, 45, 139, 0.06);
}

/* === PROJECT CARD === */
.project-card:hover .project-card img {
  transform: scale(1.05);
}

/* === REVEAL ANIMATIONS === */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* === MOBILE MENU === */
.mobile-menu-open { overflow: hidden; }
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
#mobile-menu.close {
  opacity: 0;
  pointer-events: none;
}

/* === MOBILE MENU ANIMATION === */
.menu-open .line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-open .line:nth-child(2) {
  opacity: 0;
}
.menu-open .line:nth-child(3) {
  width: 1.25rem;
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FDF9F3; }
::-webkit-scrollbar-thumb { background: #e9cff0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #c4a7e2; }
