@import url('https://fonts.googleapis.com/css2?family=Akt:wght@100..900&family=Archivo+Black&family=Roboto+Slab:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Prata&display=swap'); /* Подключили Prata */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap'); /* Подключили Lora */

@keyframes slideDownMonumental {
    0% { transform: translateY(-50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

body {
    font-family: 'Akt', sans-serif;
    background-color: #ffffff;
    color: #000000;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

header {
    text-align: left;
    padding: 10rem 4rem 8rem 4rem; 
    animation: slideDownMonumental 1.2s ease-out forwards;
}

header h1 {
    margin: 0;
    font-size: 5rem;
    font-weight: 300;
    text-transform: lowercase;
    letter-spacing: -1px;
    line-height: 1;
}

header p {
    font-size: 0.9rem;
    margin-top: 3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    color: #666666;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin-top: 5rem;
    display: inline-block;
}

nav ul li {
    display: inline;
    margin-right: 50px;
}

nav ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    padding-bottom: 5px;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s ease;
}

nav ul li a:hover {
    border-bottom: 1px solid #000000;
}
.audio-btn {
    position: absolute;
    top: 4rem; 
    right: 4rem; 
    background: none;
    border: none;
    font-family: 'Roboto Slab', serif;
    font-size: 0.75rem; 
    color: #999999; 
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0;
    transition: color 0.5s ease;
    z-index: 100; 
}

.audio-btn:hover {
    color: #000000;
}

.audio-btn:hover {
    color: #000000;
}

main {
    max-width: 1600px;
    margin: 0 auto 15rem auto;
    padding: 0 4rem;
    box-sizing: border-box;
}

.monument-slab {
    padding: 10rem 0;
    width: 100%;
    box-sizing: border-box;
}

.monument-title {
    font-family: 'Roboto Slab', serif;
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: lowercase;
    margin-top: 0;
    margin-bottom: 9rem;
    letter-spacing: 2px;
    text-align: center;
    line-height: 3;
    
    
}

.trilingual-block {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4rem;
    width: 100%;
    
    opacity: 0;
    animation: slideDownMonumental 2.5s ease-out forwards;
    animation-delay: 1.5s;
}

.text-column-3 {
    min-width: 0;
    overflow: hidden;
}

.text-column-3:not(:first-child) {
    border-left: 1px solid #e0e0e0;
    padding-left: 4rem;
}

.poem-line {
    font-family: 'Lora', serif; 
    font-size: 1.15rem; 
    line-height: 2.2;
    color: #110606;
    margin: 0;
    font-weight: 550; 
    

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
} 


.stanza-break {
    height: 2.5em;
    margin: 0;
}

.monument-epitaph {
    margin-top: 10rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 600;
    text-align: center;
    color: #666666;
}

.monument-artwork {
    max-width: 700px;
    margin: 0 auto 8rem auto;
    box-sizing: border-box;
}

.image-container {
    overflow: hidden;
    position: relative;
    cursor: none;
}

.image-container img {
    transition: transform 1.2s ease-in-out, transform-origin 0.1s linear !important; 
    width: 100%;
    height: auto;
    display: block;
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    will-change: transform, transform-origin;
}

.image-container:hover img {
    transform: scale(1.4);
}

.image-container.soft-zoom:hover img {
    transform: scale(1.25) !important;
}

.monument-artwork-caption {
    text-align: center;
    font-size: 0.8rem;
    margin-top: 2rem;
    letter-spacing: 1px;
    color: #666666;
}

.image-lens {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(0, 0, 0, 0.4); 
    box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.03); 
    background: rgba(255, 255, 255, 0.05); 
    pointer-events: none; 
    opacity: 0; 
    transition: opacity 0.3s ease;
    z-index: 10;
}

.image-container.soft-zoom .image-lens {
    width: 60px !important;
    height: 60px !important;
}

.image-container:hover .image-lens {
    opacity: 1; 
}

.archive-index {
    list-style-type: none;
    padding: 0;
    margin-top: 8rem;
}

.archive-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 3rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.archive-item a {
    font-size: 1.4rem;
    font-weight: 400;
    color: #000000;
    text-decoration: none;
    text-transform: lowercase;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.archive-item a:hover {
    opacity: 0.5;
}

.archive-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    color: #999999;
}

.archive-nav-link {
    font-family: 'Akt', sans-serif !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 4px !important;
    color: #000000 !important; 
    text-decoration: none !important; 
    border-bottom: 1px solid transparent !important;
    padding-bottom: 5px !important;
    transition: all 0.3s ease !important;
}

.archive-nav-link:hover {
    color: #666666 !important;
    border-bottom: 1px solid #666666 !important;
}

footer {
    padding: 6rem 4rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    text-align: center;
    color: #999999;
}

@media (max-width: 768px) {
    main { padding: 0 1.5rem; }
    header { padding: 4rem 1.5rem; }
    header h1 { font-size: 3.5rem; }

    .monument-title {
        font-size: 1.1rem;
        line-height: 2.2;
        margin-bottom: 5rem;
        padding: 0;
        word-wrap: break-word; 
    }

    .monument-artwork {
        max-width: 100% !important; 
        margin-bottom: 5rem;
    }

    .archive-item {
        flex-direction: column; 
        align-items: flex-start; 
        gap: 1rem; 
        padding: 2.5rem 0;
    }
    
    .archive-item a {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .trilingual-block {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 0;
    
    }

    .text-column-3 {
        border-left: none !important;
        padding-left: 0 !important;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 3rem;
    }
    
    .text-column-3:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .archive-nav-link {
        font-size: 0.85rem !important;
    }

    div[style*="display: flex; justify-content: center;"] {
        gap: 2rem !important; 
    }


    .poem-line {
        font-size: 1rem; 
        line-height: 1.5; 
        margin-bottom: 0.8rem; 
    }

    .audio-btn {
        top: 2rem;
        right: 1.5rem;
    }
    
}
.audio-archive {
    margin: 4rem 0 0 0; 
    display: flex;
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    font-family: 'Roboto Slab', serif;
}

.audio-title {
    font-size: 0.75rem;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-weight: normal;
}

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

.audio-list li {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 0.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.audio-list li:hover {
    color: #000000;
}

.audio-list li.active-track {
    color: #000000;
    font-weight: 600;
}
.minimal-player {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 250px; 
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.progress-container {
    width: 100%;
    height: 10px; 
    background-color: transparent;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
}

.progress-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
}

.progress-bar {
    height: 1px;
    background-color: #000000;
    width: 0%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: width 0.1s linear;
}

.time-display {
    font-family: 'Roboto Slab', serif;
    font-size: 0.65rem;
    color: #999999;
    margin-top: 0.5rem;
    letter-spacing: 1px;
}
.player-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
    font-family: 'Roboto Slab', serif;
    font-size: 0.65rem;
    color: #999999;
    letter-spacing: 1px;
}

.control-btn {
    cursor: pointer;
    transition: color 0.3s ease;
}

.control-btn:hover {
    color: #000000;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-slider {
    width: 50px; 
    height: 10px; 
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.volume-slider::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
}

.volume-level {
    height: 1px;
    background-color: #000000;
    width: 50%; 
    position: absolute;
    pointer-events: none;
    transition: width 0.1s linear;
}

.global-audio-bar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    
    width: 320px;
    max-height: 38px;
    
    background-color: rgba(255, 255, 255, 0.6); 
    backdrop-filter: blur(8px);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid transparent;
    
    z-index: 9999;
    font-family: 'Roboto Slab', serif;
    box-sizing: border-box;
    overflow: hidden !important; 
    
    transition: width 0.4s ease, max-height 0.5s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

.global-audio-bar.expanded {
    width: 420px; 
    max-height: 500px; 
    background-color: rgba(255, 255, 255, 1); 
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: #f0f0f0;
    border-top: none;
}

.audio-bar-header {
    cursor: pointer;
    position: relative;
    height: 38px; 
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap; 
    transition: height 0.4s ease;
}

.global-audio-bar.expanded .audio-bar-header {
    height: 55px; 
}

.audio-progress-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
}

.audio-progress-bar {
    height: 2px;
    background-color: #000000;
    width: 0%;
    transition: width 0.1s linear;
}

.audio-bar-status {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.audio-bar-header:hover .audio-bar-status {
    color: #000000;
}

.toggle-icon {
    font-size: 0.8rem;
    display: inline-block; 
    transition: transform 0.4s ease;
}

.global-audio-bar.expanded .toggle-icon {
    transform: rotate(180deg); 
}

.audio-bar-dropdown {
    opacity: 0;
    width: 100%;
    pointer-events: none; 
    transition: opacity 0.3s ease;
}

.global-audio-bar.expanded .audio-bar-dropdown {
    opacity: 1;
    pointer-events: auto; 
}

.global-list {
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    list-style: none;
    padding: 0;
}

.global-list li {
    font-size: 0.75rem; 
    margin-bottom: 1.2rem;
    letter-spacing: 1px; 
    color: #888888;
    cursor: pointer;
    transition: all 0.3s ease;
}

.global-list li:hover, .global-list li.active-track {
    color: #000000;
    font-weight: 700;
}

.global-controls {
    display: flex;
    align-items: center;
    gap: 2.5rem; 
    font-size: 0.65rem; 
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000000;
    width: 100%;
    justify-content: center;
    margin-bottom: 2.5rem;
}
