/*CSS MAIN HANGBANG*/

.content-section {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.content-section::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.content-section .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
    .main-banner-page{
        margin-top: 60px;
    }
}

/*Banner Lihat Produk Home*/
.see-product{
    height: 100vh;
}

@media (max-width: 768px) {
    .see-product{
        height: auto;
        padding: 25px 10px;
    }
}
/*END Banner Lihat Produk Home*/


/*PAGE PRODUK*/
.produk-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.produk-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.produk-img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}
.produk-img:hover {
 transform: translateY(-8px);
}

.produk-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
}

.btn-detail {
  display: inline-block;
  padding: 10px 16px;
  background-color: #03A791;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
  border-top-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.btn-detail:hover {
  background-color: #cdfcb9;
  color: rgb(59, 59, 59);
  font-weight: bold;
}
/*END PAGE PRODUK*/

/*DETAIL PRODUCT*/
.produk-detail {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
}

.produk-img-detail {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.produk-detail-title {
  font-weight: 700;
  font-size: 2rem;
  color: #333;
}

.spesifikasi-header {
  background: #03A791;
  color: white;
  padding: 10px 20px;
  border-radius: 8px 8px 0 0;
  margin-bottom: 0;
}

.spesifikasi-table {
  width: 100%;
  margin-top: 0;
  border: 1px solid #ddd;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.spesifikasi-table td {
  padding: 12px 20px;
  border-top: 1px solid #eee;
  font-size: 0.95rem;
  color: #444;
}

.spesifikasi-table tr:first-child td {
  border-top: none;
}

#produkCarousel {
  max-width: 500px;
  margin: 0 auto;
}

.carousel-inner {
  border-radius: 12px;
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
}


@media (max-width: 768px) {
  .produk-detail {
    padding: 20px;
  }

  .produk-detail-title {
    font-size: 1.5rem;
  }

  .spesifikasi-table td {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
}

/*END DETAIL PRODUCT*/

/* CONTACT US*/
.contact-card {
  background: #fff;
  border-left: 5px solid #03A791;
  border-radius: 12px;
  font-size: 1rem;
}

.contact-item {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item i {
  font-size: 1.2rem;
}
/*END CONTACT US*/

/* Footer */
.footer {
    background: #03A791;
    color: #fff;
}

.footer a.footer-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 10px;
}

.footer a.footer-link:hover {
    color: #d4fdf6;
    text-decoration: underline;
}

.footer .social-icons a {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.footer .social-icons a:hover {
    transform: scale(1.2);
    color: #d4fdf6;
}
/* END Footer */

/*====================   FONTS   ============================*/

@font-face {
    font-family: gotham;
    src: url(../Fonts/Poppins/Poppins-Bold.ttf);
    font-weight: bold;
}

@font-face {
    font-family: gotham;
    src: url(../Fonts/Poppins/Poppins-Regular.ttf);
}

* {
    font-family: gotham;
}

p {
    font-size: 16px;
}

.headerfont {
    font-size: 50px;
}

.headerfont2 {
    font-size: 35px;
}

.headerfont3 {
    font-size: 20px;
}

.text-make-blue{
    color: #19004D;
}

.about-us-text{
    text-align: justify; 
    color: #19004D;
}

.text-blue{
    color: #19004D;
}

/*=============================   STYLES   ==================================*/

#contents {
    opacity: 0;
    /*change to 1 on load*/
}

.make-bold {
    font-weight: bold;
}

.make-blue {
    background-color: #FFCC00;
    color: white;
}

.make-yellow {
    background-color: #03A791;
    color: white;
}

.font-blue {
    color: rgb(20, 50, 107);
}

/*NAVBAR*/
/*==1===*/

.navbar {
    background: #03A791;
    /*backdrop-filter: blur(8px);*/
    font-weight: bold;
    opacity: 1;
    padding: 0px;
    box-shadow: 0px 8px 12px 0;
    animation: fadeInTop 1s ease-in-out;
    position: fixed;
    width: 100%;
    transition: background 0.5s ease, opacity 0.5s ease, box-shadow 0.5s ease;
}

.navbar.transparent {
    background: transparent;
    transition: background-color 0.3s ease;
    box-shadow: none;
    opacity: 1;
}

.navbar-brand{
    margin-left: 0px;
}

.navbar #navbarDropdown {
    background-color: transparent;
    border: none;
    font-weight: 600;
    transition: color 0.3s ease;
}


.navbar .dropdown-menu {
    background-color: #03A791; 
    border: none;
    border-radius: 0px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    opacity: 1;
    transition: all 0.3s ease;
}

.navbar .dropdown-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    background-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar .dropdown-menu .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.navbar:hover {
    opacity: 1 !important;
}

.navbar img {
    width: 40px;
}

.navbar img.logo-brand {
    width: 60px;
}

#language button {
    transition: transform .5s;
}

