/* Makeover Mantra – site-specific overrides (loaded after style.css) */

/* Faster scroll-in (wow.js) animations: shorter duration so content appears sooner */
.wow-animated {
  animation-duration: 0.6s !important;
}

/* Photo grids: every tile gets the same square shape, whatever the source photo size */
.gallery-style1 .gallery-img img,
.mm-photo-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
}

.mm-photo-grid a {
  display: block;
  overflow: hidden;
}

.mm-photo-grid img {
  transition: transform ease 0.4s;
}

.mm-photo-grid a:hover img {
  transform: scale(1.05);
}

/* Home page on 1399–1499px screens (e.g. MacBook Air 13", 1470px): show it exactly the way it looks at
   90% browser zoom. At 90% zoom the browser lays the page out as a ~1633px screen, so: scale by 0.9 and
   use the template's 1500px+ rules instead of its "max-width: 1500px" ones. */
@media (min-width: 1399px) and (max-width: 1499px) {
  html:has(body.mm-home) {
    zoom: 0.9;
  }
  /* 1500px+ rules from style.css */
  .mm-home .header-layout5 {
    --main-container: 1700px;
  }
  .mm-home .d-xxxl-block {
    display: block !important;
  }
  /* cancel the "max-width: 1500px" rules (back to the template's normal values) */
  .mm-home .main-menu a {
    font-size: 14px;
  }
  .mm-home .sec-title4 {
    font-size: 50px;
  }
  .mm-home .sec-title {
    font-size: 55px;
  }
  .mm-home .sec-subtitle5 {
    font-size: 18px;
    margin-bottom: 30px;
  }
  .mm-home .img-box6 .img-2 {
    max-width: none;
    bottom: -80px;
    right: -180px;
  }
  .mm-home .img-box7 .img-3 {
    left: -130px;
  }
  .mm-home .slick-arrow:not(.default) {
    --pos-x: -40px;
  }
}

/* Home page "Happy Brides" / "Years Experience" counters: smaller numbers (template default is 80px) */
@media (min-width: 768px) {
  .mm-home .media-style5 .media-number {
    font-size: 56px;
  }
}

/* Home review slider: show a user icon instead of a stock photo */
.testi-slide2 .testi-avater .mm-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: var(--theme-color);
  color: var(--white-color);
}
.testi-slide2 .testi-avater .mm-initial svg {
  display: block;
  width: 46%;
  height: 46%;
}

/* Booking page anchors (#choose, #booking): leave room for the fixed sticky header when jumping to them */
#choose,
#booking {
  scroll-margin-top: 110px;
}

/* Clickable service icons: the spinning dashed ring (.vs-icon:before) sits on top of the icon,
   so let clicks pass through it and keep the link above it */
.service-style1 .vs-icon:before,
.service-style4 .service-icon:before {
  pointer-events: none;
}
.service-style1 .vs-icon > a {
  position: relative;
  z-index: 1;
}

/* About page: Meena's portrait (tall photo): limit the height, keep its proportions, centre it */
.mm-about-portrait {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 380px;
}

/* Price list cards (Services and Booking pages): equal height, buttons lined up at the bottom.
   Slick wraps each slide as .slick-slide > div > .col-lg-6 > .package-style1 */
.price-inner2 .slick-track {
  display: flex;
}
.price-inner2 .slick-slide {
  height: auto;
}
.price-inner2 .slick-slide > div,
.price-inner2 .slick-slide > div > div {
  height: 100%;
}
.price-inner2 .package-style1 {
  display: flex;
  flex-direction: column;
  height: calc(100% - 30px); /* the card keeps its 30px bottom margin */
}
.price-inner2 .package-list {
  flex-grow: 1;
}

/* Home price list: each service on one line, name left and price right */
.price-inner3 .package-style2 {
  margin-bottom: 12px;
}
.price-inner3 .package-style2 .package-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--secondary-color);
  padding: 0 0 12px 0;
}
.price-inner3 .package-style2 .package-title {
  font-size: 20px;
  margin: 0;
  padding: 0;
  border-bottom: 0;
}
.price-inner3 .package-style2 .package-text {
  white-space: nowrap;
}
.price-inner3 .package-style2 .package-label {
  margin: 0;
  font-size: 20px;
  padding: 4px 14px;
}
@media (max-width: 575px) {
  .price-inner3 .package-style2 .package-label {
    font-size: 16px;
    padding: 3px 10px;
  }
}
@media (min-width: 576px) {
  .price-inner3 {
    min-width: 480px;
  }
}

/* Home page header on mobile/tablet only (desktop unchanged): bigger logo; header height and menu button stay as in the template */
@media (max-width: 991px) {
  .mm-home .header-layout5 .header-logo {
    max-width: 220px;
  }
  .mm-home .header-layout5 .header-logo img {
    width: 100%;
    height: auto;
  }
}

/* Mobile menu (opens from the ☰ button): slightly larger text, mobile/tablet only */
@media (max-width: 991px) {
  .vs-mobile-menu ul li a {
    font-size: 19px;
    padding: 14px 0;
  }
}
