@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,700;0,800;1,700;1,800&family=Outfit:wght@300;400;600;700&family=Dancing+Script:wght@700&display=swap');

:root {
  --bg-color: #a1a6b4; /* Darker edge of gradient as fallback */
  --bg-gradient: radial-gradient(circle at 50% 30%, #e6e8eb 0%, #aaafbd 100%);
  --bg-surface: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.75); /* Frosted white */
  --bg-glass-dark: rgba(12, 12, 12, 0.95); /* Dark ticket card style */
  --accent-primary: #3A4BFF; /* Vibrant Blue from screenshot */
  --accent-secondary: #2135D9; /* Solid Variant of Blue */
  --accent-tertiary: #111111; /* Black used for accents */
  --accent-tertiary-glow: rgba(17, 17, 17, 0.35);
  --accent-hover: #4B5BFF;
  --accent-glow: rgba(58, 75, 255, 0.4);
  --text-primary: #111111; /* Main text is dark now */
  --text-inverse: #ffffff; /* Text on dark backgrounds */
  --text-secondary: #4b5563; /* Gray text */
  --border-glass: rgba(255, 255, 255, 0.9);
  --border-glass-dark: rgba(255, 255, 255, 0.1);
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   2. RESET & GLOBAL STYLES
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  min-height: 100vh;
  font-size: 16px;
  scroll-behavior: auto !important; /* Disable native smooth-scroll: GSAP handles it smoothly without conflicts */
  overflow-anchor: none !important; /* Prevents browser from 'guessing' scroll positions during layout changes */
}

#navbar-placeholder {
  min-height: 80px; /* Reserves space for the sticky navbar instantly */
  width: 100%;
}

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--bg-color);
  background: var(--bg-gradient);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none; /* Prevents elastic bounce-back on iOS which triggers GSAP refresh loops */
  scroll-behavior: auto !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-style: italic;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

p, li, article {
  font-weight: 300;
  line-height: 1.7;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: var(--accent-primary);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-hover);
}

button, .btn {
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
}

ul {
  list-style: none;
}

/* =========================================
   3. UTILITY CLASSES (Grid, Glassmorphism, Buttons)
   ========================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 6rem 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-x: hidden;
}

.text-center {
  text-align: center;
}

/* Base state for scroll revelations handled by GSAP */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
}

.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
}

.glass-panel-dark {
  background: var(--bg-glass-dark);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass-dark);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  color: var(--text-inverse);
}

.glass-panel-dark h1,
.glass-panel-dark h2,
.glass-panel-dark h3,
.glass-panel-dark h4 {
  color: var(--text-inverse);
}

.glass-panel-dark p,
.glass-panel-dark li,
.glass-panel-dark article {
  color: #a1a6b4; /* Subtle lighter grey for dark cards */
}

.title-gold {
  color: var(--accent-primary);
  text-shadow: none; /* Removed glow to fit the clean light theme */
}

.bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20vw;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #f8f9fa; /* Almost white */
  text-shadow: 0 4px 20px rgba(0,0,0,0.05); /* Subtle depth */
  opacity: 0.9;
  z-index: -3; /* Place very deep behind content */
  pointer-events: none;
  white-space: nowrap;
}

.signature-text {
  font-family: 'Dancing Script', cursive;
  color: var(--accent-primary);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  text-transform: none;
  font-style: normal;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: -1.5rem; 
  text-shadow: 0 5px 15px rgba(87, 59, 255, 0.2);
}

/* Dynamic Buttons */
.cta-sec a {
  display: inline-block;
  color: #ffffff !important;
  font-size: 1.1rem;
  letter-spacing: 1px;
  padding: 1rem 2.5rem;
  background: var(--accent-primary);
  border: none;
  border-radius: 50px;
  transition: all var(--transition-smooth);
  box-shadow: 0 8px 25px var(--accent-glow);
  position: relative;
  overflow: hidden;
  font-weight: 700;
  text-transform: uppercase;
}

.cta-sec a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: all var(--transition-smooth);
}

.cta-sec a:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px var(--accent-glow);
  background: var(--accent-hover);
}

.cta-sec.secondary a {
  background: var(--accent-tertiary);
  box-shadow: 0 8px 25px var(--accent-tertiary-glow);
  color: #ffffff !important;
}

.cta-sec.secondary a:hover {
  background: #000000;
  box-shadow: 0 12px 30px var(--accent-tertiary-glow);
}

.cta-sec a:hover::before {
  left: 100%;
}

.cta-sec a span {
  display: inline-block;
}

/* =========================================
   4. NAVIGATION
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: var(--bg-glass); /* Using the light frosted glass theme */
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--transition-smooth);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img, .snazzy-logo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--accent-primary);
  background: radial-gradient(circle at center, var(--bg-surface) 0%, var(--bg-color) 100%);
  box-shadow: 0 0 15px var(--accent-glow);
  padding: 4px; /* gives the tree room to breathe */
  transition: all var(--transition-smooth);
}

.logo img:hover, .snazzy-logo:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 25px var(--accent-primary);
}

.navbar h1 {
  margin: 0;
  font-size: 1.8rem;
  color: var(--accent-tertiary);
}

/* Mobile Links - Glassmorphic Offcanvas */
.links {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95); /* Full Screen Light Frosted Overlay */
  backdrop-filter: blur(24px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transform: translateX(100%); /* Changed to start on right */
  z-index: -1;
}

.links a {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  font-style: italic;
  color: var(--accent-tertiary);
  position: relative;
}

.links a:hover {
  color: var(--accent-primary);
  padding-left: 10px;
}

.burger {
  cursor: pointer;
  z-index: 10;
  display: block;
}

.burger .line {
  stroke: var(--accent-tertiary);
  transition: all var(--transition-fast);
}

