/* Landing Page Stylesheet */
@import "./color.css";

body {
  background: var(--bg);
  color: var(--text);
}

/* ================= NAVBAR ================= */
.navbar {
  background: var(--navbar-bg);
  border-bottom: 1px solid var(--navbar-border);
  min-height: 60px;
}

.navbar .nav-link,
.navbar-brand {
  color: var(--surface) !important;
}

.navbar .nav-link:hover {
  color: var(--accent) !important;
}


.navbar .nav-link,
.navbar-brand {
  color: var(--surface) !important;
}

.navbar .nav-link:hover,
.navbar .dropdown-item:hover {
  color: var(--surface) !important;
  background: var(--primary-600);
}

.dropdown-menu {
  border: 0;
  box-shadow: var(--shadow-md)
}

/* Hero / Carousel */
.carousel-caption {
  backdrop-filter: blur(6px);
  background: var(--carousel-bg);
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.section-title {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.card {
  border: 1px solid var(--ring);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-header {
  background: var(--primary-50);
  border-bottom: 1px solid var(--ring);
}

.badge-accent {
  background: var(--accent-50);
  color: var(--badge-accent-text);
  border: 1px solid var(--badge-accent-border);
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
}

.link-accent {
  color: var(--primary);
}

.link-accent-title,
.link-accent-title:focus,
.link-accent-title:active {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.link-accent-title:hover {
  color: var(--footer);
  /* atau warna lain */
}

.link-accent:hover {
  color: var(--primary-600);
}

/* Pagination */
.pagination .page-link {
  color: var(--primary);
}

.pagination .page-link:hover {
  background: var(--primary-50);
}

.pagination .active .page-link {
  color: var(--bg);
  background: var(--primary);
  border-color: var(--primary);
}

/* Footer */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
}

footer a {
  color: var(--footer-text);
}

footer a:hover {
  color: var(--accent);
}


.navbar {
  min-height: 60px;
}

.navbar-logo {
 
  height: 40px;
  width: 40px;
  object-fit: contain;
  background: #ffffff;
  padding: 2px;
  border-radius: 8px;

}

.elegant-img {
  transition: transform 6s ease, opacity 2s ease;
}

.carousel-item.active .elegant-img {
  transform: scale(1.1);
  /* zoom in lembut */
  opacity: 1;
}

.carousel-item-next .elegant-img,
.carousel-item-prev .elegant-img {
  transform: scale(1);
  opacity: 0.8;
}

.elegant-img {
  height: 70vh;
  object-fit: cover;
}

/* Detail Produk Specific Styles */
.product-main-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 0.75rem;
}

.thumb-img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 0.5rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.2s;
}

.thumb-img:hover,
.thumb-img.active {
  border-color: var(--primary);
}

.price-text {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.badge-stock {
  background: var(--primary-50);
  color: var(--primary);
  border: 1px solid var(--ring);
  font-weight: 600;
}

.btn-order {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--btn-text-light);
}

.btn-order:hover {
  background: var(--primary-600);
  color: var(--btn-text-light);
}


.sidebar-card-img {
  height: 60px;
  width: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.navbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none; /* hilangkan kesan berat */
}


.navbar-brand img {
  background: #ffffff;
  padding: 2px;              /* jangan terlalu tipis */
  border-radius: 8px;        /* lebih kecil = lebih elegan */
}

.navbar .nav-link {
  position: relative;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.navbar .nav-link:hover::after {
  width: 100%;
}

.navbar .dropdown-toggle::after {
  display: none !important;
}

.navbar .dropdown-toggle:hover {
  color: var(--accent) !important;
}


.card {
  border-radius: 10px;
}

.card {
  box-shadow: var(--shadow-sm);
}

/* HERO */
.kompetensi-hero {
    background: var(--surface);
}

/* KONTEN RICH TEXT */
.kompetensi-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

.kompetensi-content iframe {
    width: 100%;
    min-height: 400px;
    border-radius: 12px;
    margin: 20px 0;
}

.kompetensi-content p {
    line-height: 1.8;
}

.kompetensi-content h2,
.kompetensi-content h3 {
    margin-top: 30px;
}

.kompetensi-section {
    background: var(--surface);
}

.kompetensi-card {
    transition: all 0.3s ease;
    border-radius: 14px;
}

.kompetensi-card:hover {
    transform: translateY(-6px);
}

.kompetensi-logo {
    height: 80px;
    object-fit: contain;
}

.achievement-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.achievement-content h2,
.achievement-content h3,
.achievement-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.achievement-content ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.achievement-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1rem 0;
}

.ppdb-hero {
  background: linear-gradient(
    135deg,
    var(--ppdb-gradient-start),
    var(--ppdb-gradient-end)
  );
  position: relative;
  overflow: hidden;
}

.ppdb-hero .overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
}

.ppdb-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.ppdb-content h1,
.ppdb-content h2,
.ppdb-content h3 {
    margin-top: 1.5rem;
    font-weight: 600;
}

.ppdb-content ul {
    padding-left: 1.2rem;
}
.ppdb-content img {
    max-width: 100%;
}

.video-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* rasio 16:9 */
  height: 0;
  overflow: hidden;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}
@media (max-width: 991.98px) {
  .navbar-logo {
    height: 32px;
    width: 32px;
  }

  .navbar-brand span {
    font-size: 1rem;
  }

  .navbar-nav .nav-link {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .elegant-img {
    height: 40vh;
    /* tablet */
  }


}

@media (max-width: 575.98px) {
  .navbar {
    min-height: 48px;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }

  .navbar-logo {
    height: 28px;
    width: 28px;
  }

  .elegant-img {
    height: 30vh;
    /* smartphone */
  }
}

/* Dropdown menu sesuai tema */
.dropdown-menu {
  background: var(--primary-50);
  color: var(--text);
  border: 1px solid var(--primary-600);
}

.dropdown-menu .dropdown-item {
  color: var(--primary);
  transition: background 0.2s, color 0.2s;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background: var(--accent-50);
  color: var(--accent);
}

.footer-social a {
    text-decoration: none !important;
    border: none !important;
    margin-right: 12px;
    display: inline-flex;
    align-items: center;
}

.footer-social i {
    font-size: 1.2rem;
}
