/*
Theme Name: MBS Premium Spa
Theme URI: https://mbsmedispa.com
Author: MBS MediSpa
Description: Premium mobile-responsive WordPress theme for MBS MediSpa and Diagnostics – therapeutic massage, holistic wellness and rejuvenation in Freeport, Bahamas.
Version: 2.0.1
Text Domain: mbs-premium
*/

:root {
  --navy: #0b1c2d;
  --navy-light: #12283d;
  --gold: #c9a227;
  --gold-light: #e8d48b;
  --teal: #1a8a7a;
  --teal-dark: #0f5c52;
  --white: #ffffff;
  --off-white: #f7f5f0;
  --text: #2c2c2c;
  --text-muted: #6b6b6b;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0,0,0,0.12);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: 0.25s ease; }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.section { padding: 90px 0; }
.section-title { text-align: center; margin-bottom: 55px; }
.section-title h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -12px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  border-radius: 2px;
}
.section-title p { color: var(--text-muted); max-width: 580px; margin: 22px auto 0; font-size: 1.08rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 34px; border-radius: 50px; font-weight: 600; font-size: 1rem;
  border: none; cursor: pointer; transition: 0.25s ease;
}
.btn-gold {
  background: linear-gradient(135deg, #d4af37, #c9a227);
  color: var(--navy);
  box-shadow: 0 6px 20px rgba(201,162,39,0.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(201,162,39,0.45); }
.btn-teal {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white;
  box-shadow: 0 6px 20px rgba(26,138,122,0.3);
}
.btn-teal:hover { transform: translateY(-3px); }
.btn-outline-light {
  background: transparent; color: white; border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-light:hover { background: white; color: var(--navy); }

/* ========== HEADER ========== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11,28,45,0.97);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  transition: 0.3s ease;
}
.site-header.scrolled { padding: 10px 0; box-shadow: 0 4px 30px rgba(0,0,0,0.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo {
  display: flex; align-items: center; gap: 12px;
  color: white; font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700;
}
.logo span { display: block; font-size: 0.72rem; font-weight: 400; color: var(--gold-light); letter-spacing: 1.5px; font-family: var(--font-body); }
.nav-menu { display: flex; gap: 28px; align-items: center; }
.nav-menu a {
  color: rgba(255,255,255,0.9); font-weight: 500; font-size: 0.95rem;
  position: relative; padding: 4px 0;
}
.nav-menu a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: 0.3s;
}
.nav-menu a:hover::after { width: 100%; }
.header-cta .btn { padding: 11px 24px; font-size: 0.9rem; }
.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 6px;
}
.mobile-toggle span { display: block; width: 26px; height: 2px; background: white; transition: 0.3s; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #06101a 0%, #0b1c2d 40%, #12283d 100%);
  color: white; position: relative; overflow: hidden; padding-top: 90px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('assets/images/1000317590.jpg') center/cover no-repeat;
  opacity: 0.18; z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-badge {
  display: inline-block;
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.5);
  color: var(--gold-light);
  padding: 8px 20px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  color: white; margin-bottom: 18px; line-height: 1.12;
}
.hero h1 span { color: var(--gold-light); }
.hero p {
  font-size: 1.18rem; color: rgba(255,255,255,0.85);
  margin-bottom: 32px; max-width: 520px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 45px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 32px;
}
.hero-stat strong {
  display: block; font-size: 1.7rem; font-family: var(--font-heading);
  color: var(--gold-light);
}
.hero-stat span { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* ========== ABOUT ========== */
.about { background: var(--off-white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-img {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img img { width: 100%; height: 520px; object-fit: cover; }
.about-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--navy); color: white;
  padding: 16px 26px; border-radius: 12px; text-align: center;
}
.about-badge strong { display: block; font-size: 2.1rem; font-family: var(--font-heading); color: var(--gold); }
.about-content h2 { font-size: 2.3rem; color: var(--navy); margin-bottom: 12px; }
.about-content .lead { font-size: 1.15rem; color: var(--teal); font-weight: 500; margin-bottom: 18px; }
.about-content p { color: var(--text-muted); margin-bottom: 14px; }
.about-points { margin: 28px 0; }
.about-points li {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0; font-size: 1rem;
}
.about-points li i { color: var(--teal); font-size: 1.1rem; }

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.service-card {
  background: white; border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 6px 25px rgba(0,0,0,0.07);
  border: 1px solid #eee; transition: 0.3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.service-card-top {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 28px 24px 20px; color: white;
}
.service-card-top i { font-size: 1.8rem; color: var(--gold); margin-bottom: 12px; display: block; }
.service-card-top h3 { font-size: 1.25rem; color: white; margin-bottom: 6px; }
.service-card-body { padding: 24px; }
.service-card-body ul { margin-bottom: 18px; }
.service-card-body li {
  font-size: 0.93rem; color: var(--text-muted);
  padding: 5px 0; display: flex; gap: 8px;
}
.service-card-body li::before { content: "✓"; color: var(--teal); font-weight: 700; }
.price {
  font-size: 1.55rem; font-weight: 700; color: var(--navy);
  font-family: var(--font-heading);
}
.price small { font-size: 0.85rem; font-weight: 400; color: var(--text-muted); }

/* ========== PACKAGES ========== */
.packages {
  background: linear-gradient(180deg, #06101a, #0b1c2d);
  color: white;
}
.packages .section-title h2 { color: white; }
.packages .section-title p { color: rgba(255,255,255,0.75); }
.packages .section-title h2::after { background: linear-gradient(90deg, var(--gold), #e8d48b); }
.packages-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px;
}
.package-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 36px 28px;
  text-align: center; position: relative; transition: 0.3s;
}
.package-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-6px); }
.package-card.featured {
  background: linear-gradient(145deg, rgba(201,162,39,0.18), rgba(26,138,122,0.15));
  border-color: var(--gold);
}
.package-card .badge {
  position: absolute; top: 16px; right: -28px;
  background: var(--gold); color: var(--navy);
  font-size: 0.72rem; font-weight: 700; padding: 5px 36px;
  transform: rotate(45deg); text-transform: uppercase;
}
.package-card h3 { color: white; font-size: 1.4rem; margin-bottom: 8px; }
.package-price {
  font-size: 2.6rem; font-family: var(--font-heading);
  color: var(--gold-light); margin: 12px 0 20px;
}
.package-price span { font-size: 0.95rem; color: rgba(255,255,255,0.65); }
.package-card ul { text-align: left; margin: 22px 0 28px; }
.package-card li {
  padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.95rem; color: rgba(255,255,255,0.9);
  display: flex; gap: 10px; align-items: center;
}
.package-card li::before { content: "★"; color: var(--gold); }

/* ========== GALLERY ========== */
.gallery { background: var(--off-white); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px;
}
.gallery-item {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3/4; position: relative; box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; transition: 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ========== CTA ========== */
.cta {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: white; text-align: center; padding: 70px 22px;
}
.cta h2 { color: white; font-size: 2.2rem; margin-bottom: 14px; }
.cta p { max-width: 560px; margin: 0 auto 28px; opacity: 0.95; font-size: 1.1rem; }

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-icon {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: flex; align-items: center; justify-content: center;
  color: white; flex-shrink: 0; font-size: 1.15rem;
}
.contact-item h4 { font-size: 1.05rem; margin-bottom: 4px; color: var(--navy); }
.contact-item p, .contact-item a { color: var(--text-muted); font-size: 0.95rem; }
.contact-item a:hover { color: var(--teal); }
.contact-form-box {
  background: var(--off-white); padding: 36px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1px solid #ddd;
  border-radius: 10px; font-family: inherit; font-size: 1rem;
  transition: 0.25s; background: white;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,138,122,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ========== FOOTER ========== */
.site-footer {
  background: #06101a; color: rgba(255,255,255,0.8); padding: 70px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 45px;
}
.footer-brand h3 { color: white; font-size: 1.4rem; margin-bottom: 14px; }
.footer-brand p { font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.08); display: flex;
  align-items: center; justify-content: center; color: white; font-size: 1.1rem;
}
.footer-social a:hover { background: var(--teal); }
.footer-col h4 {
  color: white; font-size: 1.05rem; margin-bottom: 18px;
  font-family: var(--font-body); font-weight: 600;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px; text-align: center; font-size: 0.9rem;
}
.footer-bottom a { color: var(--gold-light); }

/* WhatsApp float */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: white; font-size: 1.9rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 25px rgba(37,211,102,0.45); z-index: 999;
  transition: 0.25s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-img img { height: 400px; }
}
@media (max-width: 768px) {
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: #06101a; padding: 90px 30px 30px;
    flex-direction: column; gap: 22px; align-items: flex-start;
    transition: 0.35s ease; box-shadow: -8px 0 30px rgba(0,0,0,0.4);
  }
  .nav-menu.active { right: 0; }
  .mobile-toggle { display: flex; }
  .header-cta { display: none; }
  .hero { min-height: auto; padding: 130px 0 70px; }
  .hero-stats { gap: 20px; }
  .section { padding: 65px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; }
}
