:root {
  --guava: #ff6f61;
  --pink: #ff2f7d;
  --fuchsia: #ff1493;
  --black: #111111;
  --soft: #fff6f8;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--black);
  background: var(--soft);
}

.topbar {
  background: linear-gradient(90deg, var(--pink), var(--fuchsia));
  color: white;
  padding: 10px 6%;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: bold;
}

header {
  background: white;
  padding: 22px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.logo {
  font-size: 30px;
  font-weight: 900;
  color: var(--pink);
  line-height: 1;
}

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

.tagline {
  font-family: cursive;
  color: var(--black);
  font-size: 18px;
  margin-top: 6px;
}

nav a {
  color: var(--black);
  text-decoration: none;
  margin-left: 22px;
  font-weight: bold;
  font-size: 14px;
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 560px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 45%, rgba(255,255,255,0.72) 100%),
    url('https://brevardhousekeeping.com/images/photo-1600585154340-be6161a56a0c.jpg');
  background-size: cover;
  background-position: center;
  padding: 55px 6%;
  overflow: hidden;
}

.hero-text {
  max-width: 620px;
  z-index: 2;
}

.script {
  font-family: cursive;
  font-size: 44px;
  color: var(--pink);
  margin: 0 0 5px;
  font-weight: 500;
}

h1 {
  font-size: 54px;
  line-height: 1.02;
  margin: 0 0 20px;
}

h1 strong { color: var(--pink); }

.hero p {
  font-size: 20px;
  line-height: 1.45;
  max-width: 560px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 10px;
  padding: 17px 24px;
  font-weight: 800;
  font-size: 16px;
}

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

.btn-outline {
  border: 2px solid var(--pink);
  color: var(--pink);
  background: white;
}

.owner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: end;
  z-index: 2;
}

.owner img {
  width: min(430px, 92%);
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.22);
  border: 8px solid white;
}

.badge {
  position: absolute;
  top: 0;
  right: 60%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: white;
  border: 4px solid var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  padding: 16px;
  font-size: 15px;
}

.nameplate {
  position: absolute;
  bottom: 45px;
  right: 0;
  background: linear-gradient(90deg, var(--pink), var(--guava));
  color: white;
  padding: 18px 34px;
  border-radius: 12px 0 0 12px;
  font-family: cursive;
  font-size: 28px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.nameplate small {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: bold;
  text-align: right;
}

.features {
  background: var(--black);
  color: white;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  padding: 28px 6%;
  text-align: center;
}

.features div {
  padding: 12px;
  border-right: 1px solid rgba(255,255,255,0.25);
}

.features h3 {
  color: var(--pink);
  margin: 8px 0 5px;
  font-size: 15px;
}

.section {
  padding: 45px 6%;
  text-align: center;
}

.section h2 {
  font-size: 34px;
  margin: 0 0 30px;
}

.section h2 span { color: var(--pink); }

.services {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.card {
  background: white;
  border: 1px solid #ffd2df;
  border-radius: 18px;
  padding: 26px 18px;
  box-shadow: 0 5px 14px rgba(0,0,0,0.06);
}

.icon {
  font-size: 42px;
  margin-bottom: 14px;
}

.card h3 {
  color: var(--pink);
  margin: 0 0 10px;
}

.local {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: white;
}

.local-text {
  background: linear-gradient(135deg, var(--pink), var(--guava));
  color: white;
  padding: 55px 8%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.local-text h2 {
  font-size: 42px;
  margin: 0 0 15px;
}

.local-photo {
  min-height: 330px;
  background:
    linear-gradient(rgba(0,0,0,0.04), rgba(0,0,0,0.04)), url('https://brevardhousekeeping.com/images/grant-valkaria-fl.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.local-photo::after {
  content: "Grant-Valkaria, Florida";
  position: absolute;
  right: 24px;
  bottom: 24px;
  background: rgba(17,17,17,0.82);
  color: white;
  padding: 16px 22px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 22px;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  text-align: center;
}

.review {
  background: white;
  border: 1px solid #ffd2df;
  padding: 25px;
  border-radius: 16px;
  font-size: 16px;
}

.stars { color: var(--pink); font-size: 24px; }

.cta {
  background: white;
  padding: 32px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

footer {
  background: var(--black);
  color: white;
  padding: 30px 6%;
  text-align: center;
}

@media (max-width: 900px) {
  header { display: block; text-align: center; }
  nav { margin-top: 15px; }
  nav a { margin: 8px; display: inline-block; }

  .hero {
    grid-template-columns: 1fr;
    padding: 38px 6%;
  }

  h1 { font-size: 40px; }
  .script { font-size: 34px; }

  .owner { margin-top: 25px; }
  .badge { width: 125px; height: 125px; font-size: 13px; right: 0; }
  .nameplate { bottom: 15px; font-size: 22px; }

  .features, .services, .reviews, .local {
    grid-template-columns: 1fr;
  }
}

/* Portrait crop: keep Ivonne as the focus and minimize surrounding background */
.owner {
  max-width: 390px !important;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}
.owner img {
  width: 100% !important;
  height: 470px !important;
  object-fit: cover !important;
  object-position: 50% 18% !important;
  border-radius: 22px !important;
  display: block !important;
}
@media (max-width: 900px) {
  .owner { max-width: 330px !important; }
  .owner img { height: 410px !important; }
}

/* Grant-Valkaria photo temporarily removed */
.local-photo-placeholder {
  background: #fff5f7 !important;
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.local-photo-placeholder::after { display: none !important; }
.local-placeholder-content {
  color: #111;
  font-size: 22px;
  line-height: 1.45;
  padding: 35px;
}
.local-placeholder-content strong {
  display: block;
  color: var(--pink);
  font-size: 30px;
  margin-top: 6px;
}
.local-pin {
  font-size: 48px;
  color: var(--pink);
  margin-bottom: 10px;
}

/* Google review styling */
.google-review-summary {
  text-align: center;
  margin: 0 auto 28px;
  padding: 18px 20px;
  max-width: 560px;
  background: white;
  border: 1px solid #ffd2df;
  border-radius: 16px;
}
.google-review-summary .rating {
  font-size: 28px;
  font-weight: 800;
}
.google-review-summary .stars {
  margin: 4px 0;
}
.review-source {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: #666;
  font-style: normal;
}

/* Splide reviews carousel (3 slides) */
#reviews-splide {
  max-width: 1120px;
  margin: 0 auto;
}

#reviews-splide .splide__track {
  padding: 10px 4px 36px;
}

/* Make every card the same height inside the track */
#reviews-splide .splide__slide {
  height: auto;
  display: flex;
}

.slide-review {
  width: 100%;
  margin: 0;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}

.slide-review p {
  flex: 1 1 auto;
}

.slide-review .review-source {
  margin-top: auto;
  padding-top: 12px;
}

#reviews-splide .splide__arrow {
  background: var(--pink);
  opacity: 1;
}

#reviews-splide .splide__arrow svg {
  fill: #fff;
}

@media (max-width: 1024px) {
  #reviews-splide .splide__track { padding-left: 30px; padding-right: 30px; }
}

#reviews-splide .splide__pagination {
  bottom: -4px;
}

