/* Dark & Sleek Theme for Matapas.gr */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --text-main: #f0f0f0;
    --text-muted: #999999;
    --accent: #00e5ff; /* Neon Cyan */
    --accent-glow: 0 0 15px rgba(0, 229, 255, 0.6);
}

body {
    margin: 0; 
    padding: 0; 
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark); 
    color: var(--text-main);
    scroll-behavior: smooth;
}

/* Navbar */
.site-header {
    position: fixed; 
    width: 100%; 
    top: 0; 
    left: 0;
    background: rgba(10, 10, 10, 0.85); 
    backdrop-filter: blur(10px); /* Glass effect */
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 20px 50px; 
    box-sizing: border-box; 
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-logo { 
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 55px;
    width: auto;
    transition: all 0.3s ease;
}

.site-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px var(--accent));
}

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--text-main); 
    text-decoration: none; 
    margin-left: 20px;
    font-size: 13px; 
    font-weight: 600;
    text-transform: uppercase; 
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.site-nav a:hover { 
    color: var(--accent); 
    text-shadow: var(--accent-glow); 
}

/* Page content wrapper to account for fixed header */
.main-wrapper {
    padding-top: 100px; /* Space for the fixed header */
}

/* Hero Section */
.hero {
    margin-top: -100px; /* Pull up to cover space behind header */
    padding: 160px 20px 20px; /* Greatly reduced bottom padding */
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    text-align: center;
    background: linear-gradient(to bottom, rgba(10,10,10,0.4), rgba(10,10,10,1)), 
                url('../images/hero-bg-placeholder.jpg') no-repeat center center/cover;
    background-color: #111; /* fallback */
}

.hero h1 { 
    font-size: 5rem; 
    margin: 0; 
    text-transform: uppercase; 
    letter-spacing: 8px; 
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

.hero p { 
    font-size: 1.2rem; 
    color: var(--text-main); 
    margin: 20px 0 40px; 
    font-weight: 300;
    letter-spacing: 1px;
}

.btn-primary {
    padding: 16px 40px; 
    background: rgba(0, 229, 255, 0.1); /* Added slightly visible background so the text is clear */
    border: 2px solid var(--accent);
    color: var(--accent) !important; 
    text-transform: uppercase; 
    font-weight: 800; 
    letter-spacing: 2px;
    cursor: pointer;
    text-decoration: none; 
    transition: all 0.3s ease;
    border-radius: 4px;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--accent); 
    color: var(--bg-dark) !important; 
    box-shadow: var(--accent-glow);
}

/* Section */
.section { 
    padding: 60px 50px; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.section-title { 
    font-size: 2.5rem; 
    margin-top: 0;
    margin-bottom: 50px; 
    display: inline-block; 
    position: relative;
}

.section-title span { 
    color: var(--accent); 
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    height: 3px;
    width: 50px;
    background-color: var(--accent);
    box-shadow: var(--accent-glow);
}

/* Grid */
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px; 
}

.card {
    background: var(--bg-card); 
    padding: 40px 30px; 
    border-radius: 8px;
    transition: all 0.4s ease; 
    border-top: 3px solid transparent;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
}

.card:hover {
    transform: translateY(-10px); 
    border-top: 3px solid var(--accent);
    background: #222;
}

.card-date {
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card h3 { 
    margin-top: 0; 
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
}

.card p { 
    color: var(--text-muted); 
    line-height: 1.7; 
    font-size: 0.95rem;
    flex-grow: 1;
}
        
.card-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--accent) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: 0.3s;
}
        
.card-link:hover {
    text-shadow: var(--accent-glow);
}

/* Language selector */
.lang-selector {
    margin-left: 30px;
    display: flex;
    gap: 10px;
}

.lang-selector a {
    margin-left: 0 !important;
    opacity: 0.5;
}

.lang-selector a:hover, .lang-selector a.active {
    opacity: 1;
    color: #fff !important;
    text-shadow: none !important;
}

/* --- LEGACY OVERRIDES (Fixing old tables) --- */
table, tr, td { background-color: transparent !important; }
td { color: var(--text-main) !important; font-family: 'Poppins', sans-serif !important; }
.keimeno { color: var(--text-muted) !important; font-family: 'Poppins', sans-serif !important; }
.keimeno p, .keimeno div, .keimeno span { font-family: 'Poppins', sans-serif !important; }
.keimeno strong { color: var(--text-main) !important; }
.keimeno a { color: var(--accent); text-decoration: underline; transition: color 0.2s ease; }
.keimeno a:hover { color: #fff; }
.titlosG { color: var(--accent) !important; }
h1, h2, h3 { color: #fff !important; font-family: 'Poppins', sans-serif !important; }
hr { border-color: #333 !important; }
