/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
 Theme URI:  https://thelashpad.com/
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* ==========================================================================
   1) GLOBAL & FONTS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;700&display=swap');

html, body,
h1, h2, h3, h4, h5, h6,
p, ul, li, a, button {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  box-sizing: border-box;
}

body {
  background: #000;
  line-height: 1.6;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Links & Buttons: transparent + underline on hover */
a, .section-button {
  background: transparent;
  color: #fff;
  position: relative;
  text-decoration: none;
  transition: color .2s;
}
a::after, .section-button::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform .2s, opacity .2s;
}
a:hover::after, .section-button:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

/* ==========================================================================
   HERO BUTTON override (so it doesn’t show a line all the time)
   ========================================================================== */
.hero-button {
  /* no border or underline by default */
  border: none;
  text-decoration: none !important;
    position: absolute;
  bottom: 2rem;         /* you already have this */
  left: 50%;            /* new – push its left edge to middle */
  transform: translateX(-50%);  /* new – pull it back by half its own width */
}
/* then rely on our section-button rules above for the hover */
.hero-button.section-button::after {
  transform: scaleX(0);
  opacity: 0;
}
.hero-button.section-button:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

/* Base section padding */
section {
  padding: 60px 20px;
}

/* ==========================================================================
   2) NAV BAR
   ========================================================================== */
.sticky-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 100px;
  padding: 0;
}
.sticky-nav a {
  color: white;
  text-decoration: none;
  font-family: 'Catalogue', sans-serif;
  text-transform: uppercase;
  font-weight: bold; 
}
.sticky-nav a:hover {
  text-decoration: none;
}
.sticky-nav .menu-item-reviews {
  display: none;
}



/* ==========================================================================
   3) HERO + TREATMENTS WRAPPER
   ========================================================================== */
.hero-treatments-wrapper {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  background: url('https://thelashpad.com/wp-content/uploads/2025/05/864c0976-f2c5-4a00-80aa-5ab4fe68ccd1.jpg')
              center/cover no-repeat;
}
.hero-section,
.treatments-section {
  background: transparent;
}

/* Hero */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
}
.hero-logo {
  max-width: clamp(150px, 30vw, 400px);
  width: 100%;
  height: auto;
}
.tagline {
  margin-top: .5rem;
  font-size: clamp(1rem, 3vw, 1.5rem);
}
.hero-button {
  position: absolute;
  bottom: 2rem;
}

/* Treatments */
.treatments-section {
  padding: 4rem 1rem;
  text-align: center;
}
.treatments-title {
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}
.treatment-block h3 {
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #D4A1E0;
}
.treatment-block ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  text-align: left;
  max-width: 300px;
}

/* ==========================================================================
   4) CLIENT FEEDBACK / REVIEWS
   ========================================================================== */
.reviews-section {
  position: relative;
  overflow: hidden;
  padding: 4rem 1rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  text-align: center;
}
.reviews-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  z-index: 0;
}
.reviews-section .section-title {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.reviews-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 2rem;
}
#load-more-reviews {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}
.review-card {
  background: rgba(0,0,0,0.6);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.review-text { font-style: italic; color: #ddd; margin-bottom: 1rem; }
.review-author { font-weight: bold; color: #fff; margin-bottom: .5rem; }
.review-stars { color: gold; font-size: 1.2rem; }

/* ==========================================================================
   5) EDUCATION + CONTACT WRAPPER + DIVIDER
   ========================================================================== */
.edu-loc-wrapper {
  position: relative;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}
.edu-loc-wrapper::before {
  content: "";
  position: absolute; inset: 0;
  background: url('https://thelashpad.com/wp-content/uploads/2025/05/e1074e50-2532-4ed1-b3d7-95dc15ae6425.webp')
              center/100vh no-repeat;
  background-size: cover;
  z-index: 0;
}
.edu-loc-wrapper > section {
  position: relative; z-index: 1;
  background: rgba(0,0,0,0.6);
  padding: 2rem 1rem;
  box-sizing: border-box;
}

/* Education */
#education {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
#education > h2 {
  text-transform: uppercase;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.education-blurbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 1rem;
  max-width: 800px;
  margin-bottom: 1rem;
}
.education-blurbs .blurb p {
  color: #ddd;
  text-align: center;
}

/* Contact (locations + form) */
#contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2rem;
}
#contact > h2 {
  text-transform: uppercase;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 2rem;
  max-width: 800px;
  width: 100%;
  margin-bottom: 2rem;
}
/* Location headings: Bodoni Moda */
.location-item h3,
.location-item h4 {
  text-align: left;
  color: #fff;
}

