/* === Общий фон === */
body {
  background: linear-gradient(to bottom, #FAF6F0, #F8F4EE);
  color: #3A3226;
  font-family: 'Open Sans', sans-serif;
}

/* === Секции === */
section {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(5px);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 4rem;
}

/* === Заголовки === */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

/* === Эффекты при наведении === */
blockquote:hover,
.border-l-4:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

/* === Кнопка/ссылка внизу (если добавишь QR или подпись) === */
footer {
  background-color: #6C1D2B;
  color: #FAF6F0;
  text-align: center;
  padding: 1.5rem 0;
  border-radius: 12px 12px 0 0;
  margin-top: 4rem;
}


body {
    font-family: 'Open Sans', sans-serif;
    color: #3A3226;
    line-height: 1.6;
}


body {
    font-family: 'Open Sans', sans-serif;
    color: #3A3226;
    line-height: 1.6;
}

/* Hero Section */
main > section:first-child {
    background: linear-gradient(135deg, #F8F1E5 0%, #E8D9C5 100%);
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Overview Section */
main > section:nth-child(2) {
    background: #F5EDE3;
    border-radius: 15px;
    margin: 2rem auto;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

/* Biography Section */
main > section:nth-child(3) {
    background: #F9F5EF;
    border-radius: 15px;
    margin: 2rem auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

/* Famous Works Section */
main > section:nth-child(4) {
    background: #FAF6F0;
    border-radius: 15px;
    margin: 2rem auto;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

/* Quotes Section */
main > section:nth-child(5) {
    background: #F2F2F2;
    border-radius: 15px;
    margin: 2rem auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

/* Content Blocks */
.grid > div, .space-y-8 > blockquote {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.grid > div:hover, .space-y-8 > blockquote:hover {
    transform: translateY(-2px);
}

/* Typography */
h1, h2, h3, .font-serif {
    color: #6C1D2B;
    font-weight: 700;
}

p {
    color: #5A4A3F;
}

blockquote {
    background: rgba(255, 255, 255, 0.8);
    border-left: 4px solid #6C1D2B;
}

/* Image Styling */
img {
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Padding */
@media (max-width: 768px) {
    main > section {
        margin: 1rem;
        padding: 1.5rem;
    }
}

/* Poems Page Specific Styles */
main > div.space-y-8 > div {
    transition: transform 0.3s ease;
}

main > div.space-y-8 > div:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .md\\:w-3\\/4 {
        width: 100%;
    }
    .md\\:ml-auto, .md\\:mr-auto {
        margin-left: 0;
        margin-right: 0;
    }
}

main > section:first-child {
    position: relative;
    z-index: 10; /* меньше чем у сайдбара */
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

body {
    font-family: 'Arial', sans-serif;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.song-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.song-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 320px;
}

.song-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.song-lyrics {
    color: #555;
    line-height: 1.6;
    text-align: center;
}

/* Desktop Layout */
@media (min-width: 768px) {
    .song-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        align-items: start;
    }

    .left-card {
        justify-self: start;
    }

    .right-card {
        justify-self: end;
    }

    .center-card {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 50%;
    }
}

/* Mobile Layout */
@media (max-width: 767px) {
    .song-card {
        max-width: 100%;
    }
}