/* One-Page Specific Styles */

/* Smooth scrolling sections */
.section-wrapper {
  position: relative;
}

/* Parallax effect for backgrounds */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Section navigation indicators */
.section-indicator {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}

.section-indicator a {
  display: block;
  width: 12px;
  height: 12px;
  margin: 15px 0;
  border-radius: 50%;
  background-color: rgba(74, 110, 58, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.section-indicator a:hover,
.section-indicator a.active {
  background-color: var(--accent-green);
  transform: scale(1.3);
}

.section-indicator a::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--dark-brown);
  color: var(--light-text);
  padding: 5px 10px;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-size: 0.9rem;
}

.section-indicator a:hover::before {
  opacity: 1;
}

/* Current Section Name Display */
.current-section-name {
  position: fixed;
  right: 55px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  z-index: 998;
  background-color: var(--accent-green);
  color: var(--light-bg);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(74, 110, 58, 0.3);
  transition: all 0.3s ease;
  pointer-events: none;
}

/* Scroll down indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator a {
  color: var(--primary-gold);
  font-size: 2rem;
  text-decoration: none;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* Loading animation - hidden by default to prevent blocking */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  opacity: 0;
  visibility: hidden;
}

.page-loader.visible {
  opacity: 1;
  visibility: visible;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(201, 171, 129, 0.3);
  border-top-color: var(--primary-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Section transitions - disabled by default, only fade-in class elements animate */
section {
  opacity: 1;
  transform: translateY(0);
}

section.animate-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hide mobile menu indicators on desktop */
@media (min-width: 769px) {
  .section-indicator {
    display: block;
  }
}

@media (max-width: 768px) {
  .section-indicator {
    display: none;
  }

  .current-section-name {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }
}
