
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family: Arial, sans-serif;
  background:#dcdcdc;
}

/* HEADER */
.topbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:90px;
  padding:0 30px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:linear-gradient(to bottom,#111,transparent);
  z-index:999;
}

.logo{
  height:80px;
  width:auto;
  object-fit:contain;
}

.navbar{
  display:flex;
  gap:35px;
  flex-wrap:wrap;
  align-items:center;
}

.navbar a{
  color:#fff;
  text-decoration:none;
  font-size:16px;
  white-space:nowrap;
}

.navbar a.active{
  color:#d49e4e;
}

/* Hamburger hidden in desktop */
.menu-toggle{
    display:none;
    width:35px;
    height:25px;
    background:none;
    border:none;
    flex-direction:column;
    justify-content:space-between;
    cursor:pointer;
}

.menu-toggle span{
    width:100%;
    height:2px;
    background:white; /* change if needed */
    border-radius:5px;
}


@media screen and (max-width:768px){

    .menu-toggle{
        display:flex !important;
    }

    .navbar{
        position:fixed;
        top:0;
        right:-100%;
        width:100vw;
        height:100vh;
        background:rgba(0,0,0,0.96);
        flex-direction:column;
        justify-content:center;
        align-items:center;
        gap:30px;
        transition:right .4s ease;
        z-index:9999;
    }

    .navbar.active{
        right:0;
    }

    .navbar a{
        font-size:20px;
        color:white;
    }
  }






.gallery-showcase{
  position:relative;
  width:100%;
  height:100vh;
  overflow:hidden;
}

/* BACKGROUND IMAGE */
.gallery-preview{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.gallery-preview img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:all 0.8s ease;
  filter:brightness(1.1);
}

/* Overlay */
.gallery-preview::after{
  content:'';
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.05);
  pointer-events:none;
}

/* LEVEL PANELS */
.gallery-levels{
  position:relative;
  z-index:2;
  display:flex;
  width:100%;
  height:100%;
}

/* EACH PANEL */
.gallery-level{
  flex:1;
  min-width:0; /* Safari fix */
  position:relative;
  cursor:pointer;
  transition:flex 0.6s ease;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding:40px 20px;
  border-right:1px solid rgba(255,255,255,0.12);
  overflow:hidden;
}

.gallery-level:last-child{
  border-right:none;
}

/* ACTIVE PANEL */
.gallery-level.active{
  flex:2;
}

/* TITLE */
.gallery-level h3{
  color:#fff;
  font-size:22px;
  padding-bottom:20px;
  text-align:center;
  white-space:nowrap;
  letter-spacing:2px;
  transition:0.3s ease;
}

/* Hover effect */
.gallery-level h3:hover{
  color:#d49e4e;
}

/* SUB ITEMS */
.sub-items{
  position:absolute;
  bottom:100px;
  left:40px;
  opacity:0;
  visibility:hidden;
  transition:all 0.4s ease;
}

.gallery-level.active .sub-items{
  opacity:1;
  visibility:visible;
}

.sub-items p{
  color:#fff;
  margin-bottom:15px;
  cursor:pointer;
  font-size:18px;
  transition:0.3s ease;
}

.sub-items p:hover{
  color:#ffb20a;
}

/* =======================
   LAPTOP (1024px)
======================= */
@media (max-width:1024px){

  .gallery-level{
    padding:30px 15px;
  }

  .gallery-level h3{
    font-size:18px;
  }

  .sub-items{
    left:20px;
    bottom:80px;
  }

  .sub-items p{
    font-size:15px;
  }
}

/* =======================
   TABLET (768px)
======================= */
@media (max-width:768px){

  .gallery-showcase{
    height:auto;
  }

  .gallery-levels{
    flex-direction:column;
    height:auto;
  }

  .gallery-level{
    width:100%;
    min-height:180px;
    align-items:center;
    justify-content:center;
    padding:20px;
    border-right:none;
    border-bottom:1px solid rgba(255,255,255,0.15);
  }

  .gallery-level.active{
    flex:1;
  }

  .gallery-level h3{
    font-size:16px;
    padding-bottom:0;
  }

  .sub-items{
    position:relative;
    bottom:auto;
    left:auto;
    margin-top:15px;
    text-align:center;
  }

  .sub-items p{
    font-size:14px;
    margin-bottom:10px;
  }
}

/* =======================
   MOBILE (480px)
======================= */
@media (max-width:480px){

  .gallery-level{
    min-height:220px;
    padding:15px;
  }

  .gallery-level h3{
    font-size:18px;
    padding:16px;
    color:black
   
  }

  .sub-items p{
    font-size:15px;
  }
}