/* =========================================================
   HOME.CSS - PREMIUM BURGUNDY & PLATINUM EDITION
   ========================================================= */

/* =========================================================
   HERO SECTION: PROFESSIONAL (LIGHTER & NATURAL)
   ========================================================= */

/* --- HERO WRAPPER --- */
.hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 90vh; 
    
    /* Λευκά γράμματα */
    color: #ffffff;
    
    /* Σκούρο φόντο ασφαλείας */
    background-color: #1a1a1a;

    /* Η ΕΙΚΟΝΑ */
    background-image: 
        /* ΤΟ ΝΕΟ ΕΛΑΦΡΥ ΦΙΛΤΡΟ: */
        /* Αριστερά (στο κείμενο) είναι ημιδιάφανο μαύρο (0.75) */
        /* Δεξιά (στις κάρτες) είναι σχεδόν διάφανο (0.1) για να λάμπει η εικόνα */
        linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 100%),
        
        /* Η ΕΙΚΟΝΑ (Συμβόλαιο) */
        url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?q=80&w=2070&auto=format&fit=crop');
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Απαλή κίνηση */
    animation: bgPan 30s infinite alternate ease-in-out;
}

@keyframes bgPan {
    0% { background-position: center center; background-size: 100%; }
    100% { background-position: center top; background-size: 105%; } /* Μικρότερο zoom για ποιότητα */
}

/* --- CONTENT GRID --- */
.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    height: 100%;
    padding-top: 40px;
}

/* --- TEXT STYLING (Με σκιά για ευκρίνεια) --- */
.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    color: #ffffff;
    letter-spacing: -1px;
    
    /* ΣΗΜΑΝΤΙΚΟ: Σκιά για να ξεχωρίζει από την φωτεινή εικόνα */
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-text p {
    font-size: 1.15rem;
    color: #f0f0f0; /* Πιο λευκό από πριν */
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.7;
    font-weight: 400; /* Λίγο πιο έντονο */
    
    text-shadow: 0 1px 5px rgba(0,0,0,0.6);
}

/* --- PARTNER BADGE --- */
.partner-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3); /* Λίγο πιο σκούρο φόντο για να ξεχωρίζει */
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    padding: 10px 22px;
    border-radius: 50px;
    margin-bottom: 35px;
    gap: 15px;
}

.badge-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.divider-vertical { width: 1px; height: 20px; background: rgba(255,255,255,0.5); }

.badge-logo {
    height: 22px; width: auto;
    filter: brightness(0) invert(1); 
    opacity: 1;
}

/* --- STATS & BUTTONS --- */
.cta-group { display: flex; align-items: center; gap: 30px; }

