    /*
Theme Name: PapAlex Egyedi Téma
Theme URI: https://papalex.hu
Author: Te és a Gemini
Description: Egyedi, mobilra optimalizált WordPress téma.
Version: 1.1
*/

/* Alapbeállítások */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Finomított ugrás a ragadós menü miatt --- */
html {
    /* Ez a szám tolja lejjebb a "megállást". 
       Ha még mindig takar a menü, növeld (pl. 150px-re)! */
    scroll-padding-top: 20px; 
    
    /* Ez pedig bekapcsolja a gyönyörű, lágy görgetést a hirtelen ugrás helyett! */
    scroll-behavior: smooth; 
}

/* Kapacitás sáv */
.capacity-banner {
    text-align: center;
    padding: 10px;
    color: white;
    font-size: 14px;
}
.bg-green { background-color: #28a745; } /* Később ezt dinamikusan cseréljük pirosra/sárgára */

/* Fejléc */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-width: 100%;
    z-index: 100;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #0056b3;
    text-decoration: none;
}
.phone-btn {
    background: #0056b3;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}
/* --- Új, Tiszta Text-Only Hero Szekció --- */
.hero-split {
    background-size: cover;
    background-position: right center;
    
    /* Erőszakkal felülírjuk a margót: */
    padding: 60px 0 !important; 
    
    /* Kikapcsoljuk az esetleges fix magasságot, ami visszatartja: */
    min-height: auto !important; 
    
    display: flex;
    align-items: center;
}

/* Asztali nézet finomhangolása - Szöveg balra húzása */
@media (min-width: 769px) {
    .text-only-hero {
        /* Ha a sablon alapból középre vagy beljebb rendezi, ezzel kényszerítjük ki: */
        margin-left: 0 !important; 
        
        /* EZT A SZÁMOT ÁLLÍTSD: Ezzel tudod tetszőlegesen balra húzni a szöveget. 
           Minél nagyobb a mínusz érték (pl. -50px, -80px), annál jobban balra megy! */
        transform: translateX(-100px) !important; 
    }
}

/* Mobil nézet finomhangolása - 60% Szöveg, Alex jobbra tolva */
@media (max-width: 768px) {
    .hero-split {
        background-image: linear-gradient(to right, rgba(0, 86, 179, 1) 0%, rgba(0, 86, 179, 0.95) 45%, rgba(0, 86, 179, 0) 79%), url('images/hero-bg.jpg') !important;
        
        /* ÍME A MEGOLDÁS: Két külön pozíciót adunk meg (vesszővel elválasztva).
           Az 1. (left center) a kék átmenetet a bal szélhez tapasztja.
           A 2. (calc...) pedig csak magát a fotót tolja ki jobbra! */
        background-position: left center, calc(100% + 70px) center !important; 
        
        /* Biztosra megyünk, hogy mindkét réteg kitöltse a dobozt és ne ismétlődjön */
        background-size: cover, cover !important;
        background-repeat: no-repeat, no-repeat !important;
        
        padding: 40px 0 !important;
    }
    
    .text-only-hero {
        /* Ez a rész marad ugyanaz, ami eddig volt tökéletes */
        width: 100% !important;
        max-width: 60% !important; 
        text-align: left !important; 
        background: transparent !important; 
        padding: 0 0 0 0px !important; 
    }

    .text-only-hero h1 { 
        font-size: 16px !important; 
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
        white-space: normal !important; 
    }

    .text-only-hero p { 
        font-size: 12px !important; 
        line-height: 1.3 !important;
        margin-bottom: 0 !important;
    }
}

/* Felső navigációs menü (Középre igazítva) */
.main-navigation {
    flex-grow: 1; /* Kitölti a logó melletti teljes maradék helyet */
    display: flex;
    justify-content: center; /* Középre rendezi a menüt a kitöltött helyen */
}
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px; /* Távolság a menüpontok között */
}
.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}
.main-navigation a:hover {
    color: #ff6b00;
}

