* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f9c13db0;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
    background: linear-gradient(135deg, rgba(254,176,8,0.87) 0%, #ffc78f 100%);
    position: sticky;
    width: 100%;
    padding: 0 1rem;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 12px rgba(246,137,58,0.2);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
}

.logo img {
    width: 170px;
    height: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: 500;
    font-size: 19px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    transition: color 0.3s;
}

.nav-menu a:hover {
    opacity: 0.7;
}

/* Hamburger selalu tampil */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    z-index: 1000;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #0a0808;
    border-radius: 3px;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.25s ease,
                background-color 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Nav menu — smooth slide + fade */
.nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(254,176,8,0.97), #ffc78f);
    padding: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    gap: 0;
    z-index: 999;

    /* animasi tertutup */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.35s ease,
                transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                padding 0.3s ease;
}

.nav-menu.active {
    max-height: 600px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    padding: 8px 0 16px;
}

/* Staggered animation untuk tiap item */
.nav-menu li {
    width: 100%;
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-menu.active li:nth-child(1) { opacity: 1; transform: translateX(0); transition-delay: 0.05s; }
.nav-menu.active li:nth-child(2) { opacity: 1; transform: translateX(0); transition-delay: 0.10s; }
.nav-menu.active li:nth-child(3) { opacity: 1; transform: translateX(0); transition-delay: 0.15s; }
.nav-menu.active li:nth-child(4) { opacity: 1; transform: translateX(0); transition-delay: 0.20s; }
.nav-menu.active li:nth-child(5) { opacity: 1; transform: translateX(0); transition-delay: 0.25s; }
.nav-menu.active li:nth-child(6) { opacity: 1; transform: translateX(0); transition-delay: 0.30s; }
.nav-menu.active li:nth-child(7) { opacity: 1; transform: translateX(0); transition-delay: 0.35s; }
.nav-menu.active li:nth-child(8) { opacity: 1; transform: translateX(0); transition-delay: 0.35s; }

.nav-menu a {
    display: block;
    padding: 12px 2rem;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transition: background 0.2s ease, padding-left 0.2s ease;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.18);
    padding-left: 2.5rem;
    opacity: 1;
}


/* ===== HERO ===== */
.hero {
    background-image: url('image/bg.jpeg');
    background-size: cover;
    background-position: center;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 41rem);
    margin-bottom: 0.15rem;
    font-weight: 700;
}

.hero-content {
    text-align: center;
}

#home .hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    background: rgba(0, 0, 0, 0.35);
    padding: 10px 50px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    display: inline-block;  /* ← pas mengikuti teks */
    margin: 0 auto;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== SECTION ===== */
section {
    padding: 40px 20px;
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

/* ===== PRODUCT RANGE ===== */
.product-range {
    width: 100%;
    padding: 40px 40px 10px 40px;
    display: flex;
    justify-content: center;
}

.product-range .hero-content {
    width: 100%;
    display: flex;
    justify-content: center;
}
 
.card {
    width: 100%;
    max-width: 1400px;    
    background: #fcfaff;
    padding: 30px 50px;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(21, 21, 21, 0.596);
    transition: 0.3s;
}
 
.card:hover {
    transform: translateY(-5px);
}
 
.card h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #1a1a1a;
}
 
.card p {
    margin-bottom: 4px;
    font-size: 0.95rem;
    color: #000000;
    text-align: left;
}
 
.checklist {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px !important;
}

.range-sub-header {
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 4px;
    padding: 5px 20px;
    background: linear-gradient(135deg, #2c2c2c, #000000);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 2px;
    border-radius: 4px;
    text-transform: uppercase;
}
 
.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: linear-gradient(135deg, #2c2c2c, #000000);
    color: #ffffff;
    border-radius: 50%;
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    line-height: 1;
    padding-bottom: 1px;
}


/* ===== SERVICES ===== */
.services-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: rgb(255, 255, 255);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.114);
    transition: transform 0.3s;
}

.service-card h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.service-card p {
    font-size: 0.9rem;
    color: #444;
}

.service-card:hover {
    transform: translateY(-10px);
}

.range-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 200px));
    gap: 8px;
    margin: 10px 0 18px 36px;
}

.range-photo-grid img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

@media (max-width: 600px) {
    .range-photo-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-left: 0;
    }
}

/* ===== BUTTON MENU ===== */
.menu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 30px 15px;
    margin: 0 auto;
    list-style: none;
    max-width: 100%;
}

.btn {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    padding: 14px 28px;
    background: #ffffff;
    color: #1a1a1a;
    border-radius: 50px;
    font-weight: 700;
    font-size: clamp(14px, 4vw, 16px);
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    border: 3px solid rgba(255,255,255,0.3);
    transition: all 0.4s;
    text-transform: uppercase;
    text-align: center;
}

.btn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-8px) scale(1.02);
}

/* ===== FOOTER ===== */
.footer {
    background-color: #222; /* sesuaikan dengan warna footer kamu */
    padding: 15px 0;
}

.footer .footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer .footer-content p {
    margin: 0;
    font-size: 13px;
    color: #fff; /* sesuaikan warna teks */
    white-space: nowrap;
}

.footer .footer-content a {
    color: #fff;
    text-decoration: none;
}

.footer .footer-content .divider {
    color: #aaa;
    font-size: 13px;
}

/* Responsive:*/
@media (max-width: 768px) {
    .footer .footer-content {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .footer .footer-content .divider {
        display: none;
    }
}

/* ===== RESPONSIVE HP ===== */
@media (max-width: 768px) {
    section {
        padding: 30px 15px;
    }

    .hero {
        padding-top: 80px;
        height: 90vh;
    }

    .menu {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .btn {
        min-width: 180px;
        padding: 12px 24px;
    }
}