/*
Theme Name: Sparkle Cleaning
Theme URI: 
Author: Sparkle Cleaning & Handyman Services
Description: Custom website theme for Sparkle Cleaning & Handyman Services
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: sparkle-cleaning
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1B2A6B;
  --teal: #2EC4C4;
  --teal-light: #5FD9D9;
  --teal-pale: #E0F7F7;
  --white: #FFFFFF;
  --off-white: #F5FEFF;
  --text: #1A1A2E;
  --text-muted: #5A6080;
  --bubble: rgba(46,196,196,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(27,42,107,0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--navy);
  text-decoration: none;
}

.nav-logo span { color: var(--teal); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.current-menu-item { color: var(--navy); }

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
  background: var(--teal) !important;
  transform: translateY(-1px);
  color: var(--white) !important;
}

/* ── PAGE WRAPPER ── */
.page-content { padding-top: 72px; min-height: 100vh; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #EAF9FB 0%, #F0F4FF 60%, #EAF9FB 100%);
  overflow: hidden;
  padding: 60px 5%;
}

.hero::before {
  content: '';
  position: absolute;
  right: -80px; bottom: -80px;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 60px solid var(--teal);
  opacity: 0.18;
}

.hero::after {
  content: '';
  position: absolute;
  right: -30px; bottom: -30px;
  width: 440px; height: 440px;
  border-radius: 50%;
  border: 30px solid var(--navy);
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-pale);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
  position: relative;
}

.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 4px;
  background: var(--teal);
  opacity: 0.25;
  border-radius: 2px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Sparkles */
.sparkle { position: absolute; pointer-events: none; }
.sparkle svg { animation: twinkle 2.5s ease-in-out infinite; }
@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}
.s1 { top: 12%; right: 32%; }
.s2 { top: 25%; right: 18%; animation-delay: 0.6s; }
.s3 { top: 8%; right: 20%; animation-delay: 1.1s; }
.s4 { bottom: 30%; right: 38%; animation-delay: 0.3s; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--navy);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(27,42,107,0.25);
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(46,196,196,0.35);
  color: var(--white);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  border: 2px solid var(--navy);
  transition: all 0.2s;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ── TRUST STRIP ── */
.trust-strip {
  background: var(--navy);
  padding: 28px 5%;
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 80px);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.trust-item .icon {
  width: 36px; height: 36px;
  background: rgba(46,196,196,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.trust-item strong { display: block; font-size: 0.95rem; font-weight: 600; }
.trust-item span { font-size: 0.75rem; color: rgba(255,255,255,0.6); }

/* ── SECTIONS ── */
.section { padding: 90px 5%; }

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 56px;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--off-white);
  border: 1px solid rgba(46,196,196,0.15);
  border-radius: 20px;
  padding: 36px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(27,42,107,0.12);
  border-color: var(--teal);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon { font-size: 2rem; margin-bottom: 18px; display: block; }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #162260 100%);
  padding: 80px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(46,196,196,0.1);
}

.cta-band::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(46,196,196,0.07);
}

.cta-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-band p { font-size: 1rem; color: rgba(255,255,255,0.7); margin-bottom: 36px; position: relative; z-index: 1; }

.cta-band .btn-primary {
  background: var(--teal);
  position: relative;
  z-index: 1;
}

.cta-band .btn-primary:hover { background: var(--teal-light); color: var(--white); }

/* ── REVIEWS ── */
.reviews-bg { background: var(--off-white); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(27,42,107,0.06);
}

.stars { color: #F6C90E; font-size: 1rem; margin-bottom: 14px; }
.review-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; font-style: italic; }

.reviewer { display: flex; align-items: center; gap: 12px; }

.reviewer-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.reviewer-name { font-weight: 600; font-size: 0.875rem; color: var(--navy); }
.reviewer-loc { font-size: 0.75rem; color: var(--text-muted); }

/* ── ABOUT PAGE ── */
.about-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #243080 100%);
  padding: 80px 5% 100px;
  text-align: center;
  color: var(--white);
}

