/* =========================================
   PAGE HEADER (Piccola Hero per pagine interne)
   ========================================= */
.page-header {
    position: relative;
    height: 50vh;
    /* Metà schermo */
    min-height: 400px;
    background: url('../immagini/sfondi/1.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    /* Parallax */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Molto scuro per far risaltare il titolo */
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    color: var(--main-white);
}

.header-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.breadcrumb {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

/* =========================================
   STORY SECTION
   ========================================= */
.story-section {
    position: relative;
    padding: 100px 20px;
    background-color: var(--main-white);
    overflow: hidden;
    /* Nasconde il watermark se esce */
}

/* 1947 GIGANTE DI SFONDO */
.watermark-year {
    position: absolute;
    top: 50px;
    right: -50px;
    /* Esce un po' a destra */
    font-family: var(--font-heading);
    font-size: 20rem;
    /* Enorme */
    font-weight: 700;
    color: rgba(0, 0, 0, 0.03);
    /* Grigio chiarissimo quasi invisibile */
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}

.container-story {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* Testo più largo dell'immagine */
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* STILE TESTO */
.subtitle {
    font-family: var(--font-heading);
    color: #999;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--main-black);
}

.separator-red {
    width: 60px;
    height: 4px;
    background: var(--main-red);
    margin-bottom: 30px;
}

.story-text p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
    text-align: justify;
}

/* LISTA VALORI */
.values-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Due colonne */
    gap: 15px;
    list-style: none;
    margin: 30px 0;
    padding: 0;
}

.values-list li {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--main-black);
    display: flex;
    align-items: center;
    gap: 10px;
}

.signature {
    margin-top: 40px;
    opacity: 0.8;
}

/* STILE IMMAGINE */
.story-image {
    position: relative;
}

.image-frame {
    position: relative;
    border: 1px solid #ddd;
    padding: 15px;
    background: #fff;
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.5s;
}

/* Dettaglio rosso sull'angolo dell'immagine */
.frame-decoration {
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 100px;
    height: 100px;
    border-bottom: 5px solid var(--main-red);
    border-left: 5px solid var(--main-red);
    z-index: 3;
}

/* Box data flottante */
.caption-box {
    position: absolute;
    top: 30px;
    right: -30px;
    background: var(--main-accent);
    color: white;
    padding: 20px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 4;
}

.caption-box span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.caption-box strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 991px) {

    .container-story {
        grid-template-columns: 1fr;
        /* Colonna singola */
        gap: 60px;
    }

    .header-content h1 {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .watermark-year {
        font-size: 10rem;
        top: 20px;
        right: 0;
        opacity: 0.1;
    }

    .caption-box {
        right: 0;
        top: 0;
    }

    .values-list {
        grid-template-columns: 1fr;
        /* Una colonna per i valori */
    }
}