*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  
  background:#fff9f2;
  color:#4b2e1e;
  overflow-x:hidden;
}

.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

.section-padding{
  padding:100px 0;
}

header{
  position:fixed;
  width:100%;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,0.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(0,0,0,0.08);
}

.nav-container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 0;
}

.logo{
  font-family:'Cinzel',serif;
  font-size:1.4rem;
  font-weight:700;
  color:#b25a00;
}

nav ul{
  display:flex;
  gap:25px;
  list-style:none;
}

nav a{
  text-decoration:none;
  color:#5b341d;
  position:relative;
  font-weight:500;
}

nav a::after{
  content:'';
  position:absolute;
  left:0;
  bottom:-5px;
  width:0;
  height:2px;
  background:#ff9f1c !important;
  transition:0.3s;
}

nav a:hover::after,
nav a.active::after{
  width:100%;
}

.hero{
  position:relative;
  height:100vh;
  display:flex;
  align-items:center;
  background:
  linear-gradient(rgba(255,245,230,0.7), rgba(255,248,240,0.6)),
  url('images/hero.jpg') center/cover no-repeat;
}

.overlay{
  position:absolute;
  inset:0;
  background:radial-gradient(circle at center, rgba(255,166,0,0.15), transparent 60%);
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:700px;
}

.subtitle{
  color:#c96a00;
  font-size:1rem;
  letter-spacing:3px;
  margin-bottom:15px;
}

.hero h1{
  font-size:4rem;
  line-height:1.2;
  margin-bottom:20px;
  font-family:'Cinzel',serif;
}

.hero p{
  line-height:1.9;
  font-size:1.1rem;
}

.hero-buttons{
  display:flex;
  gap:20px;
  margin-top:35px;
}

.btn{
  padding:14px 30px;
  border-radius:50px;
  text-decoration:none;
  font-weight:600;
  transition:0.4s;
}

.primary-btn{
  background:linear-gradient(135deg,#ff9f1c,#ffd089);
  color:#4b2e1e;
}

.secondary-btn{
  border:1px solid #d7b18c;
  color:#5b341d;
}

.about-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:60px;
  align-items:center;
}

.about-image img{
  width:100%;
  border-radius:25px;
  box-shadow:0 20px 60px rgba(255,153,0,0.12);
}

.section-tag{
  color:#c96a00;
  letter-spacing:3px;
  text-transform:uppercase;
  font-size:0.9rem;
}

.about-content h2,
.section-heading h2,
.contact-content h2{
  font-size:2.8rem;
  margin:15px 0 25px;
  font-family:'Cinzel',serif;
}

.about-content p{
  line-height:1.9;
  margin-bottom:20px;
}

.about-cards{
  display:flex;
  gap:20px;
  margin-top:30px;
}

.card{
  background:#fff;
  padding:25px;
  border-radius:20px;
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

.card h3{
  margin-bottom:10px;
  color:#c96a00;
}

.quote-section{
  padding:90px 0;
  text-align:center;
  background:#ffe8c7;
}

.quote-section h2{
  font-size:2.5rem;
  line-height:1.6;
  font-family:'Cinzel',serif;
}

.section-heading{
  text-align:center;
  margin-bottom:60px;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
}

.gallery-item{
  overflow:hidden;
  border-radius:20px;
}

.gallery-item img{
  width:100%;
  height:350px;
  object-fit:cover;
  transition:0.5s;
}

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

.event-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:25px;
}

.event-card{
  background:#fff;
  padding:35px;
  border-radius:25px;
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
  transition:0.4s;
}

.event-card:hover{
  transform:translateY(-8px);
}

.event-date{
  display:inline-block;
  padding:8px 16px;
  border-radius:50px;
  background:#fff3e2;
  color:#c96a00;
  margin-bottom:20px;
}

.event-card h3{
  margin-bottom:15px;
}

.event-card p{
  line-height:1.8;
}

.contact-box{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:50px;
  background:#fff;
  padding:60px;
  border-radius:30px;
  box-shadow:0 10px 40px rgba(0,0,0,0.06);
}

.contact-content p{
  line-height:1.8;
}

.contact-info{
  margin-top:25px;
}

.contact-info p{
  margin-bottom:10px;
}

.contact-form{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.contact-form input,
.contact-form textarea{
  padding:16px;
  border-radius:15px;
  border:1px solid #e6d3be;
}

.contact-form button{
  padding:16px;
  border:none;
  border-radius:50px;
  background:linear-gradient(135deg,#ff9f1c,#ffd089);
  color:#4b2e1e;
  font-weight:700;
  cursor:pointer;
}

footer{
  padding:40px 0;
  text-align:center;
  border-top:1px solid rgba(0,0,0,0.08);
}

.footer-content h3{
  margin-bottom:15px;
  color:#b25a00;
  font-family:'Cinzel',serif;
}

.footer-bottom{
  margin-top:20px;
  color:#777;
  font-size:0.9rem;
}

@media(max-width:992px){

  .about-grid,
  .contact-box{
    grid-template-columns:1fr;
  }

  .hero h1{
    font-size:3rem;
  }
}

@media(max-width:768px){

  nav{
    display:none;
  }

  .hero h1{
    font-size:2.3rem;
  }

  .about-content h2,
  .section-heading h2,
  .contact-content h2{
    font-size:2rem;
  }

  .about-cards,
  .hero-buttons{
    flex-direction:column;
  }

  .contact-box{
    padding:35px;
  }
}


/* gallery code */

/* Base Layout & Typography */


/* Horizontal Row Carousel Styling */
.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 60px;
  box-sizing: border-box;
}

.gallery-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 15px 5px;
  scrollbar-width: none; 
}

