* { margin:0; padding:0; box-sizing:border-box; font-family:Poppins; }
body { background:#fffaf3; color:#333; }

.topbar {
  background:#7a1f1f;
  color:#fff;
  padding:6px 14px;
  display:flex;
  justify-content:space-between;
  font-size:14px;
}

.navbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 20px;
  background:#fff;
  position:sticky;
  top:0;
  z-index:999;
  box-shadow:0 2px 10px rgba(0,0,0,.1);
}

.logo { font-weight:700; color:#b45309; font-size:20px; }

nav a {
  margin-left:18px;
  text-decoration:none;
  color:#444;
  font-weight:500;
}

/* =========================
   MOBILE MENU TOGGLE
========================= */

.menu-toggle {
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}

.menu-toggle span {
  width:26px;
  height:3px;
  background:#b45309;
  border-radius:4px;
  transition:0.4s;
}

/* Animated X */
.menu-toggle.active span:nth-child(1) {
  transform:rotate(45deg) translate(5px,5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity:0;
}
.menu-toggle.active span:nth-child(3) {
  transform:rotate(-45deg) translate(6px,-6px);
}

@media(min-width:769px){
  nav {
    display:flex;
    position:static;
    height:auto;
    width:auto;
    background:none;
    box-shadow:none;
    padding:0;
  }
}


/* MOBILE MENU PANEL */
@media(max-width:768px){

  .menu-toggle { display:flex; }

  nav {
    position:fixed;
    top:0;
    right:-100%;
    width:75%;
    height:100vh;
    background:linear-gradient(135deg,#7a1f1f,#b45309);
    display:flex;
    flex-direction:column;
    padding-top:100px;
    transition:0.5s ease;
    box-shadow:-10px 0 25px rgba(0,0,0,.3);
  }

  nav a {
    color:#fff;
    padding:14px 24px;
    font-size:18px;
    border-bottom:1px solid rgba(255,255,255,.2);
  }

  nav.active {
    right:0;
  }
}


.hero {
  height:60vh;
  position:relative;
  overflow:hidden;
}

.hero-slide {
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  display:none;
  align-items:center;
  justify-content:center;
}

.hero-slide.active { display:flex; }

.hero h1 {
  color:#fff;
  background:rgba(0,0,0,.5);
  padding:20px;
  border-radius:10px;
}

.section {
  padding:60px 20px;
  text-align:center;
}

.bg { background:#fff2e6; }

.cards {
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}

.card {
  background:#fff;
  padding:30px;
  border-radius:14px;
  width:220px;
  box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.gallery {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:12px;
}

.gallery img {
  width:100%;
  border-radius:12px;
}

.video-box iframe {
  width:100%;
  max-width:600px;
  height:315px;
  border-radius:12px;
}

.mobile-footer {
  display:none;
}

.whatsapp-float {
  position:fixed;
  right:20px;
  bottom:20px;
  background:#25d366;
  color:#fff;
  padding:14px;
  border-radius:50%;
  font-size:24px;
  box-shadow:0 10px 20px rgba(0,0,0,.2);
}

/* MOBILE */
@media(max-width:768px){

  .menu-toggle { display:flex; }

  nav {
    position:fixed;
    top:0;
    right:-100%;
    width:75%;
    height:100vh;
    background:linear-gradient(135deg,#7a1f1f,#b45309);
    display:flex;               /* ✅ KEEP FLEX */
    flex-direction:column;
    padding-top:100px;
    transition:0.45s ease-in-out;
    box-shadow:-10px 0 25px rgba(0,0,0,.3);
    z-index:998;
  }

  nav.active {
    right:0;
  }

  nav a {
    color:#fff;
    padding:16px 24px;
    font-size:18px;
    border-bottom:1px solid rgba(255,255,255,.2);
  }

  .mobile-footer {
    display:flex;
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    background:#7a1f1f;
    justify-content:space-around;
    padding:12px 0;
    z-index:999;
  }

  .mobile-footer a {
    color:#fff;
    font-size:22px;
  }

  .whatsapp-float { display:none; }
}

/* =========================
   ABOUT SECTION
========================= */

.about-section {
  background:#fffaf3;
}

.about-wrapper {
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:40px;
  align-items:center;
}

.about-content h2 {
  font-size:32px;
  color:#7a1f1f;
  margin-bottom:16px;
}

.about-content p {
  font-size:16px;
  line-height:1.8;
  color:#444;
  margin-bottom:14px;
}

.about-image img {
  width:100%;
  border-radius:18px;
  box-shadow:0 15px 35px rgba(0,0,0,.15);
  transition:transform 0.4s ease;
}

.about-image img:hover {
  transform:scale(1.03);
}

/* MOBILE */
@media(max-width:768px){
  .about-wrapper {
    grid-template-columns:1fr;
  }

  .about-image {
    order:-1; /* image first on mobile */
  }

  .about-content h2 {
    font-size:26px;
  }
}

/* =========================
   SCROLL GALLERY
========================= */

.gallery-section {
  overflow:hidden;
}

/* =========================
   GALLERY WITH ARROWS
========================= */

.gallery-wrapper {
  position:relative;
  display:flex;
  align-items:center;
}

.gallery-scroll {
  display:flex;
  gap:16px;
  overflow-x:auto;
  scroll-behavior:smooth;
  padding:20px 10px;
  scrollbar-width:none;
}

.gallery-scroll::-webkit-scrollbar {
  display:none;
}

.gallery-item {
  min-width:280px;
  flex-shrink:0;
}

.gallery-item img {
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:16px;
  box-shadow:0 10px 25px rgba(0,0,0,.15);
}

/* ARROW BUTTONS */
.gallery-btn {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(122,31,31,.85);
  color:#fff;
  border:none;
  width:42px;
  height:42px;
  border-radius:50%;
  cursor:pointer;
  z-index:5;
  display:none;
}

.gallery-btn.left { left:-10px; }
.gallery-btn.right { right:-10px; }

.gallery-btn:hover {
  background:#b45309;
}

/* DESKTOP ONLY */
@media(min-width:769px){
  .gallery-btn {
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .gallery-item {
    min-width:340px;
  }

  .gallery-item img {
    height:220px;
  }
}

/* MOBILE */
@media(max-width:768px){
  .gallery-btn { display:none; }
}

/* =========================
   VIDEO SLIDER
========================= */

.video-wrapper {
  position:relative;
  display:flex;
  align-items:center;
}

.video-scroll {
  display:flex;
  gap:16px;
  overflow-x:auto;
  scroll-behavior:smooth;
  padding:20px 10px;
  scrollbar-width:none;
}

.video-scroll::-webkit-scrollbar {
  display:none;
}

.video-item {
  min-width:300px;
  flex-shrink:0;
}

.video-item iframe {
  width:100%;
  height:180px;
  border-radius:16px;
  border:none;
  box-shadow:0 10px 25px rgba(0,0,0,.15);
}

/* ARROW BUTTONS */
.video-btn {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(122,31,31,.85);
  color:#fff;
  border:none;
  width:42px;
  height:42px;
  border-radius:50%;
  cursor:pointer;
  z-index:5;
  display:none;
}

.video-btn.left { left:-10px; }
.video-btn.right { right:-10px; }

.video-btn:hover {
  background:#b45309;
}

/* DESKTOP */
@media(min-width:769px){
  .video-btn {
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .video-item {
    min-width:380px;
  }

  .video-item iframe {
    height:220px;
  }
}

/* MOBILE */
@media(max-width:768px){
  .video-btn { display:none; }
}

a{
    text-decoration: none;
}

/* =========================
   IMAGE MODAL (LIGHTBOX)
========================= */

.img-modal {
  display:none;
  position:fixed;
  z-index:9999;
  inset:0;
  background:rgba(0,0,0,0.9);
  justify-content:center;
  align-items:center;
  padding:20px;
}

.img-modal-content {
  max-width:100%;
  max-height:85vh;
  border-radius:12px;
  animation:zoomIn .3s ease;
}

@keyframes zoomIn {
  from { transform:scale(0.85); opacity:0; }
  to { transform:scale(1); opacity:1; }
}

.img-close {
  position:absolute;
  top:18px;
  right:24px;
  color:#fff;
  font-size:32px;
  font-weight:bold;
  cursor:pointer;
}

.img-caption {
  margin-top:10px;
  color:#ddd;
  text-align:center;
  font-size:14px;
}

/* Mobile tweaks */
@media(max-width:768px){
  .img-modal-content {
    max-height:75vh;
  }
}

#videoFrame {
  width:90%;
  height:60vh;
  border-radius:12px;
}

@media(max-width:768px){
  #videoFrame {
    width:100%;
    height:40vh;
  }
}

/* =========================
   CONTACT + DONATION
========================= */

.contact-wrapper {
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}

.contact-info h3 {
  color:#7a1f1f;
  margin-bottom:10px;
}

.contact-info p {
  line-height:1.8;
  color:#444;
}

.contact-form input,
.contact-form textarea {
  width:100%;
  padding:12px;
  margin-bottom:12px;
  border-radius:10px;
  border:1px solid #ddd;
  font-family:Poppins;
}

.contact-form button {
  width:100%;
  padding:14px;
  background:linear-gradient(135deg,#7a1f1f,#b45309);
  color:#fff;
  border:none;
  border-radius:12px;
  font-size:16px;
  cursor:pointer;
}

/* MOBILE */
@media(max-width:768px){
  .contact-wrapper {
    grid-template-columns:1fr;
  }
}

/* =========================
   THANK YOU MODAL
========================= */

.thankyou-modal {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:9999;
}

.thankyou-box {
  background:#fff;
  padding:30px;
  border-radius:16px;
  max-width:400px;
  text-align:center;
  animation:zoomIn .3s ease;
}

.thankyou-box h2 {
  color:#7a1f1f;
}

.thankyou-box p {
  margin:14px 0;
  color:#555;
}

.thankyou-box button {
  padding:10px 20px;
  border:none;
  background:#7a1f1f;
  color:#fff;
  border-radius:10px;
  cursor:pointer;
}

@keyframes zoomIn {
  from { transform:scale(.85); opacity:0; }
  to { transform:scale(1); opacity:1; }
}
