/*
 * WHAT: Present a compact, nonfunctional client-portal placeholder.
 * HOW: Pair a simple notice with a responsive, image-backed panel.
 * WHY: Set honest expectations while retaining PAZAVA's existing visual identity.
 */
.portal-placeholder {
    background: #f5f6f8;
}

.portal-placeholder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.portal-placeholder-copy h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.portal-eyebrow {
    color: #137c99;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.portal-placeholder-copy p {
    line-height: 1.8;
}

.portal-placeholder-copy .btn {
    color: #fff;
}

/*
 * WHAT: Rotate existing commodity images without portal functionality.
 * HOW: Crossfade four layered images, with a native pause checkbox and reduced-motion fallback.
 * WHY: Offer visual interest while allowing visitors to stop animation.
 */
.portal-slideshow {
    position: relative;
    height: clamp(280px, 32vw, 420px);
    overflow: hidden;
    border-radius: 12px;
    background: #0a1628 url('../assets/images/Hero%20Slide%20Show/Urea%20Ship%20Large.webp') center / cover;
}

.portal-slideshow img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: portal-crossfade 20s infinite;
}

.portal-slideshow img:nth-child(2) { animation-delay: 5s; }
.portal-slideshow img:nth-child(3) { animation-delay: 10s; }
.portal-slideshow img:nth-child(4) { animation-delay: 15s; }

@keyframes portal-crossfade {
    0%, 35%, 100% { opacity: 0; }
    10%, 25% { opacity: 1; }
}

.portal-pause:checked ~ .portal-slideshow img {
    animation-play-state: paused;
}

.portal-imagery > label {
    display: inline-block;
    margin-bottom: 1rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .portal-placeholder-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portal-slideshow img {
        animation: none;
    }

    .portal-pause,
    .portal-imagery > label {
        display: none;
    }
}
