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

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a; /* Πολύ σκούρο, σχεδόν μαύρο */
    color: #ffffff;
    overflow-x: hidden;
}

/* Typography */
h1 {
    font-family: 'Space Grotesk', sans-serif; /* Tech Font */
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin-bottom: 40px;
}

/* Navigation */
.navbar {
    position: fixed; /* ΚΟΛΛΑΕΙ ΣΤΗΝ ΚΟΡΥΦΗ */
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px; /* Λίγο πιο compact */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000; /* Πάνω από όλα */
    
    /* Εφέ Γυαλιού */
    background: rgba(10, 10, 10, 0.85); 
    backdrop-filter: blur(15px); /* Θολώνει το background από πίσω */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

/* Όταν κατεβαίνεις (αν θες να μικραίνει λίγο - προαιρετικό JS) */
.navbar.scrolled {
    padding: 15px 50px;
    background: rgba(0, 0, 0, 0.95);
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.dot { color: #00f2ff; } /* Neon Blue Dot */

.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { 
    text-decoration: none; 
    color: #fff; 
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover { color: #00f2ff; }

/* Buttons */
.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #00f2ff; /* Neon Cyan */
    color: #000;
}
.btn-primary:hover {
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4); /* Glow Effect */
}

.btn-outline {
    border: 2px solid rgba(255,255,255,0.2);
    color: #fff;
    margin-left: 15px;
}
.btn-outline:hover { border-color: #fff; }

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh; /* Full Screen */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Αριστερή στοίχιση */
    padding: 0 10%; /* Περιθώριο */
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 100%);
    z-index: -1;
}

/* AI Badge */
.ai-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #00f2ff;
    border: 1px solid rgba(0, 242, 255, 0.2);
    margin-bottom: 25px;
}

.pulse {
    width: 8px; height: 8px;
    background-color: #00f2ff;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 0 rgba(0, 242, 255, 0.7);
    animation: pulse 2s infinite;
}

/* Animations */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 242, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 242, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 242, 255, 0); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%; /* Κρυμμένο δεξιά */
        top: 0;
        height: 100vh;
        background: #000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        transition: 0.4s ease-in-out;
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0; /* Εμφάνιση */
    }
    
    .hamburger { display: block; z-index: 1000; cursor: pointer; color: #fff; font-size: 1.5rem; }
}

.line {
    width: 30px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile Menu Overlay (Αρχικά κρυφό) */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.98); /* Σχεδόν μαύρο */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none; /* Για να μην πατιέται όταν είναι κρυφό */
    transition: opacity 0.4s ease;
    z-index: 1000;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li { margin: 30px 0; }

