/* ============================================
   French Broad Vintage — Custom Styles
   Premium Dark Luxury | Teal + Gold + Slate
   ============================================ */

/* ---- Base & Utilities ---- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: #060D0D;
  color: #94A3B8;
}

::selection {
  background-color: rgba(201, 168, 76, 0.3);
  color: #F8FAFC;
}

/* ---- Ambient Background Glows ---- */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 79, 79, 0.5) 0%, transparent 70%);
  top: -100px;
  right: -200px;
  animation: float-glow 20s ease-in-out infinite;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.15) 0%, transparent 70%);
  bottom: 20%;
  left: -150px;
  animation: float-glow 25s ease-in-out infinite reverse;
}

.glow-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, transparent 70%);
  top: 50%;
  left: 40%;
  animation: float-glow 18s ease-in-out infinite;
}

@keyframes float-glow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* ---- Navbar ---- */
#navbar {
  background: transparent;
  transition: background-color 0.5s ease, backdrop-filter 0.5s ease, box-shadow 0.5s ease;
}

#navbar.scrolled {
  background: rgba(6, 13, 13, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.08), 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #C9A84C, #2DD4BF);
  transition: width 0.3s ease;
}

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

/* ---- Mobile Menu ---- */
.hamburger-line {
  transition: all 0.3s ease;
}

#mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

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

#mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
  width: 1.25rem;
}

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

.mobile-nav-link {
  position: relative;
}

.mobile-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: #C9A84C;
  transition: width 0.3s ease;
}

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

/* ---- Buttons ---- */
.btn-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #C9A84C 0%, #B8943F 50%, #927330 100%);
  color: #060D0D;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #060D0D;
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #F8FAFC;
  border: 1px solid rgba(45, 212, 191, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: rgba(45, 212, 191, 0.6);
  background: rgba(45, 212, 191, 0.08);
  color: #2DD4BF;
  transform: translateY(-2px);
}

/* ---- Floating Cards ---- */
.floating-card {
  animation: float 6s ease-in-out infinite;
}

.card-1 {
  animation-delay: 0s;
}

.card-2 {
  animation-delay: -2s;
}

.card-3 {
  animation-delay: -4s;
}

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

/* ---- Card Hover Effects ---- */
.card-hover {
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(201, 168, 76, 0.1);
}

/* ---- Input Fields ---- */
.input-field {
  background: rgba(10, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: #F8FAFC;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  outline: none;
}

.input-field::placeholder {
  color: #4A5568;
}

.input-field:hover {
  border-color: rgba(201, 168, 76, 0.3);
}

.input-field:focus {
  border-color: #C9A84C;
  background: rgba(10, 20, 20, 0.8);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

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='%234A5568' 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;
}

select.input-field option {
  background: #0F1F1F;
  color: #F8FAFC;
}

textarea.input-field {
  resize: vertical;
  min-height: 100px;
}

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

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Gold Divider Accent ---- */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #C9A84C, transparent);
  opacity: 0.3;
}

/* ---- Image Hover Zoom ---- */
img {
  transition: transform 0.7s ease;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .floating-card {
    display: none;
  }

  .glow-1 {
    width: 300px;
    height: 300px;
  }

  .glow-2 {
    width: 250px;
    height: 250px;
  }

  .glow-3 {
    width: 200px;
    height: 200px;
  }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
