/* ====================================================================================== */
/* 💡 FILE: assets/css/testimonial.css (FINAL VERSION WITH MANUAL CONTROLS)                */
/* ====================================================================================== */

/* ============================================================ */
/* SECTION: Breadcrumb Banner Styling (REBUILT & FIXED)         */
/* PURPOSE: Containerizes banner image with full visibility and responsiveness */
/* ============================================================ */

/* 1. THE MAIN BANNER CONTAINER */
.breadcumd__banner {
  /* --- MANUAL HEIGHT CONTROL --- */
  /* CHANGE THE PIXEL VALUE ON THIS LINE TO ADJUST THE HEIGHT. */
  height: 1000px; /* Maintain original height control */
  position: relative; /* Crucial for layering */
  background-color: #000; /* Fallback color if image is missing */
  overflow: hidden; /* Ensures nothing spills out */
  display: flex; /* Flexbox for centering */
  align-items: center; /* Center content vertically */
  justify-content: center; /* Center content horizontally */
  min-height: 60vh; /* Responsive minimum height */
  max-height: 1000px; /* Cap for tall screens */
}

/* 2. THE IMAGE CONTAINER - FULLY CONTAINS IMAGE */
.banner-image-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex; /* Ensure image is centered */
  align-items: center;
  justify-content: center;
}

/* 3. THE IMAGE ITSELF - THIS IS YOUR "ZOOM" CONTROL */
.banner-image-itself {
  width: 100%; /* Full width of container */
  height: auto; /* Maintain aspect ratio */
  max-width: 100%; /* Prevent overflow */
  max-height: 100%; /* Prevent overflow */
  object-fit: contain; /* FULL IMAGE ALWAYS VISIBLE - NO CROPPING */
  /* To make it fill the space and be cut off, change 'contain' to 'cover'. */
  /* object-fit: cover; */
  display: block; /* Ensure proper rendering */
}

/* 4. THE TEXT CONTENT OVERLAY */
.banner-content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.1); /* Optional: darkens the image slightly */
  z-index: 2; /* Above image */
}

/* ============================================================ */
/* SECTION: Banner Content and Text Styling                     */
/* ============================================================ */
.breadcumd__banner .breadcumd__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  position: relative;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0 15px;
  z-index: 3; /* Above overlay */
}

.breadcumd__banner .left__content {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px #ffffff;
}

.breadcumd__banner .right__content {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 10px;
}

.breadcumd__banner .right__content li {
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  color: #facc15 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.breadcumd__banner .right__content li a {
  color: #ffffff !important;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.breadcumd__banner .right__content li a:hover {
  color: #facc15 !important;
}

/* ============================================================ */
/* SECTION: Breadcrumb Banner Styling                           */
/* PURPOSE: Applies the manual variables from above to the banner.*/
/* ============================================================ */
.breadcumd__banner {
  /* --- Core Properties --- */
  background-image: url("../img/testimonial/banner.png") !important;
  background-attachment: fixed !important;
  background-position: center center !important;
  position: relative !important;

  /* --- APPLYING YOUR MANUAL CONTROLS --- */
  min-height: var(--banner-height) !important; /* Applies your height setting */
  background-size: var(
    --banner-zoom-style
  ) !important; /* Applies your zoom setting */
  background-repeat: var(
    --banner-repeat-style
  ) !important; /* Applies your repeat setting */

  /* --- Flexbox for Centering Content --- */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 80px 15px !important;
}

/* PURPOSE: Applies a subtle dark overlay to the banner image for text readability. */
.breadcumd__banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, var(--banner-overlay-opacity)) !important;
}

/* PURPOSE: This is the container for the banner's text content. */
.breadcumd__banner > .container {
  height: 100% !important;
}

.breadcumd__banner .breadcumd__wrapper {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  width: 100%;
  max-width: 1200px;
  height: 100% !important;
  position: relative;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0 15px 40px 15px !important;
}

/* ============================================================ */
/* SECTION: Banner Content and Text Styling                     */
/* ============================================================ */
.breadcumd__banner .left__content {
  color: #ffffff;
  font-weight: 600;
  font-size: 2.5rem;
}

.breadcumd__banner .right__content {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 10px;
}

.breadcumd__banner .right__content li {
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  color: #facc15 !important;
}

.breadcumd__banner .right__content li a {
  color: #ffffff !important;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.breadcumd__banner .right__content li a:hover {
  color: #facc15 !important;
}

/* ====================================================================================== */
/* SECTION: Testimonial Section Container & Carousel                                      */
/* ====================================================================================== */
.testimonial__section {
  overflow: visible !important;
  padding-top: 170px !important;
  padding-bottom: 170px !important;
}

.carousel-viewport-wrapper {
  width: 100% !important;
  overflow-x: hidden !important;
  position: relative !important;
}

.testimonial-carousel {
  position: relative !important;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  ) !important;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  ) !important;
}

.carousel-track {
  display: flex !important;
  gap: 20px !important;
  transition: transform 0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955) !important;
}

.carousel-track .testi__inner {
  flex-shrink: 0 !important;
  width: 380px !important;
  height: 480px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  background-color: #ffffff !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  padding: 85px !important;
  box-shadow: 0 5px 20px #49158e !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  position: relative;
  overflow: visible !important;
}

.carousel-track .testi__inner:hover {
  transform: translateY(-10px) scale(1.25) !important;
  box-shadow: 0 30px 60px #5b05a6f6 !important;
  z-index: 10 !important;
}

