/* ======================================================= */
/* FINAL, COMPLETE & CORRECTED STYLE.CSS FILE            */
/* ======================================================= */

/* --- Google Fonts (Norican Added) --- */
@import url("https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Norican&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&display=swap");

/* --- Define Theme Color Variable --- */
:root {
  --primary-color: #b91c1c; /* Strong Red: This is your main theme color */
  --primary-color-light: #fde2e2; /* A light version for hovers etc. */
}

/* --- Base Typography & Body Styles --- */
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  background-color: #f8f7fc;
  color: #334155;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: #1e293b;
}

/* --- UPDATED: Apply Norican font to all main section headings --- */
section#home h1,               /* For the main hero banner */
.page-header h1,             /* For inner page banners like about.php */
section .text-center h2 {
  /* For all section titles like "Upcoming Events", "Our Gallery" etc. */
  font-family: "Norican", cursive;
  font-weight: 400; /* Norican is not a bold font, so we use its normal weight */
  letter-spacing: 1px; /* Adds a little spacing for script fonts */
}

p {
  font-family: "Poppins", sans-serif;
  line-height: 1.7;
}

.rainbow-text {
  color: var(--primary-color);
}

/* --- Navbar Styles --- */
nav.scrolled {
  background-color: #000000;
  box-shadow: 0 4px 30px -5px rgb(0 0 0 / 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#mobile-menu {
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  max-height: 0;
  overflow: hidden;
}

#mobile-menu.open {
  max-height: 500px;
}

/* --- Hero Section Styles --- */
.gradient-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-slide {
  transition: opacity 1s ease-in-out;
}

/* --- Testimonials & Swiper Slider Styles --- */
.testimonial-slider-container {
  overflow: hidden;
}

.testimonial-swiper {
  padding-bottom: 10px;
}

.swiper-wrapper {
  align-items: stretch;
}

.testimonial-prev-btn,
.testimonial-next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: var(--primary-color) !important;
  background-color: white;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.testimonial-prev-btn:hover,
.testimonial-next-btn:hover {
  background-color: var(--primary-color-light);
  transform: translateY(-50%) scale(1.05);
}

.testimonial-prev-btn::after,
.testimonial-next-btn::after {
  font-size: 16px !important;
  font-weight: bold;
}

.testimonial-prev-btn {
  left: -22px;
}
.testimonial-next-btn {
  right: -22px;
}

@media (max-width: 1400px) {
  .testimonial-prev-btn {
    left: 10px;
  }
  .testimonial-next-btn {
    right: 10px;
  }
}
@media (max-width: 768px) {
  .testimonial-prev-btn,
  .testimonial-next-btn {
    display: none;
  }
}

.testimonial-pagination .swiper-pagination-bullet {
  background-color: #cccccc;
  opacity: 1;
  transition: background-color 0.3s ease;
  width: 9px;
  height: 9px;
}

.testimonial-pagination .swiper-pagination-bullet-active {
  background-color: var(--primary-color) !important;
}

/* --- FAQ Styles --- */
.faq-answer {
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    padding 0.3s ease-in-out, opacity 0.3s ease;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-top: 0.5rem;
  padding-bottom: 1.5rem;
  opacity: 1;
}

.faq-item .faq-toggle-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(135deg);
  color: var(--primary-color);
}

/* --- Sticky Social Icons --- */
.sticky-social {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1000;
}

.sticky-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.sticky-social a:hover {
  transform: scale(1.1) translateX(-4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.sticky-social .whatsapp {
  background-color: #25d366;
}
.sticky-social .facebook {
  background-color: #1877f2;
}
.sticky-social .twitter {
  background-color: #14171a;
}
.sticky-social .youtube {
  background-color: var(--primary-color);
}

/* --- Custom Scrollbar --- */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #e5e7eb;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 20px;
  border: 2px solid #f1f5f9;
}
/* --- Navbar Styles --- */
/* This class is added by main.js on scroll */
nav.scrolled {
  background-color: rgba(0, 0, 0, 0.9); /* UPDATED to dark background */
  box-shadow: 0 4px 30px -5px rgb(0 0 0 / 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* UPDATED to a light border */
}

/* ... the rest of the navbar styles remain the same ... */
#mobile-menu {
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  max-height: 0;
  overflow: hidden;
}

#mobile-menu.open {
  max-height: 500px;
}
