/* --- Base Styling with Hardware Acceleration --- */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #030303;
    color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ⚡ FORCE CLICKABLE ELEMENTS */
a, 
button, 
.nav-tab, 
input, 
select, 
textarea,
[role="button"] {
    position: relative;
    z-index: 10 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Custom Modern & Subtle Scrollbar */
::-webkit-scrollbar { 
    width: 6px; 
}
::-webkit-scrollbar-track { 
    background: #030303; 
}
::-webkit-scrollbar-thumb { 
    background: rgba(255, 255, 255, 0.05); 
    border-radius: 10px; 
    transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover { 
    background: #a855f7; 
}

/* Cyber Grid Background */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 60px 60px;
    background-image: 
        linear-gradient(to right, rgba(168, 85, 247, 0.012) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(168, 85, 247, 0.012) 1px, transparent 1px);
    pointer-events: none !important;
    z-index: -3;
}

/* Noise Texture Overlay */
.noise-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.015; 
    pointer-events: none !important; 
    z-index: -2;
}

/* Elite Glassmorphism */
.glass-card {
    background: linear-gradient(135deg, rgba(12, 10, 20, 0.7) 0%, rgba(5, 4, 8, 0.4) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.6);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 85, 247, 0.25);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.05), 0 1px 1px rgba(255, 255, 255, 0.05) inset;
}

/* Clean Typography Light Glow */
.neon-glow-text {
    background: linear-gradient(135deg, #ffffff 30%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(168, 85, 247, 0.2);
}

/* Canvas background styling */
#particle-canvas {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: -4; 
    pointer-events: none !important;
}

/* Desktop Custom Dynamic Cursor Settings */
@media (min-width: 769px) {
    body {
        cursor: none; 
    }
    
    #custom-cursor {
        position: fixed; 
        width: 12px; 
        height: 12px; 
        background-color: #a855f7; 
        border-radius: 50%;
        pointer-events: none;
        z-index: 99999;
        transform: translate(-50%, -50%);
        transition: width 0.2s, height 0.2s, background-color 0.2s;
    }

    #cursor-blur {
        position: fixed;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
        z-index: 99998;
        transform: translate(-50%, -50%);
    }

    .cursor-hover {
        width: 24px !important;
        height: 24px !important;
        background-color: rgba(168, 85, 247, 0.2) !important;
        border: 1px solid #a855f7;
    }
}

/* Mobile Menu Dynamic Utility */
.menu-active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* 🍔 RESPONSIVE BURGER MENU STYLING */
.menu-container {
    display: inline-block;
    cursor: pointer;
}

.bar1, .bar2, .bar3 {
    width: 24px;
    height: 2px;
    background-color: #ffffff; /* Λευκό για να κάνει αντίθεση */
    margin: 5px 0;
    transition: 0.3s ease-in-out;
    border-radius: 2px;
}

/* Animation όταν γίνεται "X" */
.change .bar1 {
    transform: translate(0, 7px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -7px) rotate(45deg);
}


/* ==========================================================================
   ⚡ FIX: SWIPER NAVIGATION BUTTONS & CLICKS WORKING WITH CUSTOM CURSOR
   ========================================================================== */

/* Εξασφάλιση ότι τα βελάκια είναι πάντα πάνω από το slider και clickable */
.swiper-button-next-custom,
.swiper-button-prev-custom {
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 100 !important; /* Μεγαλύτερο z-index για να μην "κλέβει" τα κλικ ο κέρσορας */
}

/* Εξαναγκασμός των απενεργοποιημένων κουμπιών (αν υπάρχουν λίγα slides) να παραμένουν click targets */
.swiper-button-disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    pointer-events: auto !important;
}

/* Επαναφορά του pointer targeting σε desktop αναλύσεις πάνω από τα κουμπιά */
@media (min-width: 769px) {
    .swiper-button-next-custom:hover,
    .swiper-button-prev-custom:hover {
        cursor: pointer !important;
    }
}