/* ========================================= */
/* СТРАНИЦА "ДОКУМЕНТЫ" */
/* ========================================= */

.documents-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    
    background-image: url('../Images/Promo_background2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    
    /* Отступ сверху: 180px (под фиксированный хедер) */
    padding: 180px 20px 80px 20px;
    
}

.documents-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.documents-title,
.documents-nav {
    position: relative;
    z-index: 2;
}

/* Заголовок */
.documents-title {
    font-family: 'Mirra Auriolic', 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-align: center;
    margin: 0 0 60px 0;
    line-height: 1;
    
    background: linear-gradient(180deg, #ffffff 0%, #a3c4d9 50%, #6b9bb5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #83D3FF;
    paint-order: stroke fill;
    
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.8));
}

/* Навигация */
.documents-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.documents-link {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 400;
    letter-spacing: 1.5px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding-bottom: 6px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.documents-link:hover {
    color: #83D3FF;
    border-bottom-color: #83D3FF;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .documents-page {
        padding: 120px 20px 60px 20px;
        min-height: auto;
    }
    .documents-title {
        font-size: 38px;
        letter-spacing: 3px;
        margin-bottom: 40px;
    }
    .documents-nav {
        gap: 20px;
    }
    .documents-link {
        font-size: 16px;
    }
}

/* Затемнение фона */
.documents-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.documents-title,
.documents-nav {
    position: relative;
    z-index: 2;
}

/* Заголовок */
.documents-title {
    font-family: 'Mirra Auriolic', 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 6px;
    text-align: center;
    margin: 0 0 70px 0;
    line-height: 1;
    
    background: linear-gradient(180deg, #ffffff 0%, #a3c4d9 50%, #6b9bb5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #83D3FF;
    paint-order: stroke fill;
    
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.8));
}

/* Навигация по категориям */
.documents-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Ссылки категорий */
.documents-link {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.2rem, 2vw, 2rem);
    font-weight: 400;
    letter-spacing: 1.5px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    
    padding-bottom: 6px;
    border-bottom: 2px solid transparent;
    
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.documents-link:hover {
    color: #83D3FF;
    border-bottom-color: #83D3FF;
    transform: translateY(-2px);
}

/* ========================================= */
/* АДАПТИВ */
/* ========================================= */

@media (max-width: 768px) {
    .documents-page {
        padding: 120px 20px 60px 20px;
    }
    
    .documents-title {
        font-size: 42px;
        letter-spacing: 4px;
        margin-bottom: 50px;
    }
    
    .documents-nav {
        gap: 22px;
    }
    
    .documents-link {
        font-size: 18px;
    }
}