/*---------------------------------------
  IMPORT FONTS (Tambahan untuk memuat font)
-----------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Sono:wght@400;600;700&display=swap');

/*---------------------------------------
  CUSTOM PROPERTIES (VARIABLES)             
-----------------------------------------*/
:root {
  --white-color:                  #ffffff;
  --primary-color:                #d10606;
  --secondary-color:              #ff960d;
  --section-bg-color:             #fd2e1ca9;
  --custom-btn-bg-color:          #c32222;
  --custom-btn-bg-hover-color:    #ff960d;
  --dark-color:                   #000000;
  --p-color:                      #757171;
  --border-color:                 #ff960d;
  --link-hover-color:             #c32222;

  --body-font-family:             'Montserrat', sans-serif;
  --title-font-family:            'Sono', sans-serif;

  --h1-font-size:                 58px;
  --h2-font-size:                 46px;
  --h3-font-size:                 32px;
  --h4-font-size:                 28px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  16px;
  --menu-font-size:               14px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-light:            300;
  --font-weight-normal:           400;
  --font-weight-medium:           500;
  --font-weight-semibold:         600;
  --font-weight-bold:             700;
}

/*---------------------------------------
  GLOBAL STYLES
-----------------------------------------*/
* {
  box-sizing: border-box; /* Tambahan untuk konsistensi layout */
}

body {
  background-color: var(--white-color);
  font-family: var(--body-font-family);
  margin: 0; /* Pastikan tidak ada margin default */
}

/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/
h2, h3, h4, h5, h6 {
  color: var(--dark-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--title-font-family);
  font-weight: var(--font-weight-semibold);
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--h2-font-size);
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  margin: 0 0 1rem 0; /* Tambahan margin default */
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

a, button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b, strong {
  font-weight: var(--font-weight-bold);
}

::selection {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-title-wrap {
  position: relative;
}

.section-title-wrap::after {
  content: "";
  background: var(--section-bg-color);
  width: 100%;
  height: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.section-title {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-large);
  display: inline-block;
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  padding: 10px 25px;
}

.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

main {
  position: relative;
  z-index: 1;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.section-overlay {
  background-color: var(--primary-color);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.section-overlay + .container {
  position: relative;
}

/*---------------------------------------
  CUSTOM ICON COLOR               
-----------------------------------------*/
.custom-icon {
  color: var(--primary-color);
}

/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-family: var(--title-font-family);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-semibold);
  line-height: normal;
  transition: all 0.3s;
  padding: 10px 20px;
  cursor: pointer; /* Tambahan untuk interaktivitas */
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--custom-btn-bg-color);
}

.custom-border-btn:hover {
  background: var(--custom-btn-bg-color);
  border-color: transparent;
  color: var(--primary-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}

/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
  background-image: url('../images/bg2.jpg'), linear-gradient(#d10606, #FFFFFF);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 400px;
  position: relative;
}

.site-header h2 {
  color: var(--white-color);
}

/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1050;
  padding-top: 15px;
  padding-bottom: 15px;
  transition: background-color 0.3s ease;
}

.navbar .navbar-brand,
.navbar .navbar-brand:hover {
  color: var(--white-color);
}

.navbar .logo-image {
  width: 150px;
}

.logo-image {
  width: 120px;
  height: auto;
}

.navbar-brand,
.navbar-brand:hover {
  font-size: var(--h3-font-size);
  font-weight: var(--font-weight-bold);
  display: inline-block;
}

.navbar-brand span {
  font-family: var(--title-font-family);
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--section-bg-color);
  font-family: var(--title-font-family);
  font-size: var(--h6-font-size);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 18px;
  padding-left: 18px;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--secondary-color);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
}

.navbar .dropdown-menu {
  background: var(--secondary-color);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
  border: 0;
  display: inherit;
  opacity: 0;
  min-width: 9rem;
  margin-top: 20px;
  padding: 13px 0 10px 0;
  transition: all 0.3s;
  pointer-events: none;
}

.navbar .dropdown-menu::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid var(--white-color);
  position: absolute;
  top: -10px;
  left: 10px;
}

