*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Inter',sans-serif;
  background:#f6f8fc;
  color:#111827;
}

html, body {
  overflow-x: hidden;
}

a{
  text-decoration:none;
}

img{
  display:block;
  width:100%;
}

/* ================= VARIABLES ================= */

:root{
  --gall-primary:#e63946;
  --gall-dark:#0f172a;
  --gall-light:#ffffff;
  --gall-gray:#6b7280;
  --gall-bg:#f6f8fc;
}

/* ================= CONTAINER ================= */

.gall-container{
  width:min(1250px,92%);
  margin:auto;
}

/* ================= HERO ================= */

.gall-hero{
  min-height:75vh;

  background:
  linear-gradient(
    rgba(0,0,0,.68),
    rgba(0,0,0,.72)
  ),
  url('https://images.unsplash.com/photo-1511379938547-c1f69419868d?q=80&w=1800&auto=format&fit=crop')
  center/cover;

  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;

  color:#fff;
  position:relative;
}

.gall-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
  radial-gradient(
    circle at top right,
    rgba(37,99,235,.35),
    transparent 40%
  );
}

.gall-hero-content{
  max-width: 800px;
  margin: auto;
  margin-bottom: -60px;
}

.gall-tag{
  display:inline-block;
  padding:10px 18px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.2);
  border-radius:999px;
  margin-bottom:24px;
  backdrop-filter:blur(12px);
  font-size:14px;
  letter-spacing:1px;
}

.gall-hero h1{
  font-size:68px;
  line-height:1.1;
  font-family:'Montserrat',sans-serif;
  margin-bottom:24px;
}

.gall-hero p{
  font-size:18px;
  opacity:.92;
  line-height:1.8;
  max-width:720px;
  margin:auto;
}

/* ================= SECTION ================= */

.gall-section{
  padding:100px 0;
}

.gall-section-head{
  text-align:center;
  margin-bottom:60px;
}

.gall-section-head h2{
  font-size:48px;
  margin-bottom:18px;
}

.gall-section-head p{
  color:var(--gall-gray);
  max-width:760px;
  margin:auto;
  line-height:1.8;
}

/* ================= FILTERS ================= */

.gall-filter-wrap{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:14px;
  margin-bottom:50px;
}

.gall-filter-btn{
  border:none;
  background:#fff;
  color:#111827;
  padding:14px 22px;
  border-radius:999px;
  cursor:pointer;
  font-weight:600;
  transition:.3s;
  box-shadow:0 8px 30px rgba(0,0,0,.06);
}

.gall-filter-btn:hover,
.gall-filter-btn.active{
  background: linear-gradient(135deg, #ff2d2d, #ff6a3d);
  color:#fff;
  transform:translateY(-3px);
}

/* ================= GALLERY GRID ================= */

.gall-grid{
  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(280px,1fr));

  gap:28px;
}

.gall-card{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  cursor:pointer;
  background:#fff;

  box-shadow:
  0 12px 40px rgba(0,0,0,.08);

  transition:.35s;
}

.gall-card:hover{
  transform:translateY(-8px);
}

.gall-card img{
  height:340px;
  object-fit:cover;
  transition:transform .5s ease;
}

.gall-card:hover img{
  transform:scale(1.08);
}

/* ================= OVERLAY ================= */

.gall-overlay{
  position:absolute;
  inset:0;

  background:
  linear-gradient(
    to top,
    rgba(0,0,0,.85),
    rgba(0,0,0,.05)
  );

  display:flex;
  align-items:flex-end;

  padding:28px;

  opacity:0;
  transition:.35s;
}

.gall-card:hover .gall-overlay{
  opacity:1;
}

.gall-overlay-content h3{
  color:#fff;
  font-size:24px;
  margin-bottom:10px;
}

.gall-overlay-content p{
  color:rgba(255,255,255,.85);
  font-size:15px;
  line-height:1.6;
}

/* ================= LIGHTBOX ================= */

