.bg {
  background-image: url("../asset/background.jpg");
  background-size: cover;          /* scale to cover entire screen */
  background-repeat: repeat;    /* prevent tiling */
  background-position: center top;  /* makes it stay in place while scrolling */
    background-attachment: fixed;
  width: 100%;
}

.citycenter .grid,
.urban .grid {
  grid-template-columns: repeat(12, 1fr) !important;
}

.project-container:hover .name-container {
  display: flex;
  position: absolute;
}

.citycenter .grid .project-container,
.urban .grid .project-container {
  grid-column: span 6;
}

.citycenter .grid .project-container:last-child:nth-child(2n - 1),
.urban .grid .project-container:last-child:nth-child(2n - 1) {
  grid-column: span 6;
  grid-column-end: -4;
}

.popup-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup {
  max-width: 100%;
  max-height: 100%;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.popup-content {
  height: 80%;
}

.close-button {
  margin-top: 10px;
  padding: 5px 10px;
  background-color: #006869;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.close-button:hover {
  background-color: #1f9ea0;
}

.fit-content {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@font-face {
  font-family: 'Lemon Milk';
  src: url('../asset/fonts/LemonMilk.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins Black';
  src: url('../asset/fonts/Poppins-Black.ttf') format('truetype');
  font-weight: 900; 
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  font-family: 'Lemon Milk';
  box-sizing: border-box;
  letter-spacing: 2px;
}


.gallery-karya{
    z-index: 1;
    width: 100%;
    margin-bottom: 15vh;
}

#btn-gallery-container{
    width: 100%;
    margin-top: 8.91vh;
    margin-bottom: 5.67vh;
}

.bates{
    border: 2px solid #43655a;
    border-radius: 30px;
    width: fit-content;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    background-color: #c0c0c0;
}

.btn {
    border-radius: 30px;
    padding: 1.94vh 5vw;
    cursor: pointer;
    color: #43655a;
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 2.75vh;
}

.btn:nth-of-type(1),
.btn:nth-of-type(2),
.btn:nth-of-type(3){
    margin-right: 0.78vw;
}

.btn:hover {
    background-color: #43655a;
    color: white;
}

.btn.active {
    background-color: #43655a;
    color: white;
}

.title {
  font-size: xx-large !important;
}

.content-img {
    display: flex;
    justify-content: center;
    position: relative;
    text-align: center;
    color: white;
    aspect-ratio: 5/2;
    width: 100%;
    border-radius: 12px; 
    overflow: hidden;
    transition: all 0.4s ease;
}

.content-img:hover {
    filter: brightness(1.2) saturate(1.2);
    transform: scale(1.02);
    box-shadow: 
        0 -20px 50px rgba(119, 166, 150, 0.7),
        0 -40px 100px rgba(119, 166, 150, 0.4),
        0 0 40px rgba(119, 166, 150, 0.8), 
        0 0 80px rgba(119, 166, 150, 0.4);
    z-index: 10;
}

/* overlay text */
.content-img .tulisan {
  position: absolute;
  inset: 0;                  
  display: flex;
  flex-direction: column;     
  justify-content: center;  
  text-align: left;    
  padding: 1rem;              
  background: #000000a6;
  color: #77a696;
  z-index: 3;
  width: 40%;
  height: 100%;
  font-size: 4vw;
}


.tulisan p {
    font-size: 1vw;
    color: white !important;
}


.img-wrapper {
    overflow: hidden;   
    border-radius: 12px;
    height: 100%;
    width: 100%;
}

.img-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;       
}


@media (max-width: 768px) {
    .content-img .tulisan {
      transform: none;
      position: absolute;
      inset: 0;                  
      display: flex;
      flex-direction: column;     
      justify-content: center;  
      text-align: left;    
      padding: 1rem;              
      background: #000000a6;
      color: #77a696;
      z-index: 3;
      width: 40%;
      height: 100%;
      font-size: 3vw;
    }

    .content-img:hover .tulisan {
      transform: none
    }
    
    .tulisan p {
    font-size: 2vw;
    color: white !important;
    }
}


.row{
    width: 76%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
}

.row,
.row > .column {
  padding: 8px;
}

.row:after {
    content: "";
    display: flex;
    clear: both;
}

.text-base {
  font-size: 1.125rem;   /* text-lg */
  color: #fff;
  font-weight: 700;
  position: relative;     /* anchor underline absolute */
  display: inline-block;  
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}
.text-base:hover {
  transform: scale(1.1);
  color: #f2fff3ff;
  filter: drop-shadow(0 0 10px rgba(81, 255, 130, 0.8));
}

/* underline */
.underline-base {
  position: absolute;
  left: 0;
  bottom: -2px;                 
  width: 0;                     
  height: 2px;                  
  /*background-color: #00e642;*/
  background-image: linear-gradient(90deg, #60866bff, #ace2d2ff);
  transition: width 0.3s ease-out, box-shadow 0.3s ease-out;
}

/* hover parent = melebar */
.text-base:hover .underline-base {
  width: 100%;
}

.text-active {
  color: #f2fff3ff;
  filter: drop-shadow(0 0 10px rgba(81, 255, 130, 0.8));
}

.underline-active {
  width: 100%;
  /* box-shadow: 0 0 8px rgba(0,230,66,0.8); */
  background-image: linear-gradient(90deg, #60866bff, #ace2d2ff);
  transition: width 0.3s ease-out, box-shadow 0.3s ease-out;
}

.column {
  display: none; 
}
.column.show {
  display: block; 
}

@media (max-width: 1024px) {
  :root {
    --orbit-width: 300px;
    --orbit-height: 150px;
    --image-size: 80px;
  }
  
  .logo {
    max-width: 250px;
    max-height: 250px;
  }
}

@media (max-width: 768px) {
  :root {
    --orbit-width: 250px;
    --orbit-height: 125px;
    --image-size: 70px;
  }
  
  .logo {
    max-width: 200px;
    max-height: 200px;
  }
}

@media (max-width: 480px) {
  :root {
    --orbit-width: 180px;
    --orbit-height: 90px;
    --image-size: 50px;
  }
  
  .logo {
    max-width: 150px;
    max-height: 150px;
  }
}

.orbit img {
  position: absolute !important;
  width: var(--image-size) !important;
  height: var(--image-size) !important;
}

.btn-glow:hover {
  transform: scale(1);
  color: #f2fff3ff;
  filter: drop-shadow(0 0 10px rgba(81, 255, 130, 0.8));
}
@media (max-width: 640px) {
  .btn-glow:hover {
    filter: none;
  }
}
.active-btn {
  background-color: #43655a;
}

.judge-spotlight {
    position: relative;
    overflow: visible;
}

.judge-spotlight .judge-photo {
    filter: none;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.judge-spotlight .judge-title {
    filter: none;
    transition: none;
    cursor: default;
    position: relative;
    z-index: 1;
}

.judge-spotlight::before {
    content: '';
    position: absolute;
    top: -300px;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 300px solid rgba(119, 166, 150, 0.45);
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 30;
    filter: blur(15px);
}

.judge-spotlight:hover::before {
    opacity: 1;
}

.judge-spotlight::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    width: 100%;
    height: 60px;
    background: radial-gradient(ellipse at center, 
                rgba(119, 166, 150, 0.4) 0%, 
                rgba(119, 166, 150, 0.25) 35%,
                transparent 60%);
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 31;
    filter: blur(10px);
}

.judge-spotlight:hover::after {
    opacity: 1;
}

.judge-spotlight:hover .judge-photo {
    filter: brightness(1.3) saturate(1.2);
    box-shadow:
        0 -30px 60px rgba(119, 166, 150, 0.5),
        0 -60px 100px rgba(119, 166, 150, 0.3),
        0 0 40px rgba(255, 255, 255, 0.4),
        0 0 80px rgba(119, 166, 150, 0.3);
    z-index: 20;
}

/* Cone inner layer - lebih solid */
.judge-spotlight:hover {
    filter: drop-shadow(0 -80px 120px rgba(119, 166, 150, 0.4));
}

.grid:has(.judge-spotlight:hover) .judge-spotlight:not(:hover) .judge-photo {
    filter: brightness(0.3) saturate(0.4);
}