/* Essay specific styles */
.essay-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header styles */
header {
    margin-bottom: 60px;
}

/* Essay content */
.essay-content {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    color: #000;
}

.essay-content h1 {
    font-size: 2.5em;
    margin: 0 0 20px 0;
    line-height: 1.2;
    color: #000;
    font-family: 'Chakra Petch', sans-serif;
}

.essay-body {
    font-family: 'Space Mono', monospace;
    font-size: 1.1em;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.87);
}

/* Intro section */
.intro-section {
    margin-bottom: 3em;
}

.intro-section p {
    margin-bottom: 1.5em;
}

/* Blockquotes */
blockquote {
    border-left: 3px solid rgba(0, 0, 0, 0.2);
    margin: 1.5em 0;
    padding-left: 1.5em;
    color: rgba(0, 0, 0, 0.7);
    font-style: italic;
}

blockquote p {
    margin-bottom: 0.5em;
}

blockquote p:last-child {
    margin-bottom: 0;
}

/* Poem sections */
.poem-section {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.poem-item, .poem-group {
    padding: 1em;
    border-radius: 10px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.poem-item:hover, .poem-group:hover {
    background: rgba(0, 0, 0, 0.02);
}

.poem-item h2, .poem-group h2 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.5em;
    margin-bottom: 0.5em;
    color: #000;
}

/* Lists */
.poem-group ul {
    list-style: none;
    padding-left: 1em;
}

.poem-group li {
    margin-bottom: 0.8em;
    position: relative;
}

.poem-group li::before {
    content: '•';
    position: absolute;
    left: -1em;
    color: rgba(0, 0, 0, 0.5);
}

/* Bengali section */
.bengali {
    font-family: 'Space Mono', monospace;
}

/* Italian Poetry section */
.poem-list ul {
    list-style: none;
    padding-left: 0;
}

.poem-list li {
    margin-bottom: 1em;
    padding: 0.5em;
    border-radius: 5px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.poem-list li:hover {
    background: rgba(0, 0, 0, 0.02);
}

.section-link {
    color: #000;
    text-decoration: none;
    display: inline-block;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.1em;
    padding: 8px 16px;
    border: 2px solid #000;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(to right, transparent 50%, #000 50%);
    background-size: 200% 100%;
    background-position: left bottom;
}

.section-link:hover {
    transform: translateX(5px);
    color: #fff;
    background-position: right bottom;
}

.section-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 5px;
    left: 5px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    z-index: -1;
    transition: all 0.3s ease;
}

.section-link:hover::after {
    top: 0;
    left: 0;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animations */
.poem-list li:nth-child(1) { animation-delay: 0.1s; }
.poem-list li:nth-child(2) { animation-delay: 0.15s; }
.poem-list li:nth-child(3) { animation-delay: 0.2s; }
.poem-list li:nth-child(4) { animation-delay: 0.25s; }
.poem-list li:nth-child(5) { animation-delay: 0.3s; }
/* Continue for all items */

/* Responsive adjustments */
@media (max-width: 768px) {
    .essay-container {
        padding: 20px;
    }

    .essay-content {
        padding: 30px 20px;
    }

    .essay-content h1 {
        font-size: 2em;
    }

    .poem-item h2, .poem-group h2 {
        font-size: 1.3em;
    }

    blockquote {
        margin: 1em 0;
        padding-left: 1em;
    }
} 