body {
    background-color: #f8f9fa;
    font-family: 'Poppins', sans-serif;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    backdrop-filter: blur(2px);
    background: rgba(0, 0, 0, 0.022);
    
    z-index: -1;
}

html {
    scroll-behavior: smooth;
}



/* Navbar */
.navbar-brand {
    font-weight: bold;
}

.navbar-custom {
    background: linear-gradient(to right, #046c3c, #00de34);
}

.logo-navbar {
  width: 50px;
}

@media (max-width: 768px) {
  .logo-navbar {
    width: 35px;
  }

  .navbar-brand {
    font-size: 14px;
  }
}

.carousel-caption {
    background: rgba(0,0,0,0.5);
    padding: 15px;
    border-radius: 10px;
}

.carousel-shadow {
    position: relative;
    overflow: visible;
    z-index: 1;
}

.carousel-shadow::after {
    content: "";
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%;
    height: 700px;

    background: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255, 255, 255, 0));
    
    pointer-events: none;
}

img {
    transition: 0.3s;
}

.img-tentang {
    width: 75%;
    max-width: 400px;
    display: block;
    margin: auto;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0);
    transition: 0.3s;
}

.img-tentang:hover {
    transform: scale(1.05);
}

.judul-section {
    position: relative;
    z-index: 2;
}

.core-box {
    padding: 20px;
    border-radius: 15px;
    background: #f8f9fa;
    transition: 0.3s;
}

.core-box:hover {
    transform: translateY(-5px);
    background: #e9ecef;
}

.core-box .icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.core-box p {
    font-size: 14px;
    color: #6c757d;
    margin-top: 10px;
}

.produk-img {
    width: 100%;
    height: 200px;       
    object-fit: cover; 
    border-radius: 10px;
}

.galeri-img {
    height: 300px;
    object-fit: cover;
    transition: 0.3s;
}


h4 {
    margin-bottom: 15px;
}

p {
    line-height: 1.7;
}

.tentang-img {
    width: 80%;
    max-width: 550px;
    display: block;
    margin: auto;
    transition: 0.3s;
}

.tentang-img:hover {
    transform: scale(1.05);
}

.divider {
    width: 520px;
    margin: 40px auto;
    border: 3px solid #000;
    border-radius: 10px;
}

iframe {
    border-radius: 10px;
}

form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}


/* judul produk */
.card-title {
    font-weight: 600;
}

/* Card */
.card {
    transition: 0.3s;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.card h4 {
    margin-bottom: 15px;
}

.card:hover {
    transform: scale(1.05);
    transform: translateY(-5px);
}

/* Section */
.section-title {
    font-weight: bold;
    margin-bottom: 20px;
}

.text-section {
    color: #ffffff;
    line-height: 1.8;
    height: auto;
    max-height: none;
    overflow: visible;
    white-space: normal;
}

.form-control {
    border-radius: 10px;
}

.footer {
    background: #212529;
    color: white;
    padding: 20px;
    text-align: center;
}

/* CSS ADMIN */

.sidebar {
    transition: 0.3s;
}

.sidebar .nav-link:hover {
    background: #495057;
    border-radius: 5px;
}

.main-content {
    position: relative;
    z-index: 2;
}

.content {
    background: #f8f9fa;
    min-height: 100vh;
}

.content h4 {
    margin: 0;
}

.btn-danger {
    border-radius: 20px;
}

/* Warna Text */

.text-putih {
    color: white !important;
}

.text-hitam {
    color: black !important;
}

.main-content {
    flex: 1;
}   

.map-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* rasio 16:9 */
  height: 0;
  overflow: hidden;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}