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

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

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

::selection {
  background: rgba(212, 132, 28, 0.4);
  color: #fff;
}

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

.geo-circle-1 {
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, #D4841C 0%, transparent 70%);
  top: -200px;
  right: -150px;
  animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, #7B2D8E 0%, transparent 70%);
  bottom: 10%;
  left: -100px;
  animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle-3 {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, #fbbf24 0%, transparent 70%);
  top: 50%;
  right: 5%;
  animation: float-slow 18s ease-in-out infinite;
}

.geo-triangle {
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 173px solid #D4841C;
  top: 30%;
  left: 5%;
  opacity: 0.04;
  animation: spin-slow 30s linear infinite;
}

.geo-square {
  width: 120px;
  height: 120px;
  background: #7B2D8E;
  top: 60%;
  right: 10%;
  opacity: 0.05;
  transform: rotate(45deg);
  animation: spin-slow 25s linear infinite reverse;
}

.geo-diamond {
  width: 80px;
  height: 80px;
  background: #fbbf24;
  bottom: 20%;
  left: 15%;
  opacity: 0.04;
  transform: rotate(45deg);
  animation: float-slow 12s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

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

/* ===== NAVBAR ===== */
#navbar {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
  background: rgba(42, 12, 48, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #fbbf24, #D4841C);
  transition: width 0.3s ease;
  border-radius: 1px;
}

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

.nav-link:hover {
  color: #fbbf24 !important;
}

/* Mobile menu */
#mobileMenu.open {
  opacity: 1;
  pointer-events: all;
}

#mobileMenu.closed {
  opacity: 0;
  pointer-events: none;
}

.mobile-link {
  position: relative;
}

.menu-line {
  display: block;
}

#menuBtn.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

#menuBtn.active .menu-line:nth-child(2) {
  opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
  width: 20px;
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ===== HERO FLOATING CARDS ===== */
.floating-card {
  animation: float 4s ease-in-out infinite;
}

.stat-card-1 {
  animation-delay: 0s;
}

.stat-card-2 {
  animation-delay: 1.5s;
}

.badge-card {
  animation-delay: 0.75s;
}

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

/* ===== 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, #fbbf24, #D4841C);
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

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

/* ===== GALLERY ===== */
.gallery-item {
  position: relative;
  cursor: pointer;
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    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; }
  .reveal-delay-6 { transition-delay: 0.6s; }
}

/* For reduced motion, ensure content is always visible */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== FORM STYLES ===== */
select option {
  background: #2a0c30;
  color: #fff;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #2a0c30;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #7B2D8E, #D4841C);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f472b6, #fbbf24);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .geo-shape {
    display: none;
  }

  #hero {
    padding-top: 100px;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .geo-circle-1 {
    width: 400px;
    height: 400px;
  }

  .geo-circle-2 {
    width: 250px;
    height: 250px;
  }
}
