/* Custom styles for Dasa Aesthetics */

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

/* Navbar transition */
#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(26, 92, 58, 0.08);
}

/* Reveal animations — progressive enhancement */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* Mobile menu animation */
#mobileMenu {
  animation: slideDown 0.25s ease;
}

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

/* Geometric shape animations */
@media (prefers-reduced-motion: no-preference) {
  #hero .absolute.rounded-full,
  #hero .absolute.border-l-\[40px\],
  #hero .absolute.border-l-\[30px\] {
    animation: float 6s ease-in-out infinite;
  }

  #hero .absolute.top-20 { animation-delay: 0s; }
  #hero .absolute.top-40 { animation-delay: -1s; }
  #hero .absolute.bottom-32 { animation-delay: -2s; }
  #hero .absolute.bottom-20 { animation-delay: -3s; }

  #hero .absolute.top-32,
  #hero .absolute.bottom-40,
  #hero .absolute.top-1\/2,
  #hero .absolute.bottom-52 {
    animation: rotate 10s linear infinite;
  }
}

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

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

/* Gallery hover */
.rounded-2xl.overflow-hidden {
  overflow: hidden;
}

.rounded-2xl.overflow-hidden img {
  transition: transform 0.5s ease;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #1a5c3a;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Selection */
::selection {
  background: #1a5c3a;
  color: #faf9f6;
}

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

::-webkit-scrollbar-track {
  background: #f5f0e8;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #144a2e;
}