/* ============================================================ */
/* (The rest of your original CSS follows and is unchanged)     */
/* ============================================================ */
.testi__inner__thumb {
  width: 100px !important;
  height: 100px !important;
  flex-shrink: 0 !important;
  margin-bottom: 15px !important;
  transition: transform 0.3s ease !important;
}
.testi__inner__thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  border: 3px solid #ffcc01 !important;
}
.testi__inner:hover .testi__inner__thumb {
  transform: scale(1.1) !important;
}
.testi__inner__content {
  width: 100% !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  justify-content: space-between !important;
  overflow: visible !important;
}
.testi__inner__content p {
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin-bottom: 1rem !important;
  color: #333333 !important;
  flex-grow: 1 !important;
  overflow-y: auto !important;
}
.testi__inner__content h5 {
  text-align: center !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
  color: #000000 !important;
}
.testi__inner__content span {
  display: block !important;
  text-align: center !important;
  font-size: 0.9rem !important;
  color: #8800ff !important;
  margin-top: 4px !important;
}
.testimonial-rating {
  margin-top: 8px;
  text-align: center;
}
.testimonial-rating .fa-star {
  color: #ffd700 !important;
  margin: 0 2px !important;
}
.carousel-nav {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 20 !important;
  background-color: rgba(0, 0, 0, 0.4) !important;
  color: #ffffff !important;
  border: 1px solid #ffd700 !important;
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    opacity 0.3s ease !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
  opacity: 0.4;
}
.carousel-viewport-wrapper:hover .carousel-nav {
  opacity: 1;
}
.carousel-nav:hover {
  background-color: #5b05a6cc !important;
}
.carousel-nav.prev {
  left: 15px !important;
}
.carousel-nav.next {
  right: 15px !important;
}
.carousel-nav:disabled {
  opacity: 0.2 !important;
  cursor: not-allowed !important;
}
#modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}
#testimonial-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  max-width: 800px;
  min-width: 320px;
  height: 70vh;
  min-height: 400px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #e0e0e0;
  flex-shrink: 0;
}
.modal-title {
  margin: 0;
  font-size: 1.25rem;
  color: #333;
}
.modal-close-button {
  background: none;
  border: none;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 0;
}
.modal-close-button:hover {
  color: #000;
}
.modal-body {
  display: flex;
  flex-direction: row;
  padding: 25px;
  overflow-y: auto;
  flex-grow: 1;
}
.modal-thumb {
  flex-shrink: 0;
  margin-right: 25px;
}
.modal-thumb img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid #ffcc01;
  object-fit: cover;
}
.modal-content-details {
  text-align: left;
}
.modal-content-details h4 {
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 5px;
}
.modal-content-details p {
  color: #555;
  line-height: 1.7;
}
#modal-location {
  font-style: italic;
  color: #777;
  margin-bottom: 15px;
}
#modal-rating .fa-star {
  font-size: 1.2rem;
}
@media (max-width: 768px) {
  .modal-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .modal-thumb {
    margin-right: 0;
    margin-bottom: 20px;
  }
  .modal-content-details {
    text-align: center;
  }
}
@media (max-width: 576px) {
  .carousel-track .testi__inner {
    width: 90% !important;
    height: auto !important;
    min-height: 450px !important;
  }
  .testimonial-carousel {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent,
      black 2%,
      black 98%,
      transparent
    ) !important;
    mask-image: linear-gradient(
      to right,
      transparent,
      black 2%,
      black 98%,
      transparent
    ) !important;
  }
}

/* ====================================================================================== */
/* SECTION: Glass Container Effect for Banner                                             */
/* PURPOSE: Clear glass effect (no blur) with text content and buttons                    */
/* ====================================================================================== */

/* The Glass Container */
.testimonial-glass-container {
  background-color: rgba(
    0,
    0,
    0,
    0.3
  ) !important; /* Semi-transparent black - CLEAR glass */
  padding: 35px 40px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important; /* Subtle white border */
  max-width: 700px !important;
  text-align: center !important;
  margin: 0 auto !important;
  /* NO backdrop-filter - keeps it CLEAR, not frosted */
}

/* Heading inside glass container */
.testimonial-heading {
  color: #ffffff !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-bottom: 20px !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* Description text inside glass container */
.testimonial-description {
  color: #f0f0f0 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.6 !important;
  margin-bottom: 25px !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4) !important;
}

/* Button container */
.testimonial-buttons {
  display: flex !important;
  gap: 15px !important;
  flex-wrap: wrap !important;
  margin-top: 20px !important;
  justify-content: center !important;
}

/* Base button styles (matching index.html) */
.testimonial-btn {
  padding: 12px 28px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  text-transform: capitalize !important;
}

/* Primary button (purple with yellow border) */
.testimonial-btn-primary {
  background-color: rgba(99, 17, 222, 0.7) !important;
  color: #ffffff !important;
  border: 2px solid #facc15 !important;
}

.testimonial-btn-primary:hover {
  background-color: #facc15 !important;
  color: #2e0c5e !important;
  border-color: #ffffff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Secondary button (transparent with white border) */
.testimonial-btn-secondary {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
}

.testimonial-btn-secondary:hover {
  background-color: #ffffff !important;
  color: #2e0c5e !important;
  border-color: #ffffff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonial-glass-container {
    padding: 25px 20px !important;
    max-width: 100% !important;
  }

  .testimonial-heading {
    font-size: 32px !important;
  }

  .testimonial-description {
    font-size: 16px !important;
  }

  .testimonial-buttons {
    justify-content: center !important;
  }
}

/* ====================================================================================== */
/* END OF FILE                                                                           */
/* ====================================================================================== */