.navbar .dropdown-item {
  display: inline-block;
  color: var(--p-color); /* Diperbaiki dari --p-bg-color yang tidak ada */
  font-family: var(--title-font-family);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus,
.navbar .dropdown-item:hover {
  background: transparent;
  color: var(--secondary-color);
}

.navbar .dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--menu-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
  }
}

.navbar .custom-border-btn {
  border-color: var(--white-color);
  color: var(--secondary-color);
}

.navbar .custom-border-btn:hover {
  background: var(--secondary-color);
  color: #333;
}

/* Tombol toggle */
.navbar-toggler {
  color: #fcb42f;
  border: 2px solid #fcb42f;
  border-radius: 8px;
  padding: 6px 8px;
  cursor: pointer;
  margin: 0;
  width: 40px;
  height: 40px;
  outline: none;
  z-index: 1001;
  transition: all 0.3s ease;
  background-color: transparent;
}

.navbar-toggler:hover {
  background-color: #fcb42f;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 8px rgba(252, 180, 47, 0.5);
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

/* GARIS UTAMA */
.navbar-toggler .navbar-toggler-icon {
  position: relative;
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
  margin: 0 auto;
}

/* GARIS ATAS & BAWAH */
.navbar-toggler .navbar-toggler-icon::before,
.navbar-toggler .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}

/* ANIMASI MENJADI "X" SAAT DIBUKA */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/*---------------------------------------
  CAROUSEL (OWL CAROUSEL)        
-----------------------------------------*/
.hero-section {
  background-image: url('../images/bg2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

/* Base Carousel Container */
.owl-carousel {
  width: 100%;
  position: relative;
  text-align: center;
  margin: 0 auto;
}
.hero-section .owl-carousel .owl-dots {
  background: none !important;
  box-shadow: none !important;
  padding: 20px !important;
  margin-top: 50px; /* opsional, bisa disesuaikan */
}

/* Tombol navigasi khusus hero-section */
/* Tombol manual carousel */
.hero-section .hero-prev,
.hero-section .hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-section .hero-prev:hover,
.hero-section .hero-next:hover {
  background: #fcb42f;
  transform: translateY(-50%) scale(1.1);
}

.hero-section .hero-prev {
  left: 20px;
}

.hero-section .hero-next {
  right: 20px;
}

/* Owl Item Wrapper */
.owl-carousel .owl-item {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.4;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.owl-carousel .owl-item.active {
  opacity: 0.6;
}

.owl-carousel .owl-item.active.center {
  opacity: 1;
}

/* Carousel Item */
.owl-carousel .item {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-radius: 16px;
  transform: scale(0.8);
  opacity: 0.6;
  transition: all 0.4s ease-in-out;
}

/* Center Item - Main Focus */
.owl-carousel .owl-item.center .item {
  transform: scale(1.15);
  opacity: 1;
  z-index: 5;
  box-shadow: 0 14px 40px #fcb42f;
}

/* Hover Effect */
.owl-item .item:hover {
  transform: scale(1.1);
  z-index: 5;
}

/* Image Styles */
.owl-carousel-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
  transition: all 0.3s ease;
}

/* Blur effect for non-center items */
.owl-carousel .owl-item:not(.center) .item img {
  filter: blur(1px) brightness(0.8);
}

/* Center image enhancement */
.owl-carousel .owl-item.center .owl-carousel-image {
  filter: none;
  height: 400px;
  transform: none;
}

/* Info Wrapper & Badge */
.owl-carousel-info-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: transparent;
  transition: all 0.3s ease;
}

.owl-carousel-info {
  background-color: var(--section-bg-color);
  box-shadow: 0 1rem 3rem #fcb42f;
  position: absolute;
  bottom: 20px; 
  right: 0;
  left: 0;
  padding: 10px;
  border-radius: 0 0 12px 12px;
  text-align: center;
}

.owl-carousel-info h4 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  transition: font-size 0.3s ease;
}

.owl-item.center .owl-carousel-info h4 {
  font-size: 1.5rem
}

.owl-carousel .owl-item.center .owl-carousel-info-wrap {
  z-index: 5;
  transition: all 0.4s ease-in-out;
  box-shadow: 0 14px 40px #fcb42f;
   border-radius: 28px;
  box-shadow: 0 16px 50px rgba(252, 180, 47, 0.7);
  transform: scale(1.0);
}

