/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif; 
    line-height: 1.7;
    padding: 20px;
}

/* Header Styling */
header {
    text-align: center;
    padding: 30px 20px 50px 20px;
    max-width: 850px;
    margin: 0 auto 20px auto;
}

/* Container για το Logo */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

/* Ρυθμίσεις για την υπογραφή-λογότυπο */
.artist-logo {
    max-width: 220px; 
    height: auto;
    display: block;
    filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.5));
}

header h2 {
    color: #a0a0a0;
    font-size: 1.05rem;
    font-weight: 300;
    margin-bottom: 15px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.5px;
    font-style: italic; 
}

/* Navigation Menu */
.category-menu {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.category-menu a {
    font-family: 'Marcellus', serif; 
    color: #a0a0a0;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 8px 25px;
    border-radius: 20px;
    border: 1px solid #333;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.category-menu a:hover, .category-menu a.active {
    color: #ffffff;
    background-color: #00adb5;
    border-color: #00adb5;
    box-shadow: 0 0 10px rgba(0, 173, 181, 0.4);
}

/* 🧱 Mosaic Container (Masonry) */
/* 🧱 Mosaic Container (Masonry) */
.gallery-mosaic {
    max-width: 1300px;
    margin: 0 auto;
    column-count: 3;    
    column-gap: 20px;   
}

/* 💥 The Interactive Mosaic Item */
.mosaic-item {
    display: block;
    text-decoration: none; 
    background-color: #1e1e1e;
    margin-bottom: 20px; 
    break-inside: avoid; 
    border-radius: 8px;
    overflow: hidden; /* Κρατάει την εικόνα μέσα στα στρογγυλεμένα όρια όταν κάνει zoom */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    border: 1px solid #222;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.4s ease;
    cursor: pointer;
}

/* Hover στο συνολικό κάρτα (Ανύψωση & Κυανό περίγραμμα) */
.mosaic-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 173, 181, 0.2);
    border-color: rgba(0, 173, 181, 0.4);
}

/* Η Εικόνα (Zoom & Φωτεινότητα) */
.mosaic-item img {
    width: 100%;
    height: auto;        
    display: block;
    filter: brightness(0.92); /* Ελαφρώς πιο ατμοσφαιρική αρχικά */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                filter 0.5s ease;
}

/* Hover στην Εικόνα */
.mosaic-item:hover img {
    transform: scale(1.04); /* Smooth διακριτικό zoom */
    filter: brightness(1.08); /* "Ζωντανεύει" τα χρώματα της τέχνης */
}

/* Ο Τίτλος κάτω από την εικόνα */
.item-title {
    font-family: 'Marcellus', serif; 
    padding: 14px 15px;
    font-size: 1.05rem;
    color: #a0a0a0;
    text-align: center;
    background-color: #1e1e1e;
    border-top: 1px solid #2a2a2a;
    letter-spacing: 1px;
    text-transform: capitalize; 
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* Hover στον Τίτλο (Γίνεται λευκός/κυανός) */
.mosaic-item:hover .item-title {
    color: #ffffff;
    background-color: #242424;
}

/* Ο τίτλος του έργου κάτω από την εικόνα */
.item-title {
    font-family: 'Marcellus', serif; 
    padding: 14px 15px;
    font-size: 1.05rem;
    color: #ffffff;
    text-align: center;
    background-color: #1e1e1e;
    border-top: 1px solid #2a2a2a;
    letter-spacing: 1px;
    text-transform: capitalize; 
}

/* 🔼 Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    background-color: #1e1e1e;
    color: #00adb5;
    border: 1px solid #333;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(-90deg);
    
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    background-color: #00adb5;
    color: #ffffff;
    border-color: #00adb5;
    box-shadow: 0 0 15px rgba(0, 173, 181, 0.6);
}

/* Footer & Messages */
.no-images {
    text-align: center;
    color: #777;
    padding: 40px;
    width: 100%;
}

footer {
    font-family: 'Marcellus', serif;
    text-align: center;
    margin-top: 80px;
    padding: 30px 25px;
    color: #555;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-top: 1px solid #222;
}

/* 🌐 Social Links Section */
.social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icon {
    width: 32px;
    height: 32px;
    fill: #555; /* Αρχικό γκρι χρώμα για να ταιριάζει με το footer */
    transition: fill 0.3s ease, filter 0.3s ease;
}

.social-links a:hover .social-icon {
    fill: #00adb5; /* Γυρνάει σε κυανό στο hover */
    filter: drop-shadow(0 0 8px rgba(0, 173, 181, 0.6));
}

/* Responsive για Κινητά και Tablets */
@media (max-width: 900px) {
    .gallery-mosaic {
        column-count: 2; 
    }
}

@media (max-width: 600px) {
    .artist-logo {
        max-width: 160px; 
    }
    .gallery-mosaic {
        column-count: 1; 
    }
    .category-menu {
        gap: 10px;
    }
    .category-menu a {
        font-size: 1rem;
        padding: 6px 18px;
    }
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Special Style για το εξωτερικό link στα Albums */
.category-menu a.external-link {
    border-color: #444;
    color: #b0b0b0;
    transition: all 0.3s ease;
}

.category-menu a.external-link:hover {
    color: #ffffff;
    background-color: rgba(0, 173, 181, 0.15); /* Διακριτικό κυανό background */
    border-color: #00adb5;
    box-shadow: 0 0 12px rgba(0, 173, 181, 0.3);
}

/* 🔽 Dropdown Menu Styles */
/* 🔽 Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    cursor: pointer;
}

.dropdown-btn .arrow {
    font-size: 0.8rem;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

/* Το πλαίσιο που εμφανίζεται στο hover */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1a1a1a;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 173, 181, 0.2);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 8px 0;
    z-index: 100;
    
    /* 🛡️ Η αόρατη γέφυρα: Δημιουργεί ενεργή περιοχή hover χωρίς κενό */
    margin-top: 0px;
    
    /* Smooth Show/Hide εφέ με καθυστέρηση για να μην χάνεται το focus */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    transition-delay: 0.15s; /* Μικρή καθυστέρηση στο κλείσιμο όταν φεύγει το ποντίκι */
}

/* 🛡️ Αόρατο ψευδο-στοιχείο που ενώνει το κουμπί με το menu */
.dropdown-content::after {
    content: '';
    position: absolute;
    top: -15px; /* Καλύπτει το κενό μέχρι το πάνω κουμπί */
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

/* Εμφάνιση του Dropdown στο Hover */
.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s; /* Ακαριαίο άνοιγμα όταν μπαίνει το ποντίκι */
}

/* Τα links των Albums μέσα στο Dropdown */
.dropdown-content a {
    color: #d0d0d0 !important;
    padding: 10px 18px !important;
    text-decoration: none;
    display: block;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    border: none !important;
    border-radius: 0 !important;
    text-align: left;
    background: transparent !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

.dropdown-content a:hover {
    background-color: #262626 !important;
    color: #00adb5 !important;
}

/* Διακριτικό βελάκι πάνω από το dropdown */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: #1a1a1a;
    border-left: 1px solid #333;
    border-top: 1px solid #333;
}