/* Horgonyok eltolása a ragadós fejléc miatt (FONTOS!) */
section {
    scroll-margin-top: 80px; /* Hogy a kék fejléc ne takarja ki a "Miben tudok segíteni?" címeket ugráskor */
}

/* Hamburger gomb alapbeállításai (asztalin rejtve) */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 6px;
}
.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #0056b3;
    border-radius: 2px;
    transition: 0.3s;
}

/* Mobil nézet finomhangolása (Hamburger menü logikája) */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap; /* Engedi, hogy az elemek új sorba ugorjanak */
        justify-content: space-between; /* Logó balra, hamburger jobbra */
    }
    .hamburger {
        display: flex; /* Megjelenítjük a gombot */
        order: 2; /* Logó után legyen */
    }
    .contact-header {
        order: 3; /* A telefonszám kerüljön a fejléc aljára mobilon */
        width: 100%;
        text-align: center;
        margin-top: 15px;
    }
    
    /* Navigáció elrejtése alapból */
    .main-navigation {
        display: none;
        width: 100%;
        order: 4; /* Legalul nyíljon le */
        border-top: 1px solid #eee;
        margin-top: 15px;
        padding-top: 15px;
    }
    /* Amikor kap egy 'is-open' osztályt a gombnyomástól, megjelenik */
    .main-navigation.is-open {
        display: block; 
    }
    .main-navigation ul {
        flex-direction: column; /* Egymás alá kerülnek a gombok */
        align-items: center;
        gap: 20px;
    }
}
/* Hero Szekció - ÚJ, balra igazított */
.hero-section {
    background-image: linear-gradient(to right, rgba(0, 86, 179, 0.95) 0%, rgba(0, 86, 179, 0.8) 45%, rgba(0, 86, 179, 0) 75%), url('images/hero-bg.jpg');láthatóságért */
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    padding: 120px 0; /* Növeltük a függőleges helyet */
    text-align: left; /* <<< FŐ VÁLTOZTATÁS: Szöveg balra igazítva */
}
.hero-content h1 {
    font-size: 48px; /* Nagyobb, erősebb H1 felirat */
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 1.2;
    max-width: 650px; /* <<< KORLÁTOZÁS: Limitáljuk a H1 szélességét, hogy ne érjen az arcig */
}
.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 600px; /* <<< KORLÁTOZÁS: Limitáljuk a leírás szélességét, hogy a bal oldalon maradjon */
    margin-left: 0; /* <<< ELTÁVOLÍTVA: Nincs auto margó, balra tapad */
    margin-right: 0; /* <<< ELTÁVOLÍTVA: Nincs auto margó, balra tapad */
}
.cta-button {
    display: inline-block;
    padding: 15px 35px; /* Kicsit nagyobb gombok */
    margin: 0 15px 15px 0; /* >>> FRISSÍTETT: Margó csak a gombok jobb és alsó szélén a balra igazításhoz */
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.primary-btn {
    background: #ff6b00; /* Figyelemfelkeltő narancs */
    color: white;
}
.primary-btn:hover { background: #e65c00; }
.secondary-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
}
.secondary-btn:hover { background: white; color: #0056b3; }

/* --- Szolgáltatások Szekció --- */
.services-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Nagyon halvány szürke háttér, hogy kiemelje a fehér kártyákat */
}
.section-title {
    text-align: center;
    font-size: 36px;
    color: #0056b3;
    margin-top: 0;
    margin-bottom: 10px;
}
.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-bottom: 5px solid #0056b3; /* Kék alsó csík alapból */
}
/* Lebegő effektus az egér ráhúzásakor */
.service-card:hover {
    transform: translateY(-10px); /* Kicsit felemelkedik */
    box-shadow: 0 15px 40px rgba(0, 86, 179, 0.15); /* Erősebb árnyék */
    border-bottom-color: #ff6b00; /* Az alsó csík narancssárga lesz */
}
.card-icon {
    font-size: 50px;
    margin-bottom: 20px;
}
.service-card h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}
.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}
.card-btn {
    display: inline-block;
    padding: 10px 25px;
    color: #0056b3;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid #0056b3;
    border-radius: 5px;
    transition: 0.3s;
}
.card-btn:hover {
    background: #0056b3;
    color: #ffffff;
}

