/* ==========================================================================
   LUCKY STAR LANDSCAPING SERVICE INC. - COMPONENT STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOP ANNOUNCEMENT BAR & HEADER
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--neutral-900);
  color: var(--neutral-300);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-info-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-info-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--star-gold);
}

.top-info-item a {
  color: var(--white);
  font-weight: 600;
}

.top-info-item a:hover {
  color: var(--star-gold);
}

.top-bar-hours {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--star-gold-light);
  font-weight: 500;
}

/* Main Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.brand-name-fallback {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--primary-green-dark);
  line-height: 1.1;
}

.brand-title span {
  color: var(--accent-red);
}

.brand-subtitle {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neutral-600);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--neutral-800);
  padding: 0.5rem 0;
  position: relative;
  white-space: nowrap !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--accent-red);
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--neutral-900);
}

.mobile-nav-toggle svg {
  width: 1.75rem;
  height: 1.75rem;
}

/* Mobile Drawer Navigation Backdrop */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: none;
  flex-direction: column;
  padding: 2rem 1.5rem;
  color: var(--white);
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-drawer-backdrop.active {
  display: flex !important;
  opacity: 1 !important;
}

/* --------------------------------------------------------------------------
   2. HERO SECTION & QUICK ESTIMATE OVERLAY
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(6, 78, 36, 0.92) 0%, rgba(15, 23, 42, 0.88) 100%),
              url('../assets/images/gallery_patio_1.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 5.5rem 0 6rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: var(--radius-full);
  color: var(--star-gold-light);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-title .text-gold {
  color: var(--star-gold);
}

.hero-description {
  color: var(--neutral-200);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  width: 100%;
  box-sizing: border-box;
}

.hero-stat-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 1.1rem 0.85rem;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.hero-stat-item:hover {
  transform: translateY(-4px);
  border-color: var(--star-gold);
  background: rgba(245, 158, 11, 0.12);
}

.hero-stat-item h4 {
  color: var(--star-gold);
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.hero-stat-item p {
  color: var(--neutral-200);
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

/* Quick Hero Form Card */
.hero-form-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  color: var(--neutral-900);
}

.hero-form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.hero-form-card p {
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--neutral-800);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--neutral-300);
  border-radius: var(--radius-md);
  background-color: var(--white);
  color: var(--neutral-900);
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(13, 107, 53, 0.15);
}

/* --------------------------------------------------------------------------
   3. SERVICES CATALOG & TABBED EXPLORER
   -------------------------------------------------------------------------- */
.services-section {
  background-color: var(--bg-secondary);
}

.services-tabs-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  background-color: var(--white);
  color: var(--neutral-700);
  border: 1px solid var(--neutral-300);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.tab-btn.active {
  background-color: var(--primary-green);
  color: var(--white);
  border-color: var(--primary-green);
  box-shadow: var(--shadow-emerald);
}

.service-category-block {
  display: block;
  margin-bottom: 4rem;
}

.category-header-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background: linear-gradient(90deg, var(--primary-green-dark) 0%, var(--primary-green) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.category-header-banner h3 {
  color: var(--white);
  font-size: 1.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-green-light);
}

.service-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-img {
  transform: scale(1.08);
}

.service-tag-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.85rem;
  background: rgba(13, 107, 53, 0.9);
  color: var(--white);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.925rem;
  color: var(--neutral-600);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-feature-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--neutral-700);
  margin-bottom: 0.4rem;
}

.service-feature-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary-green);
  flex-shrink: 0;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--neutral-200);
}

/* --------------------------------------------------------------------------
   4. PHOTO GALLERY & LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-section {
  background-color: var(--bg-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

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

.gallery-title {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
}

.gallery-category {
  color: var(--star-gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 95%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.lightbox-img {
  width: 100%;
  max-height: 62vh;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.lightbox-caption-card {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 1rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.lightbox-caption {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.lightbox-close {
  position: absolute;
  top: -3.2rem;
  right: 0;
  background: #D92626;
  border: 2px solid var(--white);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(217, 38, 38, 0.6);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 10;
}

.lightbox-close:hover {
  transform: scale(1.1);
  background: #B91C1C;
}

.lightbox-nav-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.75);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.lightbox-nav-btn:hover {
  background: var(--star-gold);
  color: var(--neutral-900);
  border-color: var(--star-gold);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: -2.5rem;
}

.lightbox-next {
  right: -2.5rem;
}

@media (max-width: 768px) {
  .lightbox-close {
    top: -2.75rem;
    right: 0;
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }
  .lightbox-prev {
    left: 0.5rem;
  }
  .lightbox-next {
    right: 0.5rem;
  }
  .lightbox-img {
    max-height: 55vh;
  }
  .lightbox-caption-card {
    padding: 1rem 0.85rem;
  }
  .lightbox-caption {
    font-size: 1.05rem;
  }
}

/* --------------------------------------------------------------------------
   5. INSTANT COST ESTIMATE CALCULATOR
   -------------------------------------------------------------------------- */