.owl-carousel-info-wrap {
  transition: all 0.4s ease-in-out;
  transform-origin: center center;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
}


/* ===========================
   BADGE
   =========================== */
.badge {
  background-color: var(--custom-btn-bg-color);
  font-family: var(--title-font-family);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  padding: 6px 14px;
  display: inline-block;
}

.owl-carousel-info .badge {
  background: #d10606;
  color: #fff;
  border-radius: 12px;
  font-size: 0.9rem;
  padding: 5px 10px;
}
/* ===========================
   CAROUSEL INFO (Gabung dari duplikasi)
   =========================== */
.owl-carousel-info {
  background-color: var(--section-bg-color);
  box-shadow: 0 1rem 3rem #fcb42f;
  position: absolute;
  bottom: 20px;
  right: 0;
  left: 0;
  padding: 10px;
  border-radius: 0 0 12px 12px;
}

/* ===========================
   SOCIAL ICONS
   =========================== */
.owl-carousel-info-wrap .social-share {
  position: absolute;
  right: 15px;
  bottom: 15px;
  z-index: 5;
}

.owl-carousel-info-wrap .social-icon {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.owl-carousel .owl-item.active.center .owl-carousel-info-wrap:hover .social-icon {
  opacity: 1;
  transform: translateY(-10px);
}

.owl-carousel-info-wrap .social-icon-item {
  display: block;
  margin: 0;
}

.owl-carousel-info-wrap .social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fcb42f;
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
  margin-left: auto;
  cursor: pointer; /* Tambahan untuk interaktivitas */
}

.owl-carousel-info-wrap .social-icon-link:hover {
  background: var(--custom-btn-bg-color);
  transform: scale(1.1);
}


  .owl-carousel .owl-dot span {
  width: 12px;
  height: 12px;
  background: #fcb42f;
  border-radius: 50%;
  transition: all 0.3s ease;
}

  .owl-carousel .owl-dot.active span {
    background: #d10606;
    transform: scale(1.2);
  }
    

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

   @media (max-width: 768px) {
  .owl-carousel-info-wrap.item {
    height: 320px;
  }
}

@media (max-width: 480px) {
  .owl-carousel-info-wrap.item {
    height: 250px;
  }
}