/* Lábléc */
.site-footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}
/* --- Aloldalak (page.php) dizájnja --- */
.page-container {
    background: #ffffff;
    padding: 50px;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.page-title {
    color: #0056b3;
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 30px;
    border-bottom: 2px solid #ff6b00;
    padding-bottom: 10px;
    display: inline-block;
}
.page-content {
    color: #444;
    line-height: 1.8;
    font-size: 16px;
}
.page-content h2, .page-content h3 {
    color: #333;
    margin-top: 30px;
}
/* --- ÚJ Részletes Árak Szekció --- */
.pricing-section {
    padding: 80px 0;
    background-color: #ffffff;
}
.pricing-steps {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.pricing-steps span {
    background: #f0f6ff;
    padding: 5px 15px;
    border-radius: 20px;
}
.alert-box {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
    font-size: 16px;
}
.success-alert {
    background-color: #e6f4ea;
    color: #1e7e34;
    border: 1px solid #c3e6cb;
}
.pricing-tables-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.pricing-table-col h3 {
    color: #333;
    border-bottom: 2px solid #0056b3;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}
.custom-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    color: #555;
}
.custom-table tr:last-child td {
    border-bottom: none;
}
.price-cell {
    font-weight: bold;
    color: #0056b3;
    text-align: right;
    white-space: nowrap;
}
.table-note {
    font-size: 14px;
    color: #888;
}
.info-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ff6b00;
    margin-top: 20px;
}
.info-box h4 {
    margin-top: 0;
    color: #333;
    margin-bottom: 10px;
}
.info-box p {
    margin-bottom: 0;
    font-size: 14px;
    color: #666;
}
.pricing-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.footer-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}
.footer-card h3 {
    margin-top: 0;
    color: #333;
}
.guarantee-card {
    background: #0056b3;
    color: white;
}
.guarantee-card h3 {
    color: white;
}
/* --- ÚJ Részletes Árak Szekció --- */
.pricing-section {
    padding: 80px 0;
    background-color: #ffffff;
}
.pricing-steps {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.pricing-steps span {
    background: #f0f6ff;
    padding: 5px 15px;
    border-radius: 20px;
}
.alert-box {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
    font-size: 16px;
}
.success-alert {
    background-color: #e6f4ea;
    color: #1e7e34;
    border: 1px solid #c3e6cb;
}
.pricing-tables-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.pricing-table-col h3 {
    color: #333;
    border-bottom: 2px solid #0056b3;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}
.custom-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    color: #555;
}
.custom-table tr:last-child td {
    border-bottom: none;
}
.price-cell {
    font-weight: bold;
    color: #0056b3;
    text-align: right;
    white-space: nowrap;
}
.table-note {
    font-size: 14px;
    color: #888;
}
.info-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ff6b00;
    margin-top: 20px;
}
.info-box h4 {
    margin-top: 0;
    color: #333;
    margin-bottom: 10px;
}
.info-box p {
    margin-bottom: 0;
    font-size: 14px;
    color: #666;
}
.pricing-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.footer-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}
.footer-card h3 {
    margin-top: 0;
    color: #333;
}
.guarantee-card {
    background: #0056b3;
    color: white;
}
.guarantee-card h3 {
    color: white;
}

/* --- Kapacitás Szekció (Nyitott végű Villáskulcsokkal) --- */
.capacity-section {
    background-color: #ffffff;
    padding: 60px 0;
    border-bottom: 2px solid #f0f0f0;
}
.capacity-title {
    text-align: center;
    color: #0056b3;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 15px;
}

