/* 
  Smooth Studios - Body Waxing Business 
  Main Stylesheet
*/

/* ======= VARIABLES ======= */
:root {
  /* Brand Colors */
  --accent: #38B6FF;
  --button: #f58025;
  --secondary-accent: #FAF3DD;
  --hover-button: #e06d1e;
  
  /* Neutral Colors */
  --dark: #333333;
  --medium: #666666;
  --light: #F8F9FA;
  --white: #FFFFFF;
  
  /* Typography */
  --heading-font: 'Poppins', sans-serif;
  --body-font: 'Open Sans', sans-serif;
  
  /* Spacing */
  --section-padding: 80px 0;
}

/* ======= GLOBAL STYLES ======= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  margin-bottom: 2rem;
}

h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 80px;
  height: 4px;
  background-color: var(--accent);
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--medium);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--button);
}

section {
  padding: var(--section-padding);
}

.text-center {
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ======= BUTTONS ======= */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--button);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-primary:hover {
  background-color: var(--hover-button);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: var(--accent);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--secondary-accent);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-white {
  background-color: var(--white);
  color: var(--accent);
}

.btn-white:hover {
  background-color: var(--light);
  color: var(--button);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ======= BOOKING BUTTON ======= */
.booking-btn {
  position: fixed;
  top: 30px;
  left: 30px;
  z-index: 1000;
  background-color: var(--button);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 1px;
}

.booking-btn i {
  font-size: 1.1rem;
}

.booking-btn:hover {
  background-color: var(--hover-button);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  color: var(--white);
}

/* ======= MODAL ======= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--white);
  width: 95%;
  max-width: 900px;
  max-height: 95vh;
  border-radius: 15px;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 25px;
  transform: translateY(-70px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  scroll-behavior: smooth; /* Smooth scrolling on all devices */
  overscroll-behavior: contain; /* Prevent scroll chaining */
}

/* Hot deals modal specific overrides */
.hot-deals-modal {
  background: white !important;
  border-radius: 15px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  max-width: 600px !important;
  width: 100% !important;
  max-height: calc(100vh - 30px) !important;
  overflow: visible !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

.hot-deals-modal .modal-body {
  padding: 15px !important;
  margin: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

/* Hot deals modal active state */
.hot-deals-overlay.active .hot-deals-modal {
  transform: none !important;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--light);
}

.modal-header h3 {
  color: var(--accent);
  font-size: 1.8rem;
  margin: 0;
}

.modal-close {
  background: var(--button);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--white);
  transition: all 0.3s ease;
}

.modal-close:hover {
  background-color: var(--hover-button);
  transform: rotate(90deg);
}

.modal-body {
  padding: 0;
  height: auto;
  max-height: 80vh; /* Limit the height to prevent overflow */
  display: flex;
  flex-direction: column;
  position: relative;
}

.modal-body p {
  margin-bottom: 20px;
  color: var(--medium);
}

.modal-body iframe {
  width: 100%;
  height: 850px; /* Increased height to accommodate all form steps */
  border: none;
  border-radius: 8px;
  background-color: var(--white);
  display: block; /* Prevent inline display issues */
  overflow: hidden; /* Prevent internal scrolling */
}

/* iframe loader */
.iframe-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  min-height: 300px;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: var(--accent);
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 15px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ======= LOCATION SELECTION MODAL STYLES ======= */
.location-modal {
  max-width: 600px;
}

@media (max-width: 768px) {
  .location-modal {
    max-width: 90vw !important;
    width: 90vw !important;
    height: auto !important;
    max-height: 90vh !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    padding: 20px !important;
    overflow: visible !important;
    border-radius: 20px !important;
  }
  
  .location-modal .modal-body {
    padding: 0 !important;
    height: auto !important;
    max-height: none !important;
  }
  
  .location-modal .location-options {
    margin-top: 0 !important;
  }
  
  .location-modal .service-packages-btn {
    margin-bottom: 0 !important;
  }
}

/* ======= LEGAL DOCUMENT MODAL STYLES ======= */
.legal-modal {
  max-width: 800px;
  max-height: 90vh;
}

