/* --- Általános alapok és változók --- */
:root {
    --primary-gold: #d4a017;
    --accent-orange: #d4a017;
    --dark-text: #2c3e50;
    --light-bg: #b61378;
    --white: #000000;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    color: var(--dark-text);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    padding: 100px 0 60px;
    border-bottom: 1px solid #eee;
}

.section-header.align-left {
    max-width: 800px;
}

.subtitle {
    display: block;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.section-intro {
    font-size: 1.25rem;

    color: #555;
    max-width: 700px;
}

/* --- Tartalmi szekciók és kártyák --- */
.content-section {
    padding: 80px 0;
}

.centered {
    text-align: center;
    margin-bottom: 50px;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.rounded-img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.shadow-effect {
    box-shadow: var(--shadow);
}

/* --- Pillér kártyák --- */
.cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pillar-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.card-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.card-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.card-list li::before {
    content: "•";
    color: var(--accent-orange);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* --- Filozófia szekció --- */
.philosophy-section {
   padding: 40px 0 100px 0;
    background-color: #f9fcff;
    color: var(--white);
   
    text-align: center;
}

.philosophy-section .subtitle {
    margin-top: 0; /* Eltünteti a szöveg feletti alapértelmezett margót */
    display: block; /* Hogy a margó biztosan érvényesüljön */
}

.divider {
    margin: 30px 0;
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.philosophy-clean-text {
    max-width: 800px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--primary-gold);
}

.highlight-quote {
    font-style: italic;
    font-size: 1.3rem;
    margin-top: 40px;
    color: #000000;
    border-left: 4px solid var(--accent-orange);
    padding-left: 20px;
}

/* --- Misszió lista (ikonos) --- */
.mission-list {
    list-style: none;
    padding: 0;
}

.mission-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.mission-list i {
    color: var(--accent-orange);
    font-size: 1.2rem;
    margin-top: 5px;
}

/* --- Prémium CTA kártya --- */


.cta-card-premium {
  background-color: #f4f7f9;
    border-radius: 30px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.cta-button {
    display: inline-block; /* Fontos, hogy a margin működjön rajta */
    margin-top: 30px;
    /* ... a többi stílusod (szín, padding stb.) marad ... */
}

/* A kártyákat összefogó konténer */
.cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Az egyes pillér kártyák stílusa */
.pillar-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(145, 29, 29, 0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}



.section-header.centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.section-intro-centered {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    margin-top: 60px;
    font-style: italic;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.image-content img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.mission-list {
    list-style: none;
    padding: 0;
}

.mission-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.mission-list i {
    color: #467d9c;
    font-size: 1.3rem;
    margin-top: 5px;
}

.wisdom-box-mini {
    border-left: 4px solid #3498db;
    padding: 15px 20px;
    background-color: #f8fbff;
    margin-top: 30px;
    border-radius: 0 10px 10px 0;
}
/* --- A Tao szimbólum elemzés szekció stílusa --- */

.symbol-analysis-section {
    padding: 100px 0;
    background: radial-gradient(circle at center, #ffffff 0%, #fcfdfd 100%);
    overflow: hidden;
}

/* Az írásjel kártya (jobb oldal) */
.calligraphy-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    /* MÉRET BEÁLLÍTÁSA ITT: */
    width: 380px;            /* Fix szélesség */
    height: 420px;           /* Fix magasság az arányos négyzetes formához */
    margin: 0 auto;          /* Középre igazítja a saját sávján belül */
}




.calligraphy-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); /* Erősebb árnyék a mélységérzetért */

}

.calligraphy-card span {
    font-size: clamp(100px, 15vw, 150px);
    line-height: 1;
    color: #1a1a1a;
    text-shadow: 2px 2px 0px rgba(52, 152, 219, 0.1);
}

/* Az írásjel elemeinek magyarázata (bal oldal) */
.hieroglyph-breakdown {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.symbol-part {
    position: relative;
    padding-left: 20px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.symbol-part:hover {
    border-left-color: #467d9c;
    padding-left: 30px;
}

.symbol-part h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.symbol-part h3 i {
    font-size: 1.2rem;
    opacity: 0.8;
}

.symbol-part p {
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

.symbol-part strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Alsó összegző szöveg */
.text-content-centered {
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.text-content-centered p {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.6;
}
.chinese-char {
    transition: color 0.4s ease; /* Finom átmenet a színnek és a mozgásnak */
    cursor: pointer; /* Mutassa az egér, hogy interaktív */
}
.chinese-char:hover {
    color: var(--primary-gold); /* Itt állítod be az arany színt */
    text-shadow: 0 0 15px rgba(212, 160, 23, 0.4); /* Opcionális: arany ragyogás az árnyéknak */
}


.hero-section {
    position: relative;
    padding: 80px 0 20px 0; /* Szöveg feljebb tolva */
    background-color: #ffffff; 
    text-align: center;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../img/huangshan.webp');
    background-size: cover;
    background-position: center;
    
    /* EZT ADTUK HOZZÁ A FIXÁLÁSHOZ: */
    background-attachment: fixed; 
    
    opacity: 1; /* Halvány, tiszta megjelenés */
    filter: none; /* Kristálytiszta élesség */
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Fehér ködös gradiens, mint a Zoom-os oldalon */
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8));
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

/* Szövegek beállítása a fehér stílushoz */
.hero-section h1 {
    color: #333333;
    font-size: 3.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-section .subtitle {
    color: #d4af37; /* Arany szín */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.hero-section .section-intro {
    color: #467d9c;
    max-width: 750px;
    margin: 100px auto 0; /* 30px fent, auto kétoldalt, 0 lent */
    font-size: 1.2rem;
}

.hero-btns {
    margin-top: 50px; /* Növeltük a távolságot a szövegtől */
}


/* 1. A külső szekció: ez felel a teljes szélességű háttérért */
.content-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #fafcff; /* A sötétbarna szín */
    width: 100%;               /* Biztosítja a teljes szélességet */
    margin: 0;                 /* Ne legyen külső margója */
}

/* 2. A belső konténer: ez tartja középen a tartalmat fix szélességen */
.container {
    max-width: 1200px;         /* Itt állítod be a tartalom szélességét */
    margin-left: auto;         /* Középre igazítás balról */
    margin-right: auto;        /* Középre igazítás jobbról */
    padding-left: 20px;        /* Biztonsági margó mobilon */
    padding-right: 20px;       /* Biztonsági margó mobilon */
}



.pillars-section {
    padding-top: 80px; /* Így nem tapad rá az előző részre */
    padding-bottom: 80px;
    background-color: #f9f9f9;
}

.master-section {
    padding-top: 80px; /* Így nem tapad rá az előző részre */
    padding-bottom: 20px;
    background-color: #f7fbff;
}


.beginnings-detailed-section {
    padding-top: 80px; /* Így nem tapad rá az előző részre */
    padding-bottom: 80px;
    background-color: #f8f8f8;
}


.lao-tzu-detailed-section {
    padding-top: 80px; /* Így nem tapad rá az előző részre */
    padding-bottom: 20px;
    background-color: #f5fcfc;
}

.final-cta-section {
    padding-top: 60px; /* Így nem tapad rá az előző részre */
    padding-bottom: 60px;
    background-color: #ffffff;
}



.pillar-quote {
    font-size: 1.5rem;
    font-weight: 700;
    color: #467d9c;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 20px;
}

.pillar-quote::before {
    content: '"';
    font-size: 5rem;
    color: rgba(212, 175, 55, 0.2); /* Nagyon halvány arany idézőjel */
    position: absolute;
    top: -20px;
    left: 0;
}




/* A lista elrendezése - MOST MÁR EGYMÁS ALATT */
.integration-grid {
    display: grid;
    grid-template-columns: 1fr; /* Egy oszlop, így egymás alá kerülnek */
    gap: 0px;
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

/* Az egyes dobozok (kártyák) stílusa */
.integration-grid li {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #f0f0f0; 
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row; /* Az ikon a szöveg mellett maradjon bal oldalon */
    align-items: flex-start;
    gap: 15px;
}

/* ARANY KERET ÉS EMELKEDÉS HOVERRE */
.integration-grid li:hover {
    border-color: #d4af37; 
    transform: translateX(10px); /* Oldalra mozdul el lefelé helyett, elegánsabb egymás alatt */
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
}

/* Az ikonok stílusa */
.integration-grid li i {
    font-size: 1.3rem;
    color: #d4af37;
    min-width: 30px; /* Hogy az ikonok egy vonalban legyenek */
    margin-top: 4px;
}




/* Filozófia szekció alapjai */


/* A szöveges tartalom szélességének korlátozása (olvashatóság miatt) */
.philosophy-clean-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #4a4a4a;
    text-align: justify; /* Opcionális: sorkizárttól elegánsabb lehet */
}

/* A bevezető szöveg kiemelése */
.lead-text {
    font-size: 1.4rem;
    font-weight: 500;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Az Om jel és elválasztó stílusosabbá tétele */
.divider {
    margin: 30px 0 50px;
    text-align: center;
    position: relative;
}

.divider i {
    color: #d4af37; /* Arany szín az Om jelnek */
    font-size: 1.8rem;
    background: #fff;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
    z-index: 1;
}

/* Az alsó idézet (Highlight Quote) kiemelése */
.highlight-quote {
    margin-top: 60px;
    padding: 40px;
    background-color: #f4f7f9; /* A korábban választott halványkéked */
    border-radius: 20px;
    font-style: italic;
    font-size: 1.25rem;
    color: #467d9c;
    text-align: center;
    border-left: 5px solid #d4af37; /* Arany hangsúly a szélén */
}



.beginnings-detailed-section {
    padding: 100px 0;
    background-color: #fcfdfd; /* Nagyon halvány, tiszta háttér */
}

/* Két oszlopos elrendezés desktopon */
.beginnings-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

/* Modern kártya stílus */
.modern-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
    border-top: 4px solid #467d9c; /* A kedvenc kékes színeddel */
}

.modern-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    color: #d4af37; /* Arany ikonok */
    margin-bottom: 20px;
}

.modern-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* Kiemelt rész a kártyán belül */
.highlight-box {
    margin-top: 25px;
    padding: 20px;
    background-color: #f4f7f9;
    border-radius: 12px;
    font-size: 0.95rem;
    border-left: 3px solid #d4af37;
}

/* Mobilnézet: egymás alá rakja őket */
@media (max-width: 768px) {
    .beginnings-content-grid {
        grid-template-columns: 1fr;
    }
}




/* Mobilon (768px alatt) egymás alá rakja a dobozokat */
@media (max-width: 768px) {
    .integration-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Reszponzivitás --- */

@media (max-width: 992px) {
    .symbol-analysis-section .split-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .calligraphy-card {
        order: -1; /* Mobilon az írásjel kerüljön felülre */
        padding: 30px;
    }
    
    .symbol-analysis-section .section-header {
        margin-bottom: 40px;
    }
}

/* Animáció a hieroglifának (opcionális) */
@keyframes fadeInSymbol {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.calligraphy-card span {
    animation: fadeInSymbol 1.5s ease-out;
}

/* Mobil optimalizálás */
@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .section-header.centered {
        padding: 0 20px;
    }
}





/* --- Reszponzivitás --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .split-layout { grid-template-columns: 1fr; }
    .cta-card-premium { padding: 40px 20px; }
}