/* Custom styles for Stuhr Family Cabin */

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

/* Hero decorative shapes */
.hero-shape {
  position: absolute;
  pointer-events: none;
}

.shape-circle-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  animation: float-slow 8s ease-in-out infinite;
}

.shape-circle-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(251, 243, 216, 0.08) 0%, transparent 70%);
  bottom: 10%;
  left: 5%;
  border-radius: 50%;
  animation: float-slow 6s ease-in-out infinite reverse;
}

.shape-rect-1 {
  width: 120px;
  height: 120px;
  background: rgba(16, 185, 129, 0.1);
  top: 20%;
  left: 10%;
  border-radius: 24px;
  transform: rotate(15deg);
  animation: float-slow 7s ease-in-out infinite;
}

.shape-rect-2 {
  width: 80px;
  height: 80px;
  background: rgba(251, 243, 216, 0.06);
  bottom: 20%;
  right: 15%;
  border-radius: 16px;
  transform: rotate(-30deg);
  animation: float-slow 5s 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(16, 185, 129, 0.08);
  top: 40%;
  right: 5%;
  animation: float-slow 9s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(var(--rotation, 0deg)); }
  50% { transform: translateY(-20px) rotate(var(--rotation, 0deg)); }
}

.shape-rect-1 { --rotation: 15deg; }
.shape-rect-2 { --rotation: -30deg; }

/* Navigation */
#nav {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#nav.scrolled {
  background: rgba(254, 253, 248, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(4, 78, 59, 0.08);
}

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

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

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

#menuBtn.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active .menu-line:nth-child(2) {
  opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
  width: 6px;
  transform: rotate(-45deg) translate(3px, -3px);
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-shape { animation: none; }
  .group:hover { transform: none; }
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fefdf8; }
::-webkit-scrollbar-thumb { background: #047857; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #059669; }

/* Image hover zoom */
img {
  transition: transform 0.5s ease;
}

/* Button focus */
a:focus-visible, button:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
  border-radius: 4px;
}