.calculator-section {
  background: linear-gradient(135deg, var(--neutral-900) 0%, var(--primary-green-dark) 100%);
  color: var(--white);
  position: relative;
}

.calculator-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 3rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.calc-steps-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 3rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.calc-inputs-side,
.calc-result-side {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.calc-option-group {
  margin-bottom: 2rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.calc-group-title {
  color: var(--star-gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calc-cards-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.calc-select-card {
  padding: 1.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  word-break: break-word;
}

.calc-select-card:hover,
.calc-select-card.selected {
  border-color: var(--accent-red);
  background: rgba(217, 38, 38, 0.15);
}

.calc-select-card.selected {
  box-shadow: 0 0 0 2px var(--accent-red);
}

.calc-select-card h5 {
  color: var(--white);
  font-size: 0.95rem;
  margin-top: 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.calc-result-box {
  background: rgba(255, 255, 255, 0.95);
  color: var(--neutral-900);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.calc-result-price {
  font-size: 2.75rem;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--primary-green-dark);
  margin: 0.5rem 0 1rem;
}

/* --------------------------------------------------------------------------
   6. APPOINTMENT BOOKING MODAL
   -------------------------------------------------------------------------- */
/* Single-Frame No-Scroll Appointment Modal Card */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2600;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.active {
  display: flex;
}

/* Appointment Booking Modal Card */
.booking-modal-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 720px;
  width: 95%;
  max-height: 92vh;
  box-sizing: border-box;
  padding: 1.75rem 2rem;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1.5px solid rgba(13, 107, 53, 0.25);
  position: relative;
  animation: bookingPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes bookingPopIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(15px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.booking-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--neutral-200);
}

.booking-modal-header .modal-close-btn {
  background: #D92626;
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  box-shadow: 0 4px 12px rgba(217, 38, 38, 0.4);
  transition: transform 0.2s ease;
  cursor: pointer;
}

.booking-modal-header .modal-close-btn:hover {
  transform: scale(1.1);
  background: #B91C1C;
}

.booking-grid-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
}

.full-width-group {
  grid-column: span 2;
}

.antispam-compact-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.antispam-compact-group .form-label {
  margin-bottom: 0;
  white-space: nowrap;
}

.form-input-compact,
.form-select-compact {
  padding: 0.55rem 0.85rem !important;
  font-size: 0.9rem !important;
  height: 40px !important;
  box-sizing: border-box;
}

.form-textarea-compact {
  padding: 0.55rem 0.85rem !important;
  font-size: 0.9rem !important;
  height: 58px !important;
  box-sizing: border-box;
  resize: none;
}

.booking-submit-btn {
  padding: 0.75rem 1.25rem !important;
  font-size: 0.98rem !important;
}

/* Desktop Viewport Overrides (min-width: 769px) */
@media (min-width: 769px) {
  .booking-modal-card {
    padding: 2.25rem 2.5rem !important;
    max-width: 720px !important;
    width: 90% !important;
  }
  .booking-grid-rows {
    gap: 0.85rem 1.25rem !important;
  }
  .form-input-compact,
  .form-select-compact {
    padding: 0.65rem 0.9rem !important;
    font-size: 0.95rem !important;
    height: 44px !important;
  }
  .form-textarea-compact {
    padding: 0.65rem 0.9rem !important;
    font-size: 0.95rem !important;
    height: 72px !important;
  }
  .booking-submit-btn {
    padding: 0.8rem 1.5rem !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 576px) {
  .booking-modal-card {
    padding: 0.85rem 0.65rem !important;
  }
  .booking-grid-rows {
    gap: 0.3rem 0.4rem !important;
  }
  .booking-modal-card .form-group {
    margin-bottom: 0.2rem !important;
  }
  .booking-modal-card .form-label {
    font-size: 0.73rem !important;
    margin-bottom: 0.1rem !important;
  }
  .form-input-compact,
  .form-select-compact {
    padding: 0.3rem 0.45rem !important;
    font-size: 0.78rem !important;
    height: 33px !important;
  }
  .form-textarea-compact {
    padding: 0.3rem 0.45rem !important;
    font-size: 0.78rem !important;
    height: 40px !important;
  }
  .booking-submit-btn {
    padding: 0.45rem !important;
    font-size: 0.82rem !important;
}

/* Form Status Feedback Banners */
.form-status-msg {
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  box-sizing: border-box;
  margin-top: 0.6rem;
  animation: statusFadeIn 0.3s ease forwards;
}

.form-status-msg.status-success {
  background: rgba(13, 107, 53, 0.12);
  border: 1.5px solid var(--primary-green);
  color: var(--primary-green-dark);
}

.form-status-msg.status-error {
  background: rgba(217, 38, 38, 0.12);
  border: 1.5px solid var(--accent-red);
  color: #B91C1C;
}

@keyframes statusFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   7. BEFORE & AFTER SLIDER
   -------------------------------------------------------------------------- */
.ba-section {
  background-color: var(--bg-tinted);
}

.ba-container {
  position: relative;
  max-width: 900px;
  height: 480px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.ba-img-after,
.ba-img-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-img-before {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--white);
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.ba-slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--accent-red);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   8. FOOTER & FLOATING CALL BAR
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, #0F172A 0%, #064E24 100%) !important;
  color: #F8FAFC !important;
  padding: 4rem 0 2rem !important;
  border-top: 4px solid var(--star-gold) !important;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer-brand-title {
  color: #FFFFFF !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  margin: 0 !important;
  line-height: 1.1;
}

.footer-brand-title span {
  color: var(--star-gold) !important;
}

.footer-brand-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--star-gold-light);
  letter-spacing: 0.08em;
  display: block;
}

.footer-desc {
  font-size: 0.9rem !important;
  color: #CBD5E1 !important;
  line-height: 1.6 !important;
  margin-bottom: 1.25rem !important;
}

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.social-badge-btn:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--star-gold);
  color: var(--star-gold-light);
  transform: translateY(-2px);
}

.social-badge-btn.yelp-btn:hover {
  background: rgba(217, 38, 38, 0.2);
  border-color: var(--accent-red);
  color: #FEE2E2;
}

.footer-col-title {
  color: #FFFFFF !important;
  margin-bottom: 1.25rem !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--star-gold);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #E2E8F0 !important;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a .link-arrow {
  color: var(--star-gold);
  font-size: 1.1rem;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--star-gold) !important;
  transform: translateX(4px);
}

