/* =================================================================
   CUSTOM STYLESHEET FOR BANUA PANGAN
   ================================================================= */

/* -- 1. Global & Variables -- */
:root {
    --bs-primary: #0D6EFD;
    --bs-primary-rgb: 13, 110, 253;
    --bs-warning: #FFC107;
    --bs-dark: #212529;
    --bs-light: #f8f9fa;
    --bs-font-sans-serif: 'Poppins', sans-serif;
    --navbar-height: 70px;
}

html, body {
    height: 100%;
}

body {
    font-family: var(--bs-font-sans-serif);
    background-color: #ffffff;
    padding-top: var(--navbar-height);
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

.section-title {
    font-weight: 700;
    color: var(--bs-dark);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--bs-primary);
}

#tentang .section-title::after {
    left: 0; /* Align left for this section */
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%); /* Center the underline */
}


/* -- 2. Navbar -- */
.navbar-brand span {
    color: var(--bs-warning);
}

.nav-link.active {
    color: var(--bs-primary) !important;
    font-weight: 600;
}

/* -- 3. Hero Section -- */
.hero-slider {
    height: calc(100vh - var(--navbar-height));
}

.carousel-item {
    height: 100%;
    background-size: cover;
    background-position: center;
}

.carousel-caption-custom {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(var(--bs-primary-rgb), 0.5));
    color: white;
}

.carousel-caption-custom h1 {
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* -- 4. Layanan Section -- */
.service-card {
    background-color: #ffffff;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.15);
}

.service-card .icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    border-radius: 50%;
    font-size: 2rem;
}

/* -- 5. CTA Section -- */
#cta {
    background: var(--bs-primary) url('https://www.transparenttextures.com/patterns/cubes.png');
    background-blend-mode: multiply;
}

/* -- 6. Footer -- */
footer {
    background-color: var(--bs-dark);
    color: white;
}

footer .social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

footer .social-icons a:hover {
    color: var(--bs-warning);
    transform: translateY(-3px);
}