/* Import Fonts */
@import url("https://fonts.googleapis.com/css2?family=Elms+Sans:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playwrite+FR+Moderne:wght@100..400&display=swap");

:root {
  --main-pink: #f8bbd0;
  --light-pink: #fdf2f5;
  --dark-pink: #d81b60;
  --bg-gradient: linear-gradient(135deg, #f8bbd0 0%, #fdf2f5 50%, #e1f5fe 100%);
  --soft-white: rgba(255, 255, 255, 0.85);
  --call-green: #28a745;
}

html {
  font-size: 93.75%;
}

body {
  padding-top: 140px;
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
  background-color: var(--light-pink);
  color: #444;
}

/* --- HEADER & NAVBAR --- */
header.fixed-top {
  background-color: white !important;
  border-bottom: 2px solid var(--main-pink);
  z-index: 1030;
}
.logo {
  font-family: "Playwrite FR Moderne", cursive;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  font-size: 1.5rem;
  letter-spacing: 2px;
}
.logo span {
  color: var(--dark-pink);
}
.address-bar {
  font-size: 0.7rem;
  color: #888;
}
.nav-link {
  font-weight: 600;
  color: #555 !important;
  transition: 0.3s;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 10px 15px !important;
}
.nav-link:hover {
  color: var(--dark-pink) !important;
}

/* --- HERO SECTION --- */
.hero-section {
  height: 70vh;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block;
}
.heroSwiper {
  width: 100%;
  height: 100%;
}
.img-placeholder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* --- ACTION BUTTONS (Sát lề, Xa nhau & Fix kẹt click) --- */
.action-buttons-group {
  position: fixed;
  right: -83px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 135px;
  align-items: center;
  width: 200px;
}

.booking-btn-fixed,
.call-btn-vertical {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 170px;
  height: 45px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease-out;
  transform: rotate(-90deg);
  outline: none;
}

.booking-btn-fixed {
  background: linear-gradient(45deg, #d81b60, #ec407a);
  color: white;
}
.call-btn-vertical {
  background-color: var(--call-green);
  color: white;
}
.call-btn-vertical i {
  transform: rotate(90deg);
}

/* Hover nhích ra */
.booking-btn-fixed:hover,
.call-btn-vertical:hover {
  transform: rotate(-90deg) translateY(-10px);
  color: white;
}

/* Fix kẹt: Quay về ngay khi click/focus */
.booking-btn-fixed:active,
.call-btn-vertical:active,
.booking-btn-fixed:focus,
.call-btn-vertical:focus {
  transform: rotate(-90deg) translateY(0);
  transition: all 0.1s ease;
}

/* Pulse Animation */
.pulse-green-right {
  animation: pulse-green-sharp 2s infinite;
}
@keyframes pulse-green-sharp {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.8);
  }
  70% {
    box-shadow: -20px 0 30px 15px rgba(40, 167, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

/* --- SERVICE & WORK --- */
.section-title {
  font-family: "Playwrite FR Moderne", cursive;
  font-weight: 500;
  color: #6e3d53;
  text-align: center;
}
.divider {
  height: 3px;
  width: 80px;
  background: linear-gradient(to right, var(--main-pink), var(--dark-pink), var(--main-pink));
  margin: 15px auto 40px;
  border-radius: 2px;
  display: block;
}

.service-card {
  border-radius: 20px;
  background: white;
  overflow: hidden;
  transition: 0.5s;
  height: 100%;
  border: 1px solid #eee !important;
}
.serviceSwiper {
  width: 100%;
  height: 230px;
  overflow: hidden;
}
.serviceSwiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* View More Buttons */
.view-more-container {
  text-align: center;
  margin-top: 40px;
}
.btn-view-more-main {
  display: inline-block;
  padding: 12px 35px;
  background-color: white;
  color: var(--dark-pink);
  border: 2px solid var(--dark-pink);
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.4s;
}
.btn-view-more-main:hover {
  background-color: var(--dark-pink);
  color: white !important;
  transform: translateY(-5px);
}

.btn-outline-pink {
  display: inline-block;
  padding: 8px 25px;
  color: var(--dark-pink) !important;
  border: 1px solid var(--dark-pink) !important;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: 0.3s;
}
.btn-outline-pink:hover {
  background-color: var(--dark-pink) !important;
  color: white !important;
}

/* --- GALLERY & REVEAL ANIMATION --- */
.gallery-item {
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  border: 4px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.reveal-item {
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-item.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Footer */
footer {
  background-color: #fffafb;
  border-top: 1px solid var(--main-pink);
}
.social-icons a {
  font-size: 1.6rem;
  color: #666;
  margin: 0 15px;
  transition: 0.3s;
}
.social-icons a:hover {
  color: var(--dark-pink);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  body {
    padding-top: 100px;
  }
  .hero-section {
    height: 50vh;
  }
  .action-buttons-group {
    right: -75px;
    gap: 110px;
    font-size: 0.8rem;
  }
  .booking-btn-fixed,
  .call-btn-vertical {
    width: 140px;
    height: 40px;
  }

  /* Mobile: Tắt hover dính nút, nhích nhẹ khi chạm */
  .booking-btn-fixed:hover,
  .call-btn-vertical:hover {
    transform: rotate(-90deg);
  }
  .booking-btn-fixed:active,
  .call-btn-vertical:active {
    transform: rotate(-90deg) translateY(-5px);
  }

  .reveal-item {
    transition-duration: 0.8s;
  }

  .gallery-item {
    height: 200px;
    border-radius: 12px;
    border: 3px solid rgba(255, 255, 255, 0.9);
  }
}
/* --- MOBILE BOTTOM NAV (3 NÚT ĐỒNG CẤP) --- */
@media (max-width: 768px) {
  /* Hiện thanh điều hướng */
  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    border-top: 1px solid #eee;
  }

  /* Chia đều 3 nút */
  .mobile-bottom-nav .nav-item {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: #555;
    transition: background 0.2s;
  }

  /* Hiệu ứng khi chạm */
  .mobile-bottom-nav .nav-item:active {
    background-color: #f8f9fa;
  }

  /* Icon */
  .mobile-bottom-nav .nav-item i {
    font-size: 1.2rem;
    margin-bottom: 2px;
    color: var(--dark-pink, #d81b60);
  }

  /* Màu xanh Google Maps cho nút Direction */
  .mobile-bottom-nav .nav-item:last-child i {
    color: #4285f4 !important;
  }

  /* Nếu bạn muốn khi nhấn vào (active) nó đậm hơn một chút */
  .mobile-bottom-nav .nav-item:last-child:active i {
    color: #357abd !important;
  }

  /* Text dưới icon */
  .mobile-bottom-nav .nav-item span {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
  }

  /* Màu riêng cho nút Call (thường là xanh lá cho nổi) */
  .mobile-bottom-nav .nav-item:first-child i {
    color: #28a745;
  }

  /* Ẩn các nút cũ để không bị chồng chéo */
  .action-buttons-group,
  .booking-btn-fixed,
  .call-btn-vertical {
    display: none !important;
  }

  /* Đẩy footer lên để không bị che */
  footer {
    padding-bottom: 70px !important;
  }
}

/* Ẩn trên máy tính */
@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}