.location-item h4 {
  /* back to your default body font */
  font-family: inherit;
  font-weight: 400;
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.location-item h3 {
  font-weight: 700;
  position: relative;
  cursor: pointer;
    font-family: 'Bodoni Moda', serif;
  font-weight: 700;
  font-size: 2rem;    /* slightly smaller than H2 (2.5rem) */
  margin-bottom: 0.5rem;
}
.location-item h3::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s;
}
.location-item h3:hover::after {
  transform: scaleX(1);
}
/* Map toggle */
.location-item .map-wrapper { display: none; }
.location-item.active .map-wrapper { display: block; }
.map-wrapper iframe { width: 100%; height: 300px; border: 0; }

/* Contact form */
.contact-form-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #000;            /* solid black background */
  padding: 60px 20px;
  text-align: center;
}

.footer-columns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;                   /* space between columns */
}

.footer-col {
  flex: 0 1 auto;
  min-width: 120px;            /* ensures columns don’t shrink too small */
}

/* Link styling */
.footer-link {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
  display: inline-block;
  transition: color .2s;
}
.footer-link:hover {
}

/* Social icons column */
.social-col {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.social-col a {
  color: #fff;
  font-size: 1.5rem;
  transition: color .2s;
}
.social-col a:hover {
}

/* Back-to-Top (mobile only) */
.back-to-top-mobile {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  display: none;
  width: 3rem;
  height: 3rem;
  line-height: 3rem;
  text-align: center;
  background: rgba(255,255,255,0.8);
  color: #000;
  font-size: 1.5rem;
  border-radius: 50%;
  text-decoration: none !important;
  /* if you had section-button styles leaking in, kill their ::after */
  outline: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background .2s;
  z-index: 9999;
}

.back-to-top-mobile:hover {
  background: rgba(255,255,255,1);
}

.back-to-top-mobile:active,
.back-to-top-mobile:focus {
  background: rgba(255,255,255,0.6);
  outline: none;
}

/* -----------------------------------------------------------------------------
   Back-to-Top override: remove any ::after underline inherited from .section-button
   --------------------------------------------------------------------------- */
.back-to-top-mobile::after,
.back-to-top-mobile:hover::after,
.back-to-top-mobile:focus::after,
.back-to-top-mobile:active::after {
  content: none !important;
}

/* make it show only on mobile */
@media (max-width: 768px) {
  .back-to-top-mobile {
    display: block;
  }
}
@media (max-width: 768px) {
  .hero-treatments-wrapper {
    /* move the focal point up & left on small screens */
    background-position: top 80% left 75% !important;
  }
}
/* Stack EDUCATION blurbs on mobile */
@media (max-width: 767px) {
  .education-blurbs {
    grid-template-columns: 1fr !important; /* force 1 column */
    gap: 1.25rem;
    max-width: 600px;          /* optional: keeps line length readable */
    margin-inline: auto;       /* center within section */
    padding-inline: 1rem;      /* prevent edge clipping */
  }
  #education {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .education-blurbs .blurb p {
    text-align: left;          /* easier to read on mobile */
  }
}

/* Center EDUCATION + CONTACT headings on mobile */
@media (max-width: 767px) {
  #education > h2,
  #contact > h2 {
    text-align: center;
  }
}