/********************************
APPROFONDIMENTI PAGE
*********************************/

/********************************
APPROFONDIMENTI PAGE
*********************************/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Lora:wght@400;500;600&display=swap');

header {
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--pink-main);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

#menu-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 15px 20px;
}

.menu {
    width: 100%;
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.menu-logo img {
    width: 100px;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(139, 74, 74, 0.2);
}

.back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink-main) 0%, #ffb3b2 100%);
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(139, 74, 74, 0.2);
}

.back-button:hover {
    transform: scale(1.1) translateX(-3px);
    box-shadow: 0 12px 30px rgba(139, 74, 74, 0.3);
    color: white;
}

main {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
}

.box {
    background: var(--white);
    border-radius: 25px;
    padding: 50px;
    margin: 40px 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-left: 5px solid var(--pink-main);
    transition: all 0.4s ease;
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
}

.box:nth-child(1) { animation-delay: 0.1s; }
.box:nth-child(2) { animation-delay: 0.2s; }
.box:nth-child(3) { animation-delay: 0.3s; }
.box:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.box:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(139, 74, 74, 0.15);
}

.box h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--pink-main) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.box p {
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    margin-bottom: 20px;
    text-align: left;
    color: #444;
    line-height: 1.9;
    font-weight: 400;
}

.box b {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-dark);
    display: block;
    margin-top: 30px;
    margin-bottom: 15px;
}

.box li {
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    margin-bottom: 15px;
    list-style-type: disc;
    color: #444;
    line-height: 1.9;
}



/********************************
MOBILE
*********************************/

@media (max-width: 767px) {
    main {
        margin: 60px auto 40px;
    }

    .box {
        padding: 30px 20px;
        margin: 30px 0;
    }

    .box h1 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .box p, .box li {
        font-size: 1rem;
    }

    .box b {
        font-size: 1.2rem;
        margin-top: 15px;
    }

    .menu {
        grid-template-columns: auto auto;
        gap: 15px;
    }

    .menu-left {
        display: flex !important;
        order: 1;
    }

    .back-button {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .menu-logo {
        order: 2;
    }

    .menu-logo img {
        width: 100px !important;
        box-shadow: 0 8px 20px rgba(139, 74, 74, 0.2) !important;
    }

    .menu-right {
        display: none !important;
    }
}

/********************************
FOOTER ADJUSTMENTS
*********************************/

.social-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 48px !important;
}