/* ============================================
   Get Baked Tanning Lounge — Custom Styles
   ============================================ */

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

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

body {
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============================================
   Geometric Background Shapes
   ============================================ */
.geo-shape {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
}

.geo-circle-1 {
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, #fbbf24, transparent 70%);
  top: -200px;
  right: -150px;
  animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, #a855f7, transparent 70%);
  bottom: 10%;
  left: -100px;
  animation: float-slow 25s ease-in-out infinite reverse;
}

.geo-circle-3 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, #fbbf24, transparent 70%);
  top: 50%;
  right: 5%;
  animation: float-slow 15s ease-in-out infinite;
}

.geo-triangle {
  width: 0;
  height: 0;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 260px solid #a855f7;
  top: 30%;
  left: 5%;
  opacity: 0.03;
  animation: rotate-slow 30s linear infinite;
}

.geo-square-rotated {
  width: 200px;
  height: 200px;
  background: #fbbf24;
  top: 60%;
  right: 10%;
  transform: rotate(45deg);
  animation: rotate-slow 25s linear infinite;
}

.geo-arc {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 40px solid #a855f7;
  top: 15%;
  left: 40%;
  opacity: 0.02;
  animation: float-slow 18s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

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

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

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

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

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

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

/* ============================================
   Navigation
   ============================================ */
.nav-scrolled {
  background: rgba(59, 7, 100, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
  position: relative;
}

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

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

/* Mobile Menu */
.nav-mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-mobile-menu.open {
  max-height: 400px;
}

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

/* ============================================
   Gallery Items
   ============================================ */
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 7, 100, 0.3), rgba(251, 191, 36, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ============================================
   Testimonial Cards
   ============================================ */
.testimonial-card {
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  font-weight: 900;
  color: rgba(251, 191, 36, 0.06);
  line-height: 1;
  pointer-events: none;
}

/* ============================================
   Scroll Reveal Animations
   (Progressive enhancement — content visible by default)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

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

::-webkit-scrollbar-track {
  background: #3b0764;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #fbbf24, #a855f7);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #fcd34d, #c084fc);
}

/* ============================================
   Selection Color
   ============================================ */
::selection {
  background: rgba(251, 191, 36, 0.3);
  color: #fff;
}

/* ============================================
   Form Styles
   ============================================ */
select option {
  background: #3b0764;
  color: #fff;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
  .geo-shape {
    display: none;
  }
  
  .geo-circle-1,
  .geo-circle-2,
  .geo-circle-3,
  .geo-triangle,
  .geo-square-rotated,
  .geo-arc {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .geo-circle-1 {
    width: 400px;
    height: 400px;
  }
  
  .geo-circle-2 {
    width: 300px;
    height: 300px;
  }
}
