/* ===== MILA'S MAIDS - GLOBAL STYLES ===== */

:root {
  --pink: #ff89c4;
  --pink-light: #ffc0cb;
  --pink-dark: #e0609f;
  --blue: #3a7bd5;
  --dark: #2d2d2d;
  --charcoal: #3a3a3a;
  --gray-light: #fafafa;
  --white: #ffffff;
  --text: #444444;
  --font-serif: 'Lato', sans-serif;
  --font-sans: 'Lato', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body { overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  font-size: 21px;
  font-weight: 300;
  line-height: 1.7;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  line-height: 1.3;
  color: #272727;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

p { margin-bottom: 1rem; }
a { color: var(--pink-dark); text-decoration: none; }
a:hover { text-decoration: none; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  width: 88%;
  margin: 0 auto;
  padding: 0;
}

.section { padding: 40px 0; }
.section-sm { padding: 20px 0; }
.text-center { text-align: center; }

/* ===== HEADER ===== */
header {
  background: var(--white);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
}

.header-top {
  background: var(--dark);
  color: #ccc;
  font-size: 0.8rem;
  padding: 5px 0;
  text-align: center;
}

.header-top a { color: var(--pink-light); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5%;
  transition: padding 0.35s ease;
}

.logo img {
  height: 72px;
  transition: height 0.35s ease;
}

header.scrolled .header-inner { padding: 6px 5%; }
header.scrolled .logo img { height: 42px; }
header.scrolled { box-shadow: 0 3px 14px rgba(0,0,0,0.12); }

nav { display: flex; gap: 0; align-items: stretch; }

nav a {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 14px;
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

nav a:hover { color: var(--pink); text-decoration: none; }

nav a.nav-active { color: var(--pink); }

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-dropdown > a { display: flex; align-items: center; }

.nav-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  min-width: 200px;
  z-index: 200;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.8rem;
  color: var(--blue);
}

.dropdown-menu a:hover {
  color: var(--pink);
  background: #fff5f9;
  text-decoration: none;
}

/* ===== HERO ===== */
@keyframes heroMaidSlide {
  from { transform: translateX(110vw); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}

@keyframes heroFromLeft {
  from { transform: translateX(-60px); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}

.hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/hero1.jpg');
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  min-height: 520px;
}

/* Maid image — slides in from right, sits at bottom of its column */
.hero-maid {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  animation: heroMaidSlide 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.hero-maid img {
  height: 460px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Right panel — full height, content starts top-right */
.hero-right {
  flex: 1;
  padding: 40px 0 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
}

.hero-title {
  font-size: 2.8rem;
  font-style: italic;
  font-weight: 300;
  color: #fff;
  text-shadow: 1px 2px 10px rgba(0,0,0,0.55);
  margin-top: 50px;
  margin-bottom: 0;
  text-align: right;
  animation: heroFromLeft 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.hero-form-heading {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  color: var(--pink-light);
  margin-top: auto;
  margin-bottom: 14px;
  text-align: right;
  animation: heroFromLeft 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

.hero-form {
  width: 100%;
  max-width: 360px;
  animation: heroFromLeft 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.85s both;
}

.hero-form input {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 10px;
  border: none;
  border-radius: 3px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  background: rgba(255, 255, 255, 0.92);
  color: var(--dark);
  outline: none;
}

.hero-form input:focus {
  background: #fff;
  box-shadow: 0 0 0 2px var(--pink);
}

.hero-submit {
  background: transparent;
  border: 2px solid var(--pink);
  color: #fff;
  padding: 10px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.hero-submit:hover {
  background: var(--pink);
  color: #fff;
}


/* ===== PINK CTA BAR ===== */
.cta-bar {
  background: var(--pink-light);
  text-align: center;
  padding: 36px 0;
}

.cta-label {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.029em;
  text-transform: none;
  color: #272727;
  margin-bottom: 6px;
}

.cta-phone {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-style: italic;
  font-weight: 300;
  color: #272727;
  text-decoration: none;
  display: block;
  line-height: 1.1;
}

.cta-phone:hover { color: var(--pink-dark); text-decoration: none; }

/* ===== SERVICE CARDS ===== */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  background: var(--pink);
  color: white;
  text-align: center;
  padding: 30px 20px;
  border: 8px double var(--pink-dark);
  transition: background 0.3s, transform 0.2s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.service-card:hover {
  background: #0055a5;
  transform: translateY(-3px);
  text-decoration: none;
  color: white;
}

.service-card .icon { font-size: 2rem; margin-bottom: 10px; }
.service-card h3 { font-size: 1.1rem; color: white; font-style: normal; font-weight: 600; margin-bottom: 5px; }
.service-card p { font-size: 0.85rem; color: rgba(255,255,255,0.9); margin: 0; }

/* ===== DARK SECTION ===== */
.dark-section {
  background: var(--charcoal);
  color: #ddd;
  padding: 50px 0;
}

.dark-section p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 1rem;
  border-bottom: 1px solid #555;
  padding-bottom: 1rem;
}

.dark-section p:last-child { border-bottom: none; }

/* ===== STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
  margin-top: 30px;
}

.stat-number {
  font-size: 2.8rem;
  color: var(--pink);
  font-family: var(--font-serif);
  font-weight: 700;
  font-style: normal;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
}

/* ===== LOCATION PAGE ===== */
.location-hero {
  background: var(--white);
  text-align: center;
  padding: 40px 5% 30px;
  border-bottom: 1px solid #eee;
}

.checklist {
  columns: 2;
  list-style: none;
  padding: 0;
}

.checklist li {
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.checklist li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--pink);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.two-col img { width: 100%; border-radius: 4px; }

/* ===== REVIEWS ===== */
.review {
  border-left: 4px solid var(--pink-light);
  padding: 12px 20px;
  margin-bottom: 16px;
  background: #fff8fa;
  border-radius: 0 4px 4px 0;
}

.review-author {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--pink-dark);
  margin-top: 8px;
}

/* ===== CONTACT FORM ===== */
.contact-form { max-width: 500px; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.contact-form textarea { height: 100px; resize: vertical; }

.btn-pink {
  background: transparent;
  border: 2px solid var(--pink);
  color: var(--pink-dark);
  padding: 10px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}

.btn-pink:hover {
  background: var(--pink);
  color: white;
}

/* ===== FOOTER ===== */
footer {
  background: #ffffff;
  color: #555;
  text-align: center;
  padding: 30px 5%;
  font-size: 0.85rem;
  border-top: 1px solid #eee;
}

footer nav { justify-content: center; flex-wrap: wrap; gap: 0; margin-bottom: 12px; }
footer nav a { color: #FFC0CB; font-size: 0.78rem; transition: color 0.2s; }
footer nav a:hover { color: #0055A5; }

.footer-social {
  margin: 16px 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFC0CB;
  color: #fff;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: #0055A5;
  color: #fff;
  text-decoration: none;
}


/* ===== PARALLAX SECTION ===== */
.parallax-section {
  background-image: url('/parallax.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
}

.parallax-overlay {
  background: rgba(0, 0, 0, 0.62);
  padding: 60px 0;
  color: #eee;
}

.parallax-overlay p {
  max-width: 780px;
  margin: 0 auto 1rem;
  color: #ddd;
  line-height: 1.8;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* Mobile only sections */
.mobile-cta { display: none; }

/* Accent heading with lines */
.accent-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 2.2rem;
  font-weight: 300;
  color: #272727;
  margin-bottom: 30px;
}
.accent-heading::before,
.accent-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.25;
}

/* Nav fixes */
.dropdown-menu a { text-transform: none; font-weight: 400; }

/* ===== SERVICES PAGE ===== */
.services-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 24px;
  align-items: start;
}

.services-main {
  display: flex;
  flex-direction: column;
}

.services-main-inner {
  background: #fff;
  border: 1px solid #e8e8e8;
  padding: 32px 28px;
  flex: 1;
  overflow: hidden;
}

.services-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding-top: 24px;
  margin-top: 4px;
}

.services-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 2.8rem;
  color: #272727;
  text-align: center;
  margin-bottom: 10px;
}

.services-stars {
  font-size: 1rem;
  font-weight: 300;
  vertical-align: middle;
  color: var(--pink);
}


.service-col {
  text-align: center;
  padding: 0 10px;
}

.service-col-links {
  margin-bottom: 16px;
}

.service-col-links a {
  display: block;
  color: var(--pink);
  font-size: 0.85rem;
  line-height: 1.7;
  text-decoration: none;
}

.service-col-links a:hover { color: var(--blue); }

.service-col-title {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.6rem;
  color: #272727;
  margin-bottom: 6px;
  text-decoration: none;
}

.service-col-title:hover { color: var(--pink-dark); }

.service-col-desc {
  font-size: 0.85rem;
  color: #999;
  margin: 0 0 12px;
}

.service-col-img {
  width: 168px;
  height: 168px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 16px;
}

/* Sidebar */
.services-sidebar {
  display: flex;
  flex-direction: column;
}

.sidebar-block {
  background: #fff;
  border: 1px solid #e8e8e8;
  margin-bottom: 16px;
}

.sidebar-heading {
  background: #f5f5f5;
  border-bottom: 1px solid #eee;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
  color: #444;
  margin: 0;
}

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

.sidebar-list li {
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-list li:last-child { border-bottom: none; }

.sidebar-list a {
  display: block;
  padding: 9px 14px 9px 24px;
  font-size: 0.85rem;
  color: #555;
  text-decoration: none;
  position: relative;
}

.sidebar-list a::before {
  content: '›';
  position: absolute;
  left: 10px;
  color: var(--pink);
}

.sidebar-list a:hover { color: var(--pink-dark); background: #fff8fa; }

.sidebar-form {
  padding: 14px;
}

.sidebar-form input {
  width: 100%;
  padding: 7px 10px;
  margin-bottom: 8px;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

/* ===== CONTACT PAGE ===== */
.contact-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-section-heading {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.029em;
  text-transform: none;
  color: #272727;
  margin-bottom: 10px;
}

.contact-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.contact-table tr {
  border-bottom: 1px solid #f0f0f0;
}

.contact-table tr:last-child { border-bottom: none; }

.contact-table td {
  padding: 8px 0;
  color: #666;
}

.contact-table td:last-child {
  text-align: right;
  color: #444;
}

.contact-table a {
  color: var(--pink-dark);
  font-size: 0.85rem;
}

.contact-table a:hover { color: var(--blue); }


/* ===== ABOUT PAGE ===== */
.about-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 2.6rem;
  color: #272727;
  margin-bottom: 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.about-block {
  display: flex;
  flex-direction: column;
}

.about-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--pink);
  margin-bottom: 16px;
}

.about-heading {
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #272727;
  margin-bottom: 12px;
}

.about-block p {
  color: #666;
  line-height: 1.8;
}


/* ===== CHECKLIST GRID ===== */
.checklist-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 20px;
}

.checklist-grid li {
  padding: 4px 0 4px 18px;
  position: relative;
  font-size: 0.88rem;
  color: #888;
}

.checklist-grid li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--pink);
  font-size: 0.65rem;
  top: 6px;
}

.mobile-call-text {
  display: none;
  text-align: center;
  margin-top: 24px;
  gap: 16px;
}

.mobile-call-text { display: none; }

/* ===== SERVICE DETAIL (house/deep cleaning) ===== */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.county-service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 4px;
}

.county-service-card {
  background: var(--pink-light);
  color: #555;
  text-align: center;
  padding: 14px 10px;
  font-size: 0.82rem;
  line-height: 1.5;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.county-service-card:hover {
  background: var(--pink);
  color: #fff;
}


/* ===== COUNTY GRID ===== */
.county-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.county-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s;
}

.county-card:hover { transform: translateY(-4px); }

.county-seal {
  width: 130px;
  height: 130px;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid #eee;
  transition: border-color 0.2s;
}

.county-card:hover .county-seal { border-color: var(--pink); }

.county-name {
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  color: #444;
  margin: 0;
}

/* ===== COUNTY CITY PAGE ===== */
.county-title { font-size: 2rem; white-space: nowrap; }
@media (max-width: 600px) { .county-title { font-size: 1.3rem; white-space: normal; } }

.county-city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 12px;
  margin-bottom: 28px;
}

.county-city-link {
  color: var(--pink);
  font-size: 0.88rem;
  text-decoration: none;
  padding: 3px 0;
  transition: color 0.2s;
}

.county-city-link:hover { color: var(--blue); }

.county-map {
  width: 100%;
  height: 340px;
  border: 1px solid #eee;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 8px;
  position: relative;
}

/* ===== ALL MOBILE RESPONSIVE (must be at end of file) ===== */
@media (max-width: 768px) {

  /* Nav */
  .hamburger { display: flex; }

  #main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    flex-direction: column;
    align-items: stretch;
    z-index: 150;
    padding: 8px 0;
  }

  #main-nav.nav-open { display: flex; }

  #main-nav a {
    padding: 12px 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid #f5f5f5;
    justify-content: flex-start;
  }

  .nav-dropdown { flex-direction: column; }
  .nav-dropdown > a { width: 100%; }

  .dropdown-menu {
    display: none;
    position: static;
    box-shadow: none;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
  }

  .nav-dropdown.mobile-open .dropdown-menu { display: block; }

  .dropdown-menu a {
    padding: 10px 20px 10px 32px;
    font-size: 0.85rem;
  }

  /* Layout */
  img { max-width: 100%; height: auto; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }

  /* Hero */
  .hero { min-height: unset; height: auto; }
  .hero-inner { flex-direction: column; align-items: center; padding-top: 8px; }
  .hero-right { order: 1; padding: 0 0 32px 0; }
  .hero-maid { order: 2; align-self: flex-start; margin-left: -8%; }
  .hero-maid img { height: 220px; }
  .hero-title { font-size: 1.8rem; }
  .hero-form-heading { font-size: 1.2rem; }

  /* Grids */
  .service-cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .checklist { columns: 1; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-info-row { grid-template-columns: 1fr; }
  .county-grid { grid-template-columns: 1fr; }

  /* Services layout */
  .services-layout { grid-template-columns: 1fr; }
  .services-columns { grid-template-columns: 1fr; }
  .services-main-inner { padding: 20px 16px; }
  .services-title { font-size: 1.8rem; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-col { padding-bottom: 20px; }
  .checklist-grid { grid-template-columns: 1fr 1fr; }
  .county-service-cards { grid-template-columns: 1fr; }
  .county-city-grid { grid-template-columns: 1fr 1fr; }

  /* Mobile show/hide */
  .mobile-cta { display: block; }
  .mobile-call-text { display: flex; justify-content: center; flex-wrap: wrap; }
}

