/* ============================================
   HOME PAGE STYLES - ZOMZEM THEME
   Systematized & Organized
   ============================================ */

/* ============================================
   0. IMPORTS & FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Philosopher:wght@400;700&family=Roboto:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* ============================================
   1. ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ============================================
   2. HERO SECTION
   ============================================ */

.page-home .hero-fullwidth {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, #438dbe 0%, #4b78a2 100%);
}

.page-home .hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.page-home .hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.page-home .hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.page-home .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-home .hero-overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

.page-home .hero-content {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  text-align: left;
  color: #ffffff;
  max-width: 100%;
  width: fit-content;
  padding: 40px;
  background: rgba(78, 78, 78, 0.336);
  pointer-events: auto;
  border-radius: 8px;
  bottom: 80px;
}

.page-home .hero-content h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px;
  text-shadow: none;
  color: #ffffff;
  animation: fadeInUp 0.8s ease-out;
  font-family: 'Philosopher', sans-serif;
  white-space: nowrap;
}

.page-home .hero-content p {
  font-size: 18px;
  margin: 0 0 30px;
  opacity: 0.95;
  text-shadow: none;
  color: #f0f9ff;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.page-home .hero-cta {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.page-home .hero-cta .btn {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  min-width: 180px;
}


.page-home .hero-cta .btn-hero-small {
  background: var(--zz-blue);
  color: #ffffff;
  background: linear-gradient(to right, #ffffff 50%, var(--zz-blue) 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all 0.4s ease-out;
  padding: 20px 24px;
  font-size: 16px;
  min-width: 140px;
}

.page-home .hero-cta .btn-hero-small:hover {
  background-position: left bottom !important;
  color: var(--zz-blue) !important;
  transform: none !important;
  box-shadow: none !important;
}

.page-home .hero-cta .btn-outline {
  background: transparent;
  color: var(--zz-blue);
  border: 2px solid var(--zz-blue);
}

.page-home .hero-cta .btn-outline:hover {
  background: var(--zz-blue);
  color: #ffffff;
}

.page-home .hero-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: none;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 11;
  pointer-events: none;
}

.page-home .hero-prev,
.page-home .hero-next {
  display: none;
}

.hero-prev:hover .page-home .hero-next:hover {
  display: none;
}

.page-home .hero-dots {
  position: absolute;
  bottom: 100px;
  left: 40px;
  transform: none;
  display: flex;
  gap: 10px;
  z-index: 11;
}

.page-home .hero-dots .dot {
  width: 40px;
  height: 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-home .hero-dots .dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

.page-home .hero-dots .dot.active {
  background: #ffffff;
  width: 60px;
  border-radius: 4px;
}

/* ============================================
   4. GENERAL SECTIONS & LAYOUT
   ============================================ */
.page-home .section {
  padding: 40px 0;
}

.page-home .section h2 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 40px;
  text-align: center;
  color: #2c3e50;
  position: relative;
}

.page-home .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ============================================
   5. PROMOTIONS SECTION
   ============================================ */
.page-home .section-promotions {
  padding: 80px 0;
  background: #ffffff;
  width: 100vw;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.page-home .section-promotions .page-container {
  padding-top: 0;
  padding-bottom: 0;
}

.page-home .section-promotions .promotion-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  padding: 0 15px;
}

.page-home .section-promotions-title {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
}

.page-home .section-promotions-title h2 {
  font-family: 'Philosopher', serif;
  font-size: 24px;
  color: var(--zz-blue-dark);
  text-transform: uppercase;
  margin: 0;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
}

.page-home .section-promotions-title .line {
  height: 2px;
  background: var(--zz-blue-dark);
  flex: 1;
  max-width: 500px;
  opacity: 0.6;
}

/* Promotion Cards */
.page-home .promo-card {
  background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
  border: 2px solid #667eea30;
  position: relative;
  overflow: hidden;
}

.page-home .promo-card::before {
  content: '🎁';
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 32px;
  opacity: 0.3;
}

.page-home .promo-card:hover {
  background: linear-gradient(135deg, #667eea25 0%, #764ba225 100%);
  border-color: #667eea;
}

.page-home .section-promotions .card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "image content";
  gap: 40px;
  align-items: center;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  transition: transform 220ms cubic-bezier(.25, .8, .25, 1);
  box-shadow: 220ms cubic-bezier(.25, .8, .25, 1);
  border-color: 160ms ease;
  will-change: transform;
  z-index: 0;
}

