/* GLOBAL RESET & TYPOGRAPHY */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #D90429; /* Merah Kuat */
    --secondary-color: #003366; /* Biru Gelap/Navy */
    --text-color: #333;
    --light-bg: #f4f4f4;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVBAR STYLING */
#navbar {
    position: fixed; 
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

#navbar.sticky {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px; 
    filter: brightness(100%); 
}

nav a {
    color: white; 
    text-decoration: none;
    margin-left: 25px;
    font-weight: 400;
    transition: color 0.3s ease;
}

#navbar.sticky nav a {
    color: white;
}

nav a:hover {
    color: var(--primary-color);
}

.btn-contact {
    background-color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600 !important;
}

.btn-contact:hover {
    background-color: #EF233C;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); 
    z-index: 1;
}

.hero-content {
    z-index: 2;
    color: white;
    text-align: center;
    padding: 20px;
}

.main-slogan {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.tagline {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
}

.cta-button:hover {
    background-color: #EF233C;
    transform: translateY(-2px);
}

/* QUICK STATS SECTION */
.stats-section {
    background-color: white;
    padding: 40px 0;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05); 
}

.stats-section .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    padding: 10px;
}

.stat-item h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* GENERAL CONTENT SECTION */
.content-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* ABOUT US STYLING */
.about-section {
    background-color: var(--light-bg);
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-image {
    width: 40%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
    width: 60%;
}

.about-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.read-more i {
    margin-left: 5px;
    transition: margin-left 0.2s ease;
}

.read-more:hover i {
    margin-left: 10px;
}

/* PRODUCTS SECTION STYLING */
.products-section {
    background-color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background-color: var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-body p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}

.product-specs {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.product-specs li {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.product-specs li i {
    color: var(--primary-color);
    margin-right: 8px;
}

.btn-detail {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-detail:hover {
    background-color: #0056b3;
}

.products-cta {
    text-align: center;
    padding: 20px;
    border-top: 2px solid var(--light-bg);
}

.products-cta p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.cta-button-secondary {
    display: inline-block;
    background-color: var(--primary-color); 
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button-secondary:hover {
    background-color: #EF233C;
}

/* FOOTER STYLING */
footer {
    background-color: #222;
    color: #ddd;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-col p, .footer-col a {
    color: #bbb;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-col i {
    margin-right: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.8rem;
    color: #888;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .main-slogan {
        font-size: 3rem;
    }
    .stats-section .container {
        flex-wrap: wrap;
    }
    .stat-item {
        width: 50%;
        margin-bottom: 20px;
    }
    .about-content {
        flex-direction: column;
    }
    .about-image, .about-text {
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-slogan {
        font-size: 2.2rem;
    }
    .tagline {
        font-size: 1rem;
    }
    .navbar-content {
        flex-direction: column;
    }
    nav {
        margin-top: 10px;
        text-align: center;
    }
    nav a {
        margin: 0 10px;
        display: inline-block;
    }
    .stat-item h2 {
        font-size: 2.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col {
        margin-bottom: 20px;
    }
    .product-grid {
        grid-template-columns: 1fr; 
    }
}