@font-face {
    font-family: 'Handwritten';
    src: url('../fonts/handwritten.otf') format('opentype');
}

.need-you-section {
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    background: url('../images/need-you.png') no-repeat center/cover;
    min-height: 80vh;
    transition: filter 0.2s ease;
    will-change: filter;
}

.need-you-section.scrolling {
    filter: blur(3px) brightness(1.1);
}

.need-you-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.need-you-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.section-title {
    color: white;
    text-shadow: 0.5px 0.5px 0.5px rgba(0, 0, 0, 0.5);
}

.need-you-content {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.writing-container {
    width: 100%;
    max-width: 600px;
    padding: 1rem;
}

.reason-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reason-item {
    position: relative;
    padding: 1.2rem 1.5rem 1.2rem 3rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: default;
}

.reason-item::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url('../images/pencil.svg') no-repeat center/contain;
    opacity: 0.9;
    filter: brightness(0) invert(1);
}

.reason-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.reason-item.highlight {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.reason-text {
    color: white;
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.reason-text.visible {
    opacity: 1;
}

@media screen and (min-width: 768px) {
    .need-you-section {
        min-height: 90vh;
    }

    .writing-container {
        padding: 2rem;
    }

    .reason-item {
        padding: 1.5rem 2rem 1.5rem 3.5rem;
        margin-bottom: 1.5rem;
    }

    .reason-text {
        font-size: 1.2rem;
    }
}