/* DESKTOP/TABLET MENU STYLES */
@media (min-width: 769px) {
  .burger {
    display: none;
  }
  
  .links {
    position: static;
    transform: none !important; /* Overrides GSAP mobile animations */
    flex-direction: row;
    height: auto;
    width: auto;
    background: transparent;
    backdrop-filter: none;
    gap: 1.5rem;
    opacity: 1 !important; /* Ensure links are visible */
  }
  
  .links a {
    font-size: 1.1rem;
    font-weight: 600;
    font-style: normal;
  }

  .links a:hover {
    padding-left: 0;
  }
}

/* =========================================
   5. HERO SECTION
   ========================================= */
.front-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.85) contrast(1.05); /* Adjusted to be much lighter to show the sporty environment */
}

.selling-point {
  text-align: center;
  padding: 3rem;
  margin-top: 5rem;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.selling-point h2 {
  font-size: 3rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--accent-primary);
  text-shadow: none; /* Removing harsh shadow from light theme */
}

.selling-point h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* =========================================
   6. SERVICES & VIDEOS (Grid layout)
   ========================================= */
.service-description {
  margin-bottom: 4rem;
}

.service-description h2 {
  font-size: 2.5rem;
}

.service-description h3 {
  color: var(--text-secondary);
  font-family: "Outfit", sans-serif;
  font-style: normal;
  text-transform: none;
}

/* Videos section: 2-column grid on all screens */
.videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 0 5%;
}

/* Services Gallery Styles */
.video-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid var(--border-glass);
}

.video-card video {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
  transition: all var(--transition-smooth);
}

.video-card:hover video {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.video-card h3 {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 90%;
  padding: 0.6rem 1.8rem;
  margin: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border-radius: 50px; /* Tablet pill shape */
  font-size: clamp(0.8rem, 2.5vw, 1.2rem);
  font-weight: 800;
  text-align: center;
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border: 1px solid var(--border-glass);
}




/* =========================================
   7. ABOUT / GENERAL SECTIONS
   ========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  border: 1px solid var(--border-glass);
  margin: 0 auto;
}

.tree-bottom {
  text-align: center;
  padding: 4rem 0;
  margin-top: 2rem;
  position: relative;
  background-image: linear-gradient(rgba(15,15,15,0.9), rgba(15,15,15,0.9)), url("assets/background-pimpled.jpg");
  background-size: cover;
}

.tree-bottom img {
  width: 100px;
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

/* Generic Pages (Massage, Cupping) */
.page-header {
  padding: 10rem 5% 4rem;
  text-align: center;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-glass);
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 0;
}

.content-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 5%;
}

.content-article p {
  margin-bottom: 1.5rem;
}

.content-article ol, .content-article ul {
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.content-article li {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.content-article h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  color: var(--text-primary);
}

/* =========================================
   8a. TESTIMONIAL CAROUSEL ARROWS
   ========================================= */
.testimonial-carousel-container {
  position: relative;
  width: 100%;
  padding: 0 55px; /* Creates protected vertical gutters for the arrows */
  min-height: 450px; /* Stabilizes vertical space during load */
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--accent-primary);
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  color: var(--accent-primary);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 100;
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

@media (min-width: 1250px) {
  .carousel-prev { left: -50px; }
  .carousel-next { right: -50px; }
}

.carousel-arrow:hover {
  background: var(--accent-primary);
  color: var(--bg-color);
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--accent-glow);
}

/* =========================================
   8. TESTIMONIALS
   ========================================= */

/* Global 2-row horizontal scrolling grid */
.testimonial-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}
.testimonial-wrapper::-webkit-scrollbar { display: none; }
.testimonial-wrapper:active { cursor: grabbing; }

.testimonial-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%; /* Fill the window perfectly to prevent clipping */
  column-gap: 1.5rem;
  padding: 1.5rem 0;
}

.testimonial-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* Tight vertical gap between row 1 and row 2 */
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-auto-columns: calc(50% - 1rem);
  }
}

@media (min-width: 1024px) {
  .testimonial-grid {
    grid-auto-columns: calc(33.33% - 1rem);
  }
}

.testimonial-card {
  scroll-snap-align: start;
  padding: 1.5rem; /* Tighter internal padding for a compact look */
  border-left: 4px solid var(--accent-tertiary);
  height: auto;
  min-height: 120px;
  align-self: start;
  background: var(--bg-glass);
  border-radius: 8px;
  width: 100%;
}

.testimonial-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.testimonial-card p {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* =========================================
   9. CONTACT FORM
   ========================================= */
.contact-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 2rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .contact-section {
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
  }
}

.contact-section > .glass-panel,
.contact-section > .glass-panel-dark {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .contact-section > .glass-panel,
  .contact-section > .glass-panel-dark {
    padding: 3rem;
  }
}

.submit-btn {
  background: var(--accent-primary);
  color: var(--bg-color);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 1rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-style: italic;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  border-radius: 4px;
}

.submit-btn:hover {
  background: var(--accent-hover);
  color: var(--bg-color);
  box-shadow: 0 0 15px var(--accent-glow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05); /* Transparent to blend */
  border: 1px solid var(--border-glass-dark);
  color: var(--text-inverse);
  font-family: inherit;
  font-size: 1rem;
  border-radius: 4px;
  transition: border var(--transition-fast);
}

.form-group input:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-glow);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.info-item i {
  color: var(--accent-primary);
  font-size: 1.5rem;
}

.info-item p, .info-item a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-inverse); /* Override black explicitly to white */
  margin: 0;
}

.social-links {
  display: flex;
  justify-content: center; /* Center the links */
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.social-links a:hover {
  background: var(--accent-tertiary);
  color: var(--text-primary);
  transform: translateY(-5px);
}


