/* ============================================================
   about_preview.css — Stili anteprima Chi Siamo (home)
   Sito: Lavanderia L'ApeGreen
   Percorso: lavanderialapegreen/css/about_preview.css

   VERSIONE: foto a tutto sfondo con overlay + testo bianco
   (backup della versione precedente in about_preview.css.bak)
   ============================================================ */

@import url('style.css');

/* ------------------------------------------------------------
   SEZIONE — foto di sfondo a tutta larghezza
   ------------------------------------------------------------ */
#about-preview {
    position: relative;
    background-image: url('../images/lavaggio-professionale.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--spacing-xl) var(--spacing-md);
    min-height: 480px;
    display: flex;
    align-items: center;
}

/* Overlay scuro per leggibilità del testo bianco */
#about-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.55) 45%,
        rgba(0, 0, 0, 0.25) 100%
    );
}

.about-preview-container {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

/* ------------------------------------------------------------
   TESTO — bianco, largo max 560px sopra la foto
   ------------------------------------------------------------ */
.about-preview-text {
    max-width: 560px;
    color: #FFFFFF;
}

.about-preview-eyebrow {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 0.6rem;
}

.about-preview-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.25;
    margin-bottom: 1.2rem;
}

.about-preview-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-preview-text p strong {
    color: #FFFFFF;
}

.about-preview-btn {
    display: inline-block;
    background-color: var(--btn-bg);
    color: var(--btn-text);
    border-radius: var(--border-radius-btn);
    padding: 11px 26px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.about-preview-btn:hover {
    background-color: var(--btn-bg-hover);
    transform: translateY(-1px);
}

.about-preview-btn:active {
    background-color: var(--btn-bg-active);
    transform: translateY(0);
}

/* ------------------------------------------------------------
   RESPONSIVE — TABLET
   ------------------------------------------------------------ */
@media (max-width: 991px) {
    #about-preview {
        min-height: 420px;
    }
}

/* ------------------------------------------------------------
   RESPONSIVE — MOBILE
   ------------------------------------------------------------ */
@media (max-width: 767px) {
    #about-preview {
        min-height: 380px;
        text-align: center;
    }

    #about-preview::before {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.78) 30%,
            rgba(0, 0, 0, 0.35) 100%
        );
    }

    .about-preview-text {
        max-width: 100%;
        margin: 0 auto;
    }

    .about-preview-text h2 {
        font-size: 1.5rem;
    }
}