.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.progress-bar {
    height: 100%;
    background: var(--emerald-gold);
    width: 0%;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px var(--emerald-gold);
}

.page-header {
    padding: 200px 20px 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
    background: var(--forest-dark);
}

.header-bg-layer {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: url('/orman-arka.jpg') center center / cover no-repeat;
    filter: blur(8px) brightness(0.2) contrast(1.1);
    z-index: 1;
}

.header-content-wrapper {
    position: relative;
    z-index: 2;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 5vw, 52px);
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
    font-weight: 700;
}

.page-subtitle {
    color: var(--emerald-gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
    background: rgba(197, 168, 128, 0.1);
    padding: 6px 15px;
    border-radius: 30px;
    border: 1px solid rgba(197, 168, 128, 0.2);
}

.document-container {
    background: linear-gradient(180deg, rgba(20,54,37,0.4) 0%, rgba(10,23,18,0.85) 100%);
    border: 1px solid rgba(197, 168, 128, 0.25);
    border-radius: 16px;
    padding: clamp(40px, 6vw, 80px);
    max-width: 950px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

    .document-container::before {
        content: 'RESMİ BELGE';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-30deg);
        font-family: 'Playfair Display', serif;
        font-size: 120px;
        color: rgba(255, 255, 255, 0.02);
        white-space: nowrap;
        pointer-events: none;
        z-index: 0;
        user-select: none;
    }

.document-content {
    position: relative;
    z-index: 1;
}

.doc-meta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(197, 168, 128, 0.3);
    padding-bottom: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.doc-meta-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.doc-meta-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.doc-meta-value {
    color: var(--emerald-gold);
    font-weight: 700;
    font-size: 15px;
}

.official-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.4);
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
}

.official-badge-icon {
    font-size: 20px;
}

.official-badge-text {
    font-size: 10px;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .official-badge-text strong {
        display: block;
        color: white;
        font-size: 11px;
    }

.btn-print {
    background: rgba(197, 168, 128, 0.1);
    color: var(--emerald-gold);
    border: 1px solid rgba(197, 168, 128, 0.4);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .btn-print:hover {
        background: var(--emerald-gold);
        color: var(--forest-dark);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(197, 168, 128, 0.2);
    }

.doc-section-title {
    font-family: 'Playfair Display', serif;
    color: white;
    font-size: 22px;
    margin-top: 50px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
}

    .doc-section-title::before {
        content: '§';
        color: var(--emerald-gold);
        font-size: 28px;
        font-weight: 300;
        opacity: 0.8;
    }

    .doc-section-title:first-of-type {
        margin-top: 0;
    }

.doc-text {
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    font-size: 15px;
    text-align: justify;
    margin-bottom: 20px;
    font-weight: 300;
}

    .doc-text strong {
        color: var(--emerald-gold);
        font-weight: 600;
    }

.doc-list {
    list-style: none;
    margin-bottom: 25px;
}

    .doc-list li {
        position: relative;
        padding-left: 25px;
        margin-bottom: 15px;
        color: rgba(255,255,255,0.75);
        font-size: 15px;
        line-height: 1.8;
        text-align: justify;
        font-weight: 300;
    }

        .doc-list li::before {
            content: '—';
            color: var(--emerald-gold);
            font-weight: bold;
            position: absolute;
            left: 0;
            top: 0;
        }

        .doc-list li strong {
            color: white;
            font-weight: 600;
        }

.copyright-warning-box {
    background: rgba(197, 168, 128, 0.05);
    border-left: 4px solid var(--emerald-gold);
    padding: 25px 30px;
    border-radius: 0 16px 16px 0;
    margin: 40px 0;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}

    .copyright-warning-box p {
        margin-bottom: 15px;
    }

        .copyright-warning-box p:last-child {
            margin-bottom: 0;
        }

@media print {
    @page {
        margin: 2cm;
    }

    body {
        background: white !important;
        color: black !important;
        font-family: 'Times New Roman', Times, serif !important;
    }

    .progress-container, .page-header, #layout-header, #layout-footer, .btn-print, .official-badge {
        display: none !important;
    }

    .document-container {
        box-shadow: none !important;
        border: none !important;
        filter: none !important;
        padding: 0 !important;
        background: white !important;
        max-width: 100% !important;
    }

        .document-container::before {
            display: none !important;
        }

    .doc-meta-header {
        border-bottom: 2px solid black !important;
        padding-bottom: 10px !important;
        margin-bottom: 30px !important;
        display: block !important;
        text-align: center !important;
    }

        .doc-meta-header::before {
            content: 'T.C. KOCAELİ ÜNİVERSİTESİ ORMAN KULÜBÜ \A T.C. TARIM VE ORMAN BAKANLIĞI KOORDİNASYONUNDA \A KVKK VE TELİF HAKLARI BİLDİRGESİ';
            white-space: pre-wrap;
            display: block;
            font-size: 16px;
            font-weight: bold;
            text-align: center;
            line-height: 1.5;
            margin-bottom: 20px;
        }

    .doc-meta-info {
        display: none !important;
    }

    .doc-text, .doc-list li, .copyright-warning-box p {
        color: black !important;
        font-size: 12pt !important;
        line-height: 1.5 !important;
    }

    .copyright-warning-box {
        border-left: 4px solid black !important;
        background: transparent !important;
        padding: 10px 0 10px 15px !important;
    }

    .doc-section-title {
        color: black !important;
        font-size: 14pt !important;
        font-weight: bold !important;
        margin-top: 20pt !important;
        margin-bottom: 10pt !important;
    }

        .doc-section-title::before {
            color: black !important;
        }

    .doc-text strong, .doc-list li strong {
        color: black !important;
        font-weight: bold !important;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 160px 20px 60px 20px;
    }

    .doc-meta-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-print {
        width: 100%;
        justify-content: center;
    }

    .official-badge {
        width: 100%;
    }

    .copyright-warning-box {
        padding: 20px;
    }
}