.gall-lightbox{
  position:fixed;
  inset:0;
  background:rgba(2,6,23,.92);

  display:none;
  align-items:center;
  justify-content:center;

  z-index:9999;

  padding:30px;
}

.gall-lightbox.active{
  display:flex;
}

.gall-lightbox img{
  max-width:min(1200px,95vw);
  max-height:90vh;
  border-radius:22px;
  animation:gallZoom .35s ease;
}

@keyframes gallZoom{
  from{
    transform:scale(.85);
    opacity:0;
  }
  to{
    transform:scale(1);
    opacity:1;
  }
}

.gall-close{
  position:absolute;
  top:20px;
  right:30px;

  width:60px;
  height:60px;

  border:none;
  border-radius:50%;

  background:rgba(255,255,255,.12);

  color:#fff;

  font-size:28px;

  cursor:pointer;

  transition:.3s;
}

.gall-close:hover{
  background:var(--gall-primary);
  transform:rotate(90deg);
}

/* ================= CTA ================= */

.gall-cta{
    padding: 40px 20px;
    max-width: 1200px;
    margin: 80px auto -15px;
    border-radius: 30px;
    overflow: hidden;
    transition: 1s ease;
    background: linear-gradient(rgba(5, 10, 20, .9), rgba(5, 10, 20, .9)), url(https://images.unsplash.com/photo-1517048676732-d65bc937f952?q=80&w=1800&auto=format&fit=crop) center / cover no-repeat;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gall-cta::before{
  content:"";
  position:absolute;
  width:300px;
  height:300px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  top:-100px;
  right:-100px;
}

.gall-cta h2{
  font-size:58px;
  margin-bottom:20px;
  position:relative;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

.gall-cta p{
  max-width:760px;
  margin:auto;
  line-height:1.8;
  opacity:.95;
  position:relative;
  color:#fff
}

.gall-cta-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;

  margin-top:35px;

  background: linear-gradient(135deg, #ff2d2d, #ff6a3d);
  color: #fff;

  padding:16px 30px;

  border-radius:14px;

  font-weight:700;

  transition:.3s;

  position:relative;
}

.gall-cta-btn:hover{
  transform:translateY(-4px);
}

/* .menu-toggle {
  display: none;
} */

/* ================= RESPONSIVE ================= */

@media(max-width:991px){

  .gall-hero h1{
    font-size:52px;
  }

  .gall-section-head h2{
    font-size:40px;
  }

}

@media(max-width:600px){

  .gall-hero{
    min-height:65vh;
  }

  .gall-hero h1{
    font-size:38px;
  }

  .gall-hero p{
    font-size:16px;
  }

  .gall-section{
    padding:70px 0;
  }

  .gall-section-head h2{
    font-size:32px;
  }

  .gall-card img{
    height:280px;
  }

  .gall-cta h2{
    font-size:34px;
  }

}


/* =========================
   REVEAL ANIMATIONS
========================= */

.reveal{
  opacity:0;
  transform:translateY(70px);
  transition:
  opacity 1s ease,
  transform 1s ease;
  will-change:transform, opacity;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

/* LEFT */

.reveal-left{
  opacity:0;
  transform:translateX(-80px);
  transition:
  opacity 1s ease,
  transform 1s ease;
}

.reveal-left.active{
  opacity:1;
  transform:translateX(0);
}

/* RIGHT */

.reveal-right{
  opacity:0;
  transform:translateX(80px);
  transition:
  opacity 1s ease,
  transform 1s ease;
}

.reveal-right.active{
  opacity:1;
  transform:translateX(0);
}

/* ZOOM */

.reveal-zoom{
  opacity:0;
  transform:scale(.85);
  transition:
  opacity 1s ease,
  transform 1s ease;
}

.reveal-zoom.active{
  opacity:1;
  transform:scale(1);
}

/* STAGGER */

.gall-card{
  transition:
  transform .35s ease,
  opacity 1s ease,
  filter 1s ease;
}

.gall-card.reveal{
  filter:blur(2px);
}

.gall-card.reveal.active{
  filter:blur(0);
}