/* ===== 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;
}

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

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

.geo-circle-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(123, 45, 59, 0.06) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  border-radius: 50%;
}

.geo-circle-2 {
  width: 250px;
  height: 250px;
  background: rgba(244, 200, 188, 0.3);
  top: 15%;
  right: 5%;
  border-radius: 50%;
}

.geo-circle-3 {
  width: 150px;
  height: 150px;
  background: rgba(123, 45, 59, 0.08);
  bottom: 10%;
  left: 30%;
  border-radius: 50%;
}

.geo-rect-1 {
  width: 120px;
  height: 120px;
  background: rgba(245, 230, 224, 0.5);
  top: 20%;
  left: 5%;
  border-radius: 20px;
  transform: rotate(45deg);
}

.geo-rect-2 {
  width: 80px;
  height: 80px;
  background: rgba(123, 45, 59, 0.1);
  bottom: 25%;
  right: 15%;
  border-radius: 12px;
  transform: rotate(20deg);
}

.geo-triangle {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid rgba(244, 200, 188, 0.25);
  top: 35%;
  right: 2%;
}

.geo-diamond-1 {
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.04);
  top: 10%;
  right: 5%;
  border-radius: 16px;
  transform: rotate(45deg);
}

.geo-diamond-2 {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.03);
  bottom: 15%;
  left: 8%;
  border-radius: 12px;
  transform: rotate(30deg);
}

.geo-circle-4 {
  width: 200px;
  height: 200px;
  border: 2px solid rgba(255, 255, 255, 0.06);
  bottom: -50px;
  right: 10%;
  border-radius: 50%;
}

.geo-circle-5 {
  width: 180px;
  height: 180px;
  background: rgba(123, 45, 59, 0.04);
  bottom: -40px;
  left: 5%;
  border-radius: 50%;
}

.geo-circle-6 {
  width: 300px;
  height: 300px;
  background: rgba(123, 45, 59, 0.04);
  top: -80px;
  right: -80px;
  border-radius: 50%;
}

.geo-circle-7 {
  width: 250px;
  height: 250px;
  border: 2px solid rgba(255, 255, 255, 0.05);
  bottom: -60px;
  left: 10%;
  border-radius: 50%;
}

.geo-rect-3 {
  width: 100px;
  height: 100px;
  background: rgba(123, 45, 59, 0.04);
  top: 15%;
  right: 5%;
  border-radius: 16px;
  transform: rotate(15deg);
}

.geo-rect-4 {
  width: 200px;
  height: 60px;
  background: rgba(123, 45, 59, 0.05);
  bottom: 10%;
  left: -50px;
  border-radius: 12px;
  transform: rotate(-10deg);
}

.geo-triangle-2 {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 80px solid rgba(123, 45, 59, 0.08);
  top: 10%;
  right: 10%;
}

.geo-circle-8 {
  width: 200px;
  height: 200px;
  background: rgba(123, 45, 59, 0.04);
  bottom: -60px;
  right: 5%;
  border-radius: 50%;
}

/* ===== DOT PATTERN ===== */
.dot-pattern {
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, rgba(123, 45, 59, 0.3) 1px, transparent 1px);
  background-size: 12px 12px;
}

/* ===== HERO ===== */
.hero-tag {
  animation: fadeInUp 0.8s ease-out both;
}

.hero-tag span:first-child {
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

h1 {
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

h1 span:last-child {
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

p[class*="text-lg"] {
  animation: fadeInUp 0.8s ease-out 0.45s both;
}

.flex.flex-wrap.gap-4 {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.flex.gap-10 {
  animation: fadeInUp 0.8s ease-out 0.75s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SERVICE CARDS ===== */
.service-card {
  transform: translateY(0);
  transition: transform 0.4s ease, background-color 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

/* ===== FEATURE PILLS ===== */
.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(123, 45, 59, 0.08);
  border: 1px solid rgba(123, 45, 59, 0.15);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #7B2D3B;
  transition: all 0.3s ease;
}

.feature-pill:hover {
  background: rgba(123, 45, 59, 0.12);
  border-color: rgba(123, 45, 59, 0.3);
}

/* ===== GALLERY ===== */
.gallery-item {
  cursor: pointer;
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  transition: transform 0.4s ease, background-color 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

/* ===== NAVBAR ===== */
.nav-scrolled {
  background: rgba(255, 248, 246, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
}

.nav-scrolled .logo-text {
  color: #7B2D3B !important;
}

.nav-scrolled .nav-link {
  color: #7B2D3B !important;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-open {
  opacity: 1 !important;
  pointer-events: all !important;
}

.mobile-menu-closed {
  opacity: 0 !important;
  pointer-events: none !important;
}

.menu-line {
  transition: all 0.3s ease;
}

.menu-open .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-open .menu-line:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-line:nth-child(3) {
  width: 1.25rem;
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s 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; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(10px);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

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