/* Tablet */
@media (max-width: 991px) {
  .owl-carousel .item {
    height: 350px;
  }

  .owl-carousel-info h4 {
    font-size: 1.2rem;
  }

  .owl-item.center .owl-carousel-info h4 {
    font-size: 1.4rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .owl-carousel .item {
    height: 280px;
  }

  .owl-carousel .owl-item.center .item {
    transform: scale(1.08);
  }

  .owl-carousel-info {
    padding: 20px 12px 12px;
  }

  .owl-carousel-info h4 {
    font-size: 1rem;
  }

  .owl-item.center .owl-carousel-info h4 {
    font-size: 1.2rem;
  }

  .badge {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  .owl-carousel-info-wrap .social-icon-link {
    width: 35px;
    height: 35px;
  }

  .owl-carousel .owl-dots {
   position: relative;
   margin-top: 30px; /* Tambah jarak dari item */
    bottom: 0;
   text-align: center;
    padding-bottom: 20px; 
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .owl-carousel .item {
    height: 240px;
  }

  .owl-carousel .owl-item.center .item {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  }

  .owl-carousel-info h4 {
    font-size: 0.9rem;
  }

  .owl-item.center .owl-carousel-info h4 {
    font-size: 1.1rem;
  }
}

/* Landscape Mode */
@media (max-height: 600px) and (orientation: landscape) {
  .owl-carousel .item {
    height: 220px;
  }

  .owl-carousel-info h4 {
    font-size: 0.95rem;
  }
}

/* ===========================
   HOVER EFFECT
   =========================== */
.owl-carousel-info-wrap.item:hover .owl-carousel-image {
  transform: scale(1.05);
}


/*---------------------------------------
  CUSTOM BLOCK  buat produk      
-----------------------------------------*/
.custom-block.custom-block-overlay {
  padding: 50px; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  min-height: 380px; 
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 2px solid #d10606;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 0;
}

.custom-block-overlay-info h5,
.custom-block-overlay-info .h5 {
  min-height: 48px;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
}

.products-wrapper .row {
  align-items: stretch;
}

/* Responsif: jika layar kecil, kurangi min-height dan tinggi gambar */
@media (max-width: 767.98px) {
  .custom-block.custom-block-overlay {
    padding: 15px;
    min-height: auto;
  }
  .custom-block-overlay .custom-block-image {
    height: 160px;
  }
}


.custom-block {
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 50px;
  transition: all 0.3s ease;
}

.custom-block:hover {
  background: var(--white-color);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  border-color: #d10606;;
  transform: translateY(-5px);
}

.custom-block-info {
  display: block;
  padding: 10px 20px;
  padding-bottom: 0;
}

.custom-block-image-wrap {
  position: relative;
  display: block;
  height: 100%;
}

.custom-block-image-wrap > a {
  display: block;
}

.custom-block-image {
  border-radius: var(--border-radius-medium);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-block-image-detail-page .custom-block-image {
  width: 100%;
  height: 212px;
}

.custom-block .custom-block-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.custom-block-icon-wrap {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.custom-block-icon-wrap .section-overlay {
  opacity: 0.20;
}

.custom-block-btn-group {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 20px;
}

.custom-block-btn-group .custom-block-icon {
  position: relative;
  top: 0;
  left: 0;
  transform: none;
}

.custom-block-icon {
  background: var(--primary-color);
  border-radius: var(--border-radius-medium);
  font-size: var(--p-font-size);
  color: var(--white-color);
  text-align: center;
  width: 32.5px;
  height: 32.5px;
  line-height: 32.5px;
  transition: all 0.3s;
}

.custom-block-icon:hover {
  background: var(--secondary-color);
  color: var(--white-color);
}

.custom-block .custom-btn {
  font-size: var(--menu-font-size);
  padding: 7px 15px;
}

.custom-block .custom-block-info + div .badge {
  background-color: var(--dark-color);
  color: var(--white-color);
  border-radius: 50px !important;
  font-size: var(--menu-font-size);
  display: flex;
  justify-content: center;
  text-align: center;
  width: 40px;
  height: 40px;
  line-height: 30px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.custom-block .custom-block-info + div .badge:hover {
  background-color: var(--secondary-color);
}
/* ===========================
   CUSTOM BLOCK FULL (baru)
   =========================== */
.custom-block.custom-block-full {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin: 20px auto;
  max-width: 380px;
}

.custom-block.custom-block-full:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Gambar utama */
.custom-block-full .custom-block-image-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.custom-block-full .custom-block-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bagian isi */
.custom-block-full .custom-block-info {
  padding: 20px;
}

.custom-block-full .custom-block-info h5 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #111;
}

/* Profil kecil di bawah judul */
.custom-block-full .profile-block {
  margin-top: 5px;
}

.custom-block-full .profile-block-image {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.custom-block-full .profile-block p {
  font-size: 0.9rem;
  color: #555;
}

.custom-block-full .profile-block strong {
  color: #111;
}

/* Deskripsi singkat */
.custom-block-full .custom-block-info p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* Ikon bagian bawah */
.custom-block-full .custom-block-bottom a {
  font-size: 0.9rem;
  color: #777;
  text-decoration: none;
  transition: color 0.3s ease;
}

.custom-block-full .custom-block-bottom a:hover {
  color: #d10606;
}

.custom-block-full .custom-block-bottom span {
  margin-left: 4px;
}

/* Tombol “Read more” */
.custom-block-full .badge {
  display: inline-block;
  background: #d10606;
  color: #fff;
  border-radius: 30px;
  padding: 7px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.3s ease;
  text-decoration: none;
}

.custom-block-full .badge:hover {
  background: #a00505;
}

/* ===========================
   TOMBOL NAVIGASI ARTIKEL
=========================== */
.article-nav-buttons {
  display: flex;
  gap: 10px;
}

.article-btn {
  background-color: #d10606;        /* Warna merah khas */
  border: none;
  color: #fff;
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Hover efek */
.article-btn:hover {
  background-color: #a00505;
  transform: scale(1.05);
}

/* Saat tombol dinonaktifkan */
.article-btn:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Responsif untuk HP */
@media (max-width: 576px) {
  .article-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .custom-block.custom-block-full {
    max-width: 100%;
  }

  .custom-block-full .custom-block-image-wrap {
    height: 200px;
  }
}


.custom-block-top small {
  color: var(--p-color);
  font-family: var(--title-font-family);
}

.custom-block-top .badge {
  background-color: var(--secondary-color);
  color: var(--white-color);
  display: inline-block;
  vertical-align: middle;
  height: 26.64px;
  line-height: 20px;
}

.custom-block-bottom a:hover span {
  color: var(--primary-color);
}

.custom-block-bottom a span {
  font-family: var(--title-font-family);
  color: var(--p-color);
  text-transform: uppercase;
  margin-left: 3px;
}

.custom-block-overlay {
  border-color: transparent;
  padding: 100px;
}

.custom-block-overlay .custom-block-image {
  width: 100%;
  height: 230px; /* bisa sesuaikan dengan tampilan */
  object-fit: cover; /* agar proporsi gambar tidak rusak */
  border-radius: var(--border-radius-medium);
  transition: all 0.3s ease;
}

.custom-block-overlay:hover .custom-block-image {
  padding: 10px;
  padding-bottom: 0;
}

.custom-block-overlay-info {
  padding: 15px 20px 20px 20px;
}


/*---------------------------------------
  PROFILE BLOCK               
-----------------------------------------*/
.profile-block {
  margin-top: 10px;
  display: flex; 
  align-items: center; 
}

.profile-block-image {
  border-radius: var(--border-radius-large);
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-right: 10px;
}

.profile-block p strong {
  display: block;
  font-family: var(--title-font-family);
}

.profile-detail-block {
  border: 1px solid #fcb42f;
  border-radius: var(--border-radius-large);
  padding: 25px 35px;
}

.profile-detail-block p {
  margin-bottom: 0;
}


/*---------------------------------------
  ABOUT & TEAM SECTION               
-----------------------------------------*/
.about-image {
  border-radius: var(--border-radius-medium);
  display: block;
}

.team-thumb {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.team-info {
  background-color: var(--white-color);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 30px;
}

/*---------------------------------------
  PAGINATION               
-----------------------------------------*/
.pagination {
  border: 1px solid #d10606;
  border-radius: var(--border-radius-large);
  padding: 20px;
}

.page-link {
  border: 0;
  border-radius: var(--border-radius-small);
  color: var(--p-color);
  font-family: var(--title-font-family);
  margin: 0 5px;
  padding: 10px 20px;
  transition: all 0.3s; /* Tambahan untuk smoothness */
}

.page-link:hover,
.page-item:first-child .page-link:hover,
.page-item:last-child .page-link:hover {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

.page-item:first-child .page-link {
  margin-right: 10px;
}

.active > .page-link,
.page-link.active {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.contact-info p strong {
  font-family: var(--title-font-family);
  min-width: 90px;
}

.contact-info p a {
  color: var(--p-color);
  border-bottom: 1px solid;
  padding-bottom: 3px;
  transition: color 0.3s; /* Tambahan */
}

.contact-info p a:hover {
  color: var(--secondary-color);
}

.google-map {
  border-radius: var(--border-radius-medium);
}

.contact-form .form-floating > textarea {
  border-radius: var(--border-radius-medium);
  height: 150px;
  box-sizing: border-box; /* Tambahan untuk konsistensi */
}

/*---------------------------------------
  SUBSCRIBE FORM               
-----------------------------------------*/
.subscribe-form-wrap {
  border: 1px solid var(--white-color);
  border-radius: var(--border-radius-small);
  width: 80%;
  position: relative;
  top: 12px;
  padding: 35px;
  z-index: 1; /* Tambahan untuk menghindari overlap jika diperlukan */
}

.subscribe-form-wrap h6 {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  color: var(--primary-color);
  text-align: center;
  position: relative;
  bottom: 55px;
  margin-bottom: -25px;
  padding: 8px;
}

.subscribe-form #subscribe-email {
  border: 0;
  border-radius: 10px 10px 0 0;
  margin-bottom: 0;
  box-sizing: border-box; /* Tambahan */
}

.subscribe-form #submit {
  border-radius: 0 0 10px 10px;
  cursor: pointer; /* Tambahan */
}

/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
  border-radius: var(--border-radius-small);
  color: var(--p-color);
  font-family: var(--title-font-family);
  font-size: var(--p-font-size);
  margin-bottom: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  outline: none;
  box-sizing: border-box; /* Tambahan */
}

.form-floating > label {
  padding-left: 20px;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-family: var(--title-font-family);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s;
  margin-bottom: 0;
  cursor: pointer; /* Tambahan */
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}

/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  background-image: url('../images/footer2.png'), linear-gradient(#FFFFFF, #d10606);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-top: -80px;
  padding-top: 100px;
  padding-bottom: 100px;
}

.site-footer > .container {
  position: relative;
  top: 50px;
  padding-top: 100px;
}

.site-footer-title,
.site-footer p {
  color: var(--white-color);
}

.site-footer p strong {
  font-family: var(--title-font-family);
}

.site-footer p a {
  color: var(--white-color);
  border-bottom: 1px solid;
  padding-bottom: 3px;
  transition: color 0.3s; /* Tambahan */
}

.site-footer p a:hover {
  color: var(--secondary-color);
}

.site-footer-thumb a img {
  display: block;
  width: 120px;
  min-width: 120px;
  height: auto;
}

.site-footer-links {
  margin-bottom: 0;
  padding-left: 0;
}

.site-footer-link-item {
  display: inline-block;
  list-style: none;
  margin-right: 10px;
  margin-left: 10px;
}

.site-footer-link {
  color: var(--white-color);
  font-size: var(--p-font-size);
  line-height: 1.5; /* Diperbaiki dari inherit untuk konsistensi */
  transition: color 0.3s; /* Tambahan */
}

/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--secondary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--p-font-size);
  display: block;
  margin-right: 10px;
  text-align: center;
  width: 40px;
  height: 40px;
  line-height: 40px;
  transition: background 0.2s, color 0.2s;
  cursor: pointer; /* Tambahan */
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 2160px) {
  .hero-section {
    background-size: 100% 90%;
    /* T o o p l a t e . c o m   C u s t o m i z e d */
  }
}

@media screen and (min-width: 1600px) {
  .site-footer {
    padding-top: 250px;
  }
}

@media screen and (max-width: 1240px) {
  .hero-section {
    background-size: 116%;
    /* T o o p l a t e . c o m   C u s t o m i z e d */
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .hero-section {
    background-size: 160% 66%;
    /* T o o p l a t e . c o m   C u s t o m i z e d */
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .navbar-nav {
    background-color: var(--primary-color);
    border-radius: var(--border-radius-medium);
    padding: 30px;
  }

  .navbar-nav .nav-link {
    padding: 5px 0;
  }

  .navbar-nav .dropdown-menu {
    position: relative;
    left: 10px;
    opacity: 1;
    pointer-events: auto;
    max-width: 155px;
    margin-top: 10px;
    margin-bottom: 15px;
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 20px;
  }

  .nav-tabs .nav-link:first-child {
    margin-right: 5px;
  }

  .nav-tabs .nav-link {
    font-size: var(--menu-font-size); /* Diperbaiki dari --copyright-font-size yang tidak ada */
    padding: 10px;
  }

  .copyright-text {
    text-align: center;
  }

  .site-footer {
    margin-top: -200px;
    padding-top: 200px;
    padding-bottom: 100px;
  }
}

@media screen and (max-width: 540px) {
  .hero-section {
    background-size: 180% 65%;
    /* T o o p l a t e . c o m   C u s t o m i z e d */
  }

  .custom-block .custom-block-top {
    flex-direction: column;
  }

  .custom-block .custom-block-top small:last-child {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }
}

@media screen and (max-width: 414px) {
  .search-form {
    max-width: 200px;
  }
}


