/*
Theme Name: Kalanta Theme Pro
Author: Kalanta Team
Version: 2.1
Description: Ολοκληρωμένο CSS με κάθετα widgets, social icons και responsive σχεδιασμό.
*/

/* --- 1. Reset & Typography --- */
body { 
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    line-height: 1.6; 
    color: #333; 
    margin: 0; 
    padding: 0;
    background: #f4f4f4; 
}

.container { 
    width: 95%; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 15px;
}

/* --- 2. Header & Search --- */
header { 
    background: #c30000; 
    color: white; 
    padding: 20px 0; 
    border-bottom: 4px solid #a00000;
}

.header-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
}

.logo-area h1 { margin: 0; font-size: 2rem; }
.logo-area h1 a { color: white; text-decoration: none; }

.search-form {
    display: inline-flex;
    border-radius: 25px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-field {
    border: none;
    padding: 10px 15px;
    outline: none;
    width: 180px;
}

.search-submit {
    background: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    transition: 0.3s;
}

.search-submit:hover { background: #000; }

/* --- 3. Navigation (Sticky & Mobile) --- */
nav { 
    background: #fff; 
    border-bottom: 2px solid #ddd; 
    position: sticky; 
    top: 0; 
    z-index: 999; 
}

nav ul { 
    list-style: none; 
    display: flex; 
    justify-content: center; 
    margin: 0; 
    padding: 0; 
}

nav ul li a { 
    display: block; 
    padding: 15px 20px; 
    text-decoration: none; 
    color: #333; 
    font-weight: bold; 
    text-transform: uppercase;
    font-size: 0.9rem;
}

nav ul li a:hover { color: #c30000; }

.menu-toggle { 
    display: none; 
    width: 100%; 
    padding: 15px; 
    background: #333; 
    color: white; 
    border: none; 
    cursor: pointer; 
    font-weight: bold;
}

/* --- 4. Main Layout (70/30) --- */
.main-wrapper { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 30px; 
    margin-top: 30px; 
}

.content-area { flex: 3; min-width: 300px; }
.sidebar-area { flex: 1; min-width: 280px; }

article { 
    background: white; 
    padding: 30px; 
    border-radius: 8px; 
    margin-bottom: 30px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

article h2 { color: #c30000; margin-top: 0; }

.ad-placeholder {
    background: #f9f9f9;
    border: 1px dashed #bbb;
    text-align: center;
    padding: 15px;
    margin: 15px 0;
    font-size: 11px;
    color: #999;
}

/* --- 5. Vertical Compact Widgets (Sidebar & Footer) --- */
.footer-widget-box ul, .sidebar-area ul {
    display: flex;
    flex-direction: column; 
    gap: 8px;
    padding: 0;
    list-style: none;
    margin: 0;
}

.footer-widget-box ul li a, .sidebar-area ul li a {
    display: block;
    padding: 10px 15px;
    background: #fdfdfd;
    color: #333;
    border-radius: 6px;
    font-size: 0.9rem;
    text-decoration: none;
    border-left: 4px solid #c30000;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.footer-widget-box ul li a:hover, .sidebar-area ul li a:hover {
    background: #c30000;
    color: #fff;
    padding-left: 20px;
}

/* --- 6. Social Media Icons --- */
.social-links { display: flex; gap: 12px; margin-top: 15px; }

.social-icon { 
    width: 38px; 
    height: 38px; 
    background: #444; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: 0.3s;
}

.social-icon svg { width: 18px; height: 18px; fill: white; }

.social-icon:hover { transform: translateY(-3px); }
.icon-facebook:hover { background: #3b5998; }
.icon-youtube:hover { background: #ff0000; }
.icon-instagram:hover { background: #e1306c; }
.icon-tiktok:hover { background: #010101; }

/* --- 7. Footer --- */
footer { 
    background: #222; 
    color: #ccc; 
    padding: 40px 0; 
    margin-top: 50px; 
}

.footer-widgets-container { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 30px; 
    border-bottom: 1px solid #444; 
    padding-bottom: 30px; 
    margin-bottom: 20px;
}

.footer-column { flex: 1; min-width: 250px; }

.footer-widget-title { color: #fff; border-bottom: 2px solid #c30000; display: inline-block; margin-bottom: 15px; }

/* Styling για το menu του footer ώστε να είναι σκούρο */
footer .footer-widget-box ul li a {
    background: #333;
    color: #eee;
    border-color: #c30000;
}

/* --- 8. Cookie Banner --- */
#cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #111;
    color: #fff;
    padding: 20px;
    text-align: center;
    z-index: 9999;
    border-top: 3px solid #c30000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

/* --- 9. Responsive Design --- */
@media (max-width: 992px) {
    .main-wrapper { flex-direction: column; }
    .sidebar-area { order: 2; }
    .content-area { order: 1; }
}

@media (max-width: 768px) {
    .header-flex { flex-direction: column; text-align: center; gap: 15px; }
    .menu-toggle { display: block; }
    #menu-container { display: none; }
    #menu-container.is-open { display: block; }
    nav ul { flex-direction: column; }
    nav ul li a { border-bottom: 1px solid #eee; }
}

/* Styling για το Λογότυπο με Τίτλο */
.logo-link {
    display: flex;
    align-items: center; /* Κάθετη στοίχιση στο κέντρο */
    text-decoration: none; /* Αφαίρεση υπογράμμισης */
}

.site-logo {
    max-width: 200px; /* Κάνουμε το λογότυπο πιο compact */
    height: auto;
    margin-right: 15px; /* Απόσταση από το κείμενο */
    transition: all 0.3s ease;
}

.text-logo-wrapper {
    display: flex;
    flex-direction: column; /* Τίτλος και Περιγραφή το ένα κάτω από το άλλο */
}

.site-title {
    color: #c30000; /* Χρώμα τίτλου */
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.1;
}

.site-description {
    color: #c30000; /* Πιο ανοιχτό γκρι για την περιγραφή */
    font-size: 0.9rem;
    margin: 0;
    font-weight: normal;
}

/* Responsive Ρυθμίσεις για Κινητά */
@media (max-width: 768px) {
    .logo-link {
        flex-direction: column; /* Κάθετη διάταξη στα κινητά */
        text-align: center;
    }
    .site-logo {
        max-width: 60px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .site-title {
        font-size: 1.5rem;
    }
}

/* Πλήρης απόκρυψη εικόνων σε όλες τις λίστες (Categories, Tags, Archives) */
.archive img.wp-post-image, 
.category img.wp-post-image,
.archive .post-thumbnail,
.category .post-thumbnail {
    display: none !important;
}