/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  overflow-x: hidden;
}

/* Geometric Shapes */
.geometric-shape {
  position: absolute;
  pointer-events: none;
}

.shape-circle-1 {
  width: 400px;
  height: 400px;
  border: 2px solid rgba(212, 168, 67, 0.15);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
  width: 200px;
  height: 200px;
  background: rgba(212, 168, 67, 0.08);
  border-radius: 50%;
  bottom: 10%;
  left: 5%;
  animation: float 6s ease-in-out infinite reverse;
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(212, 168, 67, 0.08);
  top: 30%;
  left: -30px;
  animation: rotate 12s linear infinite;
}

.shape-square {
  width: 80px;
  height: 80px;
  border: 2px solid rgba(212, 168, 67, 0.12);
  top: 60%;
  right: 8%;
  transform: rotate(45deg);
  animation: float 7s ease-in-out infinite;
}

.cta-shape-1 {
  width: 300px;
  height: 300px;
  border: 2px solid rgba(212, 168, 67, 0.1);
  border-radius: 50%;
  top: -80px;
  left: -80px;
  animation: float 9s ease-in-out infinite;
}

.cta-shape-2 {
  width: 150px;
  height: 150px;
  border: 2px solid rgba(212, 168, 67, 0.1);
  bottom: -40px;
  right: 10%;
  transform: rotate(45deg);
  animation: rotate 15s linear infinite;
}

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

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

/* 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, #d4a843, #e6bc5e);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 41, 66, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

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

/* Testimonial Cards */
.testimonial-card {
  position: relative;
}

/* Scroll Reveal Animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
}

/* Navbar scroll state */
.navbar-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

::-webkit-scrollbar-track {
  background: #1a2942;
}

::-webkit-scrollbar-thumb {
  background: #d4a843;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e6bc5e;
}

/* Selection color */
::selection {
  background: rgba(212, 168, 67, 0.3);
  color: #1a2942;
}

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

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

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* Smooth image loading */
img {
  background-color: #f3f4f6;
}
