/* GLOBÁLIS KONTÉNER - Ez felel az egész oldal szélességéért */
.container {
    width: 90%;            /* Mobilon legyen egy kis margó */
    max-width: 1100px;      /* Ez a fix maximum szélesség asztali gépen */
    margin: 0 auto;         /* Középre igazítja az egész blokkot */
    padding: 0 20px;        /* Belső biztonsági távolság */
    box-sizing: border-box;
}

/* Minden szekció alapja */
section {
    width: 100%;
    overflow: hidden;
    display: block;
    
    /* Itt állítod be a függőleges távolságot (fent és lent) */
    /* A 60px-80px általában az ideális, próbáld ki: */
    padding: 70px 0; 
    
    /* Biztosítsuk, hogy a belső elemek ne adjanak hozzá extra távolságot */
    margin: 0; 
}

/* Keresd meg a szekciók fejlécét is, és vedd le róluk a felesleges felső margót */
.section-header {
    margin-top: 0;
    margin-bottom: 40px; /* Csak alul legyen távolság a cím és a tartalom között */
}

/* Konténer szekció - Ez fogja össze a tartalmat */
.content-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

/* Szélesség korlátozása: Ettől lesz profi, nem nyúlik szét */
.content-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Középre zárt fejléc a szekción belül */
.section-header.centered {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


.section-intro {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px; /* Itt állítsd a távolságot (pl. 20px, 30px vagy 40px) */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


.content-section {
    padding: 100px 0;
    background-color: #fdfaf3; /* Nagyon finom csontszín/bézs */
    border-top: 1px solid #f2eee3;
    border-bottom: 1px solid #f2eee3;
}
/* Kétoszlopos elrendezés */
.split-layout {
    display: flex;
    align-items: center; /* Függőlegesen középre igazítja a szöveget és a képet */
    gap: 50px;
    justify-content: space-between;
}

/* Szöveges rész - Több helyet kap (1.5 arány) */
.text-content p {
    font-size: 1.05rem;
    line-height: 1.7; 
    margin-bottom: 20px;
}
.lead-text {
    font-size: 1.15rem !important;
    color: #2c3e50;
    font-weight: 500;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.mission-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
    color: #d4a017; /* Arany szín az ikonoknak */
}

.mission-list i {
    font-size: 1.1rem;
}
/* Kép tároló - Kevesebb helyet kap, és korlátozzuk a méretét */
.image-content {
    flex: 1;
    min-width: 280px;
    max-width: 380px; /* Itt állítottam be, hogy ne legyen túl széles a térkép */
    display: flex;
    justify-content: center;
}
/* Kép finomítása */
.rounded-img.shadow-effect {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 5px solid #fff;
}

/* Mobilon ne legyen egymás mellett, ha kevés a hely */
@media (max-width: 992px) {
    .split-layout.align-center {
        flex-direction: column;
    }
}

/* Maga a kép / térkép */
.rounded-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.rounded-img:hover {
    transform: scale(1.02);
}

/* Ikonos lista stílus */
.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #1a1a1a;
}

.feature-list i {
    color: #d4a017;
    margin-right: 15px;
    font-size: 1.1rem;
    width: 25px; /* Hogy az ikonok egy vonalban legyenek */
}
/* Kártyás szekció alapjai */
.pillars-section {
    padding: 100px 20px;
    background-color: #f9f9f9; /* Halvány szürke háttér, hogy elváljon a fehér részektől */
}

.cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Automatikus elrendezés */
    gap: 30px;
    margin-top: 50px;
}

/* Egyedi kártya stílus */
.pillar-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); /* Nagyon finom árnyék */
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.pillar-card:hover {
    transform: translateY(-10px); /* Finom emelkedés hoverre */
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* Ikon a kártyában */
.card-icon {
    font-size: 2.5rem;
    color: #d4a017; /* Az arany színed */
    margin-bottom: 20px;
}

.pillar-card h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
}

.pillar-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Master szekció (fordított elrendezés a térképhez képest) */
.master-section {
    padding: 80px 0;
    background-color: #ffffff;
}

/* Záró CTA blokk */
.final-cta-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.cta-card {
    background: #ffffff;
    padding: 60px 40px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    text-align: center;
}

.cta-card .cta-wrapper {
    margin-top: 30px;
}

/* Disclaimer (Jogi rész) stílusa */
.disclaimer-box {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.disclaimer-box p {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.5;
    font-style: italic;
}

/* Segédosztály a fordított mobilos nézethez */
@media (max-width: 768px) {
    .master-section .split-layout {
        flex-direction: column-reverse; /* Mobilon a szöveg legyen felül a mester képénél is */
    }
    .cta-card {
        padding: 40px 20px;
    }
}

/* Mobil finomítás */
@media (max-width: 768px) {
    .pillars-section {
        padding: 60px 20px;
    }
}


/* Mobilon a szöveg legyen felül, a kép alul */
@media (max-width: 768px) {
    .split-layout {
        flex-direction: column;
        gap: 40px;
        text-align: left;
    }
    
    .image-content {
        max-width: 100%; /* Mobilon kitöltheti a szélességet */
    }

    .section-header.centered h2 {
        font-size: 2rem;
    }
}