/* =========================================
   AxisGate BV - page-hero.css
   Hero sections for companies & contact pages
   ========================================= */

.page-hero {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(14, 14, 14, 0.68);
    z-index: 1;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 2;
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.8px;
}

.page-hero .hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--parchment);
    line-height: 1.8;
    max-width: 750px;
    opacity: 0.95;
    font-weight: 400;
}

/* Companies page hero */
.page-hero.companies-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 50%, #1a1a1a 100%);
}

.page-hero.companies-hero::before {
    background: rgba(14, 14, 14, 0.65);
}

/* Contact page hero */
.page-hero.contact-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 50%, #1a1a1a 100%);
}

.page-hero.contact-hero::before {
    background: rgba(14, 14, 14, 0.65);
}

/* Responsive */
@media (max-width: 1024px) {
    .page-hero {
        min-height: 40vh;
        background-attachment: scroll;
    }

    .page-hero h1 {
        font-size: 2.8rem;
    }

    .page-hero .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 35vh;
        padding-top: 70px;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .page-hero .hero-subtitle {
        font-size: 1rem;
    }

    .page-hero-content {
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .page-hero {
        min-height: 30vh;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .page-hero .hero-subtitle {
        font-size: 0.95rem;
    }
}
