/* ==========================================
   Responsive Overrides & Breakpoints System
   ========================================== */

/* Base overrides for elements */
.testimonial-section {
  background-size: cover;
  background-position: center center;
}

/* Page Banner Responsiveness */
.page-banner .banner-title {
  font-size: 3rem;
}
.page-banner .banner-subtitle {
  font-size: 1.1rem;
}

/* Partner Logos */
.partner-logo {
  max-width: 140px;
  height: auto;
}

/* Testimonial card image */
.testimonial-card img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
}

/* Flex-wrap for thumbnail galleries */
.thumbnail-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


/* ==========================================
   Large Devices / Tablets (Max-width: 991px)
   ========================================== */
@media (max-width: 991px) {
  /* Hero Slider Section */
  .hero-slide {
    height: 500px !important;
  }
  .hero-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }
  .hero-content h2 {
    font-size: 36px !important;
    line-height: 1.3 !important;
  }
  .hero-content h2 span {
    font-size: 42px !important;
    line-height: 1.3 !important;
  }
  .hero-content p {
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin-top: 15px !important;
  }
  .btn-hero {
    padding: 12px 30px !important;
    font-size: 16px !important;
    margin-top: 20px !important;
  }
  .swiper-button-prev-custom,
  .swiper-button-next-custom {
    display: none !important; /* Hide arrows on medium/small viewports */
  }

  /* Navigation Collapsed Card Style */
  .navbar-collapse {
    background: #ffffff !important;
    padding: 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    margin-top: 15px !important;
    border: 1px solid #f0f0f0 !important;
  }
  .header-nav-item {
    font-size: 16px !important;
    padding: 10px 15px !important;
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 5px !important;
  }

  /* Page Banners */
  .page-banner {
    height: 320px !important;
  }
  .page-banner .banner-title {
    font-size: 2.2rem !important;
  }
  .page-banner .banner-subtitle {
    font-size: 0.95rem !important;
  }

  /* About Content scaling */
  .about-label, 
  .about-title {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
  }
  .about-content {
    padding: 40px 20px !important;
    text-align: center !important;
  }
  .about-img-col img {
    min-height: 400px !important;
  }

  /* Corporate & Services */
  .corporate-title,
  .service-title {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
  }
  .corporate-desc,
  .service-desc {
    font-size: 1rem !important;
    margin-bottom: 40px !important;
  }

  /* Testimonials Tablet Filtering */
  .testimonial-section {
    background-attachment: scroll !important;
    padding: 48px 0 !important;
  }
  .testimonial-section .carousel-item .row {
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 15px !important;
  }
  /* Hide the 3rd testimonial on tablet screen to display exactly 2 per slide */
  .testimonial-section .carousel-item .row > div:nth-child(3) {
    display: none !important;
  }
  .testimonial-section .carousel-item .row > div {
    flex: 0 0 calc(50% - 8px) !important;
    max-width: calc(50% - 8px) !important;
  }
}


/* ==========================================
   Small Mobile Devices (Max-width: 767px)
   ========================================== */
@media (max-width: 767px) {
  /* About sections */
  .about-label, 
  .about-title {
    font-size: 2rem !important;
    text-align: center !important;
    line-height: 1.2 !important;
  }
  .about-content {
    padding: 30px 16px !important;
  }
  .about-img-col img {
    min-height: 280px !important; /* Scale height down for phones */
  }

  /* Events horizontal lists */
  .event-card-horizontal,
  .event-card-horizontal-alt {
    max-width: 100% !important;
  }
  .event-details,
  .event-details-alt {
    padding: 30px 20px !important;
  }
  .event-title,
  .event-title-alt {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
  }
  .event-desc,
  .event-desc-alt {
    font-size: 0.9rem !important;
  }
  .img-cover-wrapper,
  .img-cover-wrapper-alt {
    min-height: 250px !important;
  }

  /* Corporate images gallery grid */
  .corporate-section .row > div {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  .corporate-grid-img {
    aspect-ratio: 16/10 !important;
  }

  /* Partner logos */
  .partner-logo {
    max-width: 110px !important;
  }

  /* Testimonials Mobile Filtering */
  /* Hide 2nd and 3rd testimonial card so each slide shows exactly 1 card */
  .testimonial-section .carousel-item .row > div:not(:first-child) {
    display: none !important;
  }
  .testimonial-section .carousel-item .row > div {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .testimonial-card {
    min-height: auto !important;
    padding: 24px !important;
  }
  .testimonial-title {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
    padding: 0 15px !important;
  }

  /* Reservations Card */
  .reservation-card {
    padding: 24px !important;
  }
  .reservation-card h2 {
    font-size: 1.8rem !important;
  }
  .reservation-card p {
    font-size: 0.95rem !important;
    margin-bottom: 30px !important;
  }
}


/* ==========================================
   Extra Small Phones (Max-width: 575px)
   ========================================== */
@media (max-width: 575px) {
  /* Hero Slider scaling */
  .hero-slide {
    height: 380px !important;
  }
  .hero-content h2 {
    font-size: 26px !important;
  }
  .hero-content h2 span {
    font-size: 30px !important;
  }
  .hero-content p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  .hero-content p br {
    display: none !important; /* Wrap linebreaks */
  }

  /* Page Banners */
  .page-banner {
    height: 240px !important;
  }
  .page-banner .banner-title {
    font-size: 1.8rem !important;
  }
  
  /* Liqueur details thumbnails wrapper styling */
  .thumbnail-item {
    width: 65px !important;
  }

  /* Cart Sidebar mobile layout */
  .cart-sidebar {
    width: 100% !important;
    right: -100% !important;
  }
  .cart-sidebar.active {
    right: 0 !important;
  }
  .cart-sidebar-header h3 {
    font-size: 1.6rem !important;
  }
  .cart-sidebar-header,
  .cart-sidebar-footer {
    padding: 20px !important;
  }

  /* Corporate images grid to 100% */
  .corporate-section .row > div {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}
