:root {
    --primary: #a3934d;
    --bg: #010101;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
}

body {
    font-family: 'poppins', sans-serif;
    background-color: var(--bg);
    color: #fff;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  background-color: rgba(1, 1, 1, 0.8);
  border-bottom: 1px solid #573d24;
  position: fixed;
  left: 0;
  right: 0;
  z-index: 9999;
}


.navbar .navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  font-style: italic;
}

.navbar .Logo-Sponsor {
  display:flex;
  gap:10px;
  margin-bottom:8px;
}

.navbar .Logo-Sponsor img {
  height:40px;
}

.navbar .navbar-logo span {
    color: var(--primary);
}

.navbar .navbar-nav a {
  color: white;
  display: inline-block;
  font-size: 0.9rem;
  margin: 0 1rem;
}

.navbar .navbar-nav a:hover {
  color: var(--primary);
}

.navbar .navbar-nav a::after {
  content: '';
  display: block;
  padding-bottom: o.5rem;
  border-bottom: 0.1rem solid var(--primary);
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}

.navbar .navbar-extra a {
  color: white;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--primary);
}

#hamburger-menu {
  display: none;
}

/* hero section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('../img/T2_Karaengta22.JPG');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 20%;
  bottom: 0;
  background: linear-gradient(0deg, rgba(1, 1, 3, 1) 8%, rgba(255, 255, 255, 0) 50%);
}

.hero .content {
  padding: 1.4rem 7%;
  max-width: 100rem;
}

.hero .content h1 {
  font-size: 25pt;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  line-height: 1;
}

.hero .content p {
  font-size: 20pt;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 0.0rem;
  line-height: 1.4;
  font-weight: 100;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}

.hero .content h1 span {
  color: rgb(221, 191, 134);
}

.hero .content .cta {
  margin-top: 1rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1,4rem;
  color: #fff;
  background-color: var(--primary);
  border-radius: 0.5rem;
  box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}

/* about section */
.about, 
.typePeta, 
.contact {
  padding: 7rem 7% 1.4rem;
}

.about h2, 
.typePeta h2,
.contact h2 {
  text-align: center;
  font-size: 20pt;
}

.about h2 span, 
.typePeta h2 span,
.contact h2 span {
  color: var(--primary);
}

.about .row {
  display: flex;
}

.about .row .about-img {
  flex: 1 1 45rem;
}

.about .row .about-img img {
  width: 95%;
  margin-top: 2rem;
  border: 5px solid var(--primary);
  border-radius: 15px;
  padding: 5px;
  background-color: #222;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  scrollbar-shadow-color: #fff;
}


.about .row .content {
  flex: 1 1 35rem;
  padding: 0 1rem;
  margin-top: 2rem;
}

.about .row .content h3 {
  font-size: 14pt;
  margin-bottom: 0.5rem;
}

.about .row .content h3 span {
  color: var(--primary);
}

.about .row .content p {
  margin-bottom: 0.8rem;
  font-size: 11pt;
  font-weight: 100;
  line-height: 1.6;
  text-align: justify;
}



/* about section end */

/* Type Section */
.typePeta h2
.contact h2 {
  margin-top: 1rem;
}

.typePeta p,
.contact p {
  text-align: center;
  max-width: 85rem;
  margin-left: 5rem;
  line-height: 1.6;
  margin: auto;
  font-size: 11pt;
  margin-top: 1rem;
}

.typePeta .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 2rem;
  justify-content: center;
  gap: 50px;
}

.typePeta .row .type-card {
  text-align: center;
}

.typePeta .row .type-card img {
  border-radius: 100%;
  width: 100%;
}

.typePeta .row .type-card .type-card-title {
  margin-top: 1rem;
  font-size: 12pt;
}

.typePeta .row .type-card .button {
  display: inline-block;
  padding: 5px 10px;
  margin-top: 10px;
  background-color: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 10pt;
}

.typePeta .row .type-card .button:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

/* Type Section end */

/* Contact section */

.contact-container {
    display:flex;
    gap:35px;
    align-items:stretch;
    margin-top:10px;
    text-align: center;
}

.contact-info {

    flex:1;
    background:#1b1b1b;
    color:#fff;

    border-radius:15px;
    padding:35px;
}

.contact .contact-container .contact-info .item {
  font-size: 12pt;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact .contact-container .contact-info .item h4 {
  color: white;
  font-size: 13pt;
}

.contact .contact-container .contact-info .item a {
  color: var(--primary);
  font-style: italic;
}

.map {
    flex:1.5;
}

.map iframe{
    width:100%;
    height:100%;
    min-height:200px;
    border:none;
    border-radius:15px;
}
/* Contact section end */

/* footer */
footer {
  background-color: var(--primary);
  text-align: center;
  padding: 1rem 0;
  margin-top: 3rem;
}

footer .socials {
  padding: 1rem 0;
}

footer .socials a {
  color: #fff;
  margin: 1rem;
}

footer .socials a:hover,
footer .links a:hover {
  color: var(--bg);
}

footer .links {
  margin-bottom: 1.4rem;
}

footer .links a {
  color: #fff;
  padding: 0.7rem 1rem;
}

footer .credit {
  font-size: 0.8rem;
}

footer .credit a {
  color: var(--bg);
}

footer .credit a:hover {
  color: red;
}
/* footer end */

/* media queries */

/* laptop */
@media (max-width: 1366px) {
  html {
    font-size: 85%;
  }
}

/* tablet */
@media (max-width: 768px) {
  html {
    font-size: 62.5%;
  }

  #hamburger-menu {
    display: inline-block;
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: white;
    width: 30rem;
    height: 100vh;
    transition: 0.5s;
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    color: var(--bg);
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }
  
  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }

  .navbar .navbar-nav a:hover::after {
  transform: scaleX(0.2);
  }

  .about .row {
    flex-wrap: wrap;
  }

  .about .row .about-img img {
    height: 24rem;
    object-fit: cover;
    object-position: center;
  }

  .about .row .content {
    padding: 0;
  }

  .about .row .content h3 {
    margin-top: 1rem;
    font-size: 2rem;

  }
}

/* mobile phone */
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
}

/* Galeri */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.94);
    align-items: center;
    justify-content: center;
}

/* FOTO */
.gallery-content {
    width: 80%;
    max-width: 1100px;
    text-align: center;
    position: relative;
}

.gallery-content img {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.7);
}

/* KETERANGAN FOTO */
#galleryCaption {
    color: white;
    font-size: 18px;
    margin-top: 15px;
    font-weight: 500;
}

/* NOMOR FOTO */
#galleryCounter {
    color: #d4af37;
    font-size: 14px;
    margin-top: 8px;
}

/* TOMBOL CLOSE */
.gallery-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100000;
    transition: 0.3s;
}

.gallery-close:hover {
    color: #d4af37;
    transform: scale(1.1);
}

/* TOMBOL SEBELUMNYA DAN BERIKUTNYA */
.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 100000;
    transition: 0.3s;
}

.gallery-prev {
    left: 30px;
}

.gallery-next {
    right: 30px;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: #b89b4a;
    transform: translateY(-50%) scale(1.1);
}

/* Hp */
@media (max-width: 768px) {

    .gallery-content {
        width: 90%;
    }

    .gallery-content img {
        max-height: 65vh;
    }

    .gallery-prev,
    .gallery-next {

        width: 45px;
        height: 45px;

        font-size: 22px;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }

    .gallery-close {
        top: 10px;
        right: 20px;

        font-size: 35px;
    }

}
