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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.geo-circle-1 {
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(251, 191, 212, 0.15), transparent);
  border: 2px solid rgba(251, 191, 212, 0.1);
}

.geo-circle-2 {
  top: 40%;
  left: 10%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(251, 205, 188, 0.08);
  border: 2px solid rgba(251, 205, 188, 0.1);
}

.geo-circle-3 {
  bottom: 10%;
  right: 30%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(251, 205, 188, 0.12);
}

.geo-rect-1 {
  top: 20%;
  right: 5%;
  width: 120px;
  height: 120px;
  background: rgba(251, 205, 188, 0.08);
  border: 2px solid rgba(251, 205, 188, 0.12);
  transform: rotate(45deg);
  border-radius: 8px;
}

.geo-rect-2 {
  bottom: 25%;
  left: 5%;
  width: 80px;
  height: 80px;
  background: rgba(244, 114, 182, 0.08);
  border: 2px solid rgba(244, 114, 182, 0.1);
  transform: rotate(20deg);
  border-radius: 6px;
}

.geo-triangle {
  top: 60%;
  right: 15%;
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid rgba(251, 205, 188, 0.08);
}

.geo-about-circle-1 {
  top: 10%;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 205, 188, 0.08), transparent);
  border: 1px solid rgba(251, 205, 188, 0.06);
}

.geo-about-circle-2 {
  bottom: 5%;
  left: -80px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 23, 77, 0.15), transparent);
  border: 1px solid rgba(157, 23, 77, 0.1);
}

/* ========== NAVBAR ========== */
#navbar {
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
  background: rgba(61, 5, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffd02f;
  transition: width 0.2s ease;
}

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

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

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

.mobile-link {
  display: block;
  padding: 0.5rem 0;
}

/* ========== SERVICE CARDS ========== */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #db2777, #f59e0b);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

/* ========== GALLERY ========== */
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(6) {
  aspect-ratio: 4/5;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61, 5, 26, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

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

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

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

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

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
  .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ========== BUTTON HOVER ANIMATIONS ========== */
a, button {
  transition: all 0.2s ease;
}

/* ========== SELECTION ========== */
::selection {
  background: #db2777;
  color: white;
}
