/* =========================================
   SERVICES.CSS - ULTIMATE EDITION
   ========================================= */

/* =========================================
   1. SERVICE PAGE HERO (PRODUCT FOCUS)
   ========================================= */

.service-page-wrapper {
    background-color: #f4f6f8; /* Technical Silver Background */
    padding: 120px 0 60px;     /* Αέρας για το header */
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Διακοσμητικό στοιχείο πίσω */
.bg-shape {
    position: absolute;
    top: -20%; right: -10%;
    width: 60%; height: 120%;
    background: linear-gradient(135deg, rgba(138,13,45,0.03) 0%, rgba(138,13,45,0) 100%);
    transform: skewX(-20deg);
    z-index: 0;
}

/* --- BREADCRUMBS (FIXED POSITION & SLASH) --- */
.breadcrumbs {
    position: relative; /* Κρατάμε το Relative για να σπρώχνει την κάρτα κάτω */
    margin-bottom: 20px;
    z-index: 10;
    width: 100%;
}

.breadcrumbs ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: 10px; font-size: 0.85rem; color: #888;
    align-items: center;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

/* Η ΑΛΛΑΓΗ: Επιστροφή στην κάθετο (/) */
.breadcrumbs li::after {
    content: '/';  /* Η κάθετος που ζήτησες */
    margin-left: 10px;
    color: #ccc;
    font-weight: 300; /* Λεπτή και κομψή */
}

/* Στο τελευταίο στοιχείο ΔΕΝ θέλουμε διαχωριστικό */
.breadcrumbs li:last-child::after {
    content: none;
}

.breadcrumbs a { text-decoration: none; color: #666; transition: 0.2s; }
.breadcrumbs a:hover { color: var(--ergo-red); }
.breadcrumbs span { color: var(--ergo-red); font-weight: 700; }


/* PRODUCT CARD (Το κουτί που περιέχει τα πάντα) */
.product-hero-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08); /* Premium Shadow */
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Περισσότερος χώρος στο κείμενο */
    overflow: hidden; /* Για να κόβει την εικόνα σωστά */
    position: relative;
    z-index: 2;
    border: 1px solid #fff;
}

/* ΑΡΙΣΤΕΡΑ: CONTENT */
.ph-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ph-tag {
    display: inline-block; font-size: 0.75rem; font-weight: 800; color: var(--ergo-red);
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px;
    background: #fff0f3; padding: 6px 14px; border-radius: 4px; align-self: flex-start;
}

.ph-content h1 {
    font-size: 3rem; font-weight: 800; color: #111; line-height: 1.1; margin-bottom: 20px;
}

.ph-content p {
    font-size: 1.15rem; color: #555; line-height: 1.6; margin-bottom: 40px;
}

