/* ========================================
   Long Beach Tanning Resort — Custom Styles
   ======================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #0D1525;
}
::-webkit-scrollbar-thumb {
  background: #C8A84E;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #D4B968;
}

/* Selection */
::selection {
  background: #C8A84E;
  color: #0D1525;
}

/* ========================================
   Navigation
   ======================================== */
#navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(27, 42, 74, 0.06);
}

#navbar.scrolled {
  box-shadow: 0 1px 30px rgba(13, 21, 37, 0.06);
}

/* ========================================
   Service Cards
   ======================================== */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #C8A84E, #D4B968);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* ========================================
   Mobile Menu
   ======================================== */
.mobile-link {
  font-size: 1.25rem;
}

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

#menu-btn.active #bar1 {
  transform: rotate(45deg) translate(3px, 3px);
}
#menu-btn.active #bar2 {
  opacity: 0;
}
#menu-btn.active #bar3 {
  transform: rotate(-45deg) translate(3px, -3px);
  width: 1.5rem;
}

/* ========================================
   Scroll Reveal Animations
   (Progressive Enhancement — content visible without JS)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

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

  .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; }
  .reveal-delay-5 { transition-delay: 0.5s; }
}

/* ========================================
   Form Styles
   ======================================== */
select option {
  background: #0D1525;
  color: #C8A84E;
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 767px) {
  h1 {
    font-size: 2.75rem !important;
  }

  h1 span {
    font-size: 2.75rem !important;
  }

  .service-card {
    padding: 2rem 1.5rem !important;
  }

  #contact-form {
    padding: 2rem 1.5rem !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .service-card {
    padding: 2.5rem !important;
  }
}

/* ========================================
   Utility: Thin separator lines
   ======================================== */
.separator-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(27, 42, 74, 0.08), transparent);
}
