@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Newsreader:wght@400;600&display=swap');

:root {
  --bg: #02060f;
  --text: #fff;
    --accent: #1ea1ff;
  --overlay-start: rgba(3, 18, 42, 0.45);
  --overlay-end: rgba(3, 18, 42, 0.25);
  --text-max-width: 1100px;
  --vh: 100vh;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}


/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
  background: var(--bg); 
  color: var(--text); 
  overflow-x: hidden; 
}

a{
  text-decoration: none;
}

/* ===================================
   NAVBAR
=================================== */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 10px 20px;
  background: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
}

.logo img {
  height: 100px;
  width: 100px;
}

.navbar__logo {
  font-size: 5rem;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
}

.navbar__menu {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  transition: all 0.3s ease;
}

.navbar__menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 1rem;
  position: relative;
}

.navbar__menu a:hover {
  background-color: #fff;
  color: #000;
  padding: 12px;
  border-radius: 6px;
  transform: translateX(8px);
}

/* Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  z-index: 11;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .navbar__logo {
    font-size: 1.5rem;
    
  }
  .hamburger {
    display: flex;
  }

  .navbar__menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 20px 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .navbar__menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar__menu li {
    margin: 0;
    text-align: center;
  }

  .navbar__menu a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar__menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: none;
    padding: 15px 20px;
  }
}

/* ===================================
   HERO SECTION
=================================== */
.hero {
  position: relative;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('public_html/img/gallery-hero.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}

.hero__content h1 {
  font-family: "Bebas Neue";
  font-size: 4rem;
  margin-bottom: 10px;
}

.hero__content p {
  color: #cdd8e4;
  font-size: 1.2rem;
}

/* =========================
   SCROLL INDICATOR
========================= */
.scroll-indicator {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

.scroll-cylinder {
  width: 30px;
  height: 60px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 8px rgba(255,255,255,0.15);
}

.scroll-dot {
  width: 10px;
  height: 10px;
  background: #1ea1ff;
  border-radius: 50%;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollMove 2s ease-in-out infinite;
}

@keyframes scrollMove {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  50% { transform: translate(-50%, 36px); opacity: 0.6; }
}

.scroll-indicator p {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 1px;
  opacity: 0.8;
  font-family: "Newsreader", serif;
}

/* ===================================
   GALLERY SECTION
=================================== */
.gallery {
  padding: 120px 8%;
  background: rgb(0, 0, 0);
}

.gallery-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 240px;
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease, filter 0.6s ease;
  filter: brightness(0.8);
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

/* Hidden by default */
.gallery-item .img-description {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 16px;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.35s ease;
}

/* Show on hover */
.gallery-item:hover .img-description {
  opacity: 1;
  transform: translateY(0);
}


.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(1);
}

.wide { grid-column: span 2; }
.tall { grid-row: span 2; }

/* ===================================
   LIGHTBOX
=================================== */


.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lightbox-img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 6px;
}

.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  font-size: 40px;
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 50%;
}

.prev-btn:hover, .next-btn:hover {
  background: rgba(255,255,255,0.4);
}

.prev-btn {
  left: 30px;
}

.next-btn {
  right: 30px;
}


.close {
  position: absolute;
  top: 40px;
  right: 40px;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
}

.close:hover { color: var(--accent); }

/* ===================================
   FOOTER
=================================== */
.footer {
  text-align: center;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.55);
  color: #bbb;
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

/* ===================================
   RESPONSIVE DESIGN
=================================== */

/* Tablets and below */
@media (max-width: 1024px) {
  .navbar {
    padding: 10px 30px;
  }

  .hero__content h1 {
    font-size: 3rem;
  }

  .gallery-wrapper {
    grid-auto-rows: 200px;
  }
}

/* Phones */
@media (max-width: 768px) {

  /* NAVBAR mobile mode */
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .navbar__menu {
    flex-direction: column;
    width: 100%;
    gap: 15px;
    margin-top: 10px;
  }

  .navbar__menu a {
    display: block;
    width: 100%;
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 6px;
    transition: background 0.3s;
  }

  .navbar__menu a:hover {
    background: #fff;
    color: #000;
  }

  .navbar__logo {
    font-size: 2.4rem;
  }

  .logo img {
    height: 60px;
    width: 60px;
  }

  /* HERO */
  .hero {
    height: 80vh;
    background-position: center center;
  }

  .hero__content h1 {
    font-size: 2.2rem;
  }

  .hero__content p {
    font-size: 1rem;
  }

  .scroll-indicator {
    bottom: 30px;
  }

  /* GALLERY */
  .gallery {
    padding: 80px 5%;
  }

  .gallery-wrapper {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
    gap: 15px;
  }

  .wide, .tall {
    grid-column: auto;
    grid-row: auto;
  }

  /* LIGHTBOX */
  .close {
    top: 20px;
    right: 20px;
    font-size: 2rem;
  }

  .lightbox img {
    max-width: 95%;
    max-height: 75%;
  }

  /* FOOTER */
  .footer {
    font-size: 0.9rem;
  }
}

/* Small phones (below 480px) */
@media (max-width: 480px) {
  .navbar__logo { font-size: 2rem; }
  .hero__content h1 { font-size: 1.8rem; }
  .hero__content p { font-size: 0.9rem; }
  .gallery-wrapper { grid-auto-rows: 180px; }
}
