/* ════════════════════════════════════════
   Muscle Magic Spa — Bootstrap Custom CSS
   ════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&display=swap');

:root {
  --primary:       #2d7a5f;
  --primary-dark:  #1e5a45;
  --primary-light: #e8f4ef;
  --accent:        #c8a96e;
  --bg:            #faf8f4;
  --card:          #f5f0e8;
  --text:          #1c2b22;
  --muted:         #6b7c73;
  --border:        #e0d9ce;
  --white:         #ffffff;
}

* { box-sizing: border-box; }

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
}

/* ── Navbar ── */
.mms-navbar {
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.85rem 0;
}

.mms-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--primary) !important;
  font-weight: 700;
  text-decoration: none;
}

.mms-navbar .nav-link {
  color: var(--text) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 1rem !important;
  transition: color 0.2s;
}

.mms-navbar .nav-link:hover,
.mms-navbar .nav-link.active {
  color: var(--primary) !important;
}

/* ── Buttons ── */
.btn-primary-mms {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.85rem 2.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
}

.btn-primary-mms:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 122, 95, 0.35);
}

.btn-outline-mms {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  padding: 0.85rem 2.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
  backdrop-filter: blur(4px);
}

.btn-outline-mms:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: white;
}

.btn-outline-dark-mms {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50px;
  padding: 0.85rem 2.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
}

.btn-outline-dark-mms:hover {
  background: var(--primary);
  color: white;
}

/* ── Hero ── */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(28,43,34,0.72), rgba(28,43,34,0.55), rgba(28,43,34,0.80));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.hero-label {
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: white;
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: rgba(255,255,255,0.75);
}

.hero-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

/* ── Stats Bar ── */
.stats-bar {
  background-color: var(--primary);
  padding: 2.5rem 0;
}

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.65);
  margin-top: 0.25rem;
}

/* ── Section Styles ── */
.section-label {
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--text);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 300;
}

.divider {
  width: 64px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

/* ── About ── */
.about-section {
  background-color: var(--bg);
  padding: 7rem 0;
  overflow: hidden;
}

.about-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 540px;
  box-shadow: 0 24px 64px rgba(28,43,34,0.2);
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--bg);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 32px rgba(28,43,34,0.18);
  border: 1px solid var(--border);
}

.about-badge-val {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.about-bullet {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
}

.about-bullet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.about-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s;
}

.about-link:hover {
  color: var(--primary-dark);
  gap: 0.75rem;
}

/* ── Service Cards ── */
.service-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 4px 16px rgba(28,43,34,0.06);
  transition: all 0.4s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: 0 20px 48px rgba(28,43,34,0.15);
  transform: translateY(-6px);
}

.service-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

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

.service-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,43,34,0.6), transparent);
}

.service-card-title-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.service-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}

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

.service-card-desc {
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  font-size: 0.95rem;
}

.service-book-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  transition: gap 0.2s;
}

.service-book-link:hover {
  color: var(--primary-dark);
  gap: 0.65rem;
}

/* ── Gallery ── */
.gallery-thumb {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  display: block;
}

.gallery-thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s;
  display: block;
}

.gallery-thumb:hover img {
  transform: scale(1.08);
}

.gallery-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,43,34,0);
  transition: background 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.gallery-thumb:hover .gallery-thumb-overlay {
  background: rgba(28,43,34,0.35);
}

.gallery-thumb-label {
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s;
}

.gallery-thumb:hover .gallery-thumb-label {
  opacity: 1;
  transform: translateY(0);
}

.gallery-featured {
  height: 420px !important;
}

/* ── Why Choose Us ── */
.why-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow 0.3s;
}

.why-card:hover {
  box-shadow: 0 8px 24px rgba(28,43,34,0.1);
}

.why-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

/* ── Testimonials ── */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(28,43,34,0.06);
}

.star-row {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* ── CTA Section ── */
.cta-section {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-color: var(--primary);
}

.cta-bg-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.1;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cta-title {
  color: white;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.cta-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.btn-cta-white {
  background: white;
  color: var(--primary);
  border: none;
  border-radius: 50px;
  padding: 1rem 2.75rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-cta-white:hover {
  background: var(--card);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ── Page Header (inner pages) ── */
.page-header {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
  text-align: center;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,43,34,0.7);
}

.page-header-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-header-title {
  font-size: clamp(3rem, 7vw, 5rem);
  color: white;
  font-weight: 500;
  margin-bottom: 1rem;
}

.page-header-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1.2rem;
  font-weight: 300;
}

/* ── Contact ── */
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.form-control, .form-select {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  background: var(--white);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,122,95,0.15);
  outline: none;
}

.form-label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.map-wrap {
  border-radius: 20px;
  overflow: hidden;
  height: 300px;
  border: 1px solid var(--border);
}

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

/* ── Footer ── */
.mms-footer {
  background-color: var(--text);
  color: rgba(255,255,255,0.8);
  padding: 4.5rem 0 2rem;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: white;
  font-weight: 700;
}

.footer-heading {
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

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

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

.footer-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

.footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 2rem 0 1.5rem;
}

.footer-bottom {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  text-align: center;
}

/* ── Lightbox ── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,20,14,0.94);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

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

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-counter {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
}

.lightbox-label {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.12);
  color: white;
  font-size: 0.95rem;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  white-space: nowrap;
}

/* ── Utilities ── */
.bg-card-mms { background-color: var(--card); }
.text-primary-mms { color: var(--primary) !important; }
.rounded-3xl { border-radius: 24px; }

/* ── AOS overrides ── */
[data-aos] { transition-duration: 0.7s !important; }

@media (max-width: 768px) {
  .about-img-wrap { height: 320px; margin-bottom: 3rem; }
  .about-badge { right: 0; }
  .hero-title { font-size: 2.6rem; }
  .gallery-featured { height: 240px !important; }
}
