/* GLOBAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* LOADER */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s;
}

.loader-logo {
  width: 250px;
  animation: zoomIn 1.2s ease-in-out infinite alternate;
}

/* Logo animation */
@keyframes zoomIn {
  from {
    transform: scale(1);
    opacity: 0.7;
  }
  to {
    transform: scale(1.15);
    opacity: 1;
  }
}

/* Hide loader */
#loader.hide {
  opacity: 0;
  visibility: hidden;
}

body {
  /* background: #f8f8f8; */
  color: #222;
}
/* about Section */
.about {
    height: 80vh;
    min-height: 450px;
    background: url("/images/gallery/bg.JPG") no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Slanted dark overlay on the left */
    background: linear-gradient(105deg, rgba(83, 83, 83, 0.9) 0%, rgba(17, 17, 17, 0.85) 50%, transparent 50.5%, transparent 100%);
}

.about-content {
    position: relative;
    z-index: 10;
    color: var(--text-white);
    max-width: 600px;
    padding-top: 80px;
    /* Offset for navbar */
    margin-left: 0;
    /* Reset margin auto from container to align left */
    /* Add padding to match horizontal container */
    padding-left: 1.5rem;
}

/* Fix for container margin on the left when about-content overrides it */
@media (min-width: 1200px) {
    .container.about-content {
        margin: 0 auto;
        padding-left: 100px; /* Back to original container padding */
    }
}


/* GALLERY */
.gallery-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 32px;
}

.section-header p {
  font-size: 14px;
  color: #666;
}

/* 🔥 BENTO GRID */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 20px;
}

/* CARD BASE */
.card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

/* IMAGE */
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}


/* HOVER */
.card:hover img {
  transform: scale(1.1);
}

.card:hover::after {
  opacity: 1;
}

/* 🔥 BENTO SIZES */
.big {
  grid-column: span 2;
  grid-row: span 2;
}

.wide {
  grid-column: span 2;
}

.tall {
  grid-row: span 2;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox.active {
  display: flex;
}

/* IMAGE */
.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  animation: zoom 0.4s ease;
}

@keyframes zoom {
  from {
    transform: scale(0.7);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* CLOSE BUTTON */
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
}

/* ARROWS */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.prev {
  left: 30px;
}

.next {
  right: 30px;
}

/* HOVER EFFECT */
.lightbox-nav:hover,
.close:hover {
  color: #ff0080;
}

/* ================= ANIMATIONS ================= */

/* Banner Animation */
.banner-content h1 {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}

.banner-content .breadcrumb {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.3s;
}

/* Section Header */
.section-header h2,
.section-header p {
  opacity: 0;
  transform: translateY(30px);
}

/* Card Initial State */
.card {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 0.6s ease;
}

/* When visible */
.card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Smooth hover enhancement */
.card img {
  transition: transform 0.6s ease, filter 0.4s ease;
}

.card:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

/* Lightbox fade */
.lightbox {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}
/* ================================
   PROFESSIONAL BENTO RESPONSIVE
================================ */

/* LARGE SCREENS (Default already 4 cols) */


/* ================================
   TABLETS (≤ 1024px)
================================ */
@media (max-width: 1024px) {

  .banner {
    height: 340px;
  }

  .banner h1 {
    font-size: 40px;
  }

  .banner-content {
    padding-left: 30px;
  }

  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
    gap: 15px;
  }

  /* Adjust bento proportions */
  .big {
    grid-column: span 2;
    grid-row: span 2;
  }

  .wide {
    grid-column: span 2;
  }

  .tall {
    grid-row: span 2;
  }
}


/* ================================
   SMALL TABLETS (≤ 768px)
================================ */
@media (max-width: 768px) {

  .banner {
    height: 280px;
    margin: 10px;
  }

  .banner h1 {
    font-size: 28px;
  }

  .banner-content {
    padding-left: 20px;
  }

  .breadcrumb {
    font-size: 12px;
    padding: 8px 14px;
  }

  .gallery-section {
    padding: 40px 15px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 12px;
  }

  /* Keep layout balanced */
  .big {
    grid-column: span 2;
    grid-row: span 2;
  }

  .wide {
    grid-column: span 2;
  }

  .tall {
    grid-row: span 2;
  }
}


/* ================================
   MOBILE (≤ 480px)
================================ */
@media (max-width: 480px) {

  .banner {
    height: 300px;
  }

  .banner h1 {
    font-size: 22px;
  }

  .banner-content {
    padding-left: 15px;
  }

  .section-header h2 {
    font-size: 20px;
  }

  .section-header p {
    font-size: 12px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
    gap: 10px;
  }

  /* 🔥 Reset bento shapes for clean mobile */
  .big,
  .wide,
  .tall {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .card {
    border-radius: 15px;
  }
}
/* Keyframes */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* RESPONSIVE */
@media (max-width: 992px) {
  .bento-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 180px;
  }
}

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .banner h1 {
    font-size: 28px;
  }
}
@media (max-width: 991px) {
    .about {
        height: 60vh;
        min-height: 350px;
    }
}