#language button:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
.navbar.transparent:hover{
    background-color: #03A791;
    }
}

button.language{
    color: #FFF;
    font-weight: 600;
    
}

button.language:hover{
    color: #eeff00;
    font-weight: 600;
}

/*==1===*/

/*==========================   BACK TO TOP BUTTON   ======================================*/

#btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

#btn-back-to-top button {
    background-color: #096B68;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#btn-back-to-top button:hover {
    background-color: #28ff0b;
    transform: translateY(-5px);
}

/*==============   ANIMATIONS   =============*/

@keyframes fadeInTop {
    from {
        opacity: 0;
        transform: translateY(-300px);
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(300px);
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-300px);
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInBottom {
    from {
        opacity: 0;
        transform: translateY(300px);
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/*=================================================   HOME PAGE   ===============================================*/

.logo {
    width: 45vh;
    height: 40vh;
}

#main-slideshow {
    animation: fadeInTop 1s ease-in-out;
    border-radius: 0px !important;
}

#main-slideshow .carousel-inner {
    max-height: 85vh;
    max-width: 100%;
    border-radius: 0px;
}

#main-slideshow .carousel-inner .carousel-item {
    text-align: center;
}

#main-slideshow .carousel-inner .carousel-item h5 {
    position: absolute;
    color: white;
    margin-top: 500px;
}

.more button {
    background-color: white;
    color: rgb(20, 50, 107);
    border: 0;
    padding: 10px;
    transition: background-color .2s;
    margin-bottom: 15px;
    font-weight: bold;
}

.more button:hover {
    background-color: rgb(170, 170, 170);
}

/*TAMBAHAN TEXT HOMEPAGE*/
.carousel-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    padding: 60px;
  }
  
  .carousel-title {
    font-size: 50px;
    font-weight: bold;
    padding-left: 50px;
  }
  
  .carousel-description {
    padding-left: 50px;
    font-size: 25px;
  }


  .carousel-btn {
    font-size: 20px;
    padding: 5px 12px;
    text-decoration: none;
    border-radius: 40px;
    background-color: #fff;
    color: #03A791;
  }

  .carousel-btn:hover {
    background-color: #03A791;
    color: #fff;
  }
  
  @media (max-width: 768px) {
    .carousel-overlay{
        font-size: 10pt;
        top: 80px;
        width: 100%;
        padding: 10px;
    }
    .carousel-item{
        margin-top: 60px;
    }
  }




/*=========================================   MOBILE   =============================================*/

/*=======================   FONTS   ======================*/

@media only screen and (max-width: 991px) {
    p {
        font-size: 12px;
    }

    .headerfont {
        font-size: 35px;
    }

    .headerfont2 {
        font-size: 25px;
    }

    .headerfont3 {
        font-size: 15px;
    }
}

/*========================   NAVBAR   =======================*/

@media only screen and (min-width: 1200px) {
    .nav-item:hover .dropdown-menu {
        display: block;
        animation: fadeIn .2s ease-in-out;
    }

    .navbar .dropdown-menu {
        display: none;
    }
}

@media only screen and (max-width: 1199px) {
    .navbar .navbar-nav:first-child {
        border-top: 1px solid white;
    }

    .navbar .nav-item a {
        color: rgba(255, 255, 255, 1) !important;
        font-size: 14px;
    }

    .navbar .dropdown-menu {
        box-shadow: none;
        border: 1px solid white;
    }

    #language{
        display: block;
    }

    .nav.link{
        padding: 0px !important;
    }

    .carousel-title {
        padding-left: 0px;
    }
    
    .carousel-description {
        padding-left: 0px;
    }
    
    .navbar.transparent {
        background: #03A791;
        font-weight: bold;
        opacity: 1;
        box-shadow: 0px 8px 12px 0;
        animation: fadeInTop 1s ease-in-out;
        position: fixed;
        width: 100%;
        transition: background 0.5s ease, opacity 0.5s ease, box-shadow 0.5s ease;
    }
}