/* ========================================
TABLE OF CONTENTS
========================================
1. CSS Variables (Χρώματα & Γραμματοσειρές)
2. Reset & Base Styles
3. Typography (Τυπογραφία)
4. Layout & Containers (Διάταξη)
5. Buttons (Κουμπιά & Animations)
6. Header & Navigation (Mobile First)
7. Hero Section (Mobile First)
8. Services Section (Mobile First)
9. How It Works Section (Mobile First)
10. Contact Section (Mobile First)
11. Footer Section (Mobile First)
12. FAQ 
MEDIA QUERIES (Desktop / Μεγάλες οθόνες) - ΠΑΝΤΑ ΣΤΟ ΤΕΛΟΣ!
========================================
*/

/* ========================================
   1. CSS Variables
======================================== */
:root {
    --bg-color: #060606; 
    --surface-color: #111111; 
    --text-main: #ffffff; 
    --text-muted: #9ca3af; 
    --accent-red: #ff2020; 
    --accent-red-hover: #d81515;
    --font-main: 'Inter', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========================================
   3. Typography
======================================== */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

h2.section-title {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.8rem;
}

/* ========================================
   4. Layout & Containers
======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   5. Buttons & Animations
======================================== */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 2px; 
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--accent-red);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 32, 32, 0.2);
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 32, 32, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 32, 32, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 32, 32, 0); }
}

.btn-primary:hover {
    background-color: var(--accent-red-hover);
    animation: pulse-glow 1.5s infinite;
    transform: translateY(-2px);
}

.btn-login {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    background: transparent;
}

.btn-login:hover {
    border-color: var(--accent-red);
    background-color: var(--accent-red);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 32, 32, 0.3);
}

/* ========================================
   6. Header & Navigation (Mobile First)
======================================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(6, 6, 6, 0.85); 
    backdrop-filter: blur(12px); 
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1.2rem 0;
    transition: all var(--transition-fast);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-main); /* Λευκό χρώμα για το REMAP */
    text-transform: uppercase;
}

.logo-highlight {
    color: var(--accent-red); /* Το Racing κόκκινο για το FILES247 */
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: 0.3s;
}

.main-nav {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.main-nav.active {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;  
    gap: 2rem;
}

.nav-links {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 1.5rem;
}

.nav-links a {
    font-size: 1.1rem;
    font-weight: 600;
    transition: color var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--accent-red);
}

.nav-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center; 
}

