/* ══════════════════════════════════════════════════════
   1. ΒΑΣΙΚΕΣ ΡΥΘΜΙΣΕΙΣ (ΜΟΝΙΜΟ DARK MODE)
   ══════════════════════════════════════════════════════ */
:root {
    --primary-color: #2563eb;
    --text-color: #f5f5f5;
    --bg-image: url('dark_mode_background.png');
    --nav-bg: rgba(17, 24, 39, 0.85);
    --card-bg: rgba(31, 41, 55, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden; 
    transition: all 0.3s ease;
}

/* ══════════════════════════════════════════════════════
   2. NAVBAR - FIXED & FLOATING
   ══════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 1000;
    padding: 10px 40px;
    height: 85px; 
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-wrapper { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    text-decoration: none; 
}

.nav-logo-img { 
    height: 50px; 
    width: auto; 
}

.brand-text {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    justify-content: center;
    line-height: 1.2;
}

.brand-name { 
    font-weight: 800; 
    font-size: 1.15rem; 
    color: var(--text-color); 
    text-transform: uppercase;
    letter-spacing: -0.2px;
}

.brand-tagline { 
    font-size: 0.7rem; 
    color: var(--primary-color); 
    font-weight: 600;
    text-transform: none; 
}

.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 30px; 
}

/* ΔΙΑΜΟΡΦΩΣΗ LINKS & HIGH-TECH NEON UNDERLINE EFFECT */
.nav-links a { 
    text-decoration: none; 
    color: var(--text-color); 
    font-weight: 500; 
    font-size: 0.9rem;
    position: relative;
    padding: 8px 4px;
    transition: color 0.3s ease;
}

/* Αλλαγή χρώματος γραμματοσειράς στο hover και στο active */
.nav-links a:hover,
.nav-links a.active {
    color: #60a5fa;
}

/* Δημιουργία της neon γραμμής που σβήνει στα άκρα */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), #60a5fa, var(--primary-color), transparent);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.8), 0 0 4px rgba(96, 165, 250, 0.4);
    transition: width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.35s ease;
    opacity: 0;
}

/* Ενεργοποίηση της γραμμής όταν η σελίδα είναι active ή γίνεται hover */
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
    opacity: 1;
}

/* ══════════════════════════════════════════════════════
   3. HERO SECTION - ABOVE THE FOLD
   ══════════════════════════════════════════════════════ */
.hero-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* Καταργήθηκε το 100vh και μπήκε εσωτερικό κενό 150px στην κορυφή 
       ώστε το κείμενο να μην κρύβεται πίσω από το floating μενού μας */
    padding: 150px 5% 0 5%;
}

