/* ========================================
   PARLANO DI NOI SECTION - UX/UI REFACTOR
   ======================================== */

.media-section {
    background: linear-gradient(180deg, #ffffff 0%, #fff8f3 100%);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
.media-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(241, 116, 43, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.media-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.media-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ========================================
   HEADER SECTION
   ======================================== */
.media-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.media-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #08024a;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.media-header p {
    font-family: 'Satoshi', sans-serif;
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   MAIN CONTENT CARD
   ======================================== */
.media-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 3.5rem;
    border-radius: 30px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

.media-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f1742b 0%, #ff8c42 50%, #f1742b 100%);
    border-radius: 30px 30px 0 0;
}

/* ========================================
   LOGO COLUMN
   ======================================== */
.media-logo-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 3rem;
}

.media-logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.12));
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.media-logo:hover {
    transform: scale(1.05) translateY(-5px);
    filter: drop-shadow(0 12px 30px rgba(241, 116, 43, 0.25));
}

.media-description {
    font-family: 'Satoshi', sans-serif;
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.7;
    max-width: 450px;
}

/* ========================================
   AUDIO PLAYER - MODERN DESIGN
   ======================================== */
.audio-player-wrapper {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8dc 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid #ffd4ba;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(241, 116, 43, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.audio-player-wrapper:hover {
    box-shadow: 0 8px 25px rgba(241, 116, 43, 0.2);
    transform: translateY(-2px);
    border-color: #f1742b;
}

.audio-label {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #08024a;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.audio-label::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #f1742b 0%, #e85d00 100%);
    border-radius: 2px;
}

.audio-player-wrapper audio {
    width: 100%;
    height: 54px;
    border-radius: 12px;
    outline: none;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    max-width: 100%;
    display: block;
}

/* Custom audio controls styling */
.audio-player-wrapper audio::-webkit-media-controls-panel {
    background: linear-gradient(135deg, #f1742b 0%, #e85d00 100%);
}

.audio-player-wrapper audio::-webkit-media-controls-current-time-display,
.audio-player-wrapper audio::-webkit-media-controls-time-remaining-display {
    color: #ffffff;
}

/* ========================================
   QUOTE BOX - REDESIGNED
   ======================================== */
.quote-box {
    background: linear-gradient(135deg, #ffffff 0%, #fffaf7 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 3px solid #f1742b;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(241, 116, 43, 0.15),
        0 0 0 1px rgba(241, 116, 43, 0.1) inset;
}

/* Decorative quote background */
.quote-box::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 15px;
    font-size: 180px;
    color: #f1742b;
    opacity: 0.06;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

/* Accent line */
.quote-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #f1742b 0%, #ff8c42 100%);
}

.quote-text {
    font-family: 'Satoshi', sans-serif;
    font-size: 1.2rem;
    color: #08024a;
    line-height: 1.9;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.quote-author {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #f1742b;
    font-weight: 600;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.quote-author::before {
    content: '';
    width: 40px;
    height: 2px;
    background: #f1742b;
    flex-shrink: 0;
}

/* ========================================
   CTA BUTTON - ENHANCED
   ======================================== */
.media-cta {
    text-align: center;
    margin-top: 3.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.media-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #f1742b 0%, #e85d00 100%);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 1.1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 10px 30px rgba(241, 116, 43, 0.35),
        0 0 0 0 rgba(241, 116, 43, 0.5);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.media-cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.media-cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.media-cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 45px rgba(241, 116, 43, 0.5),
        0 0 0 8px rgba(241, 116, 43, 0.1);
}

.media-cta-button:active {
    transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media screen and (max-width: 991px) {
    .media-section {
        padding: 5rem 1.5rem;
    }

    .media-header h2 {
        font-size: 2.5rem;
    }

    .media-content {
        padding: 2.5rem;
    }

    .quote-box {
        padding: 2.5rem;
    }
}

@media screen and (max-width: 767px) {
    .media-section {
        padding: 4rem 1.25rem;
    }

    .media-header {
        margin-bottom: 3rem;
    }

    .media-header h2 {
        font-size: 2rem;
    }

    .media-header p {
        font-size: 1rem;
    }

    .media-content {
        padding: 2rem;
        border-radius: 25px;
    }

    .media-logo {
        max-width: 240px;
        margin-bottom: 1.5rem;
    }

    .media-description {
        font-size: 0.95rem;
    }

    .audio-player-wrapper {
        padding: 2rem;
    }

    .audio-player-wrapper audio {
        height: 48px;
    }

    .audio-label {
        font-size: 1.05rem;
    }

    .quote-box {
        padding: 2rem;
    }

    .quote-box::before {
        font-size: 120px;
        top: -20px;
    }

    .quote-text {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .quote-author {
        font-size: 0.9rem;
    }

    .media-cta-button {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
}

@media screen and (max-width: 479px) {
    .media-section {
        padding: 3rem 1rem;
    }

    .media-section::before,
    .media-section::after {
        display: none;
    }

    .media-header h2 {
        font-size: 1.75rem;
    }

    .media-header p {
        font-size: 0.95rem;
    }

    .media-content {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .media-logo {
        max-width: 200px;
    }

    .media-logo-column {
        margin-bottom: 2rem;
    }

    .audio-player-wrapper {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 16px;
    }

    .audio-player-wrapper audio {
        height: 44px;
        border-radius: 10px;
    }

    .audio-label {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .quote-box {
        padding: 1.5rem;
    }

    .quote-box::before {
        font-size: 100px;
        top: -15px;
        left: 10px;
    }

    .quote-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .quote-author {
        font-size: 0.85rem;
    }

    .quote-author::before {
        width: 30px;
    }

    .media-cta {
        margin-top: 2.5rem;
    }

    .media-cta-button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }
}