.about-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; margin-bottom: 16px; }
.about-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto; line-height: 1.7; }

.about-body {
  padding: 80px 5%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual { position: relative; }

.about-logo-wrap {
  background: linear-gradient(135deg, var(--teal-pale), #E8F0FF);
  border-radius: 24px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo-wrap img { max-width: 280px; width: 100%; }

.about-stat-pill {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--navy);
  color: var(--white);
  border-radius: 14px;
  padding: 18px 24px;
  box-shadow: 0 10px 30px rgba(27,42,107,0.25);
}

.about-stat-pill strong { display: block; font-size: 1.8rem; font-family: 'Playfair Display', serif; font-weight: 900; color: var(--teal); }
.about-stat-pill span { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

.about-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 900; color: var(--navy); margin-bottom: 20px; }
.about-text p { font-size: 0.98rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 18px; }

.values-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.values-list li { display: flex; align-items: flex-start; gap: 14px; }

.value-dot {
  width: 28px; height: 28px;
  background: var(--teal-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.values-list strong { display: block; color: var(--navy); font-size: 0.9rem; margin-bottom: 2px; }
.values-list p { margin: 0; font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ── TEAM ── */
.team-section { background: var(--off-white); padding: 80px 5%; text-align: center; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.team-card { background: var(--white); border-radius: 20px; padding: 36px 24px; box-shadow: 0 4px 20px rgba(27,42,107,0.06); }

.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.team-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--navy); font-weight: 700; margin-bottom: 4px; }
.team-card .role { font-size: 0.8rem; color: var(--teal); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; display: block; }
.team-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ── CONTACT PAGE ── */
.contact-hero {
  background: linear-gradient(135deg, var(--teal) 0%, #1A8FA0 100%);
  padding: 70px 5% 90px;
  text-align: center;
  color: var(--white);
}

.contact-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 14px; }
.contact-hero p { font-size: 1rem; opacity: 0.85; max-width: 480px; margin: 0 auto; line-height: 1.7; }

.contact-body {
  padding: 80px 5%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
}

.contact-info h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 900; color: var(--navy); margin-bottom: 10px; }
.contact-info > p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 36px; }

.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }

.contact-detail .icon {
  width: 44px; height: 44px;
  background: var(--teal-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail strong { display: block; font-size: 0.85rem; color: var(--navy); margin-bottom: 2px; }
.contact-detail span { font-size: 0.9rem; color: var(--text-muted); }

.response-box {
  margin-top: 36px;
  padding: 24px;
  background: var(--teal-pale);
  border-radius: 16px;
}

.response-box p:first-child { font-size: 0.85rem; color: var(--navy); font-weight: 600; margin-bottom: 6px; }
.response-box p:last-child { font-size: 0.82rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ── FORM (CF7 compatible) ── */
.inquiry-form {
  background: var(--white);
  border: 1px solid rgba(46,196,196,0.2);
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 8px 40px rgba(27,42,107,0.08);
}

.inquiry-form h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 900; color: var(--navy); margin-bottom: 6px; }
.inquiry-form > p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(27,42,107,0.15);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46,196,196,0.12);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.wpcf7-form input[type="submit"],
.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(27,42,107,0.2);
  margin-top: 8px;
}

.wpcf7-form input[type="submit"]:hover,
.form-submit:hover {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(46,196,196,0.3);
}

.form-note { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 12px; }

.wpcf7-response-output {
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 0.88rem;
  margin-top: 16px;
}

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 40px 5%;
  text-align: center;
}

.footer-brand { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 900; color: var(--white); margin-bottom: 8px; }
.footer-brand span { color: var(--teal); }
footer p { font-size: 0.82rem; line-height: 1.6; }

.footer-links { display: flex; justify-content: center; gap: 28px; margin-top: 16px; list-style: none; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal); }
.footer-copy { margin-top: 24px; font-size: 0.75rem; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .about-body, .contact-body { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .inquiry-form { padding: 28px 20px; }
  .hero { padding: 40px 5%; }
  .about-stat-pill { position: static; margin-top: 16px; display: inline-block; }
}