#reviews-splide .splide__pagination__page {
  background: #d8d8d8;
  opacity: 1;
  width: 10px;
  height: 10px;
  transition: all .2s ease;
}

#reviews-splide .splide__pagination__page.is-active {
  background: var(--pink);
  transform: scale(1.25);
}

.hero-audience {
  display: inline-block;
  margin: 8px 0 14px;
  padding: 8px 16px;
  background: #111;
  color: #fff;
  border-left: 5px solid var(--pink, #ff4f8b);
  font-weight: 800;
  letter-spacing: 1.2px;
  font-size: 16px;
  border-radius: 4px;
}

.white {
  color: #ffffff;
}

/* Nextdoor Neighborhood Fave award */
.nextdoor {
  display: grid;
  grid-template-columns: 1fr;
  background: white;
}
.nextdoor-text {
  background: linear-gradient(135deg, var(--pink), var(--guava));
  color: white;
  padding: 55px 8%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.nextdoor-text h2 {
  font-size: 42px;
  margin: 0 0 15px;
}
.nextdoor-text p {
  font-size: 19px;
  line-height: 1.45;
  max-width: 520px;
  margin: 0 auto;
}
.nextdoor-btn {
  align-self: center;
  margin-top: 24px;
  background: white;
  color: var(--pink);
  border: 2px solid white;
}
.nextdoor-btn:hover {
  background: transparent;
  color: white;
}
.nextdoor-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px 5%;
  background: #fff5f7;
}
.nextdoor-photo img {
  display: block;
  width: 50%;
  max-width: 1120px;
  border-radius: 18px;
  border: 6px solid white;
  box-shadow: 0 16px 36px rgba(0,0,0,0.18);
  transition: transform .22s ease, box-shadow .22s ease;
}
.nextdoor-photo:hover img {
  transform: scale(1.02);
  box-shadow: 0 20px 44px rgba(0,0,0,0.26);
}
@media (max-width: 900px) {
  .nextdoor { grid-template-columns: 1fr; }
  .nextdoor-text { order: 1; padding: 40px 6%; }
  .nextdoor-text h2 { font-size: 32px; }
  .nextdoor-photo { order: 2; }
}

/* Gallery carousel */
.gallery {
  background: linear-gradient(135deg, var(--pink), var(--guava));
}

.gallery h2 span { color: #fff; }

.gallery-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 28px;
}

#gallery-splide {
  max-width: 1120px;
  margin: 0 auto;
}

#gallery-splide .splide__track {
  padding: 10px 4px 36px;
}

#gallery-splide .splide__slide {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  border: 6px solid white;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
}

#gallery-splide .splide__slide img,
#gallery-splide .splide__slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#gallery-splide .splide__arrow {
  background: #fff;
  opacity: 1;
}

#gallery-splide .splide__arrow svg {
  fill: var(--pink);
}

#gallery-splide .splide__pagination {
  bottom: -4px;
}

#gallery-splide .splide__pagination__page {
  background: rgba(255,255,255,0.55);
  opacity: 1;
  width: 10px;
  height: 10px;
  transition: all .2s ease;
}

#gallery-splide .splide__pagination__page.is-active {
  background: #fff;
  transform: scale(1.25);
}

@media (max-width: 1024px) {
  #gallery-splide .splide__track { padding-left: 30px; padding-right: 30px; }
}

@media (max-width: 700px) {
  #gallery-splide .splide__slide { aspect-ratio: 4 / 3; }
}