/* Jelmagyarázat */
.capacity-subtitle {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    color: #555;
    font-size: 15px;
    flex-wrap: wrap;
}
.legend-item { display: flex; align-items: center; gap: 8px; }
.legend-wrench { width: 35px; height: 12px; fill: #ccc; }
.wrench-green { fill: #28a745; filter: drop-shadow(0 0 5px rgba(40,167,69,0.5)); }
.wrench-yellow { fill: #ffc107; filter: drop-shadow(0 0 5px rgba(255,193,7,0.5)); }
.wrench-red { fill: #dc3545; filter: drop-shadow(0 0 5px rgba(220,53,69,0.5)); }

/* A 7 napos rács (Garantáltan 1 sorban CSS Grid-del) */
.capacity-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* Pontosan 7 egyenlő oszlop */
    gap: 15px;
    width: 100%;
}
.capacity-day {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 15px 5px; /* Kisebb belső margó, hogy bőven elférjen a szöveg */
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.2s;
}
.capacity-day:hover { transform: translateY(-3px); }

/* Szövegek a kártyán belül */
.day-name {
    font-weight: bold;
    color: #333;
    font-size: 16px;
    margin-bottom: 2px;
}
.day-date {
    color: #666;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Villáskulcs pozicionálása */
.wrench-container {
    width: 100%;
    height: 25px; /* Kicsit megnöveltem, hogy szebben mutasson */
    display: flex;
    justify-content: center;
}
.main-wrench {
    width: 80%; 
    height: 100%;
    fill: #ccc;
    transition: all 0.3s;
}

/* Színek és ragyogás effektus a Villáskulcsokra */
.status-green .main-wrench { fill: #28a745; filter: drop-shadow(0 0 6px rgba(40,167,69,0.7)); }
.status-yellow .main-wrench { fill: #ffc107; filter: drop-shadow(0 0 6px rgba(255,193,7,0.7)); }
.status-red .main-wrench { fill: #dc3545; filter: drop-shadow(0 0 6px rgba(220,53,69,0.7)); }

/* Piros napnál a Szövegek is szürkék lesznek */
.status-red .day-name, .status-red .day-date { color: #bbb; }

/* Mobil nézet: ahogy szűkül a képernyő, úgy ugranak egymás alá a kártyák */
@media (max-width: 900px) {
    .capacity-grid { grid-template-columns: repeat(4, 1fr); } 
}
@media (max-width: 600px) {
    .capacity-grid { grid-template-columns: repeat(3, 1fr); } 
}
/* --- Hibabejelentő Űrlap --- */
.contact-section { padding: 80px 0; background-color: #f8f9fa; }
.repair-form { background: white; padding: 40px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); max-width: 800px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 15px; }
.form-group label { font-weight: bold; color: #333; }
.form-group input, .form-group select, .form-group textarea { padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-size: 16px; }
.full-width { grid-column: span 2; }
.file-upload { background: #f0f6ff; padding: 20px; border-radius: 8px; border: 2px dashed #0056b3; }
.file-info { font-size: 13px; color: #666; margin-bottom: 10px; }
.submit-btn { background: #ff6b00; color: white; border: none; padding: 18px 40px; font-size: 18px; font-weight: bold; border-radius: 5px; cursor: pointer; transition: 0.3s; width: 100%; max-width: 300px; }
.submit-btn:hover { background: #e66000; transform: translateY(-2px); }
.form-success { background: #d4edda; color: #155724; padding: 20px; border-radius: 8px; margin-bottom: 30px; text-align: center; font-weight: bold; }

@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
    .repair-form { padding: 20px; }
}
/* --- Ragadós (Sticky) Fejléc és Menü --- */
header, .site-header {
    position: sticky;
    top: 0;
    z-index: 9999; /* Mindig legfelül maradjon */
    background-color: #ffffff; /* Fehér háttér, hogy takarja a görgetett tartalmat */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* Elegáns árnyék alulra */
    width: 100%;
    /* Ha a menü túl vastag lenne, itt állíthatsz a belső margón (padding) */
}
/* Naptár 6 naposra és középre igazítása */
.capacity-grid {
    justify-content: center !important;
}

/* Asztali nézeten pontosan 6 oszlopra osztjuk a rendelkezésre álló helyet */
@media (min-width: 769px) {
    .capacity-grid {
        grid-template-columns: repeat(6, 1fr) !important; 
    }
}