.footer-contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  background: rgba(217, 38, 38, 0.15);
  border: 1px solid rgba(217, 38, 38, 0.4);
  border-radius: var(--radius-md);
  color: #FFFFFF !important;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.footer-contact-btn:hover {
  background: rgba(217, 38, 38, 0.3);
  border-color: var(--accent-red);
  transform: translateY(-2px);
}

.footer-contact-btn.alt-phone {
  background: rgba(13, 107, 53, 0.25);
  border-color: rgba(22, 163, 74, 0.4);
}

.footer-contact-btn.alt-phone:hover {
  background: rgba(13, 107, 53, 0.4);
  border-color: var(--primary-green-light);
}

.footer-email-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: var(--star-gold-light) !important;
  font-size: 0.82rem;
  font-weight: 600;
  word-break: break-all;
  transition: all 0.2s ease;
}

.footer-email-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--star-gold);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #94A3B8;
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: var(--star-gold) !important;
  font-weight: 700;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.back-to-top-btn:hover {
  background: var(--star-gold);
  color: var(--neutral-900) !important;
  transform: translateY(-3px);
}

/* Floating Mobile Call Bar */
.floating-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 2px solid var(--star-gold);
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px)) 0.85rem;
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.4);
}

/* Button Text Visibility Utilities */
.btn-text-mobile {
  display: none;
}
.btn-text-desktop {
  display: inline;
}

/* Contact Section Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

/* --------------------------------------------------------------------------
   APPOINTMENT BOOKING MODAL BACKDROP & OVERLAY DIALOG
   -------------------------------------------------------------------------- */
.booking-modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 4000 !important;
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease, visibility 0.25s ease !important;
}

.booking-modal-backdrop.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.booking-modal-card {
  position: relative !important;
  background: #FFFFFF !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35) !important;
  width: 100% !important;
  max-width: 680px !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  padding: 2rem !important;
  margin: auto !important;
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.booking-modal-close {
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: var(--neutral-100) !important;
  border: 1px solid var(--neutral-300) !important;
  color: var(--neutral-800) !important;
  font-size: 1.5rem !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 10 !important;
  transition: background 0.2s ease !important;
}

.booking-modal-close:hover {
  background: var(--accent-red) !important;
  color: var(--white) !important;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Note: Dedicated Mobile (max-width: 991px) and Desktop (min-width: 992px) styles are loaded via css/mobile.css and css/desktop.css */