.legal-content {
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 10px;
}

.legal-content h4 {
  color: var(--accent);
  font-size: 1.3rem;
  margin: 25px 0 15px 0;
  font-weight: 600;
}

.legal-content h5 {
  color: var(--primary);
  font-size: 1.1rem;
  margin: 20px 0 10px 0;
  font-weight: 600;
}

.legal-content p {
  color: var(--medium);
  line-height: 1.6;
  margin-bottom: 15px;
}

.legal-content ul {
  margin: 15px 0;
  padding-left: 25px;
}

.legal-content li {
  color: var(--medium);
  line-height: 1.6;
  margin-bottom: 8px;
}

.legal-content .last-updated {
  font-style: italic;
  color: var(--light-text);
  font-size: 0.9rem;
  margin-bottom: 25px;
}

/* Custom scrollbar for legal content */
.legal-content::-webkit-scrollbar {
  width: 6px;
}

.legal-content::-webkit-scrollbar-track {
  background: var(--light);
  border-radius: 3px;
}

.legal-content::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

.legal-content::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.location-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 0;
}

/* Mobile layout */
@media (max-width: 768px) {
  .location-options {
    grid-template-columns: 1fr;
  }
}

.location-card {
  background-color: var(--light);
  border-radius: 15px;
  padding: 0 0 0 0;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Custom location buttons with proper orange color */
.location-book-btn {
  background-color: #f58025;
  color: white;
  border: 1px solid white;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin: 20px;
  position: relative;
  z-index: 10;
}

.location-book-btn:hover {
  background-color: #e67019;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* White semi-transparent info band at bottom */
.location-info-band {
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 20px;
  position: relative;
  z-index: 5;
}

/* Location directions text in the white band */
.location-directions {
  color: #333;
  font-size: 12px;
  line-height: 1.25;
  margin: 0;
  padding: 0;
  font-weight: 500;
  display: block;
}

/* Full color location backgrounds */
.location-card[data-location="fayetteville"] {
  background-image: url('../images/fayetteville-location.jpg');
}

.location-card[data-location="rogers"] {
  background-image: url('../images/rogers-location.png');
}

.location-card.active-location {
  border-color: var(--accent);
  box-shadow: 0 5px 20px rgba(236, 96, 106, 0.15);
}

/* Remove the hover grayscale effect */

.location-card.coming-soon {
  opacity: 0.7;
  background-color: #f8f9fa;
}

.location-card:hover.active-location {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(236, 96, 106, 0.2);
}

/* Location icon styles removed since icons are no longer used */

.location-card h4 {
  color: var(--dark);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.location-status {
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.active-location .location-status {
  color: var(--accent);
}

.coming-soon .location-status {
  color: var(--medium);
}

.location-btn {
  width: 100%;
  padding: 12px 20px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.location-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.service-packages-btn {
  width: 100%;
  height: 50px;
  margin-top: 20px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: var(--accent);
  color: var(--white);
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.1;
  gap: 1px;
}

.service-packages-btn:hover {
  background-color: var(--hover-button);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.packages-main-text {
  font-size: 1.1rem;
  font-weight: 700;
}

.service-packages-btn small {
  font-size: 0.7rem;
  opacity: 0.9;
  font-weight: 400;
  text-transform: lowercase;
  line-height: 1;
  margin-top: -1px;
}

.hot-deals-btn {
  width: 100%;
  height: 50px;
  margin-top: 20px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: var(--accent);
  color: var(--white);
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.1;
  gap: 1px;
}

.hot-deals-btn:hover {
  background-color: var(--hover-button);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ======= PROMO POPUP ======= */
.promo-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0.7) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 3000 !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}

.promo-modal {
  position: relative;
  background-image: url('/static/images/holiday-promo-popup.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-width: 400px;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  padding: 0 !important;
  flex-shrink: 0;
}

.promo-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  line-height: 1;
  padding: 0;
}

.promo-close:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.promo-content {
  position: absolute;
  top: 38%;
  bottom: 15%;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.holiday-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 90%;
}

.holiday-buttons .holiday-promo-btn {
  margin-bottom: 0;
}

.holiday-promo-btn {
  display: block;
  background-color: white;
  color: #c41e3a;
  border: 3px solid #c41e3a;
  padding: 14px 24px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.holiday-promo-btn:hover {
  background-color: #c41e3a;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(196, 30, 58, 0.3);
}

@media (max-width: 768px) {
  .promo-modal {
    max-width: 80vw !important;
    width: 80vw !important;
    height: auto !important;
    aspect-ratio: 9 / 16 !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    border-radius: 20px !important;
  }
  
  .promo-content {
    padding: 15px !important;
    padding-bottom: 10% !important;
  }
  
  .holiday-buttons {
    gap: 10px;
    max-width: 90%;
  }
  
  .holiday-promo-btn {
    font-size: 0.85rem;
    padding: 12px 20px;
    letter-spacing: 0.5px;
  }
}

/* ======= SMOKIN' DEALS POPUP ======= */
.hot-deals-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0.7) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2000 !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}

.smokin-deals-modal {
  position: relative;
  background-image: url('/static/images/smokin-deals-popup.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-width: 400px;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  padding: 0 !important;
  flex-shrink: 0;
}

.smokin-deals-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  line-height: 1;
  padding: 0;
}

.smokin-deals-close:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.smokin-deals-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.smokin-deal-btn {
  position: absolute;
  left: 0;
  right: 0;
  height: 12%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.smokin-deal-btn:hover {
  /* No visible hover effect */
}

/* 5 Brazilians button - positioned over upper button in image */
.smokin-deal-btn-1 {
  top: 37%;
}

/* 12 Brazilians button - positioned over lower button in image */
.smokin-deal-btn-2 {
  top: 53.5%;
}

@media (max-width: 768px) {
  .smokin-deals-modal {
    max-width: 90vw !important;
    width: 90vw !important;
    height: auto !important;
    aspect-ratio: 9 / 16 !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
  }
}

/* ======= LEGACY HOT DEALS STYLES (kept for reference) ======= */

.deal-main-title {
  color: var(--accent);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.deal-main-title:after {
  display: none;
}

.deal-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 15px;
}

.deal-card {
  background-color: var(--light);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
}

.deal-card.active-deal {
  border-color: var(--accent);
  background-color: var(--white);
  box-shadow: 0 5px 20px rgba(236, 96, 106, 0.15);
}

.deal-card:hover.active-deal {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(236, 96, 106, 0.2);
}







.deal-title {
  color: #000;
  font-size: 1.5rem;
  margin-bottom: 25px;
  font-weight: 600;
}

.deal-price {
  color: #38B6FF;
  text-decoration: underline;
}





.deal-btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: var(--button);
  border: none;
  color: white;
}

.deal-btn:hover {
  background-color: var(--hover-button);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(236, 96, 106, 0.3);
}

.deal-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  margin-top: 30px;
  margin-bottom: 20px;
  font-style: italic;
  line-height: 1.4;
}

.deal-dismiss-btn {
  background-color: #38B6FF;
  border-color: #38B6FF;
  color: white;
  width: 100%;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all 0.3s ease;
  margin: 0 !important;
}

.deal-dismiss-btn:hover {
  background-color: #2A9FE8;
  border-color: #2A9FE8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 182, 255, 0.3);
}

/* Mobile responsiveness for hot deals */
@media (max-width: 768px) {
  .deal-options {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 15px;
  }
  
  .deal-card {
    padding: 20px 15px;
  }
  
  .deal-main-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }
  
  .deal-disclaimer {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 0.8rem;
  }
  
  .deal-dismiss-btn {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
  }
  
  .hot-deals-modal {
    height: 560px !important;
  }

  .hot-deals-modal .modal-body {
    padding: 15px 15px 5px 15px !important;
    margin: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  .hot-deals-modal .modal-body * {
    box-sizing: border-box !important;
  }
  
  .hot-deals-modal .modal-body *:last-child {
    margin-bottom: 0 !important;
  }
}

/* ======= REFERRAL MODAL DESKTOP STYLES ======= */
/* Hide mobile line breaks on desktop */
.mobile-break,
.mobile-break-2 {
  display: none;
}

/* ======= REFERRAL MODAL MOBILE RESPONSIVENESS ======= */
@media (max-width: 768px) {
  /* Center the referral modal */
  #referralModal {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* Mobile referral modal - clean structure */
  #referralModal .modal-content {
    width: 95vw !important;
    max-width: 400px !important;
    height: auto !important;
    max-height: 90vh !important;
    background: none !important;
    display: flex !important;
    flex-direction: column !important;
    margin: auto !important;
    border: 1px solid #f58025 !important; /* Branded orange border */
    padding: 0 !important;
    overflow: hidden !important;
  }
  
  /* Show mobile hero image, hide desktop background */
  .referral-hero {
    display: block !important;
    position: relative !important;
  }
  
  .referral-hero img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Hide desktop close button, show mobile one */
  #referralModalClose {
    display: none !important;
  }
  
  #referralModalCloseMobile {
    display: flex !important;
  }
  
  /* Hide desktop overlay on mobile */
  #referralModal .modal-content > div:nth-child(2) {
    display: none !important;
  }
  
  /* Style content area with gray background */
  .referral-body {
    background: rgba(128, 128, 128, 0.85) !important;
    padding: 16px !important;
    height: auto !important;
  }
  
  /* Adjust personalized text for mobile */
  #referralPersonalizedText {
    position: static !important;
    text-align: center !important;
    padding: 15px 20px 15px 20px !important;
    font-size: 36px !important;
    line-height: 1.15 !important;
    max-width: 100% !important;
    margin-bottom: 10px !important;
  }
  
  /* Show line breaks on mobile only */
  .mobile-break,
  .mobile-break-2 {
    display: block !important;
  }
  
  /* Mobile form styling */
  #referralModal form {
    padding: 15px !important;
    margin-bottom: 0 !important;
  }
  
  #referralModal form > div {
    flex-direction: column !important;
    gap: 12px !important;
  }
  
  #referralModal #referralEmail {
    width: 100% !important;
    flex: none !important;
    font-size: 16px !important;
    padding: 15px 20px !important;
  }
  
  #referralModal button[type="submit"] {
    width: 100% !important;
    flex: none !important;
    height: 50px !important;
    font-size: 15px !important;
  }
  
  /* Mobile disclaimer styling */
  #referralModal div[style*="text-align: center; margin-top: 10px"] {
    margin-top: 8px !important;
    padding: 0 15px !important;
  }
  
  #referralModal div[style*="text-align: center; margin-top: 10px"] p {
    font-size: 11px !important;
    line-height: 1.3 !important;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8) !important;
  }
}

