/* ===== Custom Styles for Buckhorn Bachelor Gulch ===== */

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

body {
  overflow-x: hidden;
}

/* ===== Navigation ===== */
.nav-logo-mark {
  color: #C8A44E;
  transition: color 0.3s ease;
}

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C8A44E;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #C8A44E;
}

.nav-link:hover::after {
  width: 100%;
}

/* Scrolled state */
.nav-scrolled {
  background: rgba(13, 27, 42, 0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-scrolled .nav-logo-mark {
  color: #C8A44E;
}

.nav-scrolled .nav-link {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== Buttons ===== */
.btn-gold {
  background: linear-gradient(135deg, #C8A44E 0%, #D4B76A 50%, #C8A44E 100%);
  color: #0D1B2A;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 164, 78, 0.35);
}

.btn-navy {
  background: #0D1B2A;
  color: #C8A44E;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-navy:hover {
  background: #1B2A4A;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 27, 42, 0.4);
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-outline-light:hover {
  border-color: #C8A44E;
  color: #C8A44E;
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: #0D1B2A;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1.5px solid rgba(13, 27, 42, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-outline-dark:hover {
  border-color: #0D1B2A;
  background: #0D1B2A;
  color: #C8A44E;
  transform: translateY(-2px);
}

/* ===== Hero ===== */
.hero-badge {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

/* ===== Stats ===== */
.stat-item {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.4s; }
.stat-item:nth-child(2) { animation-delay: 0.5s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }

/* ===== Lodging Cards ===== */
.lodging-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.lodging-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.lodging-card:hover {
  transform: translateY(-8px);
}

.lodging-card:hover .amenity-card {
  box-shadow: 0 20px 60px rgba(13, 27, 42, 0.15);
}

/* ===== Amenity Cards ===== */
.amenity-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.amenity-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== Keyframes ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

/* ===== Mobile Menu ===== */
.mobile-link {
  color: #ffffff;
  transition: color 0.3s ease;
}

.mobile-link:hover {
  color: #C8A44E;
}

#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

/* ===== Mobile Menu Icon Animation ===== */
#menu-icon.active #line1 {
  transform: rotate(45deg) translate(4px, 4px);
}

#menu-icon.active #line2 {
  opacity: 0;
}

#menu-icon.active #line3 {
  transform: rotate(-45deg) translate(4px, -4px);
  width: 24px;
}

/* ===== Form Styles ===== */
select option {
  background: #1B2A4A;
  color: #ffffff;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .btn-gold,
  .btn-navy,
  .btn-outline-light,
  .btn-outline-dark {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .btn-gold,
  .btn-navy,
  .btn-outline-light,
  .btn-outline-dark {
    width: auto;
  }
}

/* ===== Selection Color ===== */
::selection {
  background: rgba(200, 164, 78, 0.3);
  color: #0D1B2A;
}

/* ===== Focus Visible ===== */
:focus-visible {
  outline: 2px solid #C8A44E;
  outline-offset: 2px;
}

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

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

::-webkit-scrollbar-thumb {
  background: #2C3E6B;
  border-radius: 4px;
}

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