.hero-grid-sync {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
    max-width: 1200px;
    align-items: stretch;
    /* Μειώθηκε το margin-top εδώ για να δέσει αρμονικά με το padding */
    margin-top: 20px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.cta-banner {
    background: var(--nav-bg);
    padding: 2rem;
    border-radius: 20px;
    border-left: 6px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.hero-visual {
    position: relative;
    width: 100%;
    border-radius: 25px;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* ══════════════════════════════════════════════════════
   4. ΥΠΟΛΟΙΠΑ ΤΜΗΜΑΤΑ & ΦΙΛΟΣΟΦΙΑ
   ══════════════════════════════════════════════════════ */
.section-title { text-align: center; font-size: 2.5rem; margin-top: 6rem; margin-bottom: 3rem; font-weight: 800; }

.grid-layout { 
    display: flex; 
    gap: 2rem; 
    justify-content: center; 
    flex-wrap: wrap; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 40px; 
}

.premium-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.1);
    flex: 1;
    min-width: 300px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

.premium-card:hover {
    transform: translateY(-12px);
    background: var(--nav-bg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.news-grid { 
    display: flex; 
    gap: 2rem; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 40px; 
}

.news-card { flex: 1; border-radius: 25px; overflow: hidden; background: var(--card-bg); }
.news-img { width: 100%; height: 220px; object-fit: cover; }
.news-body { padding: 2rem; }

/* ══════════════════════════════════════════════════════
   5. BLOG & CARDS DESIGN
   ══════════════════════════════════════════════════════ */
.news-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.article-card-wrapper {
    background: var(--card-bg);
    border-radius: 25px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.article-card-wrapper:hover {
    transform: translateY(-10px);
    background: var(--nav-bg);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.article-card-image {
    height: 220px;
    width: 100%;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card-wrapper:hover .article-card-image img {
    transform: scale(1.05);
}

.article-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.category-badge {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.date-text {
    font-size: 0.8rem;
    opacity: 0.6;
    font-weight: 500;
}

.article-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.article-card-summary {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.read-more-link {
    margin-top: auto;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ══════════════════════════════════════════════════════
   6. POST PAGE LAYOUT
   ══════════════════════════════════════════════════════ */
.post-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 4rem;
    max-width: 1200px;
    margin: 120px auto 60px;
    padding: 0 40px;
}

.post-header-classic {
    text-align: center;
    margin-bottom: 3rem;
}

.post-full-title {
    font-size: 3rem;
    font-weight: 900;
    margin: 1.5rem 0 1rem;
    line-height: 1.2;
}

.post-date-meta {
    opacity: 0.6;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.post-featured-img-container {
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.post-featured-img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-top: 3rem;
}

/* Προσθήκη για αυτόματο κενό ανάμεσα στις παραγράφους του άρθρου */
.post-content-text p {
    margin-bottom: 1.5rem;
}

.post-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-box {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.1);
}

.sidebar-box h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.sidebar-list { list-style: none; }
.sidebar-list li { margin-bottom: 1.5rem; }

.sidebar-list a {
    text-decoration: none;
    color: var(--text-color);
    display: block;
    transition: 0.3s;
}

.sidebar-list a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.sidebar-date {
    display: block;
    font-size: 0.75rem;
    opacity: 0.5;
    margin-bottom: 4px;
}

.sidebar-title { font-weight: 600; line-height: 1.4; }

.post-share-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.share-buttons { display: flex; gap: 1rem; margin-top: 1rem; }

.share-icon {
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
}

.share-icon.li { background: #0077b5; }
.share-icon.fb { background: #1877f2; }

.post-footer-nav { margin-top: 4rem; }
.back-btn-link { text-decoration: none; color: var(--primary-color); font-weight: 700; }

@media (max-width: 992px) {
    .post-container { grid-template-columns: 1fr; }
    .post-sidebar { position: static; }
    .post-full-title { font-size: 2.2rem; }
}

/* ══════════════════════════════════════════════════════
   7. PARTNERS GRID & LOGO CONTROL
   ══════════════════════════════════════════════════════ */
.partners-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.partner-card {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 1.8rem 1.2rem; 
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem; 
    max-width: 300px; 
    justify-self: center;
    width: 100%;
}

.partner-card:hover {
    transform: translateY(-10px);
    background: var(--nav-bg);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.partner-logo-box {
    width: 100%;
    height: 140px;      
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0.2rem;
}

.partner-logo-box img {
    max-width: 100%;    
    max-height: 100%;   
    object-fit: contain; 
    display: block;
    filter: grayscale(10%);
    transition: 0.3s;
}

.partner-card:hover .partner-logo-box img {
    filter: grayscale(0%); 
    transform: scale(1.05);
}

.partner-info h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: var(--text-color);
}

.partner-info p {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.7;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .partners-grid-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .partners-grid-container { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════
   8. CONTACT PAGE & FORM STYLING
   ══════════════════════════════════════════════════════ */
.contact-page-container {
    max-width: 1200px;
    margin: 140px auto 80px;
    padding: 0 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.contact-main-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 1.5rem 0;
    color: var(--text-color);
}

.contact-desc {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method-item {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-method-item h4 {
    font-size: 0.9rem;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-method-item a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.3s;
}

.contact-method-item a:hover { color: var(--primary-color); }

.premium-form {
    background: var(--card-bg); 
    backdrop-filter: blur(10px); 
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255,255,255,0.1);
}

.cta-button-form {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 1rem;
}

.cta-button-form:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

/* ══════════════════════════════════════════════════════
   9. FOOTER & RESPONSIVE
   ══════════════════════════════════════════════════════ */
footer { 
    text-align: center; 
    padding: 100px 40px; 
    opacity: 0.7; 
}

@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
    .contact-main-title { font-size: 2.2rem; }
}

/* ==========================================================================
   HIGH-TECH INTERACTIVE CTA CARD (HERO RIGHT SIDE)
   ========================================================================== */
.hero-sidebar-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.premium-cta-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    width: 100%;
    max-width: 440px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* Αυτόματο high-tech εφέ παλμού λάμψης */
    animation: pulseNeonGlow 4s infinite ease-in-out;
}

.premium-cta-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: var(--nav-bg);
    border-color: var(--primary-color);
    /* Έντονη λάμψη κατά το hover */
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.6), inset 0 0 20px rgba(37, 99, 235, 0.2);
    animation: none; /* Σταθεροποίηση λάμψης στο hover */
}

/* Η κινούμενη cyber γραμμή στην κορυφή */
.tech-glow-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #2563eb, #60a5fa, #2563eb, transparent);
    background-size: 200% 100%;
    animation: moveTechGlow 3s linear infinite;
}

.premium-cta-card .cta-title {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.4;
    color: var(--text-color);
    margin: 0;
}

/* Το εσωτερικό κουμπί δράσης */
.cta-action-btn {
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    color: #60a5fa;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.premium-cta-card:hover .cta-action-btn {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.cta-action-btn .arrow {
    transition: transform 0.3s ease;
}

.premium-cta-card:hover .cta-action-btn .arrow {
    transform: translateX(6px);
}

/* ANIMATIONS ΚΙΝΗΣΗΣ ΚΑΙ ΛΑΜΨΗΣ */
@keyframes pulseNeonGlow {
    0% { box-shadow: 0 0 15px rgba(37, 99, 235, 0.15), inset 0 0 10px rgba(37, 99, 235, 0.05); border-color: rgba(255,255,255,0.08); }
    50% { box-shadow: 0 0 30px rgba(37, 99, 235, 0.4), inset 0 0 15px rgba(37, 99, 235, 0.15); border-color: rgba(37, 99, 235, 0.4); }
    100% { box-shadow: 0 0 15px rgba(37, 99, 235, 0.15), inset 0 0 10px rgba(37, 99, 235, 0.05); border-color: rgba(255,255,255,0.08); }
}

@keyframes moveTechGlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* ══════════════════════════════════════════════════════
   HONEYPOT ANTI-BOT ANTI-SPAM PROTECTION
   ══════════════════════════════════════════════════════ */
.hp-field {
    position: absolute;
    opacity: 0;
    left: -9999px;
    top: -9999px;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
}