/* Base & Typography */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

::selection {
  background: #c9a84c;
  color: #0a1628;
}

/* Hero Gradient */
.hero-gradient {
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(21, 45, 86, 0.8) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(15, 33, 64, 0.9) 0%, transparent 50%),
    linear-gradient(135deg, #0a1628 0%, #152d56 30%, #1a3a6e 60%, #0f2140 100%);
}

/* CTA Gradient */
.cta-gradient {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(26, 58, 110, 0.6) 0%, transparent 50%),
    linear-gradient(135deg, #0f2140 0%, #1a3a6e 50%, #0a1628 100%);
}

/* Hero Animations */
.hero-subtitle {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.3s;
}

.hero-headline {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.hero-desc {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.9s;
}

.hero-cta {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 1.2s;
}

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

/* Scroll Reveal */
.reveal-section {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-section[data-revealed="false"] {
  opacity: 0;
  transform: translateY(40px);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal-section[data-revealed="true"] {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Service Card Hover */
.service-card {
  perspective: 1000px;
}

.service-card-inner {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover .service-card-inner {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(201, 168, 76, 0.1);
}

/* Navbar */
#navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

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

/* Testimonial Card */
.testimonial-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Button focus */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #c9a84c;
  outline-offset: 2px;
}

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

::-webkit-scrollbar-track {
  background: #0a1628;
}

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

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