.mobile-nav-links a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-nav-links a:hover { color: #00f2ff; letter-spacing: 2px; }

/* Ενεργοποίηση Menu (μέσω JS) */
.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* Animation για το Hamburger -> X */
.hamburger.active .line1 { transform: rotate(-45deg) translate(-5px, 6px); background-color: #00f2ff; }
.hamburger.active .line2 { opacity: 0; }
.hamburger.active .line3 { transform: rotate(45deg) translate(-5px, -6px); background-color: #00f2ff; }

@media (max-width: 768px) {
    .nav-links { display: none; } /* Κρύβουμε το desktop menu */
    .hamburger { display: block; } /* Εμφανίζουμε το hamburger */
}

/* --- SERVICES SECTION --- */
.section { padding: 100px 20px; }
.container { max-width: 90%; margin: 0 auto; }
.section-title { font-family: 'Space Grotesk', sans-serif; font-size: 3rem; margin-bottom: 50px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    transition: 0.3s;
    backdrop-filter: blur(10px);
}
.service-card:hover { transform: translateY(-10px); border-color: #00f2ff; background: rgba(0, 242, 255, 0.05); }

.service-icon { font-size: 2.5rem; color: #00f2ff; margin-bottom: 20px; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.service-card p { color: #aaa; line-height: 1.6; }

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

.project-card-home {
    display: block;
    text-decoration: none;
    background: #111;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid #222;
    transition: 0.4s;
}
.project-card-home:hover { transform: scale(1.02); border-color: #00f2ff; }

.p-image { height: 250px; overflow: hidden; }
.p-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.project-card-home:hover .p-image img { transform: scale(1.1); }

.p-info { padding: 25px; }
.p-cat { color: #00f2ff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.p-info h3 { color: #fff; margin-top: 5px; font-size: 1.4rem; font-family: 'Space Grotesk'; }

.view-all { color: #fff; text-decoration: none; border-bottom: 1px solid #00f2ff; padding-bottom: 3px; }

/* --- FOOTER CTA --- */
.footer-cta { text-align: center; padding: 100px 20px 50px; background: linear-gradient(to top, #001 0%, #0a0a0a 100%); }
.footer-cta h2 { font-size: 3rem; margin-bottom: 10px; font-family: 'Space Grotesk'; }
.footer-cta p { color: #888; font-size: 1.2rem; margin-bottom: 40px; }
.btn-large { padding: 18px 50px; font-size: 1.2rem; }
.footer-bottom { margin-top: 80px; color: #444; font-size: 0.9rem; }

.logo-img {
    height: 40px; /* Ρύθμισε το ύψος ανάλογα με το λογότυπό σου */
    width: auto;
    vertical-align: middle;
}

/* --- CUSTOM CURSOR --- */
.cursor {
    position: fixed;
    width: 10px; height: 10px;
    background: #00f2ff;
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
    mix-blend-mode: difference; /* Εφέ αντιστροφής χρώματος */
}

.cursor-follower {
    position: fixed;
    width: 30px; height: 30px;
    border: 1px solid rgba(0, 242, 255, 0.5);
    border-radius: 50%;
    z-index: 9998;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.15s, width 0.3s, height 0.3s;
}

/* Όταν κάνεις hover σε Links */
a:hover ~ .cursor-follower, button:hover ~ .cursor-follower {
    width: 50px; height: 50px;
    background: rgba(0, 242, 255, 0.1);
    border-color: #00f2ff;
}

/* --- PRELOADER --- */
.preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.loader-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
}

.loading-bar {
    width: 0%;
    height: 2px;
    background: #00f2ff;
    transition: width 0.5s;
    max-width: 200px;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* --- TECH MARQUEE --- */
.tech-marquee { background: #00f2ff; padding: 15px 0; overflow: hidden; white-space: nowrap; transform: rotate(-2deg); margin: 50px 0; }
.tech-marquee .track { display: inline-block; animation: marquee 20s linear infinite; }
.tech-marquee span { font-family: 'Space Grotesk', sans-serif; font-weight: bold; font-size: 1.5rem; color: #000; margin-right: 50px; text-transform: uppercase; }

@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- PROCESS SECTION --- */
.process-section { background: #0e0e0e; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-top: 50px; }
.process-step { position: relative; padding: 20px; border-left: 1px solid #333; transition: 0.3s; }
.process-step:hover { border-left-color: #00f2ff; background: linear-gradient(90deg, rgba(0,242,255,0.05), transparent); }

.step-number { font-size: 3rem; font-weight: bold; color: rgba(255,255,255,0.1); margin-bottom: 10px; font-family: 'Space Grotesk'; }
.process-step h3 { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.process-step p { color: #888; font-size: 0.95rem; }

/* --- FOOTER TWEAKS --- */
.social-links { margin-bottom: 20px; }
.social-links a { color: #fff; margin: 0 15px; font-size: 1.2rem; transition: 0.3s; }
.social-links a:hover { color: #00f2ff; }
/* --- DROPDOWN MENU --- */
.dropdown { position: relative; }

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #111;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1;
    border: 1px solid #222;
    border-radius: 10px;
    top: 100%;
    left: 0;
    padding: 10px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    transition: 0.2s;
}

.dropdown-content a:hover {
    background-color: #00f2ff;
    color: #000;
}

.dropdown-content a i { width: 20px; text-align: center; }

/* Mobile Dropdown adjustment */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        background: transparent;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        display: none; /* Κρυφό αρχικά και στο κινητό */
    }
    .dropdown.active .dropdown-content { display: block; opacity: 1; transform: none; }
}

/* --- AI SOLUTIONS SECTION STYLES --- */

.ai-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 στήλες σε μεγάλες οθόνες */
    gap: 30px;
    margin-top: 50px;
}

/* The Glass Card style */
.ai-card {
    display: block;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03); /* Πολύ διάφανο λευκό */
    backdrop-filter: blur(12px); /* Το εφέ του παγωμένου γυαλιού */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08); /* Λεπτό περίγραμμα */
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
    position: relative;
    overflow: hidden;
}

/* Hover Effects (The "Glow Up") */
.ai-card:hover {
    transform: translateY(-10px) scale(1.02); /* Σήκωμα προς τα πάνω */
    border-color: rgba(0, 242, 255, 0.5); /* Το περίγραμμα γίνεται cyan */
    box-shadow: 0 15px 40px rgba(0, 242, 255, 0.15); /* Λάμψη από κάτω */
    background: rgba(255, 255, 255, 0.05);
}

/* Subtle gradient overlay on hover */
.ai-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(0,242,255,0.1), transparent 60%);
    opacity: 0;
    transition: 0.4s;
    z-index: -1;
}
.ai-card:hover::before { opacity: 1; }


.ai-card-icon {
    font-size: 2.5rem;
    color: #00f2ff;
    margin-bottom: 25px;
    display: inline-block;
    transition: 0.4s;
}
.ai-card:hover .ai-card-icon {
    transform: scale(1.1) rotate(-5deg); /* Μικρή κίνηση στο εικονίδιο */
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.6);
}

.ai-card-content h3 {
    color: #fff;
    font-family: 'Space Grotesk';
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.ai-card-content p {
    color: #999;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.ai-link {
    color: #00f2ff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}
.ai-card:hover .ai-link {
    color: #fff;
    padding-left: 5px; /* Μικρή κίνηση προς τα δεξιά */
}

/* Responsive Design */
@media (max-width: 1200px) {
    .ai-services-grid { grid-template-columns: repeat(2, 1fr); } /* 2 στήλες σε tablet */
}
@media (max-width: 768px) {
    .ai-services-grid { grid-template-columns: 1fr; gap: 20px; } /* 1 στήλη σε κινητά */
    .section.ai-solutions { padding: 80px 0; }
}