

:root {
    --primary-color: #0d47a1; /* Biru Industrial */
    --secondary-color: #607d8b; /* Abu-abu Besi */
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
}
/* --- HERO CAROUSEL STYLING --- */
#heroCarousel {
    height: 80vh;
    overflow: hidden;
}

.carousel-item {
    height: 100%;
    position: relative;
}

.hero-image {
    height: 100%;
    width: 100%;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    position: relative;
}

/* Overlay untuk teks lebih readable */
.hero-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

/* Teks overlay */
#hero-text-overlay {
    position: relative;
    z-index: 2;
}
/* --- VARIABLES --- */
:root {
    --primary-color: #0d47a1; /* Biru Industrial */
    --secondary-color: #607d8b; /* Abu-abu Besi */
}

/* --- GENERAL STYLES --- */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

/* --- HERO CAROUSEL STYLES --- */
#heroCarousel {
    height: 80vh;
    overflow: hidden;
}

.carousel-item {
    height: 100%;
    position: relative;
}

.hero-image {
    height: 100%;
    width: 100%;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    position: relative;
}

/* Overlay untuk teks lebih readable */
.hero-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

/* Teks overlay */
#hero-text-overlay {
    position: relative;
    z-index: 2;
}

.text-shadow-lg {
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.text-shadow-md {
    text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
    opacity: 0.8;
    transition: all 0.3s;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0,0,0,0.8);
    opacity: 1;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

/* Carousel indicators */
.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    border: 2px solid white;
    background-color: transparent;
}

.carousel-indicators button.active {
    background-color: white;
}

/* --- CARD STYLES --- */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
}

/* --- BUTTON STYLES --- */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #083275;
    border-color: #083275;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* --- TEXT COLORS --- */
.text-primary {
    color: var(--primary-color) !important;
}

/* --- FOOTER STYLES --- */
footer {
    background-color: hsl(61, 73%, 75%) !important;
    color: rgb(152, 212, 13);
}

footer a {
    color: #3280b4 !important;
    transition: color 0.3s;
}

footer a:hover {
    color: white !important;
    text-decoration: underline;
}

footer .text-white-50 {
    color: rgba(24, 23, 23, 0.5) !important;
}

/* --- ANIMATIONS --- */
.animate__animated {
    animation-duration: 1s;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    #heroCarousel {
        height: 60vh;
    }
    
    .hero-image::after {
        background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
    }
    
    #hero-text-overlay {
        padding: 20px !important;
    }
    
    #hero-text-overlay h1 {
        font-size: 2rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }
}
.text-shadow-lg {
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.text-shadow-md {
    text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

/* Carousel controls styling */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}
.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.hero-section {
    position: relative;
}

.card {
    transition: transform 0.3s;
    border-radius: 10px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #083275;
}

.text-primary {
    color: var(--primary-color) !important;
}
/* --- CSS BARU UNTUK HERO TEXT STATIS --- */

.carousel-item {
    height: 80vh; 
    /* Hilangkan background-image dari carousel-item agar hanya gambar di dalam hero-image yang bergerak */
}

/* Layer Gambar dan Overlay yang Bergerak */
.hero-image {
    height: 100%;
    width: 100%;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    position: relative;
}

/* Tambahkan overlay agar teks statis di atasnya mudah dibaca */
.hero-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Overlay Hitam 50% */
}

/* --- Teks Statis di Atas Carousel --- */
#hero-text-overlay {
    /* Pastikan teks tetap di tengah horizontal/vertikal */
    padding: 20px;
}
/* Styling untuk Hero Carousel */
.carousel-item {
    height: 80vh; /* Tinggi Hero Section */
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Optional: Effect animasi saat slide berubah */
.carousel-item .animate__animated {
    animation-duration: 1.5s; 
}
/* --- Perbaikan CSS Footer --- */
footer {
    /* Pastikan warna latar belakang adalah gelap */
    background-color: hsl(61, 73%, 75%) !important; /* Warna Dark Bootstrap */
    color: rgb(152, 212, 13); /* Defaultkan warna teks menjadi putih */
}

footer a {
    /* Pastikan link di footer juga berwarna terang */
    color: #3280b4 !important; /* Warna Abu-abu terang */
}

footer .text-white-50 {
    /* Memastikan semua teks sekunder terlihat */
    color: rgba(24, 23, 23, 0.5) !important; 
}