/* Mission / Intro Banner */

.banner1{
    position:relative;
    width:100%;
    height:75vh;
    overflow:hidden;
}
.banner1::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45); /* Adjust darkness here */
    z-index:1;
}

.banner1 img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.about-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px auto;
  padding: 0 20px;
}
.about-intro h3 {
  color: #dca73a;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 20px;
}
.about-intro p {
  color: var(--color-text-muted);
  font-size: 18px;
  line-height: 1.8;
  font-weight: 300;
}
/* Core Values Section */
.values-section {
  background-color: #ffffff;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.value-card {
  text-align: center;
  padding: 40px 30px;
  border-radius: 8px;
  background-color: var(--color-light);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.04);
}
.value-card i {
  font-size: 40px;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.value-card h3 {
  color: #dca73a;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 15px;
}
.value-card p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
}

.stats-section {
  background-color: var(--color-dark);
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1.5px solid var(--color-primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.stats-card {
  text-align: center;
  color: #000000;
  padding: 20px;
  transition: var(--transition-smooth);
}

.stats-number {
  font-family: var(--font-serif);
  font-size: 54px;
  font-weight: 300;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1;
}

.stats-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.7);
}


/* ==========================================
   GALLERY SECTION (CINEMATIC HORIZONTAL RIBBON)
   ========================================== */
.gallery-section {
  background-color: #ffffff;
  padding: 120px 0;
  overflow: hidden; /* Prevents horizontal page scroll */
}

/* Horizontal scroll container */
.gallery-grid {
  display: flex;
  gap: 30px;
  width: 100%;
  padding: 20px 5%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  
  /* Hide scrollbar for clean look */
  scrollbar-width: none; /* Firefox */
}

.gallery-grid::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.gallery-item {
  position: relative;
  flex-shrink: 0;
  height: 480px; /* Fixed height for all ribbon items */
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(220, 166, 58, 0.15);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              width 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
}

/* Alternating widths for a highly dynamic, artistic rhythm */
.gallery-item:nth-child(even) {
  width: 360px; /* Portrait aspect */
}

.gallery-item:nth-child(odd) {
  width: 540px; /* Landscape aspect */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

/* Dark gradient overlay */
.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.8) 0%,
    rgba(10, 10, 10, 0.2) 60%,
    transparent 100%
  );
  opacity: 0.4; /* Soft overlay always visible for mood */
  transition: opacity 0.5s ease;
  z-index: 1;
}

/* Gold border on hover */
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 15px;
  border: 1.5px solid #dca73a;
  border-radius: 12px;
  opacity: 0;
  transform: scale(0.95);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  z-index: 2;
}

/* Hover States: The hovered item expands and glows */
.gallery-item:hover {
  transform: scale(1.03) translateY(-5px);
  box-shadow: 0 25px 50px rgba(220, 166, 58, 0.2);
  border-color: #dca73a;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover::before {
  opacity: 0.8;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: scale(1);
}

.about-amenities-section {
  background-color: var(--color-light);
  padding: 100px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.about-amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.about-amenity-card {
  background-color: #ffffff;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.01);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-amenity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(220, 166, 58, 0.08);
  border-color: rgba(220, 166, 58, 0.2);
}

.about-amenity-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(220, 166, 58, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

/* Elegant flip/rotate animation on hover */
.about-amenity-card:hover .about-amenity-icon {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 5px 15px rgba(220, 166, 58, 0.3);
  transform: rotateY(180deg);
}

.about-amenity-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.about-amenity-card p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
}

/* Testimonials Carousel Section */
.testimonials-section {
  background-color: var(--color-light);
}
.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 0 40px;
}
.testimonial-item {
  display: block; /* Simulating slide */
}
.testimonial-item p {
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  line-height: 1.8;
  color: var(--color-dark);
  margin-bottom: 30px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-primary);
}
.author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 2px;
}
.author-info span {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ----------------------------------------------------
   A. Tablets & Medium Screens (Max-width: 968px)
   ---------------------------------------------------- */
@media (max-width: 968px) {
  /* Values grid drops to single column layout */
  .values-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  /* Stats grid changes to 2 columns */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
  /* Gallery Masonry resets spans to standard stack-friendly grid size */
  .gallery-section {
    padding: 80px 0;
  }
  .gallery-grid {
    gap: 20px;
    padding: 10px 4%;
  }
  .gallery-item {
    height: 380px;
  }
  .gallery-item:nth-child(even) {
    width: 280px;
  }
  .gallery-item:nth-child(odd) {
    width: 420px;
  }
  /* Amenities grid changes from 4 columns to 2 */
  .about-amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  /* Font scales for readability */
  .about-intro h3 {
    font-size: 28px;
  }
  .testimonial-item p {
    font-size: 20px;
  }
}
/* ----------------------------------------------------
   B. Small Tablets & Large Mobiles (Max-width: 768px)
   ---------------------------------------------------- */
@media (max-width: 768px) {
  .banner1 {
    height: 50vh; /* Banner doesn't capture too much vertical height */
  }
  .about-intro {
    margin-bottom: 50px;
  }
  /* Gallery: Horizontal scroll heights for mobile */
  .gallery-section {
    padding: 60px 0;
  }
  .gallery-grid {
    gap: 15px;
    padding: 10px 5%;
  }
  .gallery-item {
    height: 300px;
  }
  .gallery-item:nth-child(even) {
    width: 220px;
  }
  .gallery-item:nth-child(odd) {
    width: 320px;
  }
  .gallery-item::after {
    inset: 10px;
  }
  /* Amenities grid moves to single column stack */
  .about-amenities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-amenity-card {
    padding: 30px 20px;
  }
  /* Testimonials styling scale down */
  .testimonial-item p {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .testimonial-slider {
    padding: 0 20px;
  }
}
/* ----------------------------------------------------
   C. Small Mobile Devices (Max-width: 480px)
   ---------------------------------------------------- */
@media (max-width: 480px) {
  /* Intro Headings & Copy scale */
  .about-intro h3 {
    font-size: 24px;
  }
  .about-intro p {
    font-size: 15px;
    line-height: 1.6;
  }
  /* Stats change to single column vertical stack */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .stats-number {
    font-size: 42px; /* Scale numbers down to prevent breaking/wrapping */
  }
  /* Gallery section dimensions shrink for very small screen real-estate */
  .gallery-section {
    padding: 70px 0;
  }
  .gallery-grid {
    width: 92%;
    gap: 15px;
    grid-auto-rows: 200px;
  }
  .gallery-item {
    border-radius: 12px;
  }
  /* Testimonials text scales down further */
  .testimonial-item p {
    font-size: 15px;
    line-height: 1.7;
  }
  .author-img {
    width: 50px;
    height: 50px;
  }
}