/* =========================================================================
   Panamar homepage hero
   ========================================================================= */

.panamar-hero {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 600px;
    overflow: hidden;
    background: #1a1a1a;
    font-family: 'Spectral', Georgia, serif;
    color: #ffffff;
}

/* Background layer ----------------------------------------------------- */
.panamar-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.panamar-hero__img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Subtle ambient zoom — purely decorative */
    animation: panamar-hero-zoom 20s ease-in-out infinite alternate;
}

@keyframes panamar-hero-zoom {
    from { transform: scale(1); }
    to   { transform: scale(1.06); }
}

/* Top gradient — slight darkening so the transparent header stays legible */
.panamar-hero__gradient-top {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.28) 0%,
        rgba(0, 0, 0, 0) 50%
    );
    pointer-events: none;
}

/* Bottom gradient — darkens behind the headline + CTA */
.panamar-hero__gradient-bottom {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 45%,
        rgba(0, 0, 0, 0.65) 100%
    );
    pointer-events: none;
}

/* Content layer -------------------------------------------------------- */
.panamar-hero__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px 64px;
    text-align: center;
    pointer-events: none;
}

.panamar-hero__tagline {
    margin: 0 0 8px;
    color: rgba(255, 243, 224, 0.9);
    font-family: 'Spectral', Georgia, serif;
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 400;
}

.panamar-hero__title {
    margin: 0 0 32px;
    max-width: 800px;
    color: #ffffff;
    font-family: 'Spectral', Georgia, serif;
    font-size: clamp(32px, 5.5vw, 60px);
    font-weight: 400;
    line-height: 1.1;
}

.panamar-hero__cta {
    pointer-events: auto;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 191px;
    height: 41px;
    padding: 0;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid #ffffff;
    border-radius: 5px;
    color: #ffffff;
    font-family: 'Jost', system-ui, -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.panamar-hero__cta:hover { opacity: 0.8; }
.panamar-hero__cta:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Responsive padding adjustment */
@media (max-width: 600px) {
    .panamar-hero__content { padding: 0 24px 40px; }
    .panamar-hero__title { margin-bottom: 24px; }
}