.trust-stat { display: flex; align-items: center; gap: 12px; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.big-num { font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1; }
.small-label { font-size: 0.9rem; color: #eee; line-height: 1.2; font-weight: 500; }

.btn.primary-shadow {
    background: var(--ergo-red);
    color: #fff;
    padding: 18px 36px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); /* Πιο φυσική σκιά */
    transition: all 0.3s ease;
    border: none;
}

.btn.primary-shadow:hover {
    transform: translateY(-3px);
    background: #a30d32;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* --- GRADIENT TEXT --- */
.gradient-text-red {
    background: linear-gradient(135deg, #ff8fa3 0%, #ffffff 100%); /* Πιο φωτεινό για να φαίνεται */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* =========================================================
   GLASS CARDS (PREMIUM DARK GLOW - NO WHITE FLASH)
   ========================================================= */

.hero-cards-area { perspective: 1000px; }
.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.glass-card {
    display: flex; flex-direction: column; justify-content: space-between;
    
    /* ΑΡΧΙΚΗ ΚΑΤΑΣΤΑΣΗ: Σκούρο Γυαλί */
    background: rgba(0, 0, 0, 0.4); 
    backdrop-filter: blur(12px);
    /* Λεπτό λευκό περίγραμμα αρχικά */
    border: 1px solid rgba(255, 255, 255, 0.15);
    
    padding: 25px;
    border-radius: 16px;
    text-decoration: none;
    min-height: 180px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* --- HOVER STATE (Η Αλλαγή) --- */
.glass-card:hover {
    transform: translateY(-8px); /* Σηκώνεται λίγο */
    
    /* 1. Το φόντο ΔΕΝ γίνεται λευκό. Γίνεται λίγο πιο "καθαρό" σκούρο */
    background: rgba(0, 0, 0, 0.7); 
    
    /* 2. Το περίγραμμα γίνεται ΚΟΚΚΙΝΟ (ERGO) */
    border-color: var(--ergo-red);
    
    /* 3. Κόκκινη λάμψη από κάτω */
    box-shadow: 0 15px 40px rgba(138, 13, 45, 0.15);
}

/* --- ΚΕΙΜΕΝΑ --- */
/* Αρχικά */
.glass-card h3 { 
    font-size: 1.15rem; color: #fff; margin-bottom: 5px; font-weight: 700; transition: color 0.3s;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.glass-card p { 
    font-size: 0.95rem; color: #ccc; transition: color 0.3s; 
}

/* Στο Hover: ΠΑΡΑΜΕΝΟΥΝ ΛΕΥΚΑ (αφού το φόντο είναι σκούρο) */
.glass-card:hover h3 { color: #fff; } 
.glass-card:hover p { color: #fff; opacity: 0.9; }

/* --- ΕΙΚΟΝΙΔΙΑ --- */
.card-icon {
    width: 55px; height: 55px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 20px;
    
    background: rgba(255,255,255,0.15); 
    color: #fff;
    transition: all 0.3s;
}

/* Hover: Το εικονίδιο γίνεται ΚΟΚΚΙΝΟ */
.glass-card:hover .card-icon {
    background: var(--ergo-red); /* Κόκκινο φόντο */
    color: #fff;                 /* Λευκό εικονίδιο */
    box-shadow: 0 5px 15px rgba(138, 13, 45, 0.4); /* Λάμψη */
}

/* --- TAGS & ARROWS --- */
.best-tag {
    position: absolute; top: 15px; right: 15px;
    background: var(--ergo-red); color: #fff;
    font-size: 0.7rem; padding: 5px 10px; border-radius: 4px; font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hover-arrow {
    position: absolute; bottom: 25px; right: 25px;
    color: rgba(255,255,255,0.4); transition: 0.3s;
}

/* Στο hover γίνεται κόκκινο */
.glass-card:hover .hover-arrow { 
    color: var(--ergo-red); 
    transform: translateX(5px); 
}
/* ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(20px); animation: fadeInAnim 1s forwards ease-out; }
.delay-200 { animation-delay: 0.2s; }
@keyframes fadeInAnim { to { opacity: 1; transform: translateY(0); } }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 50px; }
    .hero-text { margin: 0 auto; }
    .partner-badge { margin: 0 auto 30px; }
    .hero-text h1 { font-size: 2.8rem; }
    .cta-group { justify-content: center; flex-direction: column; gap: 20px; }
    .hero-cards-area { width: 100%; max-width: 600px; margin: 0 auto; }
}

/* --- WHY CHOOSE US SECTION --- */
.why-choose-us {
    padding: 5rem 0;
    background-color: #fff; /* Λευκό για να σπάει το Platinum του Hero */
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-header .tagline {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ergo-red);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #f8f5f6; /* Platinum φόντο */
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid transparent; 
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-bottom: 3px solid var(--ergo-red);
    background: #fff;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--ergo-red);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #222;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.feature-card.highlighted {
    background: #fff;
    border: 1px solid rgba(138, 13, 45, 0.1);
    position: relative;
    box-shadow: 0 10px 30px rgba(138, 13, 45, 0.05);
}

.feature-card.highlighted::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--ergo-red);
    border-radius: 12px 12px 0 0;
}


/* --- PARTNERS SECTION --- */
.partners-section {
    padding: 4rem 0;
    background: #f8f5f6; /* Platinum */
    overflow: hidden; 
}

.section-title-small {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-small p {
    color: var(--ergo-red);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.section-title-small h4 {
    color: #333;
    font-size: 1.5rem;
}

.logos-slider {
    white-space: nowrap;
    position: relative;
}

.logos-slider::before, .logos-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.logos-slider::before {
    left: 0;
    background: linear-gradient(to right, #f8f5f6, transparent);
}

.logos-slider::after {
    right: 0;
    background: linear-gradient(to left, #f8f5f6, transparent);
}

.logos-slide-track {
    display: inline-block;
    animation: scroll 30s linear infinite; 
}

.logos-slide-track:hover { animation-play-state: paused; }

.slide {
    display: inline-block;
    margin: 0 40px; 
    vertical-align: middle;
}

.slide img {
    height: 50px; 
    width: auto;
    filter: grayscale(100%); 
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
    padding: 5rem 0;
    background-color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-left: 4px solid var(--ergo-red);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: #f39c12; 
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.customer-info img {
    width: 50px; height: 50px;
    border-radius: 50%;
}

.customer-info span {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a1a1a;
}

.customer-info small {
    display: block;
    font-weight: 400;
    color: #888;
    font-size: 0.85rem;
}


/* --- FINAL CTA BANNER (ERGO STYLE UPDATE) --- */
.cta-banner {
    /* Το Premium Gradient της ERGO (90deg) */
    background: linear-gradient(90deg, #7B0A28 0%, #220305 100%) !important;
    
    padding: 60px 0; 
    color: #fff;
    width: 100%;
    
    /* Κεντράρισμα */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Το κουτί που τα περιέχει όλα */
.cta-content {
    display: flex;
    justify-content: center;
    align-items: center; 
    
    /* Κρατάμε το μεγάλο κενό που είχες */
    gap: 100px; 
    width: 100%;
}

/* Η ομάδα με τα κείμενα */
.cta-text-group {
    text-align: left;
    max-width: 700px;
}

.cta-text-group h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    color: #ffffff !important;
}

.cta-text-group p {
    font-size: 1.15rem;
    font-weight: 300;
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
    color: #ffffff !important;
}

/* Το Κουμπί (Λευκό με Βαθύ Κόκκινα Γράμματα) */
.btn-white {
    background-color: #fff !important;
    color: #7B0A28 !important; /* Το χρώμα του Gradient */
    
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    
    white-space: nowrap; 
    flex-shrink: 0;
    border: none !important;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    background-color: #f2f2f2 !important;
}

/* Responsive: Στα κινητά γίνονται στήλη */
@media (max-width: 900px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .cta-text-group {
        text-align: center;
    }

    .btn-white {
        width: 100%;
        text-align: center;
    }
}





/* =========================================
   NEW ANIMATIONS & INTERACTIONS
   ========================================= */

/* 1. SCROLL REVEAL (Εμφάνιση καθώς κατεβαίνεις) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* 2. BUTTON SHINE EFFECT (Γυαλάδα στο κουμπί) */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
}

.btn-shine:hover::after {
    animation: shineAnim 0.7s;
}

@keyframes shineAnim {
    100% { left: 125%; }
}

/* 3. MOUSE PARALLAX SETUP */
/* Κάνουμε τα blobs να κινούνται ομαλά */
.blob-light {
    transition: transform 0.1s ease-out; /* Πολύ γρήγορο για να ακολουθεί το ποντίκι */
}
















/* =========================================
   FIX ΓΙΑ IPAD PRO & MOBILE (UNIVERSAL TOUCH FIX)
   ========================================= */

/* Πιάνουμε τα πάντα από το μεγάλο iPad Pro (1366px) και κάτω */
@media (max-width: 1366px) {

    .hero-wrapper, .full-screen-hero {
        /* 1. ΣΤΑΘΕΡΟΠΟΙΗΣΗ ΕΙΚΟΝΑΣ (ΓΙΑ ΝΑ ΜΗΝ ΠΗΔΑΕΙ ΣΤΟ IPAD) */
        background-attachment: scroll !important; /* Το κλειδί για iOS */
        background-position: center center !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        animation: none !important; /* Όχι κίνηση */

        /* 2. BACKGROUND IMAGE ME FADE */
        background-image: 
            linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, #1a1a1a 100%),
            url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?q=80&w=2070&auto=format&fit=crop') !important;

        /* 3. ΥΨΟΣ & LAYOUT */
        height: auto !important;
        min-height: 100vh !important;
        width: 100% !important;
        padding-top: 120px;
        padding-bottom: 60px;
    }
}

/* --- ΕΙΔΙΚΑ ΓΙΑ ΚΙΝΗΤΑ (Κάτω από 900px) --- */
/* Εδώ κρατάμε τη διάταξη "μια στήλη" που φτιάξαμε πριν */
@media (max-width: 900px) {
    
    .hero-wrapper {
        display: flex;
        flex-direction: column;
    }

    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
        height: auto !important;
    }

    .hero-text {
        text-align: center;
        width: 100%;
        padding: 0 15px;
    }
    
    .hero-text h1 { font-size: 2.1rem !important; }
    
    .partner-badge { margin: 0 auto 20px auto; }
    .cta-group { flex-direction: column; }

    /* Κάρτες σε μια στήλη */
    .hero-cards-area {
        width: 100% !important;
        margin-top: 0;
        max-width: 100%;
        padding: 0 10px;
    }

    .cards-grid {
        display: grid !important;
        grid-template-columns: 1fr !important; /* Μία στήλη */
        gap: 15px !important; /* Απόσταση μεταξύ των καρτών */
        width: 100%;
    }

    /* Η ΒΑΣΙΚΗ ΔΟΜΗ ΤΗΣ ΚΑΡΤΑΣ */
    .glass-card {
        width: 100% !important;
        height: auto !important;
        min-height: 110px; /* Σταθερό ελάχιστο ύψος για ομοιομορφία */
        padding: 20px !important; /* Άνετο padding γύρω γύρω */
        
        /* FLEXBOX: Για να μπουν δίπλα-δίπλα Εικονίδιο & Κείμενο */
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        
        /* ΤΟ ΚΛΕΙΔΙ: Κενό 20px ανάμεσα στο Εικονίδιο και τα Γράμματα */
        gap: 20px !important; 
        
        /* Στυλ (Σκούρο γυαλί) */
        background: rgba(40, 40, 40, 0.75) !important;
        border: 1px solid rgba(255,255,255,0.15) !important;
        transform: none !important;
        text-align: left !important;
    }

    /* 1. ΤΟ ΕΙΚΟΝΙΔΙΟ (Αριστερά) */
    .card-icon {
        width: 50px !important; 
        height: 50px !important; 
        flex-shrink: 0; /* Να μην ζουλιέται ποτέ */
        margin: 0 !important; /* Το κενό το κάνει το gap από πάνω */
        font-size: 1.3rem !important;
        border-radius: 12px !important;
    }

    /* 2. ΤΟ ΚΕΙΜΕΝΟ (Δεξιά) */
    .glass-card .card-content {
        flex: 1; /* Πιάνει όλο τον υπόλοιπο χώρο */
        
        /* ΣΗΜΑΝΤΙΚΟ: Αφήνουμε πάντα 60px κενό δεξιά σε ΟΛΕΣ τις κάρτες */
        /* Έτσι το κείμενο δεν θα ακουμπήσει ποτέ το Badge (αν υπάρχει) */
        padding-right: 60px !important; 
    }

    .glass-card h3 {
        font-size: 1.15rem !important;
        margin-bottom: 6px !important; /* Αέρας ανάμεσα στον τίτλο και την περιγραφή */
        color: #fff;
        line-height: 1.2 !important;
    }

    .glass-card p {
        font-size: 0.95rem !important;
        margin: 0 !important;
        color: #bbb;
        line-height: 1.4 !important;
    }

    /* 3. ΤΟ BADGE (Top Choice) */
    /* Κάθεται στη γωνία χωρίς να ενοχλεί, γιατί έχουμε το padding-right στο κείμενο */
    .best-tag {
        top: 12px !important;
        right: 12px !important;
        font-size: 0.65rem !important;
        padding: 4px 8px !important;
    }

    /* Κρύβουμε το βελάκι για καθαρότητα */
    .hover-arrow { display: none !important; }
/* =========================================
   ΚΕΝΤΡΑΡΙΣΜΑ ΜΟΝΟ ΚΕΙΜΕΝΟΥ (FIX)
   ========================================= */

@media (max-width: 1200px) {
    
    /* 1. Σιγουρεύουμε ότι το κουτί που τα περιέχει πιάνει όλο το πλάτος */
    /* (Χωρίς αυτό, το κεντράρισμα δεν δουλεύει σωστά) */
    .hero-text {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 2. Κεντράρουμε ΑΥΣΤΗΡΑ μόνο τον τίτλο και την παράγραφο */
    .hero-text h1, 
    .hero-text p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }
}