/* ============================================
   Northwoods Supper Club — Custom Styles
   ============================================ */

/* Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  overflow-x: hidden;
}

/* Selection */
::selection {
  background: #D4A843;
  color: #1B4332;
}

/* ============================================
   Geometric Shapes (Hero)
   ============================================ */
.geo-shape {
  position: absolute;
  opacity: 0.12;
  pointer-events: none;
}

.shape-circle-1 {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: #F4D66D;
  top: -100px;
  left: -100px;
  animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #F7E49A;
  bottom: 10%;
  right: 5%;
  animation: float 6s ease-in-out infinite reverse;
}

.shape-square-1 {
  width: 120px;
  height: 120px;
  background: #B3CCB7;
  top: 20%;
  right: 15%;
  transform: rotate(45deg);
  animation: spin-slow 20s linear infinite;
}

.shape-triangle-1 {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid #E6D0C0;
  top: 30%;
  left: 8%;
  animation: float 7s ease-in-out infinite;
  opacity: 0.15;
}

.shape-ring-1 {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 20px solid #D9E6DC;
  bottom: 20%;
  left: 15%;
  animation: spin-slow 15s linear infinite reverse;
}

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

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

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #D4A843;
  color: #1B4332;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary:hover {
  background: #EAB71A;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 168, 67, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: #fefdf8;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  border: 2px solid rgba(254, 253, 248, 0.5);
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-secondary:hover {
  background: rgba(254, 253, 248, 0.15);
  border-color: rgba(254, 253, 248, 0.8);
  transform: translateY(-2px);
}

/* ============================================
   Cards
   ============================================ */
.card-elevated {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card-elevated:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(27, 67, 50, 0.15);
}

/* ============================================
   Inputs
   ============================================ */
.input-field {
  border: 2px solid #D9E6DC;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: #1B4332;
  background: #FEFDF8;
  transition: all 0.25s ease;
  outline: none;
  width: 100%;
}

.input-field::placeholder {
  color: #8BB58F;
}

.input-field:focus {
  border-color: #1B4332;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(27, 67, 50, 0.1);
}

.input-field:hover:not(:focus) {
  border-color: #629A67;
}

select.input-field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231B4332' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ============================================
   Navigation
   ============================================ */
.nav-link {
  position: relative;
}

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

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

/* Navbar scroll state */
#navbar.scrolled {
  background: rgba(254, 253, 248, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(27, 67, 50, 0.1);
}

#navbar.scrolled .nav-link {
  color: #1B4332;
}

#navbar.scrolled .btn-primary {
  background: #1B4332;
  color: #FEFDF8;
}

#navbar.scrolled .btn-primary:hover {
  background: #163629;
}

#navbar.scrolled .font-display {
  color: #1B4332;
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-link {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid #D9E6DC;
}

.mobile-link:last-child {
  border-bottom: none;
}

.bar {
  transition: all 0.3s ease;
}

#mobile-menu-btn.active .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

#mobile-menu-btn.active .bar:nth-child(2) {
  opacity: 0;
}

#mobile-menu-btn.active .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============================================
   Marquee
   ============================================ */
.marquee-track {
  animation: marquee 30s linear infinite;
}

.marquee-item {
  font-size: 1rem;
}

.marquee-dot {
  color: #1B4332;
  opacity: 0.4;
  font-size: 0.75rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   Scroll Reveal
   ============================================ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.scroll-reveal.revealed:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal.revealed:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal.revealed:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .shape-circle-1 {
    width: 200px;
    height: 200px;
  }
  .shape-circle-2 {
    width: 100px;
    height: 100px;
  }
  .shape-square-1 {
    width: 60px;
    height: 60px;
  }
  .shape-triangle-1 {
    border-left-width: 30px;
    border-right-width: 30px;
    border-bottom-width: 52px;
  }
  .shape-ring-1 {
    width: 80px;
    height: 80px;
    border-width: 10px;
  }
}
