/* =========================
   FONT SIZE RESPONSIVE
   ========================= */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* =========================
   FOCUS EFFECT
   ========================= */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* =========================
   BASE LAYOUT
   ========================= */
html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    padding-top: 90px; /* FIX navbar */
}

/* =========================
   HERO SECTION
   ========================= */
.hero-section {
    background-color: #133b80; /* biru */
    color: #ffffff;
    padding: 40px 20px;
}

/* HERO LEFT */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-right: 1px;
}

    .hero-left h2 {
        margin: 0;
        font-size: 2.5rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .hero-left h3 {
        margin-top: 10px;
        font-size: 1.5rem;
        font-weight: 300;
        line-height: 1.3;
    }

/* HERO RIGHT */
.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: 20px;
}

    .hero-right p {
        margin: 0;
        line-height: 1.5;
    }

/* =========================
   MEGA SALE SECTION
   ========================= */
.mega-sale-section {
    background-color: #ffffff;
    padding: 60px 20px;
}

    .mega-sale-section img {
        width: 100%;
        border-radius: 8px;
    }

.mega-sale-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.mega-sale-text p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.mega-sale-text .btn {
    padding: 10px 25px;
    font-size: 1rem;
}

/* =========================
   FEATURES SECTION
   ========================= */
.features-section {
    background-color: #ffffff;
    padding: 60px 20px;
}

.feature-item {
    margin-bottom: 30px;
    text-align: center;
}

    .feature-item img.feature-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .feature-item h3 {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .feature-item p {
        font-size: 1rem;
        line-height: 1.5;
        color: #555555;
    }

/* JUDUL FEATURES SECTION */
.features-title {
    font-size: 2rem; /* ukuran besar */
    font-weight: 700; /* bold */
    margin-bottom: 40px; /* jarak ke bawah */
    text-align: center; /* rata tengah */
}

/* RESPONSIVE */
@media (max-width: 767px) {
    .features-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 767px) {
    /* HERO */
    .hero-left,
    .hero-right {
        padding: 0;
        text-align: left;
    }

    /* MEGA SALE */
    .mega-sale-section .col-md-6 {
        margin-bottom: 20px;
    }

    .mega-sale-text h2 {
        font-size: 1.5rem;
    }

    .mega-sale-text p {
        font-size: 1rem;
    }

    /* FEATURES */
    .feature-item {
        margin-bottom: 40px;
    }

        .feature-item h3 {
            font-size: 1.3rem;
        }

        .feature-item p {
            font-size: 0.95rem;
        }
}

.testimonials-section {
    background-color: #f9f9f9; /* warna lembut */
    padding: 60px 20px;
}

.testimonials-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.testimonial-item {
    margin-bottom: 30px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #333333;
    margin-bottom: 10px;
}

.testimonial-author {
    font-size: 1rem;
    font-weight: 700;
    color: #005dff; /* bisa diganti sesuai tema */
}

/* Responsive */
@media (max-width: 767px) {
    .testimonials-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-author {
        font-size: 0.95rem;
    }
}

.site-footer {
    background-color: #133b80;
    color: #ffffff;
    padding: 60px 20px;
    font-size: 0.95rem;
}

    .site-footer h4 {
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .site-footer ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .site-footer ul li {
            margin-bottom: 8px;
        }

            .site-footer ul li a {
                color: #ffffff;
                text-decoration: none;
            }

                .site-footer ul li a:hover {
                    text-decoration: underline;
                }

    .site-footer p {
        margin-bottom: 15px;
    }

    .site-footer .social-icons a {
        display: inline-block;
        margin-right: 10px;
    }

    .site-footer .social-icons img {
        width: 24px;
        height: 24px;
    }

/* Responsive */
@media (max-width: 767px) {
    .site-footer .footer-column {
        margin-bottom: 30px;
        text-align: center;
    }

    .site-footer .social-icons a {
        margin-right: 15px;
    }
}

/* =========================
   HERO / LAYAR SECTION
   ========================= */
.layar-section {
    height: 480px;
    background-color: #133b80;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: background-image 1s ease-in-out; /* animasi saat background berubah */
    display: flex;
    align-items: center;
    justify-content: center;
}

    .layar-section .hero-content {
        position: relative;
        z-index: 2; /* di atas overlay */
        text-align: center;
        padding: 0 20px;
        color: #ffffff;
    }

        .layar-section .hero-content h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .layar-section .hero-content p {
            font-size: 1.2rem;
            line-height: 1.5;
        }

    /* Overlay gelap */
    .layar-section .position-absolute {
        z-index: 1;
    }

/* Responsive */
@media (max-width: 767px) {
    .layar-section {
        height: 350px;
    }

        .layar-section .hero-content h1 {
            font-size: 1.8rem;
        }

        .layar-section .hero-content p {
            font-size: 1rem;
        }
}
