/* ===========================
   GLOBAL STYLES
   Pabrik Tempe Budianto
=========================== */

body {
    padding-top: 70px;
    font-family: Arial, sans-serif;
    color: #333;
}

/* ===========================
   NAVBAR
=========================== */
.navbar-custom {
    background-color: #7B4F2E;
    border: none;
}

.navbar-custom .navbar-brand {
    color: #F5ECD7 !important;
    font-weight: bold;
    font-size: 18px;
}

.navbar-custom .navbar-brand:hover {
    color: #fff !important;
}

.navbar-custom .nav > li > a {
    color: #F5ECD7 !important;
}

.navbar-custom .nav > li > a:hover,
.navbar-custom .nav > li.active > a {
    background-color: #5a3820 !important;
    color: #fff !important;
}

.navbar-custom .navbar-toggle {
    border-color: #F5ECD7;
}

.navbar-custom .navbar-toggle .icon-bar {
    background-color: #F5ECD7;
}

/* Navbar collapse mobile */
.navbar-custom .navbar-collapse.in {
    display: block !important;
}

.navbar-custom .navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Sembunyikan menu di mobile secara default */
@media (max-width: 767px) {
    .navbar-custom .navbar-collapse {
        display: none;
        background-color: #7B4F2E;
        border-top: 1px solid #5a3820;
    }
    .navbar-custom .navbar-nav {
        margin: 0;
    }
    .navbar-custom .navbar-nav > li > a {
        border-bottom: 1px solid #5a3820;
    }
}

/* Selalu tampil di desktop */
@media (min-width: 768px) {
    .navbar-custom .navbar-collapse {
        display: block !important;
        height: auto !important;
    }
}

/* ===========================
   CAROUSEL / HERO
=========================== */
.carousel {
    margin-bottom: 0;
    max-height: 300px;
    overflow: hidden;
}

.carousel img {
    width: 100%;
    height: 300px !important;
    max-height: 300px !important;
    object-fit: cover;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.55);
    border-radius: 6px;
    padding: 15px 20px;
}

.carousel-caption h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.carousel-caption p {
    font-size: 14px;
}

/* ===========================
   JUMBOTRON SELAMAT DATANG
=========================== */
.jumbotron-home {
    background-color: #F5ECD7;
    border-left: 5px solid #7B4F2E;
    border-radius: 0;
    margin-bottom: 0;
    padding: 30px 40px;
}

.jumbotron-home h2 {
    color: #7B4F2E;
    font-weight: bold;
}

/* ===========================
   SECTION KEUNGGULAN
=========================== */
.section-keunggulan {
    padding: 30px 0;
}

.section-keunggulan h2 {
    color: #7B4F2E;
}

.card-keunggulan {
    border: 1px solid #ddd;
    border-top: 4px solid #7B4F2E;
    border-radius: 4px;
    padding: 20px 15px;
    margin-bottom: 20px;
    background-color: #fff;
    min-height: 140px;
}

.card-keunggulan .glyphicon {
    font-size: 30px;
    color: #7B4F2E;
    display: block;
    margin-bottom: 10px;
}

.card-keunggulan h4 {
    color: #5a3820;
    font-weight: bold;
    font-size: 14px;
}

.card-keunggulan p {
    font-size: 13px;
    color: #666;
}

/* ===========================
   SECTION STATISTIK
=========================== */
.section-statistik {
    background-color: #7B4F2E;
    color: #F5ECD7;
    padding: 30px 0;
    text-align: center;
}

.section-statistik .stat-angka {
    font-size: 42px;
    font-weight: bold;
    color: #fff;
}

.section-statistik .stat-label {
    font-size: 14px;
    color: #F5ECD7;
}

.section-statistik .glyphicon {
    font-size: 36px;
    color: #F5ECD7;
    display: block;
    margin-bottom: 8px;
}

/* ===========================
   SECTION PRODUK SEKILAS
=========================== */
.section-produk {
    padding: 30px 0;
    background-color: #fafaf7;
}

.section-produk h2 {
    color: #7B4F2E;
}

.produk-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* ===========================
   FOOTER
