/* =========================
   PRESSOTERAPIA PAGE CSS
========================= */

/* ---------- PAGE HEADER / COVER ---------- */
.page-header {
    background: 
        radial-gradient(ellipse at top left, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at top right, rgba(139, 69, 19, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at bottom center, rgba(101, 67, 33, 0.25) 0%, transparent 60%),
        linear-gradient(135deg, #1a1a1a 0%, #2d1f0f 25%, #1a1a1a 50%, #2d1f0f 75%, #1a1a1a 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(212, 175, 55, 0.03) 2px,
            rgba(212, 175, 55, 0.03) 4px
        ),
        #111111;
    background-size: 100% 100%, 100% 100%, 100% 100%, 200% 200%, 40px 40px, 100% 100%;
    position: relative;
    overflow: hidden;
    padding: 80px 20px 40px;
    text-align: center;
}

.page-header h1 {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* ---------- INTRO TEXT (SULLO SFONDO, SENZA RIQUADRO) ---------- */
.intro-section {
    position: relative;
    padding: 20px 0 60px;
    background: none; /* rimuove il riquadro */
}

.intro-section .intro-text {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    text-align: center;
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    line-height: 1.7;
}

/* ---------- PACKAGES SECTION ---------- */
.packages-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.packages-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

.package-block {
    position: relative;
    margin-bottom: 80px;
}

.package-block:last-child {
    margin-bottom: 0;
}

.package-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: -40px;
    min-height: 500px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Package wrapper reverse - immagine a destra */
.package-wrapper-reverse {
    flex-direction: row-reverse;
}

.package-wrapper-reverse .package-card {
    margin-left: 0;
    margin-right: -60px;
}

/* ---------- PACKAGE IMAGE ---------- */
.package-image-wrapper {
    flex: 0 0 400px;
    max-width: 400px;
    height: 500px;
    position: relative;
    z-index: 1;
}

.package-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    border: 2px solid var(--color-primary);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ---------- PACKAGE CARD ---------- */
.package-card {
    background-color: #2a2a2a;
    border-radius: 25px;
    padding: 40px;
    width: 500px;
    max-width: 100%;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    flex: 0 0 500px;
    margin-left: -60px;
}

.package-card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

.package-card-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
}

.package-pricing-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.pricing-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-sessions {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 500;
}

.pricing-price {
    color: var(--color-primary);
    font-size: 1.3rem;
    font-weight: 600;
}

.package-add-cart {
    width: 100%;
    padding: 15px 30px;
    background-color: var(--color-white);
    color: var(--color-dark);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.package-add-cart:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) {
    .package-wrapper {
        flex-direction: column;
        min-height: auto;
        gap: 40px;
    }

    .package-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
        height: 400px;
    }

    .package-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: 600px;
        margin-left: 0;
        margin-right: 0;
    }

    .package-wrapper-reverse {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .package-card {
        padding: 30px 20px;
    }

    .package-card-title {
        font-size: 1.5rem;
    }

    .package-image-wrapper {
        height: 300px;
    }

    .intro-section .intro-text {
        font-size: 0.95rem;
        line-height: 1.5;
        padding: 0 var(--spacing-sm);
    }
}
