/* =========================================
   1. ALAPBEÁLLÍTÁSOK A SZOLGÁLTATÁS OLDALAKHOZ
   ========================================= */

body {
    background-color: transparent !important;
}

section, .container, footer {
    position: relative;
    z-index: 10;
}

/* =========================================
   2. HÁTTÉR VIDEÓ ÉS SÖTÉTÍTÉS
   ========================================= */
.back-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -10;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: -5;
}

/* =========================================
   3. HERO SZEKCIÓ (FEJLÉC)
   ========================================= */
.service-hero {
    width: 100%;
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 50px;
}

.service-hero-content {
    width: 100%;
    max-width: 1200px;
}

/* =========================================
   4. ÜVEG PANEL (GLASSMORPHISM)
   ========================================= */
.service-glass-panel {
    background: rgba(44, 62, 80, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0,0,0, 0.3);
    padding: 40px;
    margin: 0 auto 50px auto;
    width: 100%;
    max-width: 1100px;
    position: relative;
    overflow: hidden;
    z-index: 15;
}

.service-glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: -50%; width: 100%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 0;
}

.service-glass-panel > * { position: relative; z-index: 1; }

/* =========================================
   5. ELRENDEZÉS: KÉP ÉS SZÖVEG (HERO)
   ========================================= */
.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text-content, .service-text { flex: 1.5; }

.hero-text-content h1, .service-text h1 { font-size: 2.5rem; margin-bottom: 20px; }
.lead { font-size: 1.2rem; color: #bdc3c7; margin-bottom: 25px; }

.hero-image-wrapper, .service-image {
    flex: 1; max-width: 450px;
    display: flex; justify-content: center;
}

.hero-image-wrapper img, .service-image img {
    width: 100%; height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

/* =========================================
   6. SZOLGÁLTATÁS LISTA (IKONOS KÁRTYÁK)
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    position: relative; z-index: 10;
}

.feature-card {
    background: rgba(0, 0, 0, 0.5); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
    backdrop-filter: blur(5px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #e67e22;
    background: rgba(230, 126, 34, 0.15);
}

.feature-icon { font-size: 3rem; color: #e67e22; margin-bottom: 20px; }
.feature-card p { color: #bdc3c7; }

/* =========================================
   7. FOLYAMAT LÉPÉSEK
   ========================================= */
.process-section { padding: 20px 0; }

.process-steps {
    display: flex; justify-content: center; gap: 30px;
    flex-wrap: nowrap;
    position: relative; z-index: 10;
}

.step {
    flex: 1; min-width: 250px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.step:hover {
    background: rgba(230, 126, 34, 0.15);
    border-color: #e67e22;
    transform: translateY(-5px);
}

.step-number {
    display: inline-flex; width: 50px; height: 50px;
    background: #e67e22; color: white;
    border-radius: 50%;
    align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: bold; margin-bottom: 15px;
}

.step h4 { color: #e67e22; margin-bottom: 10px; }
.step p { font-size: 0.95rem; color: #bdc3c7; }

/* =========================================
   8. MOBIL OPTIMALIZÁCIÓ (SERVICES SPECIFIC)
   ========================================= */
@media screen and (max-width: 900px) {
    
    /* Hero átrendezése: Kép alul, szöveg felül */
    .hero-layout {
        flex-direction: column-reverse !important;
        text-align: center;
    }
    
    .hero-image-wrapper, .service-image {
        max-width: 100% !important;
        margin-top: 20px;
    }
    
    /* --- MODERN LISTANÉZET KIS IKONOKKAL --- */
    .features-grid {
        grid-template-columns: 1fr !important; /* Egy oszlop */
        gap: 15px !important;
    }

    .feature-card {
        display: flex !important;       /* Ikon balra, szöveg jobbra */
        align-items: center !important;
        text-align: left !important;
        padding: 15px !important;       /* Kisebb belső margó */
        gap: 15px !important;
        min-height: auto !important;
    }

    .feature-icon {
        font-size: 1.5rem !important;   /* Kisebb ikon méret */
        margin-bottom: 0 !important;    /* Nincs alsó margó */
        margin-right: 0 !important;
        width: 50px;
        height: 50px;
        line-height: 50px;
        background: rgba(230, 126, 34, 0.15); /* Halvány narancs háttér az ikonnak */
        border-radius: 50%;
        text-align: center;
        flex-shrink: 0;                 /* Ne nyomódjon össze */
    }

    .feature-card h3 {
        margin: 0 0 5px 0 !important;
        font-size: 1.1rem !important;
    }

    .feature-card p {
        margin: 0 !important;
        font-size: 0.9rem !important;
        line-height: 1.4;
    }

    /* --- FOLYAMAT LÉPÉSEK (LISTA NÉZET) --- */
    .process-steps {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .step {
        display: flex !important;
        align-items: center !important;
        text-align: left !important;
        padding: 15px !important;
        min-width: 100% !important;
        gap: 15px;
    }

    .step-number {
        margin-bottom: 0 !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
        flex-shrink: 0;
    }

    .step h4 {
        margin: 0 0 5px 0 !important;
        font-size: 1.1rem !important;
    }
    
    .step p {
        margin: 0 !important;
        font-size: 0.9rem !important;
    }
    
    /* Üveg panel mobilon kompaktabb */
    .service-glass-panel {
        padding: 20px 15px !important;
    }
}