/* ===== RESET & BASE ===== */
*, *::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 (HERO) ===== */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.geo-circle-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 150, 12, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.geo-circle-2 {
  width: 250px;
  height: 250px;
  border: 2px solid rgba(200, 150, 12, 0.15);
  bottom: 15%;
  left: -60px;
}

.geo-triangle {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

.geo-triangle-1 {
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(200, 150, 12, 0.08);
  top: 20%;
  left: 5%;
  transform: rotate(-15deg);
}

.geo-square {
  position: absolute;
  pointer-events: none;
}

.geo-square-1 {
  width: 80px;
  height: 80px;
  border: 2px solid rgba(200, 150, 12, 0.15);
  top: 35%;
  right: 8%;
  transform: rotate(45deg);
}

.geo-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.geo-dot-1 {
  width: 12px;
  height: 12px;
  background: rgba(200, 150, 12, 0.4);
  top: 25%;
  left: 15%;
}

.geo-dot-2 {
  width: 8px;
  height: 8px;
  background: rgba(200, 150, 12, 0.3);
  bottom: 30%;
  right: 15%;
}

.geo-dot-3 {
  width: 16px;
  height: 16px;
  background: rgba(200, 150, 12, 0.2);
  top: 60%;
  left: 2%;
}

/* ===== 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, #C8960C, #E0BC4A);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* ===== GALLERY ===== */
.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  position: relative;
}

/* ===== NAVBAR SCROLL ===== */
.nav-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(10, 22, 40, 0.08);
}

.nav-scrolled .font-display {
  color: #0A1628 !important;
}

.nav-scrolled a:not(.rounded-full) {
  color: rgba(10, 22, 40, 0.8) !important;
}

/* ===== MOBILE MENU ===== */
.mobile-link {
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

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

#mobile-menu.closed .mobile-link {
  opacity: 0;
  transform: translateY(10px);
}

/* ===== SCROLL REVEAL (below fold only) ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

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

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

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

.geo-triangle-1 {
  animation: float 6s ease-in-out infinite;
}

.geo-square-1 {
  animation: float-reverse 8s ease-in-out infinite;
}

.geo-circle-2 {
  animation: float 7s ease-in-out infinite;
}

/* ===== CUSTOM SELECT STYLING ===== */
select option {
  background: #0A1628;
  color: white;
}

/* ===== SELECTION ===== */
::selection {
  background: rgba(200, 150, 12, 0.3);
  color: #0A1628;
}