.page-home .section-promotions .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(10, 34, 64, 0.06);
  border-color: rgba(15, 107, 172, 0.12);
  z-index: 5;
}

.page-home .section-promotions .card:nth-child(even) {
  grid-template-areas: "content image";
}

.page-home .section-promotions .card img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  grid-area: image;
  border-radius: 4px;
}

.page-home .section-promotions .card-body {
  grid-area: content;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: left;
  /* Ensure text aligns left even when image is on right */
}

.page-home .section-promotions .product-name {
  font-size: 28px;
  font-weight: 700;
  color: #0f6bac;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Philosopher', sans-serif;
}

.page-home .section-promotions .card:hover .product-name {
  color: #084c78;
}

.page-home .section-promotions .muted {
  color: #556575;
  font-size: 15px;
  line-height: 1.8;
  max-width: 520px;
  text-align: center;
}

.page-home .section-promotions .btn-learn-more,
.page-home .section-promotions .btn {
  background: transparent;
  color: #0f6bac;
  border: 2px solid #f0dca5;
  padding: 10px 18px;
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
}

/* Responsive Promotions */
@media (max-width: 1199px) {
  .page-home .section-promotions {
    padding: 40px 0;
  }

  .page-home .section-promotions .promotion-grid {
    display: block;
    gap: 24px;
    padding: 0 15px;
  }

  .page-home .section-promotions .card {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 6px 20px rgba(10, 34, 64, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    width: 100%;
    box-sizing: border-box;
    grid-template-areas: none;
  }

  .page-home .section-promotions .card img {
    width: 42%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    flex: 0 0 42%;
    max-height: 220px;
  }

  .page-home .section-promotions .card .card-body {
    grid-area: unset;
    padding: 10px 8px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 auto;
  }
}

@media (max-width: 768px) {
  .page-home .section-promotions .card {
    flex-direction: column;
    padding: 10px;
  }

  .page-home .section-promotions .card img {
    width: 100%;
    max-height: 320px;
    flex: none;
  }
}

/* ============================================
   6. PRODUCTS & PACKAGES SECTIONS (SHARED STYLE)
   ============================================ */
.page-home .section-products,
.page-home .section-packages {
  background: var(--zz-blue-light);
  width: 100vw;
  max-width: 100%;
  padding: 60px 0;
  overflow-x: hidden;
  position: relative;
  box-sizing: border-box;
}

@media (min-width: 1200px) {

  .page-home .section-products,
  .page-home .section-packages {
    background: linear-gradient(180deg, #e8f4fc 0%, #f5fbff 100%);
    padding: 80px 0 100px 0;
    width: 100%;
    font-family: 'Roboto', sans-serif;
  }
}

/* Titles */
.page-home .section-products-title,
.page-home .section-packages-title {
  text-align: center;
  margin-bottom: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
}

.page-home .section-products h2,
.page-home .section-packages h2 {
  font-family: 'Philosopher', serif;
  font-size: 36px;
  color: var(--zz-blue-dark);
  text-transform: uppercase;
  margin: 0;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
}

.page-home .section-products .line,
.page-home .section-packages .line {
  height: 2px;
  background: var(--zz-blue-dark);
  flex: 1;
  max-width: 500px;
  opacity: 0.6;
}

/* Carousels & Grids */
.page-home .section-products .product-carousel-wrapper,
.page-home .section-packages .package-carousel-wrapper {
  width: 100% !important;
  max-width: none !important;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-home .section-products .products-swiper,
.page-home .section-packages .packages-swiper {
  width: 100%;
  padding-bottom: 40px !important;
}

.page-home .section-products .swiper-slide,
.page-home .section-packages .swiper-slide {
  height: auto;
  display: flex;
}

/* Shared Card Style */
.page-home .section-products .card,
.page-home .section-packages .card,
.page-home .product-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-decoration: none;
  margin: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.section-products .card:hover .section-packages .card:hover .page-home .product-card:hover {
  border-color: #0f6bac;
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.page-home .section-products .card img,
.page-home .section-packages .card img,
.page-home .product-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-products .card:hover img .section-packages .card:hover img .page-home .product-card:hover img {
  transform: scale(1.08);
}

.page-home .section-products .card-body,
.page-home .section-packages .card-body {
  padding: 20px 15px;
  text-align: left;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Card Content */
.page-home .section-products .product-name,
.page-home .section-packages .package-name,
.page-home .product-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--zz-blue-dark) !important;
  margin-bottom: 15px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: 'Philosopher', sans-serif;
  text-transform: uppercase;
  text-align: center;
}

.page-home .section-products .description,
.page-home .section-packages .description {
  height: fit-content;
  max-height: 200px;
  font-size: 1rem;
  -webkit-line-clamp: 5;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-height: 1.5rem;
  color: var(--zz-blue-dark);
  text-align: center;
  padding: 20px;
}

.page-home .section-products .price,
.page-home .section-packages .price {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-home .section-products .original-price,
.page-home .section-packages .original-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.page-home .section-products .sale-price,
.page-home .section-packages .sale-price {
  font-size: 22px;
  color: #0f6bac;
  font-weight: 700;
}

/* Load More Button */
.page-home .packages-loadmore {
  display: inline-block;
  margin: 18px auto 0;
  padding: 12px 22px;
  border-radius: 10px;
  background: transparent;
  border: 2px solid var(--zz-blue);
  color: var(--zz-blue);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 120ms ease, box-shadow 150ms ease;
  box-shadow: none;
  text-align: center;
}

.page-home .packages-loadmore:hover {
  background: var(--zz-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 107, 172, 0.12);
}

/* Category Tabs (Packages) */
.page-home .category-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 20px;
}

.page-home .category-tab {
  padding: 14px 35px;
  background: #fff;
  border: 2px solid var(--zz-blue-dark);
  border-radius: 0;
  font-size: 15px;
  color: var(--zz-blue-dark);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  font-family: 'Philosopher', serif;
}

.page-home .category-tab::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--zz-blue-dark);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
  z-index: -1;
}

.category-tab:hover::before .page-home .category-tab.active::before {
  width: 300px;
  height: 300px;
}

.page-home .category-tab:hover {
  color: #fff;
  border-color: var(--zz-blue-dark);
  box-shadow: 0 4px 12px rgba(41, 128, 185, 0.3);
  transform: translateY(-2px);
}

.page-home .category-tab.active {
  background: var(--zz-blue-dark);
  border-color: var(--zz-blue-dark);
  color: #fff;
  box-shadow: 0 6px 16px rgba(41, 128, 185, 0.4);
}

/* Responsive Products/Packages */
@media (max-width: 1199px) {

  .page-home .section-products .card,
  .page-home .section-packages .card {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 6px 20px rgba(10, 34, 64, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    width: 100%;
    box-sizing: border-box;
  }

  .page-home .section-products .card img,
  .page-home .section-packages .card img {
    width: 42%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    flex: 0 0 42%;
    max-height: 220px;
  }

  .page-home .section-products .card .card-body,
  .page-home .section-packages .card .card-body {
    padding: 10px 8px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 auto;
  }
}

@media (max-width: 768px) {

  .page-home .section-products .card,
  .page-home .section-packages .card {
    flex-direction: column;
    padding: 10px;
  }

  .page-home .section-products .card img,
  .page-home .section-packages .card img {
    width: 100%;
    max-height: 320px;
    flex: none;
  }
}

/* ============================================
   7. NEWSLETTER SECTION
   ============================================ */
.page-home .newsletter-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 50px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

.page-home .newsletter-section h2 {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-home .newsletter-section p {
  font-size: 16px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.page-home .newsletter-section form {
  max-width: 500px;
  margin: 0 auto;
}

.page-home .newsletter-section input[type="email"] {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid transparent;
  padding: 14px 20px;
  font-size: 16px;
  border-radius: 30px;
}

.page-home .newsletter-section input[type="email"]:focus {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-home .newsletter-section .btn-primary {
  background: #ffffff;
  color: #667eea;
  border: 2px solid #ffffff;
  padding: 14px 40px;
  font-size: 16px;
  border-radius: 30px;
  margin-top: 15px;
}

.page-home .newsletter-section .btn-primary:hover {
  background: transparent;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ============================================
   8. LOADING & UTILITIES
   ============================================ */
.page-home .card.loading {
  pointer-events: none;
  opacity: 0.6;
  position: relative;
}

.page-home .card.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Animation Delays for Product Cards
.page-home .product-card {
  animation: fadeInUp 0.6s ease forwards;
}

.page-home .product-card:nth-child(1) {
  animation-delay: 0.5s;
}

.page-home .product-card:nth-child(2) {
  animation-delay: 0.5s;
}

.page-home .product-card:nth-child(3) {
  animation-delay: 0.5s;
}

.page-home .product-card:nth-child(4) {
  animation-delay: 0.5s;
}

.page-home .product-card:nth-child(5) {
  animation-delay: 0.5s;
}

.page-home .product-card:nth-child(6) {
  animation-delay: 0.6s;
}

.page-home .product-card:nth-child(7) {
  animation-delay: 0.7s;
}

.page-home .product-card:nth-child(8) {
  animation-delay: 0.8s;
} */

.page-home .category-tab:hover {
  color: #fff;
  border-color: var(--zz-blue-dark);
  box-shadow: 0 4px 12px rgba(41, 128, 185, 0.3);
  transform: translateY(-2px);
}

.page-home .category-tab.active {
  background: var(--zz-blue-dark);
  border-color: var(--zz-blue-dark);
  color: #fff;
  box-shadow: 0 6px 16px rgba(41, 128, 185, 0.4);
}

/* Responsive Products/Packages */
@media (max-width: 1199px) {

  .page-home .section-products .card,
  .page-home .section-packages .card {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 6px 20px rgba(10, 34, 64, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    width: 100%;
    box-sizing: border-box;
  }

  .page-home .section-products .card img,
  .page-home .section-packages .card img {
    width: 42%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    flex: 0 0 42%;
    max-height: 220px;
  }

  .page-home .section-products .card .card-body,
  .page-home .section-packages .card .card-body {
    padding: 10px 8px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 auto;
  }
}

@media (max-width: 768px) {

  .page-home .section-products .card,
  .page-home .section-packages .card {
    flex-direction: column;
    padding: 10px;
  }

  .page-home .section-products .card img,
  .page-home .section-packages .card img {
    width: 100%;
    max-height: 320px;
    flex: none;
  }
}

/* ============================================
   7. NEWSLETTER SECTION
   ============================================ */
.page-home .newsletter-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 50px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

.page-home .newsletter-section h2 {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-home .newsletter-section p {
  font-size: 16px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.page-home .newsletter-section form {
  max-width: 500px;
  margin: 0 auto;
}

.page-home .newsletter-section input[type="email"] {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid transparent;
  padding: 14px 20px;
  font-size: 16px;
  border-radius: 30px;
}

.page-home .newsletter-section input[type="email"]:focus {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-home .newsletter-section .btn-primary {
  background: #ffffff;
  color: #667eea;
  border: 2px solid #ffffff;
  padding: 14px 40px;
  font-size: 16px;
  border-radius: 30px;
  margin-top: 15px;
}

.page-home .newsletter-section .btn-primary:hover {
  background: transparent;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ============================================
   8. LOADING & UTILITIES
   ============================================ */
.page-home .card.loading {
  pointer-events: none;
  opacity: 0.6;
  position: relative;
}

.page-home .card.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ============================================
   11. POPULAR PACKAGES SECTION (REDESIGN)
   ============================================ */
.page-home .section-popular-packages {
  background-color: var(--zz-blue-light);
  padding: 80px 0;
  width: 100%;
}

.page-home .section-popular-packages .page-container {
  padding-top: 0;
}

.page-home .section-popular-packages .section-title {
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.page-home .section-popular-packages .section-title h2 {
  font-family: 'Philosopher', sans-serif;
  font-size: 28px;
  color: var(--zz-blue);
  /* Changed to Zomzem Blue */
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
  font-weight: 700;
  letter-spacing: 1px;
}

.page-home .section-popular-packages .section-title .line {
  height: 1px;
  width: 100%;
  background-color: var(--zz-blue);
}

.page-home .package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.page-home .package-card {
  background: #ffffff;
  border: 1px solid #a2acb3;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all 0.3s ease;
  height: 100%;
  border-radius: 0;
  /* No border radius */
  cursor: default;
  color: black;
  /* Default cursor */
}

/* Removed hover effects for card */
.page-home .package-card:hover {
  transform: none;
  box-shadow: none;
  color: black !important;
  border-color: #f0f0f0;
}

.page-home .package-img {
  width: 100%;
  padding-top: 100%;
  /* 1:1 Aspect Ratio (square) */
  position: relative;
  overflow: hidden;
}

.page-home .package-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  flex-grow: 1;
}

.page-home .package-price-bar {
  background-color: var(--zz-blue);
  color: #ffffff;
  padding: 2px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Philosopher', sans-serif;
}

.page-home .package-name {
  font-family: 'Philosopher', sans-serif;
  /* Changed font */
  font-size: 18px;
  /* Slightly larger */
  font-weight: 700;
  color: var(--zz-blue-dark);
  text-transform: uppercase;
  margin: 10px 5px;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

.page-home .package-desc {
  font-size: 14px;
  color: var(--zz-blue-dark);
  line-height: 1.5;
  margin-bottom: 25px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-home .package-body {
  text-align: center;
  align-items: center;
  padding: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-home .btn-explore {
  margin-top: auto;
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--zz-blue);
  color: var(--zz-blue);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  width: fit-content;
}

.page-home .btn-explore a {
  color: var(--zz-blue)
}

.page-home .btn-explore a:hover {
  color: white;
}

.page-home .btn-explore:hover {
  background-color: var(--zz-blue);
  /* Blue background on hover */
  color: #ffffff;
}

/* Removed card hover affecting button */
.page-home .package-card:hover .btn-explore {
  background-color: transparent;

}

.page-home .package-card:hover .btn-explore:hover {
  background-color: var(--zz-blue);
  color: #ffffff;
}

.page-home .packages-footer-action {
  display: flex;
  align-items: center;
  margin-top: 40px;
  width: 100%;
}

.page-home .packages-footer-action .line {
  flex-grow: 1;
  height: 1px;
  background-color: var(--zz-blue);
}

.page-home .packages-footer-action .btn-view-all {
  border: 1px solid var(--zz-blue);
  color: var(--zz-blue);
  padding: 10px 30px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 14px;
  letter-spacing: 1px;
}

.page-home .packages-footer-action .btn-view-all:hover {
  background-color: var(--zz-blue);
  color: white;
}

/* Redesigned Promotions Section */
.page-home .promotion-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 40px;
}

.page-home .promotion-card {
  display: flex;
  align-items: center;
  gap: 60px;
}

.page-home .promotion-card.reverse {
  flex-direction: row-reverse;
}

.page-home .promotion-image {
  flex: 1;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 300px;
}

.page-home .promotion-image img {
  width: 100%;
  height: auto;
  display: block;

}

.page-home .promotion-content {
  flex: 1;
  text-align: center;
  padding: 20px;
}

.page-home .promotion-title {
  font-family: 'Philosopher', sans-serif;
  font-size: 24px;
  color: var(--zz-blue);
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.page-home .promotion-desc {
  color: #555;
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 15px;
}

.page-home .promotion-content .btn-explore {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid var(--zz-blue);
  /* Gold border as per image */
  color: var(--zz-blue);
  text-transform: uppercase;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  background: transparent;
}

.page-home .promotion-content .btn-explore:hover {
  background: var(--zz-blue);
  color: white;
}

/* Redesigned Featured Products Section */
.page-home .section-featured-products {
  padding: 60px 0;
  background-color: var(--zz-blue-light);
  /* Light cream background */
}

.page-home .section-featured-products .page-container {
  padding-top: 0;
}

.page-home .featured-products-layout {
  display: flex;
  gap: 40px;
}

.page-home .featured-sidebar {
  width: 250px;
  flex-shrink: 0;
}

.page-home .category-tabs-vertical {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: sticky;
  top: 100px;
}

.page-home .category-tab {
  padding: 12px 20px;
  background: transparent;
  border: 1px solid var(--zz-blue);
  text-align: left;
  font-family: 'Philosopher', sans-serif;
  font-size: 16px;
  color: var(--zz-blue);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-home .category-tab:hover,
.page-home .category-tab.active {
  border-color: var(--zz-blue);
  /* Gold border */
  color: var(--zz-blue);
  background: #fff;
  padding-left: 25px;
  /* Slide effect */
}

.page-home .featured-content {
  flex-grow: 1;
}

.page-home .products-grids {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.page-home .section-featured-products .product-card {
  display: block;
  text-decoration: none;
  transition: transform 0.3s ease;

}

.page-home .section-featured-products .product-card:hover {
  transform: translateY(-5px);
}

.page-home .section-featured-products .product-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 12px;
}

.page-home .section-featured-products .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.page-home .section-featured-products .product-card:hover .product-image img {
  transform: scale(1.05);
}

.page-home .section-featured-products .product-name {
  font-family: 'Philosopher', sans-serif;
  font-size: 16px;
  color: var(--zz-blue);
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Redesigned Featured Products Section (Horizontal Tabs) */
.page-home .section-featured-products {
  padding: 60px 0;
  background-color: var(--zz-blue-light);
  /* Light cream background */
}

.page-home .featured-products-layout-v2 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-home .category-tabs-header {
  display: flex;
  align-items: center;
  position: relative;
}

.page-home .category-tabs-horizontal {
  border-color: var(--zz-blue);
}

.page-home .tabs-line {
  flex-grow: 1;
  height: 1px;
  background-color: var(--zz-blue);
  opacity: 0.5;
}

.page-home .featured-content {
  width: 100%;
}

.page-home .products-grids {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.page-home .section-featured-products .product-card {
  display: block;
  margin: 0;
  text-decoration: none;
  transition: transform 0.3s ease;
  padding: 10px;
}

.page-home .section-featured-products .product-card:hover {
  transform: scale(1.05);
}

.page-home .section-featured-products .product-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 12px;
}

.page-home .section-featured-products .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .page-home .section-featured-products .product-card:hover .product-image img {} */

.page-home .section-featured-products .product-name {
  font-family: 'Philosopher', sans-serif;
  font-size: 14px;
  color: var(--zz-blue);
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 992px) {
  .page-home .package-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .package-name {
    font-size: 20px;
    margin-top: 0;
  }

  .page-home .package-price-bar {
    font-size: 14px;
  }

  .page-home .package-desc {
    font-size: 14px;
  }
}

@media (max-width: 1400px) {


  .page-home .section-popular-packages {
    padding: 50px 0;
  }


  .page-home .section-popular-packages .section-title {
    margin-bottom: 20px;
  }

  .page-home .section-popular-packages .section-title h2 {
    font-size: 20px;
  }

  /* .page-home .package-name {
    font-size: 12px;
  }

  .page-home .package-desc {
    font-size: 10px;
  } */

  /* .page-home .section-popular-packages .section-title .line {
    width: 50px;
  } */
}

/* ============================================
   4. BOOKING SECTION (Grid Layout) - NEWEST
   ============================================ */
.page-home .booking-section {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 -5px 23px rgba(0, 0, 0, 0.07);
  /* Subtle shadow for separation */
  padding: 10px 0 !important;
  border-top: 1px solid #eee !important;
  margin: 0 !important;
  transform: none !important;
  display: block !important;
  backdrop-filter: blur(8px);
}

.booking-section .page-container {
  padding-top: 0;
}

.booking-bar-container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 40px !important;
  /* Increased gap for better spacing */
  max-width: 1200px !important;
  margin: 0 auto !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  min-height: auto !important;
  padding: 0 20px !important;
}

.booking-grid-form {
  display: flex !important;
  align-items: center !important;
  gap: 40px !important;
  /* Match container gap */
  margin: 0 !important;
  padding: 0 !important;
}

.booking-grid-item {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* Grid 1: Title */
.title-item h3 {
  font-family: 'Philosopher', serif !important;
  color: var(--zz-blue-dark) !important;
  font-size: 20px !important;
  margin: 0 !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

.title-item span {
  font-size: 13px !important;
  color: #666 !important;
  font-style: italic !important;
  margin-top: 8px !important;
}

/* Grid 2 & 3: Inputs */
.input-item label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  color: #373535 !important;
  margin-bottom: 5px !important;
  font-weight: 600 !important;
  font-family: 'Philosopher';
}

.input-item label i {
  color: var(--zz-blue-dark) !important;
  /* Gold icon */
  font-size: 14px !important;
}

.input-item input,
.input-item select {
  border: 1px solid #eee !important;
  background: #f9f9f9 !important;
  padding: 8px 12px !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  font-family: 'Montserrat', sans-serif !important;
  width: 200px !important;
  outline: none !important;
  color: #333 !important;
}

/* Grid 4: Button */
.btn-booking {
  background: var(--zz-blue);
  color: #ffffff;
  background: linear-gradient(to right, #ffffff 50%, var(--zz-blue) 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all 0.4s ease-out;
  padding: 15px 20px;
  font-size: 16px;
  min-width: 140px;
  border: 1px solid var(--zz-blue) !important;
}

.btn-booking:hover {
  background-position: left bottom !important;
  color: var(--zz-blue) !important;
  transform: none !important;
  box-shadow: none !important;
  border: 1px solid var(--zz-blue) !important;
}

/* Responsive */
@media (max-width: 900px) {
  .page-home .booking-section {
    position: relative !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    z-index: auto !important;
  }

  .booking-bar-container {
    display: none !important;
  }

  .booking-grid-form {
    flex-direction: column !important;
    width: 100% !important;
    align-items: stretch !important;
    gap: 15px !important;
  }

  .input-item input,
  .input-item select {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .title-item {
    align-items: center !important;
    text-align: center !important;
    margin-bottom: 10px !important;
  }

  .title-item h3 {
    font-size: 26px !important;
  }
}