/* ===== Tambahkan di paling atas frontend.css ===== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

* {
  font-family: 'Roboto', sans-serif !important;
}

.header-top {
  background-color: #f9f9f9;
  border-bottom: 1px solid #ccc;
}

.custom-red {
  background-color: #000000;
}

.navbar-dark .navbar-nav .nav-link {
  color: #ffffff;
  padding: 0.8rem 1.2rem;
}

.hero img {
  border-radius: 8px;
  margin-top: 20px;
  max-height: 400px;
  object-fit: cover;
}

.product-card img {
  height: 200px;
  object-fit: contain;
  background: #f8f8f8;
}

.footer {
  font-size: 0.9rem;
}
.btn:hover {
    transform: scale(1.05);
    transition: 0.2s ease-in-out;
}
@media (min-width: 768px) {
    .sidebar-sticky {
        position: sticky;
        top: 80px;
    }
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex: 1;
}

/* Custom Caption Style */
.custom-caption {
  bottom: 10%; /* Geser sedikit ke atas */
  left: 5%;
  right: auto;
  max-width: 400px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Hitam semi-transparan */
  backdrop-filter: blur(6px); /* Efek blur */
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* Judul dan paragraf */
.custom-caption h2 {
  font-size: 1.75rem;
  font-weight: bold;
  color: #fff;
}

.custom-caption p {
  font-size: 1rem;
  color: #eee;
}

/* Tombol */
.custom-caption a.btn {
  margin-top: 10px;
  font-size: 0.875rem;
}
.card {
  border-radius: 12px;
}
.card-img-top {
  height: 160px;
  object-fit: contain;
  padding: 10px;
}
.badge {
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 20px;
}

h6.text-muted.fw-bold.small {
  font-family: 'Roboto', sans-serif;
  color: #666;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.brand-pill {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #ccc;
  border-radius: 25px;
  font-size: 14px;
  text-decoration: none;
  color: #333;
  background-color: #fff;
  transition: all 0.2s ease-in-out;
  text-align: center;
}

.brand-pill:hover {
  border-color: #333;
  background-color: #f5f5f5;
  color: #000;
}

.brand-pill-dark {
  background-color: #212529;
  color: #fff;
  border: none;
}

.brand-pill-dark:hover {
  background-color: #000;
}
 /* new */
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(to bottom right, #ffffff, #b1afaf);
}
  .slider-container {
  background: white;
  border-radius: 25px;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

    .slider-image {
      width: 100%;
      height: auto;
      display: block;
    }

    .slider-content {
      padding: 25px 30px;
    }

    .tabs {
      display: flex;
      justify-content: space-around;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }

    .tab {
      padding: 10px 18px;
      border-radius: 20px;
      border: none;
      background-color: #eee;
      font-size: 14px;
      cursor: pointer;
      transition: background 0.3s;
    }

    .tab.active {
      background-color: #00b09b;
      color: white;
      font-weight: bold;
    }

    .title {
      font-size: 20px;
      color: #00715c;
      margin-bottom: 10px;
      font-weight: bold;
    }

    .description {
      color: #333;
      font-size: 15px;
      line-height: 1.5;
    }

    @media (max-width: 600px) {
      .slider-content {
        padding: 15px;
      }
      .tabs {
        flex-direction: column;
        align-items: center;
        gap: 10px;
      }
      .slider-wrapper {
  width: 100vw;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
.slider-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}
    }
/* arrtikel 3 baris */
    /* Container pembungkus artikel */
.articles-wrapper {
  display: flex;
  justify-content: center; /* tengah horizontal */
  gap: 30px; /* jarak antar artikel */
  padding: 40px 0;
  flex-wrap: wrap; /* agar responsif */
}

/* Styling untuk tiap artikel */
.article-card {
  width: 300px;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  background: #fff;
}

.article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.article-content {
  background: #5db2b2;
  color: #fff;
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
}

.date {
  font-size: 14px;
  opacity: 0.6;
  margin-bottom: 10px;
  font-weight: 600;
}

h3 {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

.read-article {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: #000000;
  text-decoration: none;
  align-self: flex-start;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
  cursor: pointer;
}

.read-article:hover {
  border-color: #00ffae;
}

/* Responsif */
@media (max-width: 900px) {
  .article-card {
    width: 45%; /* 2 kolom */
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .article-card {
    width: 100%; /* 1 kolom */
    margin-bottom: 20px;
  }
}
/*hubbungi kami*/
.contact-section {
  background: #fbfbfb;
  padding: 30px;
  font-family: 'Roboto', sans-serif;
}

.container-contact {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.form-side {
  flex: 1;
    margin: 30px;

  min-width: 320px;
  max-width: 600px;
}

.form-side h4 {
  font-size: 14px;
  font-weight: bold;
  color: #000000;
  margin-top: 20px;
  margin-bottom: 5px;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.phone-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-group span {
  background: #e7e7e7;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.select-row {
  display: flex;
  gap: 10px;
}

.btn-kirim {
  margin-top: 20px;
  background-color: #33a88e;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

.image-side {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.image-side img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/*lokasi*/
.lokasi-section {
  background: linear-gradient(to right, #ffffff, #ffffff);
  border-radius: 16px;
}

.lokasi-tabs .tab {
  background-color: #e4f0e2;
  border: none;
  margin: 4px;
  padding: 10px 20px;
  border-radius: 20px;
  color: #0f5747;
  font-weight: 600;
  transition: 0.3s ease;
}

.lokasi-tabs .tab:hover,
.lokasi-tabs .tab.active {
  background-color: #b9e4cb;
}

.lokasi-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  transition: 0.3s ease;
}

.lokasi-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.07);
}
.lokasi-section {
  background-color: #f8f9fa;
  padding: 40px 0;
}


/* hub form  */
  .contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 30px;
  border-radius: 20px;
  background: linear-gradient(to bottom, #fff, #fff);
  font-family: sans-serif;
}

.form-side {
  flex: 1 1 50%;
  min-width: 320px;
}

.image-side {
  flex: 1 1 50%;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-side img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

/* Responsive: Stack vertically on smaller screens */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .image-side, .form-side {
    flex: 1 1 100%;
  }
}

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

.custom-red {

    background:#000 !important;

}


.navbar {

    padding:0;

}


.navbar-nav {

    gap:10px;

}


.navbar-dark .navbar-nav .nav-link {

    color:#fff;

    font-size:15px;

    font-weight:500;

    padding:15px 25px;

    position:relative;

    transition:.3s;

}


/* Hover */

.navbar-dark .navbar-nav .nav-link:hover {

    color:#ddd;

}


/* garis bawah animasi */

.navbar-dark .navbar-nav .nav-link::after {

    content:"";

    position:absolute;

    left:50%;

    bottom:8px;

    width:0;

    height:2px;

    background:#fff;

    transition:.3s;

    transform:translateX(-50%);

}


.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {

    width:60%;

}


/* Mobile */

@media(max-width:991px){

.navbar-nav{

    text-align:center;

}

.navbar-dark .navbar-nav .nav-link{

    padding:12px;

}

}


/* ================= HEADER ================= */


.header-top {

    background:#fff;

    border-bottom:1px solid #ddd;

}


.logo img {

    object-fit:contain;

}



.search-box {

    display:flex;

    width:380px;

}


.search-input {

    width:100%;

    padding:10px 18px;

    border:1px solid #ccc;

    border-radius:25px 0 0 25px;

    outline:none;

    font-size:14px;

}



.search-btn {


    border:none;

    background:#000;

    color:white;

    padding:0 25px;

    border-radius:0 25px 25px 0;

    font-weight:500;


}



.search-btn:hover {

    background:#333;

}



.header-contact {


    font-size:14px;

    text-align:right;

    color:#333;


}



.header-contact strong {

    font-size:13px;

}



.header-contact span {

    font-weight:700;

}

/* ================= FOOTER ================= */


.footer {

    background:#111;

    color:#ddd;

    padding:50px 0 20px;

}



.footer-logo {

    width:150px;

    margin-bottom:20px;

}



.footer-desc {

    font-size:14px;

    line-height:1.7;

    color:#aaa;

}



.footer h5 {

    color:#fff;

    font-size:18px;

    font-weight:700;

    margin-bottom:20px;

}



.footer-menu {

    list-style:none;

    padding:0;

}



.footer-menu li {

    margin-bottom:10px;

}



.footer-menu a {

    color:#aaa;

    text-decoration:none;

    transition:.3s;

}



.footer-menu a:hover {

    color:white;

    padding-left:5px;

}



.footer p {

    font-size:14px;

    color:#aaa;

}



.footer hr {

    border-color:#444;

    margin-top:35px;

}



.footer-bottom {

    text-align:center;

    font-size:13px;

    color:#777;

}

.news-card{

background:white;
border-radius:20px;
overflow:hidden;
height:100%;
box-shadow:0 8px 25px rgba(0,0,0,.08);
transition:.3s;

}


.news-card:hover{

transform:translateY(-8px);
box-shadow:0 15px 35px rgba(0,0,0,.15);

}



.news-image{

height:220px;
overflow:hidden;

}


.news-image img{

width:100%;
height:100%;
object-fit:cover;
transition:.4s;

}



.news-card:hover img{

transform:scale(1.08);

}



.news-body{

padding:20px;

}



.news-category{

background:#000;
color:white;
font-size:12px;
padding:5px 15px;
border-radius:20px;

}



.news-body h5{

margin-top:15px;
font-weight:700;
line-height:1.4;

}



.news-body p{

font-size:14px;
color:#777;

}



.news-footer{

display:flex;
justify-content:space-between;
align-items:center;
margin-top:20px;
font-size:13px;

}



.news-footer a{

color:#000;
font-weight:600;
text-decoration:none;

}



.news-footer a:hover{

text-decoration:underline;

}

.contact-header{

display:flex;
background:white;
border-radius:30px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.08);

}


.contact-image{

width:45%;

}


.contact-image img{

width:100%;
height:350px;
object-fit:cover;

}



.contact-info{

padding:40px;
}


.contact-info h1{

font-weight:700;

}



.contact-phone{

font-size:28px;
font-weight:bold;
color:#008577;

}


.contact-phone span{

font-size:12px;
background:#eee;
padding:5px 12px;
border-radius:20px;

}


.contact-email{

font-size:20px;
margin-top:15px;

}



.social-contact{

display:flex;
gap:18px;

}


.social-contact a{

font-size:25px;
color:#111;

}




.contact-wrapper{

background:white;
border-radius:25px;
padding:40px;
box-shadow:0 10px 30px rgba(0,0,0,.08);

}


.contact-wrapper label{

font-size:13px;
font-weight:bold;
display:block;
margin-top:15px;

}



.contact-side-image{

border-radius:25px;

}



@media(max-width:768px){

.contact-header{

flex-direction:column;

}


.contact-image{

width:100%;

}


}


.admin-login{

font-size:12px;
color:#777;
text-decoration:none;
opacity:.5;

}


.admin-login:hover{

color:white;
opacity:1;

}

