:root {
    --primary-color: #f5f5dc; /* Krém */
    --secondary-color: #daa520; /* Arany */
    --dark2-color: #1a1a1a;  /* Fekete */
    
    /* MÓDOSÍTOTT BETŰSZÍN */
    --text-color: #B69D74; 
    
    --light-text-color: #f0f0f0;
    --font-family-serif: 'Georgia', serif;
    --font-family-sans-serif: 'Arial', sans-serif;
    --cta-background: #903c40; 
    --cta-text-color: var(--light-text-color); 
    --cta-accent: #ffffff; 
    --active-menu-color: #B69D74; 
}

body {
    font-family: var(--font-family-sans-serif);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    /* Háttérkép beállítása */
    background-image: url('./img/body.jpg'); 
    background-size: cover;       /* Kitölti a teljes képernyőt */
    background-position: center;  /* Középre igazítja a képet */
    background-attachment: fixed; /* Gördüléskor a helyén marad (opcionális, de elegáns) */
    background-repeat: no-repeat; /* Nem ismétlődik */
    
    /* Tartalék szín, ha a kép nem töltene be */
    background-color: var(--primary-color); 
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

/* --------------------------------------
   1. Felső kontakt sáv (Vékony)
   -------------------------------------- */
.top-contact-bar {
    background-color: var(--dark2-color);
    color: var(--primary-color);
    padding: 4px 0;
    font-size: 0.9em;
    border-bottom: 1px solid var(--secondary-color);
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
}

.contact-info-blocks {
    display: flex;
    align-items: center;
    flex-wrap: wrap; 
}

.contact-item {
    margin: 0 10px; 
    white-space: nowrap; 
    position: relative;
    padding-right: 20px; 
    display: flex; 
    align-items: center;
}

.contact-item .align-middle {
    margin-right: 5px;
    font-size: 1.1em;
    color: var(--secondary-color); 
}

.contact-item:not(:last-child)::after {
    content: '•'; 
    color: var(--secondary-color);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex; 
    align-items: center;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.social-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 15px;
    font-weight: bold;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}
.text-block p {
    color: #B69D74;
	--text-color: #B69D74; 
}

.image-justice {
    border-radius: 15px; /* vagy 50% teljes körhöz */
}
/* --------------------------------------
   2. Header és Navigáció (Logóval) 
   -------------------------------------- */
/* --------------------------------------
   2. Header és Navigáció (JAVÍTOTT)
   -------------------------------------- */
.main-header {
    background-color: white;
    color: var(--dark2-color);
    padding: 5px 0;
    border-bottom: 3px solid var(--secondary-color);
    position: relative;
    z-index: 100; /* Legyen a többi tartalom felett */
}

.main-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo img {
    height: 80px;
    width: auto;
    display: block;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

/* Főmenü elemei */
.main-nav > ul > li {
    margin-left: 30px;
    position: relative; /* Ez a referenciapont a legördülőnek */
    padding-bottom: 10px; /* Segít, hogy ne tűnjön el a menü, ha az egeret lefelé mozgatod */
}

.main-nav ul li a {
    color: #000000;
    text-decoration: none;
	font-family: 'Poppins';
    font-weight: bold;
    font-size: 1.1em;
    padding-bottom: 5px;
    display: inline-block;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: #B69D74;
}

/* --- LEGÖRDÜLŐ MENÜ (DROPDOWN) --- */

/* Alaphelyzet: REJTVE */
.main-nav ul li ul.dropdown-menu {
    display: none; 
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%; /* Pontosan a főmenü alá */
    left: 0;
    background-color: #ffffff;
    min-width: 280px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.15);
    z-index: 9999;
    padding: 10px 0;
    margin: 0;
    border-top: 3px solid var(--secondary-color);
    list-style: none;
    transition: all 0.3s ease;
}

/* MEGJELENÍTÉS: Csak ha a szülő LI fölé viszed az egeret */
.main-nav ul li:hover > ul.dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Legördülő elemek formázása */
.dropdown-menu li {
    margin: 0 !important;
    padding: 0;
    display: block;
    width: 100%;
}

.dropdown-menu li a {
    padding: 12px 20px;
    font-size: 0.95em;
    font-weight: normal;
    color: var(--dark2-color) !important;
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-bottom: none !important; /* Itt nem kell az arany csík */
}

/* Hover a legördülő linkeken */
.dropdown-menu li a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color) !important;
    border-bottom: none !important;
}

/* --------------------------------------
   3. Hero Section (Fő banner) - KÖZÉPRE IGAZÍTVA
   -------------------------------------- */