/* Quick Specs (Εικονίδια κάτω από το κείμενο) */
.ph-specs {
    display: flex; gap: 30px; border-top: 1px solid #eee; padding-top: 30px;
}
.spec-item { display: flex; align-items: center; gap: 12px; }
.spec-icon {
    width: 40px; height: 40px; background: #f9f9f9; border-radius: 50%;
    display: flex; justify-content: center; align-items: center; color: var(--ergo-red);
}
.spec-info h4 { font-size: 0.9rem; margin: 0; color: #111; font-weight: 700; }
.spec-info span { font-size: 0.8rem; color: #777; }


/* ΔΕΞΙΑ: IMAGE AREA */
.ph-image {
    position: relative;
    background: #f0f0f0;
    overflow: hidden;
}

.ph-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-hero-card:hover .ph-image img {
    transform: scale(1.05);
}

/* Floating Price/Offer Badge */
.ph-badge {
    position: absolute; bottom: 30px; left: 30px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.ph-badge span { display: block; font-size: 0.8rem; color: #666; text-transform: uppercase; }
.ph-badge strong { font-size: 1.4rem; color: var(--ergo-red); font-weight: 800; }


/* --- PREMIUM BUTTON STYLE --- */
.btn-primary-premium {
    display: inline-block;
    background-color: var(--ergo-red); /* Το κόκκινο της ERGO */
    color: #ffffff !important; /* Λευκά γράμματα */
    padding: 16px 35px; /* "Γεμάτο" κουμπί */
    border-radius: 50px; /* Στρογγυλεμένες άκρες */
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
    margin-top: 10px;
	margin-bottom: 40px;   /* ΑΥΤΟ ΤΟ ΔΙΟΡΘΩΝΕΙ: Σπρώχνει τη γραμμή πιο κάτω */
    
    /* Εφέ σκιάς για να ξεχωρίζει από το λευκό φόντο */
    box-shadow: 0 10px 25px rgba(218, 25, 60, 0.3);
    transition: all 0.3s ease;
}

/* Όταν περνάς το ποντίκι από πάνω */
.btn-primary-premium:hover {
    background-color: #b00e2e; /* Λίγο πιο σκούρο κόκκινο */
    transform: translateY(-3px); /* Σηκώνεται λίγο */
    box-shadow: 0 15px 35px rgba(218, 25, 60, 0.4);
}



/* =========================================
   RESPONSIVE HERO FIX (TABLET & MOBILE)
   ========================================= */

@media (max-width: 1180px) {
    
    /* 1. Ξεμπλοκάρουμε το ύψος του Wrapper */
    .service-page-wrapper {
        min-height: auto !important; /* Όχι καρφωτό ύψος */
        height: auto !important;
        padding-top: 140px !important; /* Αέρας για να μην πέφτει πάνω στο μενού */
        padding-bottom: 60px;
        display: block !important; /* Φεύγουμε από το flex center για να ρέει κάθετα */
    }

    /* 2. Διόρθωση Breadcrumbs (Να μην πέφτουν πάνω στον τίτλο) */
    .breadcrumbs {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        margin-bottom: 30px !important;
        padding: 0 20px; /* Στοίχιση με το κείμενο */
        width: auto !important;
    }

    /* 3. Η Κάρτα γίνεται κάθετη (Μία στήλη) */
    .product-hero-card {
        grid-template-columns: 1fr !important; /* Μία στήλη */
        display: flex !important;
        flex-direction: column-reverse; /* Πρώτα η εικόνα, μετά το κείμενο (πιο μοντέρνο σε κινητά) */
        height: auto !important;
        margin: 0 20px; /* Λίγο κενό δεξιά-αριστερά */
    }

    /* 4. Ρύθμιση της Εικόνας */
    .ph-image {
        height: 350px !important; /* Σταθερό ύψος για να φαίνεται ωραίο το αμάξι */
        width: 100% !important;
    }

    .ph-image img {
        object-position: center center; /* Κεντράρισμα εικόνας */
    }

    /* 5. Ρύθμιση του Κειμένου */
    .ph-content {
        padding: 40px 30px !important;
        text-align: center !important; /* Κεντράρισμα σε Tablet/Mobile */
    }

    .ph-tag {
        align-self: center !important; /* Κέντρο το tag */
    }

    /* Specs (Εικονίδια) στο κέντρο */
    .ph-specs {
        justify-content: center !important;
        flex-wrap: wrap; /* Αν δεν χωράνε, από κάτω */
        gap: 20px !important;
    }

    /* 6. Fix για το Badge (Εγγύηση ERGO) */
    .ph-badge {
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important; /* Κεντράρισμα πάνω στην εικόνα */
        width: max-content;
        padding: 10px 20px !important;
    }
}

/* --- ΕΙΔΙΚΑ ΓΙΑ ΚΙΝΗΤΑ (Κάτω από 600px) --- */
@media (max-width: 600px) {
    
    .service-page-wrapper {
        padding-top: 120px !important;
    }

    .ph-content {
        padding: 30px 20px !important; /* Λιγότερο padding */
    }

    .ph-content h1 {
        font-size: 2rem !important; /* Μικρότερος τίτλος για να χωράει */
    }

    .ph-content p {
        font-size: 1rem !important;
    }

    .ph-image {
        height: 250px !important; /* Πιο κοντή εικόνα στο κινητό */
    }

    /* Το Badge λίγο πιο διακριτικό */
    .ph-badge strong { font-size: 1rem !important; }
    .ph-badge i { font-size: 1.2rem !important; }
}





/* =========================================
   2. SPLIT FEATURE LISTS (CORRECTED & ISOMETRIC)
   ========================================= */

.product-section {
    padding: 100px 0;
    background: #fff;
}

/* GRID: Δύο στήλες με κενό */
.split-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* HEADERS (Τίτλοι Στηλών) */
.col-header { margin-bottom: 35px; }
.col-header h3 { font-size: 1.8rem; font-weight: 800; color: #111; margin-bottom: 15px; }

/* Γραμμές κάτω από τους τίτλους */
.header-line { width: 50px; height: 3px; border-radius: 2px; }
.red-line { background: var(--ergo-red); }
.silver-line { background: #999; } /* Πιο σκούρο γκρι για τα δεξιά */


/* --- STANDARD ROW CARD (LEFT SIDE - WHITE) --- */
.row-card {
    display: flex;
    align-items: center; /* Κεντράρισμα περιεχομένου κάθετα */
    gap: 25px;
    
    /* Η ΔΙΟΡΘΩΣΗ ΓΙΑ ΤΗΝ ΙΣΟΜΕΤΡΙΑ: */
    height: 160px; /* Σταθερό ύψος για όλες τις κάρτες */
    padding: 0 30px; /* Padding μόνο στο πλάι, το ύψος είναι fix */
    
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box; /* Για να μην χαλάει το πλάτος */
}

/* Hover Effect: Ανύψωση */
.row-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: rgba(138, 13, 45, 0.2);
}

/* Εικονίδιο (Σταθερό) */
.rc-icon {
    flex-shrink: 0;
    width: 55px; height: 55px;
    background: #fff5f7;
    color: var(--ergo-red);
    border-radius: 12px;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

/* Hover στο εικονίδιο (Αλλαγή χρώματος μόνο) */
.row-card:hover .rc-icon {
    background: var(--ergo-red);
    color: #fff;
    /* Καμία περιστροφή */
}

/* Περιεχόμενο (Κείμενο) */
.rc-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.rc-content h4 { font-size: 1.25rem; font-weight: 700; color: #1a1a1a; margin-bottom: 8px; }
.rc-content p { font-size: 1rem; color: #666; line-height: 1.5; margin: 0; }


/* --- SILVER CARD (RIGHT SIDE - PREMIUM EXTRA) --- */
.row-card.silver-card {
    background: #eaedf2; /* Μεταλλικό Γκρι */
    border: 1px solid #dce1e8;
}

/* Hover στα δεξιά: Γίνεται λευκό για αντίθεση */
.row-card.silver-card:hover {
    background: #fff;
    border-color: var(--ergo-red);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.row-card.silver-card .rc-icon {
    background: #fff; /* Λευκό κουτάκι μέσα στο γκρι */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.row-card.silver-card:hover .rc-icon {
    background: var(--ergo-red);
    color: #fff;
}


/* RESPONSIVE (Κινητό) */
@media (max-width: 900px) {
    .split-features-grid { 
        grid-template-columns: 1fr; /* Μία στήλη */
        gap: 60px; 
    }
    
    .row-card { 
        height: auto; /* Στο κινητό αφήνουμε το ύψος ελεύθερο */
        padding: 25px; 
        min-height: auto;
    }
}


/* =========================================
   3. ULTIMATE PROTECTION (THE VIP CARD)
   ========================================= */

/* Η Κάρτα "Ναυαρχίδα" */
.ultimate-card {
    background: linear-gradient(145deg, #111 0%, #0a0a0a 100%); /* Deep Black/Grey */
    border-radius: 30px;
    padding: 0; /* Το padding το ορίζουμε στο grid */
    position: relative;
    overflow: visible; /* Για να φαίνεται η λάμψη */
    box-shadow: 0 30px 80px rgba(0,0,0,0.4); /* Πολύ έντονη σκιά */
    border: 1px solid #333;
    margin-top: 40px;
}

/* Λάμψη πίσω από την κάρτα (Ambient Light) */
.card-glow {
    position: absolute;
    top: -50px; right: -50px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(138,13,45,0.4) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.ultimate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Μισό-Μισό */
    position: relative;
    z-index: 1;
}

/* --- ΑΡΙΣΤΕΡΑ: CONTENT --- */
.ultimate-content {
    padding: 80px 60px;
    border-right: 1px solid rgba(255,255,255,0.1); /* Διαχωριστική γραμμή */
}

.vip-badge {
    background: var(--ergo-red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 8px 16px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 25px;
}

.ultimate-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}

/* Χρυσό/Premium Εφέ στο κείμενο */
.gold-text {
    background: linear-gradient(90deg, #fff 0%, #ccc 100%); /* Ασημί/Λευκό */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ultimate-content p {
    font-size: 1.1rem;
    color: #999;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 450px;
}

/* Κουμπί VIP */
.btn-vip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #000;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-vip:hover {
    background: var(--ergo-red);
    color: #fff;
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(138,13,45,0.4);
}


/* --- ΔΕΞΙΑ: BENEFITS --- */
.ultimate-benefits {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.benefit-row {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03); /* Πολύ αχνό φόντο */
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.benefit-row:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(10px);
    border-color: rgba(255,255,255,0.2);
}

.benefit-icon {
    width: 50px; height: 50px;
    background: rgba(138,13,45,0.2); /* Σκούρο κόκκινο transparent */
    color: #ff4d6d; /* Φωτεινό κόκκινο */
    border-radius: 12px;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.3rem;
}

.benefit-row h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.benefit-row span {
    color: #777;
    font-size: 0.95rem;
}


/* RESPONSIVE */
@media (max-width: 1000px) {
    .ultimate-grid { grid-template-columns: 1fr; }
    .ultimate-content { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 50px 30px; }
    .ultimate-benefits { padding: 50px 30px; }
}

/* --- 5. FAQ SECTION (CLEAN EDITORIAL STYLE) --- */
.faq-section { background-color: #fff; padding: 100px 0; }
.faq-container { max-width: 900px; margin: 0 auto; }

.faq-clean-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
}

.faq-clean-question {
    width: 100%; text-align: left; background: none; border: none;
    padding: 25px 0; cursor: pointer; display: flex; align-items: flex-start; gap: 20px;
    transition: all 0.3s ease;
}

.q-text {
    font-size: 1.15rem; font-weight: 700; color: var(--ergo-red); /* ERGO Red */
    line-height: 1.4; font-family: 'Manrope', sans-serif;
}

.faq-clean-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.faq-clean-answer p {
    padding: 0 0 30px 40px; font-size: 1rem; color: #333; line-height: 1.7; margin: 0;
}

/* --- ΤΟ ΠΕΡΙΣΤΡΕΦΟΜΕΝΟ CUSTOM ΕΙΚΟΝΙΔΙΟ --- */
.faq-icon-custom {
    width: 18px; height: 18px; position: relative; flex-shrink: 0; margin-top: 4px;
    /* Η περιστροφή */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Οι γραμμές του + */
.faq-icon-custom::before, .faq-icon-custom::after {
    content: ''; position: absolute; background-color: var(--ergo-red); border-radius: 2px;
    top: 50%; left: 50%; transform: translate(-50%, -50%); transition: all 0.4s ease;
}
.faq-icon-custom::before { width: 100%; height: 2px; } /* Οριζόντια */
.faq-icon-custom::after { width: 2px; height: 100%; } /* Κάθετη */

/* ACTIVE STATE (Όταν ανοίγει) */
.faq-clean-item.active .faq-icon-custom {
    transform: rotate(180deg); /* Περιστροφή 180 μοίρες */
}
.faq-clean-item.active .faq-icon-custom::after {
    height: 0; opacity: 0; /* Η κάθετη γραμμή εξαφανίζεται -> γίνεται μείον */
}
.faq-clean-item.active .faq-clean-question { padding-bottom: 15px; }




/* --- 6. CTA BANNER --- */
.cta-banner {
    background: linear-gradient(135deg, #8a0d2d 0%, #2a040e 100%);
    padding: 80px 0; color: #fff; box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
}
.cta-content { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta-text-group h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; }
.cta-text-group p { font-size: 1.15rem; opacity: 0.9; font-weight: 300; }
.btn-white {
    background: #fff; color: var(--ergo-red); padding: 18px 45px; border-radius: 50px;
    font-weight: 700; font-size: 1.1rem; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s; white-space: nowrap;
}
.btn-white:hover { transform: translateY(-5px); background: #f8f8f8; }


/* RESPONSIVE */
@media (max-width: 900px) {
    .features-grid.three-col { grid-template-columns: 1fr; }
    .split-layout { grid-template-columns: 1fr; gap: 50px; }
    .hero-content h1 { font-size: 2.8rem; }
    .cta-content { flex-direction: column; text-align: center; }
    .btn-white { width: 100%; text-align: center; }
}




/* =========================================
   HERO PRE-ANIMATION STATE (ANTI-FLASH) ΓΙΑ ΤΟ auto-services στο land page
   ========================================= */

/* Κρύβουμε τα στοιχεία εξ αρχής στο CSS για να μην κάνουν "Flash" */
.product-hero-card .ph-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-hero-card .ph-image {
    opacity: 0;
    transform: translateX(30px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}