=========================== */
.footer {
    background-color: #3d2410;
    color: #ccc;
    padding: 30px 0 15px;
    margin-top: 0;
}

.footer h4 {
    color: #F5ECD7;
    border-bottom: 1px solid #7B4F2E;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
}

.footer a:hover {
    color: #F5ECD7;
}

.footer .footer-bottom {
    border-top: 1px solid #5a3820;
    margin-top: 20px;
    padding-top: 12px;
    text-align: center;
    font-size: 13px;
    color: #aaa;
}

.footer .list-unstyled li {
    margin-bottom: 6px;
    font-size: 13px;
}

/* ===========================
   PAGE HEADER
=========================== */
.page-header-custom {
    background-color: #7B4F2E;
    color: #F5ECD7;
    padding: 25px 0 20px;
    margin-bottom: 0;
}

.page-header-custom h2 {
    color: #fff;
    margin-top: 0;
    font-weight: bold;
}

.page-header-custom p {
    color: #F5ECD7;
    margin-bottom: 0;
}

/* ===========================
   TIMELINE 3 GENERASI
=========================== */
.timeline-card {
    border: 1px solid #ddd;
    border-top: 4px solid #7B4F2E;
    border-radius: 4px;
    padding: 20px 15px;
    margin-bottom: 20px;
    background-color: #fff;
}

.timeline-icon {
    background-color: #7B4F2E;
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.timeline-icon .glyphicon {
    font-size: 24px;
    color: #fff;
}

.timeline-card h3 {
    color: #7B4F2E;
    font-weight: bold;
    font-size: 16px;
    margin-top: 0;
}

.timeline-card h4 {
    color: #5a3820;
    font-size: 15px;
    margin-top: 5px;
}

.timeline-card p {
    font-size: 13px;
    color: #666;
}

/* ===========================
   PANEL VISI & MISI
=========================== */
.panel-visi {
    background-color: #7B4F2E;
    color: #fff;
    border-color: #7B4F2E;
}

.panel-visi .panel-title {
    color: #fff;
}

.panel-misi {
    background-color: #4A7C59;
    color: #fff;
    border-color: #4A7C59;
}

.panel-misi .panel-title {
    color: #fff;
}

/* ===========================
   PROSES PRODUKSI - STEP
=========================== */
.proses-step {
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.proses-step h3 {
    color: #7B4F2E;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
}

.step-number {
    background-color: #7B4F2E;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    line-height: 45px;
    text-align: center;
    margin: 0 auto;
}

/* ===========================
   GALERI
=========================== */
.galeri-item {
    margin-bottom: 20px;
}

.galeri-item img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background-color: #f0ebe4;
    transition: opacity 0.2s;
}

.galeri-item img:hover {
    opacity: 0.85;
    cursor: pointer;
}

.galeri-caption {
    margin-top: 6px;
    font-size: 13px;
    color: #666;
    text-align: center;
}

/* ===========================
   KONTAK
=========================== */
.panel-kontak-header {
    background-color: #7B4F2E;
    color: #fff;
    border-color: #7B4F2E;
}

.panel-kontak-header .panel-title {
    color: #fff;
}

.kontak-table td {
    vertical-align: middle;
}

.kontak-label {
    background-color: #F5ECD7;
    font-weight: bold;
    width: 38%;
    color: #5a3820;
}

.btn-wa {
    background-color: #25D366;
    border-color: #1eab52;
    color: #fff;
    font-weight: bold;
    margin-top: 5px;
}

.btn-wa:hover {
    background-color: #1eab52;
    color: #fff;
}

.pelanggan-card {
    border: 1px solid #ddd;
    border-top: 4px solid #7B4F2E;
    border-radius: 4px;
    padding: 18px 12px;
    margin-bottom: 15px;
}

.pelanggan-card .glyphicon {
    font-size: 28px;
    color: #7B4F2E;
    display: block;
    margin-bottom: 10px;
}

.pelanggan-card h4 {
    color: #5a3820;
    font-weight: bold;
    font-size: 14px;
}

.pelanggan-card p {
    font-size: 13px;
    color: #666;
}