.hero-section {
    position: relative;
    background: url('./img/slider.png') center/cover no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* ← ez középre húzza az abszolút pozicionált elemet is */

    text-align: center;
    color: white;
    height: 800px;
    padding: 20px;

    /* 🔥 ÚJ – hogy a .cta-div abszolút pozicionálása működjön! */
    align-items: unset;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.hero-section h1,
.hero-section p {
    position: relative;
    max-width: 800px; 
    margin: 0; 

}

.hero-section {
    position: relative;
background: url('./img/slider.jpg') center/cover no-repeat;
    
    /* Flexbox stílusok a tartalom centrálásához */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Függőleges középre a Hero fő tartalmának */
    align-items: center; /* Vízszintes középre a Hero fő tartalmának */
    
    text-align: center;
    color: white;
    height: 600px; /* Megnövelt magasság */
    padding: 20px;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.hero-section h1,
.hero-section p {
    position: relative;
    max-width: 600px; 
    margin: 0; 

}

.container1 {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        /* --------------------------------------
           3. Hero Section (Fő banner) - KÖZÉPRE IGAZÍTVA
           -------------------------------------- */
        .hero2-section {
            position: relative;
            /* Cseréld ki a 'hero-banner.png'-t a saját képed útvonalára! */
            background: url('./img/jogi.png') center/cover no-repeat; 
            
            /* Flexbox stílusok a tartalom centrálásához */
            display: flex;
            flex-direction: column;
            justify-content: center; /* Függőleges középre a Hero fő tartalmának */
            align-items: center; /* Vízszintes középre a Hero fő tartalmának */
            
            text-align: center;
            color: white;
            height: 550px; /* Megnövelt magasság */
            padding: 20px;
        }

        .hero2-section::before {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0.35); /* Átlátszó sötét overlay a kontraszt miatt */
        }

        .hero2-section h1,
        .hero2-section p {
            position: relative;
            max-width: 800px; 
            margin: 0; 
            
        }

        .hero2-section h1 {
            font-size: 3.5em; /* Nagy betűméret */
            margin-bottom: 25px; /* Térköz a gomb felett */
            font-weight: 700;
        }
		
		.hero2-section h3 {
            font-size: 3.5em; /* Nagy betűméret */
            margin-bottom: 25px; /* Térköz a gomb felett */
            font-weight: 700;
        }

        /* CTA gomb stílusa a Hero Section-ben */
        .hero2-cta {
            position: relative;
            display: inline-block;
            padding: 15px 35px;
            
            /* A kép színeit alapul véve, a keret fontos */
            border: 2px solid white; 
            background: transparent;
            color: white;
            
            text-decoration: none;
            font-weight: bold;
            font-size: 1.1em;
            letter-spacing: 1px;
            transition: background-color 0.3s, color 0.3s;
        }

        .hero2-cta:hover {
            background-color: white;
            color: var(--dark2-color); /* Fekete szöveg hover-re */
        }

        /* --------------------------------------
           7. Reszponzív design
           -------------------------------------- */
        @media (max-width: 768px) {
            .hero-section2 {
                height: 400px; /* Kisebb magasság mobilon */
            }
            .hero-section2 h1 {
                font-size: 2.5em;
            }            
			.hero-section2 h3 {
                font-size: 2.5em;
            }
        }

/* --------------------------------------
   4. Kiemelt Válás CTA Szekció - JOBB OLDALRA ÉS KÖZÉPRE HÚZVA
   -------------------------------------- */
.cta-div {
    position: absolute;
    top: -34%;                 /* függőleges középre */
    right: -730px;              /* jobbra "padding" / távolság a szélétől */
    transform: translateY(-50%); /* függőleges középre igazítás */
    z-index: 10;

    background-color: #fdfdfd;
    color: #B69D74; 
    padding: 40px 40px;       /* belső padding a tartalomnak */

    width: 30%;
    max-width: 350px;
    min-height: 200px;

    border: 2px solid var(--secondary-color);
    border-left: none;
    border-radius: 0 10px 10px 0;
    text-align: center;
}


.cta-div h2 {
    font-family: var(--font-family-sans-serif);
    font-size: 1.5em;
    color: #B69D74; 
    text-align: center; 
    margin-top: 0;
    margin-bottom: 5px; 
    font-weight: 700;
}

.cta-div p {
    font-size: 0.9em;
    color: var(--text-color); /* Sötét szöveg */
    margin-bottom: 20px;
    font-weight: normal; 
    text-align: center; 
}

.cta-div .cta-button { 
    display: inline-block; 
    width: 90%;
    background-color: #B69D74; 
    color: var(--dark2-color);
    padding: 10px 20px;
    text-decoration: none;
    border: 1px solid var(--secondary-color);
    border-radius: 5px; 
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-div .cta-button:hover {
    background-color: #B69D74; 
    color: var(--secondary-color); /* Hover szöveg arany */
    border: 1px solid var(--dark2-color);
}


/* --------------------------------------
   5. Tartalom Szekciók (általános)
   -------------------------------------- */
h2 {
    font-family: var(--font-family-serif);
    font-size: 2.5em;
    text-align: center;
    color: #B69D74; /* Frissített betűszín */
    margin-top: 60px;
    margin-bottom: 40px;
    position: relative;
}

/* Az összes h2 alatti díszítő vonal színe is legyen harmonikus */
h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}



h3 {
    font-family: var(--font-family-serif);
    color: var(--dark2-color);
    font-size: 1.8em;
    margin-bottom: 15px;
}

p {
    margin-bottom: 1em;
    font-size: 1.1em;
}

.about-us {
    padding: 40px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.about-content .text-block {
    flex: 2;
    background-color: #fff;
    padding: 30px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.about-content .image-block {
    flex: 1;
    min-height: 250px;
    background-color: #ccc; 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.services {
    padding: 40px 0;
    background-color: #fdfdfd;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background-color: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* ÚJ KÉP STÍLUSOK a service-item-en belül */
.service-item img {
    max-width: 100%; /* A kép a szülő elem (service-item) szélességét veszi fel */
    height: auto; /* Arányosan skálázódik */
    max-height: 180px; /* Maximális magasság, hogy egységesek legyenek a képek */
    object-fit: contain; /* A kép arányosan jelenjen meg, de ne vágódjon le */
    margin: 15px auto 15px auto; /* Vertikális margó a címtől és a szövegtől való elválasztáshoz */
    display: block; /* Biztosítja, hogy a margók és a max-width megfelelően működjenek */
}
/* END ÚJ KÉP STÍLUSOK */

.service-item h3 {
    color: #B69D74; 
    font-size: 1.6em;
    margin-bottom: 10px;
}
/* Call to Action (Alsó) */
.call-to-action {
    background-color: var(--dark2-color);
    color: var(--light-text-color);
    text-align: justify; /* Sorkizárás */
    text-justify: inter-word; /* A sorkizárás módja (opcionális, böngészőfüggő) */
    padding: 80px 20px;
    margin-top: 60px;
}

.call-to-action h2 {
    color: #B69D74;
    margin-top: 0;
    margin-bottom: 20px;
}

.call-to-action h2::after {
    background-color: var(--primary-color);
}

.call-to-action p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #B69D74; 
}

.button {
    display: inline-block;
    background-color: #B69D74; 
    color: var(--dark2-color);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.button:hover {
    background-color: var(--primary-color);
    color: var(--dark2-color);
}

/* Footer */
.main-footer {
    background-color: var(--dark2-color);
    color: var(--light-text-color);
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 3px solid var(--secondary-color);
}

.main-footer p {
    margin: 0;
    font-size: 0.9em;
    color: var(--primary-color);
}

.main-footer .contact-info {
    margin-top: 15px;
}

.main-footer .contact-info p {
    margin: 5px 0;
    color: var(--primary-color);
}

/* --------------------------------------
   6. Görgetéskor megjelenő animációk (Scroll Reveal)
   -------------------------------------- */
.reveal {
    position: relative;
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

.fade-in-up {
    transform: translateY(50px);
}

.fade-in-left {
    transform: translateX(-50px);
}

.fade-in-right {
    transform: translateX(50px); 
}

/* Késleltetés a szolgáltatásoknál */
.reveal.active.delay-1 { transition-delay: 0.1s; }
.reveal.active.delay-2 { transition-delay: 0.2s; }
.reveal.active.delay-3 { transition-delay: 0.3s; }
.reveal.active.delay-4 { transition-delay: 0.4s; }


/* --------------------------------------
   7. Reszponzív design
   -------------------------------------- */
@media (max-width: 992px) {
    /* CTA box középre Hero-ban (992px alatt) */
    .cta-div {
        right: 50%;
        top: 50%;
        transform: translate(50%, -50%); 
        max-width: 400px;
        width: 80%; 
        border-radius: 5px; /* Kerekítés mobilon */
        border: 2px solid var(--secondary-color); /* Egységes keret mobilon */
    }

    .hero-section h1,
    .hero-section p {
        max-width: 70%; 
        margin: 0 auto 10px auto;
        text-align: center;
    }
	.hero-section h3,
    .hero-section p {
        max-width: 70%; 
        margin: 0 auto 10px auto;
        text-align: center;
    }
	.szakterulet-blokk {
        flex-direction: column;
        align-items: stretch;
    }

    .text-content {
        width: 100%;
        max-width: 100%;
    }

    .text-block {
        max-width: 100% !important;
        width: 100%;
        box-sizing: border-box;
        padding-right: 0;
    }
}
.contact-info a {
    /* Megszünteti az alapértelmezett link színt */
    color: inherit; 
    
    /* Visszaállítja a szülő (azaz a <p>) színére */
    /* Vagy használhatsz egy konkrét színt, pl.: color: #333333; */

    /* Eltávolítja az aláhúzást, hogy ne tűnjön annyira linknek */
    text-decoration: none; 
}

/* Különböző állapotok kezelése */
.contact-info a:hover,
.contact-info a:focus,
.contact-info a:active {
    /* Megakadályozza, hogy a szín változzon az egérmutató felett */
    color: inherit; 
    
    /* Hozzáadhatsz egy enyhe vizuális visszajelzést (opcionális) */
    opacity: 0.8; 
}

@media (max-width: 768px) {
    .main-header .header-content {
        flex-direction: column;
        text-align: center;
    }

    /* CTA box mobil nézetre: Vissza a normál pozícióba, a Hero aljára */
    .cta-div {
        position: relative; 
        width: 100%; 
        max-width: none;
        top: auto;
        right: auto;
        transform: none; 
        margin: 30px auto 0 auto; 
    }
    
    .cta-div .cta-button {
        width: 90%; 
        display: inline-block;
    }
    
    .about-content {
        flex-direction: column;
    }

    .about-content .text-block,
    .about-content .image-block {
        flex: none;
        width: 100%;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
	

    .szakterulet-blokk {
        flex-direction: column;
        align-items: stretch;
    }

    .text-content {
        width: 100%;
        max-width: 100%;
    }

    .text-block {
        max-width: 100% !important;
        width: 100%;
        box-sizing: border-box;
        padding-right: 0;
    }


}
a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   GLOBÁLIS ALAPBEÁLLÍTÁSOK
========================================================= */
html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", 'Poppins', Arial, sans-serif;
    background-image: url('./img/body.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

/* =========================================================
   HERO
========================================================= */
.hero-section {
    padding: 100px 20px;
    text-align: center;
}

.hero2-section {
    max-width: 1200px;
    margin: 40px auto;
    border-radius: 20px;
    padding: 5px;
    background-color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* =========================================================
   BEMUTATKOZÁS / SZAKTERÜLET
========================================================= */
.bemutatkozas-container {
    display: flex;
    max-width: 1200px;
    margin: 50px auto;
    padding: 50px;
    background: white;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-height: 600px;
    overflow: hidden;
    box-sizing: border-box;
}

.text-content {
    flex: 1.2;
    padding-right: 50px;
}

.title {
    font-size: 2.2em;
    font-weight: 400;
    color: #333;
    border-left: 5px solid #B69D74;
    padding-left: 20px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-block,
.text-block p {
    margin-bottom: 20px;
    text-align: justify;
    color: #555;
    line-height: 1.8;
    font-size: 1.05em;
}

.text-block ul {
    list-style: none;
    padding-left: 0;
}

.text-block li {
    padding-left: 25px;
    margin-bottom: 12px;
    position: relative;
}

.text-block li::before {
    content: "•";
    color: #B69D74;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* KÉPEK */
.image-content {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 650px;
}

.image-justice,
.image-lawyer {
    position: absolute;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.image-justice {
    top: 0;
    left: 0;
    width: 70%;
    z-index: 1;
}

.image-lawyer {
    top: 150px;
    left: 30%;
    width: 75%;
    z-index: 2;
}

/* =========================================================
   KÁRTYÁK / SZOLGÁLTATÁSOK
========================================================= */
.cards {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.icon { font-size: 48px; margin-bottom: 20px; }
.blue { color: #1f4e79; }
.green { color: #2f7d32; }
.gold { color: #b8892f; }

/* =========================================================
   KAPCSOLAT – PRÉMIUM
========================================================= */
.contact-section-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 60px auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.contact-form-area {
    flex: 1.2;
    padding: 60px;
}

.contact-form-area h4 {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #B69D74;
}

.contact-form-area h2 {
    font-size: 38px;
    margin-bottom: 45px;
    font-family: 'Playfair Display', serif;
}

.contact-form-area h2 span {
    color: #B69D74;
    font-style: italic;
}

.form-row {
    display: flex;
    gap: 30px;
}

.input-group {
    flex: 1;
    margin-bottom: 30px;
}

.contact-form-area input,
.contact-form-area textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid #f0f0f0;
    padding: 12px 0;
    font-size: 15px;
    background: transparent;
    transition: 0.4s;
}

.contact-form-area input:focus,
.contact-form-area textarea:focus {
    border-bottom: 2px solid #B69D74;
}

.acceptance-box {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #777;
}

.btn-submit-custom {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.btn-submit-custom:hover {
    background: #B69D74;
    transform: translateY(-3px);
}

/* SIDEBAR */
.contact-info-sidebar {
    flex: 0.8;
    padding: 60px 40px;
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    color: white;
}

/* =========================================================
   RESZPONZÍV
========================================================= */
@media (max-width: 900px) {
    .bemutatkozas-container,
    .contact-section-wrapper {
        flex-direction: column;
        margin: 20px;
        padding: 25px;
        border-radius: 25px;
    }
.main-nav ul {
        flex-direction: row;       /* Column helyett row, hogy egymás mellett legyenek */
        flex-wrap: wrap;           /* Ha túl sok a menüpont, törjön új sorba, ne lógjon ki */
        justify-content: center;   /* Középre igazítja a menüpontokat */
        padding: 0;
        list-style: none;
    }
    .text-content { padding-right: 0; }
    .image-wrapper { height: 500px; }
    .form-row { flex-direction: column; }
}


/* ==========================================
   MOBIL (MAX 768px)
========================================== */
@media (max-width: 1000px) {

    /* Header */
    .main-header .header-content {
        flex-direction: column;
        text-align: center;
    }



    /* Hero Section */
    .hero-section,
    .hero2-section {
        height: auto;
        padding: 60px 20px;
        text-align: center;
    }

    .hero-section h1,
    .hero-section p,
    .hero2-section h1,
    .hero2-section p {
        max-width: 90%;
        margin: 0 auto 15px auto;
        font-size: 1.8em;
        text-align: center;
    }

    /* CTA Box */
    .cta-div {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 90%;
        max-width: none;
        margin: 30px auto 0 auto;
        border-radius: 10px;
        padding: 20px;
    }

    .cta-div .cta-button {
        width: 100%;
        display: inline-block;
    }

    /* Bemutatkozás / Szakterület */
    .bemutatkozas-container {
        flex-direction: column;
        padding: 20px;
        margin: 20px;
        border-radius: 20px;
        min-height: auto;
    }

    .text-content {
        padding-right: 0;
    }

    .image-wrapper {
        height: 400px;
    }

    /* Kártyák / szolgáltatások */
    .cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px;
    }

    /* Kontakt / kapcsolat */
    .contact-section-wrapper {
        flex-direction: column;
        margin: 20px;
        padding: 20px;
        border-radius: 20px;
    }

    .contact-form-area {
        padding: 20px;
    }

    .contact-info-sidebar {
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
    }

    .input-group {
        width: 100%;
    }

    /* Általános szöveg / címek */
    h2 {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    h3 {
        font-size: 1.4em;
        margin-bottom: 10px;
    }

    p,
    .text-block p {
        font-size: 1em;
    }

    /* Footer */
    .main-footer {
        padding: 20px 10px;
    }
}
/* ==========================================
   MOBIL CTA GOMB OPTIMALIZÁLÁS
========================================== */
@media (max-width: 1000px) {
    .cta-div .cta-button {
        width: 100%;          /* Teljes szélesség a szülő boxban */
        display: block;       /* Blokk szintű elem, hogy új sorban legyen */
        padding: 15px 0;      /* Függőleges padding a kényelmes kattintáshoz */
        font-size: 1.1em;     /* Mobilon is jól olvasható */
        text-align: center;   /* Szöveg középre */
        box-sizing: border-box; /* Biztosítja, hogy a padding ne lógjon ki */
        border-radius: 8px;   /* Kerekítés mobilra */
        margin: 0 auto;       /* Középre helyezés */
    }

    /* Hover / aktív állapot mobilon */
    .cta-div .cta-button:hover,
    .cta-div .cta-button:focus,
    .cta-div .cta-button:active {
        background-color: #B69D74; /* Hover háttér arany */
        color: var(--dark2-color);  /* Szöveg fekete */
        border-color: var(--secondary-color); /* Keret szín */
    }
}