.gallery-slider::-webkit-scrollbar {
  display: none; 
}

.gallery-slider img {
  flex: 0 0 240px;
  width: 240px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.gallery-slider img:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Thumbnail Row Control Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: #495057;
  font-size: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  z-index: 10;
  transition: opacity 0.3s ease, transform 0.2s, background 0.2s, color 0.2s;
  opacity: 1;
}

/* CSS State helper class to hide arrows smoothly */
.carousel-arrow.hidden {
  opacity: 0;
  pointer-events: none; /* Stops the user from clicking invisible arrows */
}

.carousel-arrow:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-50%) scale(1.05);
}

.left-arrow { left: 5px; }
.right-arrow { right: 5px; }

/* Lightbox Modal System Styles */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  flex-direction: column;
}

.blur-backdrop {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background-size: cover;
  background-position: center;
  filter: blur(60px);
  opacity: 0.35;
  z-index: -1;
  transition: background-image 0.4s ease;
  pointer-events: none;
}

.modal-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 24px 40px;
  box-sizing: border-box;
}

.image-counter {
  color: #6c757d;
  font-size: 14px;
  font-weight: 600;
}

.close-btn {
  background: none;
  border: none;
  color: #495057;
  font-size: 32px;
  cursor: pointer;
}

.modal-main-view {
  display: flex;
  flex: 1;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px 40px 40px;
  box-sizing: border-box;
  position: relative;
}

.img-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  height: 100%;
  max-height: 75vh;
}

.modal-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

.fade {
  animation: smoothFadeIn 0.35s cubic-bezier(0.215, 0.610, 0.355, 1) forwards;
}

@keyframes smoothFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.nav-arrow {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: #495057;
  font-size: 18px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: background 0.2s, transform 0.2s;
}

.nav-arrow:hover {
  background: #ffffff;
  color: #000000;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .carousel-container { padding: 0 50px; margin: 30px auto; }
  .gallery-slider img { flex: 0 0 180px; width: 180px; }
  .modal-main-view { padding: 0 10px 20px 10px; }
  .nav-arrow { width: 44px; height: 44px; }
}

/* Update your existing .gallery-slider img class with these styles */
.gallery-slider img {
  flex: 0 0 240px;
  width: 240px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;

  /* Lazy Loading Placeholder Background styles */
  background: #e9ecef;
  animation: pulsePlaceholder 1.5s infinite ease-in-out;
}

/* Removes the loading pulse animation once the image asset finishes downloading */
.gallery-slider img:not([src=""]) {
  animation: none;
}

@keyframes pulsePlaceholder {
  0% { background-color: #e9ecef; }
  50% { background-color: #dee2e6; }
  100% { background-color: #e9ecef; }
}

/* Keep all other previous lightbox and carousel styles exactly the same */

.card-text-new {
      font-size: 18px;
    font-weight: 600;
    text-align: left;
    color: #b25a00;
    padding-top: 5px;
    padding-bottom: 5px;
} 


/* Container layout setup */
.video-grid-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: system-ui, -apple-system, sans-serif;
}

/* The Grid adjusts for vertical items, maintaining a clean mobile card look */
.fb-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

/* Card Styling Forced to a Vertical 9:16 Aspect Ratio */
.fb-grid-card {
  position: relative;
  background-color: #000;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 9 / 16; /* Perfect crop configuration for Facebook Reels */
  
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
              box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Forces your iframe to fill out the fullscreen card bounds */
.fb-grid-card iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
}

/* Overlay Styling */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2); /* Dark overlay tint */
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* Allows click-through interaction straight to the play system */
  z-index: 5;
  transition: background 0.3s ease, opacity 0.3s ease;
}

.play-btn {
  width: 64px;
  height: 64px;
  background-color: rgba(255, 255, 255, 0.95);
  color: #1c1e21;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transform: scale(1);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
              background-color 0.3s ease, 
              color 0.3s ease;
}

.play-btn svg {
  margin-left: 4px;
}

/* --- Interactive Reel Hover Effects --- */
.fb-grid-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(24, 119, 242, 0.25);
}

/* Clears up transparency on hover so the clip shines cleanly */
.fb-grid-card:hover .video-overlay {
  background: rgba(0, 0, 0, 0); 
}

/* Scales and styles the custom icon element on cursor focus */
.fb-grid-card:hover .play-btn {
  transform: scale(1.15);
  background-color: #1877f2; /* Changes color to Facebook Blue */
  color: #ffffff;
}
