/* assets/css/page.css */

/* Konten halaman statis */
/*.entry-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-m);
}

.entry-content {
  max-width: 65ch;
}
*/
/* ================================
   HERO SECTION
================================ */

.hero {
    min-height: calc(100dvh - var(--header-height) - var(--nav-b-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 0 2rem;
    overflow: hidden;
}

/* ===== Container A ===== */

.hero-inner {
    width: 100%;
    max-width: var(--container-A);
    margin: 0 auto;
    padding: 0 20px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

/* Paragraf */
.hero-text p {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.7;
    max-width: 500px;
}

/* Heading */
.hero-heading h2 {
    font-size: clamp(3rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 700;
}

.accent {
    color: var(--color-accent);
}


/* ===== Full Width Marquee ===== */

.hero-marquee {
    width: 100%;
    overflow: hidden;
    margin-top: 4rem;
}

.hero-marquee-track {
    display: flex;
    gap: 2rem;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.hero-marquee img {
    height: 350px;
    width: auto;
    object-fit: contain;
}

/* Animation */
@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ===== Responsive ===== */

@media (max-width: 768px) {

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 1.3rem;
    }

    /* Heading di atas saat stack */
    .hero-heading {
        order: -1;
    }

    .hero-text p {
        max-width: 100%;
    }
    .hero-marquee {

    margin-top: 2rem;
}
    .hero-marquee-track {
   
    gap: 1.5rem;}

    .hero-marquee img {
        height: 200px;
    }
}

