/* ===== BASE & RESET ===== */
*, *::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;
}

::selection {
  background: #F5A623;
  color: #1E051E;
}

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

.shape-circle-1 {
  top: 10%;
  right: -8%;
  width: 500px;
  height: 500px;
  border: 2px solid rgba(245, 166, 35, 0.08);
  border-radius: 50%;
  animation: floatSlow 20s ease-in-out infinite;
}

.shape-circle-2 {
  bottom: 15%;
  right: 5%;
  width: 280px;
  height: 280px;
  border: 2px solid rgba(160, 56, 160, 0.15);
  border-radius: 50%;
  animation: floatSlow 15s ease-in-out infinite reverse;
}

.shape-diamond {
  top: 25%;
  right: 38%;
  width: 80px;
  height: 80px;
  background: rgba(245, 166, 35, 0.06);
  transform: rotate(45deg);
  animation: floatSlow 10s ease-in-out infinite;
}

.shape-rect {
  bottom: 30%;
  left: 5%;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(245, 166, 35, 0.1);
  border-radius: 16px;
  transform: rotate(15deg);
  animation: floatSlow 12s ease-in-out infinite reverse;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(45deg); }
  50% { transform: translateY(-20px) rotate(45deg); }
}

.shape-diamond {
  animation-name: floatDiamond;
}

@keyframes floatDiamond {
  0%, 100% { transform: rotate(45deg) translateY(0px); }
  50% { transform: rotate(45deg) translateY(-20px); }
}

/* ===== NAVBAR ===== */
#navbar {
  background: rgba(30, 5, 30, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(74, 16, 72, 0.4);
}

#navbar.scrolled {
  background: rgba(30, 5, 30, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== 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, #F5A623, #A038A0);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* ===== GALLERY ===== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: auto;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 5, 30, 0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px;
}

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

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  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.visible {
  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; }

/* ===== MOBILE MENU ===== */
.mobile-link {
  position: relative;
}

.mobile-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #F5A623;
  transition: width 0.3s ease;
}

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

/* ===== INPUT FOCUS ===== */
input:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .shape-circle-1 {
    width: 300px;
    height: 300px;
    right: -15%;
  }

  .shape-circle-2 {
    width: 180px;
    height: 180px;
  }

  .shape-diamond {
    width: 50px;
    height: 50px;
    right: 20%;
  }

  .shape-rect {
    width: 80px;
    height: 80px;
  }
}
