/* All We Need Is Love Section */
.all {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0;
    background-color: #0a0a0a;
    color: #fff;
    position: relative;
    z-index: 10;
}

.all .container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.tattoo-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}

.tattoo-text {
    flex: 1;
    min-width: 0;
}

.tattoo-meaning {
    flex: 1;
    min-width: 0;
    padding: 30px;
    border-radius: 12px;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.6s ease-out;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    opacity: 1;
    transform: translateY(0);
}

.meaning-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fff;
    position: relative;
    padding-bottom: 0.5rem;
}

.meaning-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #4246ce;
}

.meaning-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ddd;
    margin: 0;
}

.all .text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.all .word {
    display: inline-block;
    position: relative;
    color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, #ff0000, #990000);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: all 0.5s ease;
    padding: 0 2px;
    margin: 0 2px;
    line-height: 1.4;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.all .word.animate {
    background-size: 100% 100%;
    color: transparent;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .tattoo-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .tattoo-text,
    .tattoo-meaning {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .all .word {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    
    .timeline-item {
        max-width: 90%;
        margin: 0 auto 2rem !important;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        margin: 0 auto 2rem !important;
    }
}

@media (max-width: 768px) {
    .all {
        padding: 3rem 1rem;
    }
    
    .all .container {
        padding: 0 1rem;
    }
    
    .all .word {
        font-size: clamp(1.8rem, 10vw, 3rem);
        white-space: normal;
        word-break: break-word;
    }
    
    .meaning-content h3 {
        font-size: 1.6rem;
    }
    
    .meaning-content p {
        font-size: 1rem;
    }
    
    .timeline-section {
        padding: 4rem 0.5rem;
    }
    
    .timeline-item {
        padding: 1.5rem;
        max-width: 95%;
    }
    
    .timeline-item h3 {
        font-size: 1.3rem;
    }
    
    .timeline-item p {
        font-size: 0.9375rem;
    }
}

/* Fix for mobile menu and other elements */
@media (max-width: 480px) {
    .all {
        padding: 2rem 0.5rem;
    }
    
    .all .word {
        font-size: 2rem;
        padding: 0.25rem 0;
    }
    
    .tattoo-meaning {
        padding: 1.25rem;
    }
    
    .timeline-item {
        padding: 1.25rem;
    }
}

