/* Διορθώσεις ξεζουμαρίσματος για κινητές συσκευές */

/* Ορίζω τα badges τόσο με απλές όσο και με εξαιρετικά συγκεκριμένες classes */
@media (max-width: 768px) {
    /* Global resets - εφαρμόζονται στο <html>, <body> και στην hero section */
    html, body, section.hero, .hero {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    /* Το top badge με 45+ Χρόνια Εμπειρίας - πολύ συγκεκριμένο αλλά απλό */
    html body .hero .container .hero-content .hero-badge-top,
    .hero-badge-top {
        font-size: 18px !important;
        font-weight: 600 !important;
        padding: 6px 18px !important;
        transform: none !important;
        display: inline-block !important;
        background-color: var(--accent-color) !important;
        border-radius: 8px !important;
        margin: 15px auto 20px auto !important;
        text-align: center !important;
        width: auto !important;
        max-width: 95% !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25) !important;
        color: white !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Εξασφαλίζουμε ότι το εικονίδιο φαίνεται */
    .hero-badge-top i {
        display: inline-block !important;
        margin-right: 7px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Κείμενο κάτω από το badge - ακόμα μεγαλύτερο */
    html body .hero .container .hero-content .hero-text,
    .hero-text {
        font-size: 18px !important;
        line-height: 1.7 !important;
        margin-bottom: 28px !important;
        max-width: 98% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 15px !important;
        font-weight: 500 !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) !important;
        color: #fff !important;
    }
    
    /* Container για τα badges */
    html body .hero .container .hero-content .hero-badges,
    .hero-badges {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 20px !important;
        margin: 20px auto !important;
        padding: 8px !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
        max-width: 100% !important;
    }
    
    /* Κάθε badge ξεχωριστά */
    html body .hero .container .hero-content .hero-badges .hero-badge,
    .hero-badge {
        min-width: 95px !important;
        padding: 12px !important;
        border-radius: 10px !important;
        background-color: rgba(255, 255, 255, 0.18) !important;
        border: 2px solid rgba(255, 255, 255, 0.35) !important;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        transform: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        transition: transform 0.3s ease !important;
    }
    
    /* Το πρώτο badge και το badge που περιέχει "45+" */
    html body .hero .container .hero-content .hero-badges .hero-badge:nth-child(1),
    html body .hero .container .hero-content .hero-badges .hero-badge:first-child,
    .hero-badge:nth-child(1),
    .hero-badge:first-child {
        transform: scale(1.03) !important;
        z-index: 2 !important;
        min-width: 90px !important;
    }
    
    /* Αριθμός στο badge (45+ και 100%) */
    html body .hero .container .hero-content .hero-badges .hero-badge:nth-child(1) .badge-number,
    html body .hero .container .hero-content .hero-badges .hero-badge:first-child .badge-number,
    .hero-badge:nth-child(1) .badge-number,
    .hero-badge:first-child .badge-number,
    .badge-number:contains("45+") {
        font-size: 22px !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
        margin-bottom: 4px !important;
        color: var(--accent-color) !important;
        text-shadow: 0 2px 3px rgba(0, 0, 0, 0.25) !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Κείμενο στο badge (Χρόνια Εμπειρίας και Ικανοποίηση) */
    html body .hero .container .hero-content .hero-badges .hero-badge:nth-child(1) .badge-text,
    html body .hero .container .hero-content .hero-badges .hero-badge:first-child .badge-text,
    .hero-badge:nth-child(1) .badge-text,
    .hero-badge:first-child .badge-text {
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 1.3 !important;
        color: white !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Όλα τα badge numbers και texts (γενικοί κανόνες) */
    .badge-number {
        font-size: 22px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
        color: var(--accent-color) !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .badge-text {
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 1.3 !important;
        color: white !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Μεγαλύτερα κουμπιά */
    .hero-buttons {
        margin: 20px auto !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 15px !important;
    }
    
    .hero-buttons .btn {
        padding: 10px 22px !important;
        font-size: 16px !important;
    }
}

/* Μικρότερες οθόνες */
@media (max-width: 480px) {
    .hero-badge-top {
        font-size: 17px !important;
        padding: 5px 14px !important;
    }
    
    .hero-text {
        font-size: 16px !important;
        line-height: 1.6 !important;
        padding: 0 12px !important;
    }
    
    .hero-badges {
        gap: 15px !important;
    }
    
    .hero-badge {
        min-width: 85px !important;
        padding: 10px !important;
    }
    
    html body .hero .container .hero-content .hero-badges .hero-badge:nth-child(1) .badge-number,
    html body .hero .container .hero-content .hero-badges .hero-badge:first-child .badge-number,
    .hero-badge:nth-child(1) .badge-number,
    .hero-badge:first-child .badge-number {
        font-size: 20px !important;
    }
    
    html body .hero .container .hero-content .hero-badges .hero-badge:nth-child(1) .badge-text,
    html body .hero .container .hero-content .hero-badges .hero-badge:first-child .badge-text,
    .hero-badge:nth-child(1) .badge-text,
    .hero-badge:first-child .badge-text {
        font-size: 11px !important;
    }
    
    .badge-number {
        font-size: 20px !important;
    }
    
    .badge-text {
        font-size: 11px !important;
    }
    
    .hero-buttons .btn {
        padding: 8px 18px !important;
        font-size: 15px !important;
    }
}

/* Πολύ μικρές οθόνες */
@media (max-width: 360px) {
    .hero-badge-top {
        font-size: 16px !important;
        padding: 4px 12px !important;
    }
    
    .hero-text {
        font-size: 14px !important;
        line-height: 1.5 !important;
        padding: 0 10px !important;
    }
    
    .hero-badges {
        gap: 12px !important;
    }
    
    .hero-badge {
        min-width: 80px !important;
        padding: 9px !important;
    }
    
    html body .hero .container .hero-content .hero-badges .hero-badge:nth-child(1) .badge-number,
    html body .hero .container .hero-content .hero-badges .hero-badge:first-child .badge-number,
    .hero-badge:nth-child(1) .badge-number,
    .hero-badge:first-child .badge-number {
        font-size: 18px !important;
    }
    
    html body .hero .container .hero-content .hero-badges .hero-badge:nth-child(1) .badge-text,
    html body .hero .container .hero-content .hero-badges .hero-badge:first-child .badge-text,
    .hero-badge:nth-child(1) .badge-text,
    .hero-badge:first-child .badge-text {
        font-size: 10px !important;
    }
    
    .badge-number {
        font-size: 18px !important;
    }
    
    .badge-text {
        font-size: 10px !important;
    }
    
    .hero-buttons .btn {
        padding: 7px 16px !important;
        font-size: 14px !important;
    }
} 