.lang-switcher {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.lang-switcher a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.lang-switcher a:hover {
    color: var(--text-main);
}

.lang-switcher a.active {
    color: var(--accent-red); 
    font-weight: 700;
}

/* ========================================
   7. Hero Section (Mobile First)
======================================== */
.hero {
    padding-top: 120px; 
    padding-bottom: 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    
    background-image: linear-gradient(to bottom, rgba(6, 6, 6, 0.9) 0%, rgba(6, 6, 6, 0.5) 100%), url('images/Hero-Banner-Car-Image.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-color), transparent);
}

.hero-content {
    max-width: 100%;
    text-align: center; 
    position: relative;
    z-index: 2;
}

/* ========================================
   8. Services Section (Mobile First)
======================================== */
.services {
    padding: 4rem 0;
    background-color: var(--bg-color);
    position: relative;
    z-index: 5;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 1.5rem;
}

.service-card {
    background: linear-gradient(145deg, var(--surface-color), #0a0a0a);
    border: 1px solid rgba(255, 255, 255, 0.03); 
    border-radius: 6px;
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-red);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px); 
    border-color: rgba(255, 32, 32, 0.2);
    box-shadow: 0 20px 40px rgba(255, 32, 32, 0.05);
}

.service-card:hover::after {
    width: 100%;
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 42px;
    height: 42px;
    color: var(--text-main); 
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon svg {
    color: var(--accent-red);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   9. How It Works Section (Mobile First)
======================================== */
.how-it-works {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 3rem;
    margin-bottom: 5rem;
    position: relative;
}

.step-item {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.step-item:hover {
    background: rgba(255, 255, 255, 0.01);
    border-color: rgba(255, 255, 255, 0.08);
}

.step-number {
    font-size: 4.5rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px var(--accent-red); 
    line-height: 1;
    margin-bottom: 1rem;
    font-style: italic;
    opacity: 0.8;
}

.step-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.panel-cta {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-cta h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

/* ========================================
   10. Contact Section (Mobile First)
======================================== */
.contact {
    padding: 4rem 0;
    background-color: #030303; 
}

.contact-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.contact-wrapper {
    max-width: 700px; 
    margin: 0 auto;
    background-color: var(--surface-color);
    padding: 2.5rem 1.5rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1rem;
    background-color: #080808;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    background-color: #000;
    box-shadow: inset 0 0 0 1px var(--accent-red);
}

.form-group textarea {
    resize: vertical; 
}

.contact-form .btn {
    margin-top: 1rem;
    width: 100%; 
}

/* ========================================
   11. Footer Section (Mobile First)
======================================== */
.footer {
    background-color: #000000; 
    padding: 4rem 0 2rem 0;
    border-top: 1px solid rgba(255, 32, 32, 0.1); 
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col .logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-red);
    padding-left: 5px; 
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

/* ========================================
   12. FAQ Section
======================================== */
.faq {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-red);
}

/* Το εικονίδιο Σταυρός (+) */
.faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--text-muted);
    transition: var(--transition-smooth);
}

.faq-icon::before {
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
}

.faq-icon::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 16px;
}

/* Όταν η ερώτηση είναι ανοιχτή, ο σταυρός γίνεται μείον (-) και κόκκινος */
.faq-question.active {
    color: var(--accent-red);
}

.faq-question.active .faq-icon::before {
    background-color: var(--accent-red);
}

.faq-question.active .faq-icon::after {
    transform: rotate(90deg);
    background-color: var(--accent-red);
}

/* Κρύβουμε την απάντηση αρχικά */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
    background-color: #0c0c0c;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ========================================
     MEDIA QUERIES (Desktop Layout) 
   - Αυτό το μπλοκ ελέγχει ΟΛΗ τη συμπεριφορά 
     του site σε μεγάλες οθόνες.
======================================== */
@media (min-width: 992px) {
    
    /* Typography */
    h1 {
        font-size: 4.8rem;
    }
    p {
        font-size: 1.1rem;
        max-width: 450px;
        margin-bottom: 2.5rem;
    }

    /* Navigation */
    .mobile-menu-toggle {
        display: none; 
    }
    .main-nav {
        display: flex;
        position: static;
        flex-direction: row;
        background: transparent;
        padding: 0;
        width: auto;
        border: none;
        align-items: center;
        gap: 3rem;
    }
    .nav-links {
        flex-direction: row;
        gap: 2.5rem;
    }
    .nav-actions {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }

    /* Hero */
    .hero {
        padding-top: 0;
        background-image: linear-gradient(to right, rgba(6, 6, 6, 1) 0%, rgba(6, 6, 6, 0.8) 40%, rgba(6, 6, 6, 0) 100%), url('images/Hero-Banner-Car-Image.webp');
    }
    .hero-content {
        max-width: 600px;
        text-align: left; 
    }

    /* Services */
    .services {
        padding: 6rem 0;
    }
    .services-grid {
        grid-template-columns: repeat(3, 1fr); 
        gap: 2rem;
    }

    /* How It Works */
    .how-it-works {
        padding: 6rem 0;
    }
    .steps-grid {
        grid-template-columns: repeat(3, 1fr); 
        gap: 4rem;
    }
    .panel-cta h2 {
        font-size: 2.2rem;
    }

    /* Contact */
    .contact {
        padding: 6rem 0;
    }
    .contact-wrapper {
        padding: 3.5rem 4rem;
    }
    .contact-form .btn {
        width: auto; 
        align-self: center; 
    }

    /* Footer */
    .footer {
        padding: 5rem 0 2rem 0;
    }
    .footer-grid {
        flex-direction: row;
        justify-content: space-between;
        gap: 4rem;
    }
    .footer-col:first-child {
        flex: 2; 
    }
    .footer-col:not(:first-child) {
        flex: 1;
    }
    .footer-desc {
        max-width: 350px;
    }
}