/* =========================================
   Βασικές Ρυθμίσεις Σελίδας
   ========================================= */
body {
    font-family: 'GFS Didot', 'Segoe UI', serif;
    margin: 0;
    padding: 0;
    background-color: #f9f7f2; /* Χρώμα παλαιού χαρτιού */
    color: #2c2c2c;
    line-height: 1.6;
}

/* =========================================
   Header - Η Εικόνα 1200x600 με Χρυσό Πλαίσιο
   ========================================= */
.main-header {
    background: url('arxeia/anastasi.jpg');
    background-size: cover;
    background-position: center;
    
    width: 1200px;
    height: 600px;
    max-width: 95%; /* Για συμβατότητα με μικρότερες οθόνες */
    
    margin: 60px auto 40px auto; 
    border: 5px solid #d4af37; /* Χρυσό Πλαίσιο */
    box-sizing: border-box; 
    
    display: flex;
    flex-direction: column;
    padding-bottom: 520px;
    align-items: flex-end;
    
    justify-content: flex-end;
    
    align-items: center;
    
	 padding-bottom: 0px;
	 box-sizing: border-box;

    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Ο Τίτλος ORTHWAY με Μεταλλικό Χρυσό Εφέ */
.main-header h1 {
    font-family: 'GFS Didot', serif;
    font-size: 5rem;
    margin: 0;
    letter-spacing: 8px;
    text-transform: uppercase;
    font-weight: bold;

    /* Gradient για εφέ χρυσού φύλλου */
    background: linear-gradient(to bottom, #f1d388 20%, #d4af37 50%, #8a6d1d 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Σκιά που δεν επηρεάζει το εσωτερικό των γραμμάτων */
    filter: drop-shadow(4px 4px 8px rgba(0,0,0,0.8));
}

/* Το Πολυτονικό Απόφθεγμα κάτω από τον τίτλο */
#quote-display {
    font-family: 'GFS Didot', serif;
    font-size: 1.8rem;
    margin-top: 25px;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0,0,0,1);
    max-width: 85%;
    line-height: 1.4;
    min-height: 1.6em;
    animation: fadeIn 2s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =========================================
   Layout - Στήλες (Wrapper)
   ========================================= */
.wrapper {
    max-width: 1200px;
    margin: 30px auto;
    display: flex;
    gap: 30px;
    padding: 0 20px;
}

/* Αριστερή Στήλη (Sidebar) */
.sidebar {
    flex: 1;
    min-width: 250px;
}

.sidebar-box {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid #8e735b; /* Εκκλησιαστικό καφέ/χρυσό */
}

.sidebar h3 {
    color: #8e735b;
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li a {
    text-decoration: none;
    color: #555;
    transition: 0.3s;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #fafafa;
}

.sidebar ul li a:hover {
    color: #8e735b;
    padding-left: 8px;
    background-color: #fdfaf5;
}

/* Κυρίως Περιεχόμενο (Δεξιά Στήλη) */
.main-content {
    flex: 3;
}

.content-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.content-card h2 {
    color: #333;
    border-bottom: 2px solid #f4f1ea;
    padding-bottom: 10px;
}

/* =========================================
   Λίστα Αρχείων & Πλήκτρα
   ========================================= */
.file-item {
    background: #fffdf9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
}

.file-item:hover {
    border-color: #d4af37;
    transform: translateY(-2px);
}

.file-info span {
    font-weight: bold;
    display: block;
    font-size: 1.1rem;
}

.file-info small {
    color: #888;
}

.button-group {
    display: flex;
    gap: 10px;
}

.btn {
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

/* Πλήκτρο Viewer */
.btn-view {
    background-color: #e8f0fe;
    color: #1a73e8;
    border: 1px solid #1a73e8;
}

.btn-view:hover {
    background-color: #1a73e8;
    color: white;
}

/* Πλήκτρο Download */
.btn-download {
    background-color: #8e735b;
    color: white;
    border: 1px solid #8e735b;
}

.btn-download:hover {
    background-color: #6f5945;
}

/* =========================================
   Footer & Responsive
   ========================================= */
footer {
    text-align: center;
    padding: 40px;
    color: #888;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .wrapper {
        flex-direction: column;
    }
    .main-header {
        height: 450px;
        width: 100%;
    }
    .main-header h1 {
        font-size: 2.5rem;
    }
    .file-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}