/* Custom font families */
@layer base {
  .font-cormorant {
    font-family: 'Cormorant Garamond', Georgia, serif;
  }
  .font-montserrat {
    font-montserrat: 'Montserrat', system-ui, sans-serif;
  }
}

/* Scroll reveal base styles — progressive enhancement, content visible by default */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Navbar scroll state */
.nav-scrolled {
  background: rgba(13, 11, 14, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(251, 191, 36, 0.1);
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

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

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

.menu-toggle.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active .menu-line:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .menu-line:nth-child(3) {
  width: 1.5rem;
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero orbs animation */
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 40px) scale(1.1); }
}

@keyframes float-medium {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -25px) scale(1.05); }
}

.hero-orb {
  animation-duration: 20s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.orb-1 {
  animation-name: float;
}

.orb-2 {
  animation-name: float-slow;
  animation-duration: 25s;
}

.orb-3 {
  animation-name: float-medium;
  animation-duration: 18s;
}

/* Service card hover */
.service-card {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease, box-shadow 0.5s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(251, 191, 36, 0.08);
}

/* Gallery hover */
.gallery-item {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Custom selection */
::selection {
  background: rgba(251, 191, 36, 0.3);
  color: #fbbf24;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0D0B0E;
}
::-webkit-scrollbar-thumb {
  background: rgba(251, 191, 36, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(251, 191, 36, 0.5);
}