@media (max-width: 576px) {
  .location-options {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .location-card {
    padding: 0;
  }
}

/* ======= HERO SECTION ======= */
.hero {
  background: linear-gradient(to right, rgba(56, 182, 255, 0.4), rgba(56, 182, 255, 0.4)), url('../images/wax-studio-grayscale.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  text-align: center;
  padding: 0;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0); /* No additional overlay needed */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2; /* Ensures content appears above the overlay */
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-logo {
  margin-bottom: 2rem;
  transition: transform 0.5s ease;
}

.hero-logo img {
  max-width: 100%;
  width: 380px;
  height: auto;
  transition: all 0.5s ease;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero p, .hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: var(--secondary-accent);
  font-weight: 500;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ======= CTA SECTION ======= */
.cta {
  background-color: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 30px;
}

.cta h2:after {
  background-color: var(--white);
  left: 50%;
  transform: translateX(-50%);
}

.cta p {
  color: var(--white);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
  font-size: 3rem;
  color: #D4AF37;
  margin-bottom: 20px;
}

.service-card h3 {
  color: var(--dark);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--medium);
}

/* ======= ABOUT SECTION ======= */
.about {
  background-color: var(--light);
  position: relative;
  overflow: visible;
  z-index: 1;
  padding-bottom: 0; /* Removed excess padding */
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
  min-height: 500px;
}

.about-image {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 600px; /* Ensure enough height for the image to be visible */
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.full-height-image {
  width: 100%;
  height: auto;
  position: relative;
  bottom: 0;
  left: 0;
  max-height: none;
  object-position: center top;
}

.about-content h2:after {
  left: 0;
}

.about-small-text {
  font-size: 0.9rem;
  line-height: 1.5;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-icon {
  font-size: 2.8rem;
  color: var(--button);
  margin-bottom: 10px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.stat-text {
  font-size: 1rem;
  color: var(--medium);
}

/* ======= MEMBERSHIP CTA SECTION ======= */
.membership-cta {
  background-color: #f58025;
  color: var(--white);
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 120px;
}

.membership-content {
  width: 100%;
  padding: 10px 0;
  text-align: center;
}

.membership-cta h2 {
  color: var(--white);
  margin-bottom: 2rem;
  margin-top: 0;
  position: relative;
}

.membership-cta h2:after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 80px;
  height: 4px;
  background-color: var(--white);
}

.membership-cta p {
  color: var(--white);
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 500;
  line-height: 1.5;
}

/* ======= TESTIMONIALS SECTION ======= */
.testimonials {
  background-color: var(--white);
  text-align: center;
  position: relative;
  z-index: 3; /* Make sure it's higher than the about section */
  margin-top: 0; /* Removed negative margin */
  padding-top: 60px; /* Standardized padding */
}

.testimonials h2:after {
  left: 50%;
  transform: translateX(-50%);
}

.testimonial-slider {
  margin-top: 50px;
  padding: 20px;
}

.testimonial-card {
  background-color: var(--light);
  border-radius: 10px;
  padding: 30px;
  margin: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.testimonial-content {
  position: relative;
  padding: 20px 0;
}

.testimonial-content:before {
  content: '"';
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: -20px;
  left: -10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.author-info h4 {
  margin-bottom: 5px;
}

.author-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--medium);
}

.testimonial-stars {
  color: #D4AF37;
  margin-bottom: 15px;
}

/* ======= FAQ SECTION ======= */
.faq {
  background-color: var(--light);
}

.faq h2 {
  text-align: center;
}

.faq h2:after {
  left: 50%;
  transform: translateX(-50%);
}

.faq-container {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  background-color: var(--white);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  background-color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.faq-question:hover h3 {
  color: var(--accent);
}

.faq-question .icon {
  color: var(--accent);
  transition: all 0.3s ease;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-question {
  background-color: var(--accent);
}

.faq-item.active .faq-question h3 {
  color: var(--white);
}

.faq-item.active .faq-question .icon {
  color: var(--white);
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 2000px;
  padding: 20px 20px 20px 20px;
  transition: all 0.3s ease;
}



/* ======= FOOTER SECTION ======= */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-logo img {
  width: 150px;
  margin-bottom: 20px;
}

.footer h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
}

.footer h4:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 2px;
  background-color: var(--accent);
}

.footer-contact p {
  margin-bottom: 10px;
  color: var(--light);
}

.footer-contact a {
  color: var(--light);
  display: block;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  color: var(--light);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

.footer-map {
  width: 100%;
}

.map-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0 0 10px 0;
}

.footer-links {
  text-align: center;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin: 0 10px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ======= POLICY PAGES ======= */
.policy-page {
  padding: 100px 0 50px;
  min-height: 100vh;
  background-color: var(--light);
}

.policy-page-no-nav {
  padding: 50px 0;
}

.policy-content {
  background-color: var(--white);
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.policy-content h1 {
  color: var(--dark);
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-align: center;
}

.policy-content .last-updated {
  text-align: center;
  color: var(--medium);
  font-style: italic;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--light);
}

.policy-content h2 {
  color: var(--accent);
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: 700;
}

.policy-content h3 {
  color: var(--dark);
  font-size: 1.2rem;
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: 600;
}

.policy-content p {
  color: var(--medium);
  line-height: 1.6;
  margin-bottom: 15px;
}

.policy-content ul {
  margin-bottom: 20px;
  padding-left: 25px;
}

.policy-content li {
  color: var(--medium);
  line-height: 1.6;
  margin-bottom: 8px;
}

.policy-content a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.policy-content a:hover {
  color: var(--button);
  text-decoration: underline;
}

.contact-info {
  background-color: var(--light);
  padding: 25px;
  border-radius: 10px;
  margin: 30px 0;
  border-left: 4px solid var(--accent);
}

.contact-info p {
  margin-bottom: 8px;
}

.contact-info strong {
  color: var(--dark);
}

.back-to-home {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid var(--light);
}

.back-home-btn {
  background-color: var(--button);
  color: var(--white) !important;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
}

.back-home-btn:hover {
  background-color: var(--hover-button);
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

/* ======= POLICY PAGE RESPONSIVE ======= */
@media (max-width: 768px) {
  .policy-content {
    padding: 30px 20px;
  }
  
  .policy-content h1 {
    font-size: 2rem;
  }
  
  .policy-content h2 {
    font-size: 1.3rem;
  }
}

/* ======= RESPONSIVE STYLES ======= */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .about-container {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: 2; /* Put image after content on mobile */
    min-height: 400px; /* Reduce height on mobile */
    margin-top: 15px; /* Reduce the spacing between content and image */
    position: relative;
    height: auto;
    overflow: visible;
  }
  
  /* Ensure the image is properly sized and positioned in mobile */
  .about-image .full-height-image {
    position: relative;
    bottom: auto;
    width: 100%;
    height: auto;
    display: block;
  }
  
  .about-content {
    order: 1; /* Put content first on mobile */
  }
  
  /* Adjust padding to create space for the image overlap */
  .about {
    padding-bottom: 0; /* Remove bottom padding to let image reach the section boundary */
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero p, .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn {
    padding: 10px 25px;
  }
  
  .service-card {
    padding: 20px;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .booking-btn {
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  
  .membership-cta {
    min-height: 100px;
  }
  
  .membership-content {
    padding: 15px 0;
  }
  
  .membership-cta p {
    font-size: 1rem;
    padding: 0 15px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p, .hero-subtitle {
    font-size: 1.15rem;
  }
  
  /* Full-screen modal for mobile */
  .modal-content {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    max-width: 100%;
    border-radius: 0;
    padding: 15px;
    margin: 0;
    transform: none; /* Remove the transform effect on mobile */
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
  }
  
  .modal-overlay {
    padding: 0;
    display: block;
  }
  
  .modal-body {
    height: calc(100vh - 70px); /* Reduce height to account for header */
    max-height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .modal-body iframe {
    height: calc(100vh - 120px); /* Further reduced to prevent overflow */
    max-height: 100%;
    min-height: 900px; /* Force adequate height for full form visibility on mobile */
    border-radius: 0; /* Remove border radius on mobile */
    background-color: transparent; /* Remove background color */
  }
  
  /* Fix for iOS scrolling inside the iframe modal */
  .modal-content.scrolled-to-top {
    overflow: hidden !important;
  }
  
  section {
    padding: 60px 0;
  }
  
  /* Override bottom padding for about section */
  .about {
    padding-bottom: 0;
  }
  
  /* Further adjust the image height for small screens */
  .about-image {
    min-height: auto;
    margin: 0; /* Removed all margins */
  }
  
  /* Pull up the testimonials section more on small devices */
  .testimonials {
    margin-top: 0; /* Remove negative margin in mobile to create clean transition */
    padding-top: 60px;
  }
  
  .testimonial-card {
    padding: 20px;
    margin: 10px;
  }
  
  .footer {
    padding: 40px 0 20px;
  }
  
  .footer-container {
    gap: 30px;
  }
}

/* ======= ANIMATIONS ======= */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-right"] {
  transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

[data-aos="fade-left"] {
  transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

[data-aos="zoom-in"] {
  transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
}
