/* --- MICZI FRAME BAU - FINAL FULL PREMIUM STYLE (2025) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&family=Open+Sans:wght@300;400;600&display=swap');

:root {
    --primary: #c59d5f; /* Elegáns arany */
    --primary-dark: #a88345;
    --secondary: #111111; /* Mély fekete */
    --dark-grey: #1c1c1c;
    --light: #f4f4f4;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.15); /* Modern árnyék */
    --gradient: linear-gradient(135deg, #c59d5f 0%, #e0c38c 100%);
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #555;
    background-color: var(--light);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* --- MENÜ (NAVBAR) --- */
.navbar {
    background: rgba(17, 17, 17, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 20px 0;
    transition: 0.4s;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 1000;
}

.navbar-scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    background: #000 !important;
}

.nav-link {
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0 15px;
    position: relative;
    transition: 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* --- GOMBOK --- */
.btn {
    font-weight: 700;
    padding: 12px 35px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient);
    border: none;
    color: #000;
    box-shadow: 0 5px 15px rgba(197, 157, 95, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(197, 157, 95, 0.6);
    color: #000;
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--secondary);
    border-color: white;
}

.btn-dark {
    background: var(--secondary);
    color: var(--primary);
    border: 1px solid var(--primary);
}
.btn-dark:hover {
    background: var(--primary);
    color: var(--secondary);
}

/* --- HERO SZEKCIÓ (FŐOLDAL) --- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax hatás */
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: -86px; /* Hogy a menü alá csússzon */
    padding-top: 86px;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
    font-weight: 800;
}

/* --- PAGE HEADER (ALOLDALAK FEJLÉCE) --- */
/* Javítva, hogy ne lógjon bele a menü a szövegbe! */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 220px 0 100px; /* Megnövelt felső padding */
    text-align: center;
    color: white;
    margin-bottom: 50px;
    margin-top: -86px;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
    margin-bottom: 10px;
}

/* --- SZEKCIÓK ÁLTALÁNOS --- */
.section-padding {
    padding: 80px 0;
}

.bg-dark-custom {
    background-color: #111;
    color: white;
}

.section-title {
    position: relative;
    margin-bottom: 60px;
    text-align: center;
}

.section-title.text-start {
    text-align: left;
}

.section-title::before {
    content: 'MICZI FRAME BAU';
    display: block;
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    z-index: 1;
}

.section-title.text-center h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--primary);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title.text-start h2::after {
     content: '';
    width: 60px;
    height: 4px;
    background: var(--primary);
    position: absolute;
    bottom: -15px;
    left: 0;
    border-radius: 2px;
}

/* --- RÓLUNK KÉP KERET (YELLOW FRAME) --- */
.about-img-container {
    position: relative;
    padding: 30px;
    z-index: 1;
}

.about-img-container img {
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
    width: 100%;
}

.about-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 80%;
    background: var(--gradient);
    border-radius: 10px;
    z-index: 1;
}

/* --- LISTÁK --- */
.custom-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.custom-list li i {
    color: var(--primary);
    background: rgba(197, 157, 95, 0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
}

/* --- SZOLGÁLTATÁS KÁRTYÁK (SERVICE BOX) --- */
.service-box, .service-card {
    background: white;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: 0.3s;
    border-radius: 10px;
    height: 100%;
    position: relative;
    top: 0;
    border-bottom: 3px solid transparent;
}

.service-box:hover, .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--primary);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
}

/* --- MUNKAFOLYAMAT (PROCESS STEPS) --- */
.process-step {
    text-align: center;
    position: relative;
    margin-bottom: 30px;
    padding: 20px;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: #000;
    font-weight: 800;
    font-size: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 0 0 10px rgba(197, 157, 95, 0.2);
    transition: 0.3s;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    background: var(--white);
    color: var(--primary);
}

/* --- GALÉRIA --- */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- KAPCSOLAT DOBOZOK --- */
.contact-box {
    background: white;
    padding: 40px;
    box-shadow: var(--shadow);
    border-radius: 10px;
    height: 100%;
}

.contact-box i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* --- FOOTER --- */
footer {
    background: #0b0b0b;
    padding-top: 80px;
    color: #888;
    padding-bottom: 30px;
}

footer h5 {
    color: white;
    margin-bottom: 25px;
}

footer a {
    color: #888;
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: var(--primary);
    padding-left: 5px;
}

footer ul li {
    margin-bottom: 10px;
}

hr.bg-light {
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 1;
}

/* --- ANIMÁCIÓK (JS-hez) --- */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE FIX --- */
@media (max-width: 991px) {
    .hero h1, .page-header h1 {
        font-size: 2.5rem;
    }
    .hero {
        margin-top: -60px;
        padding-top: 60px;
    }
}

@media (max-width: 768px) {
    .hero h1, .page-header h1 {
        font-size: 2rem;
    }
    .hero {
        height: auto;
        padding: 150px 0 100px;
    }
    .section-title h2 {
        font-size: 2rem;
    }
}
/* --- BRUTÁLIS EXTRÁK (MÁSOLD A FÁJL VÉGÉRE) --- */

/* 1. HERO ZOOM ANIMÁCIÓ (Ken Burns Effect) */
@keyframes zoomEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero {
    position: relative;
    overflow: hidden;
}

/* Ez a trükk kell, hogy a háttér mozogjon, de a szöveg ne */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    animation: zoomEffect 20s infinite alternate; /* 20 másodperces lassú zoom */
    z-index: -1;
}

/* 2. LEBEGŐ HÍVÁS GOMB (Pulsing FAB) */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: #000;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 0 0 0 rgba(197, 157, 95, 0.7);
    animation: pulse-gold 2s infinite;
    z-index: 9999;
    transition: 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.floating-cta:hover {
    transform: scale(1.1);
    color: #fff;
}

@keyframes pulse-gold {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(197, 157, 95, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(197, 157, 95, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(197, 157, 95, 0); }
}

/* 3. ÜGYFÉLVÉLEMÉNY KÁRTYÁK (Testimonials) */
.testimonial-card {
    background: #1a1a1a; /* Sötét kártya */
    padding: 30px;
    border-left: 5px solid var(--primary);
    color: white;
    margin: 15px;
    border-radius: 0 10px 10px 0;
    position: relative;
}

.testimonial-card i {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 15px;
}
/* --- PRELOADER & COOKIE EXTRA --- */

/* Preloader (A betöltő képernyő) */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #111; /* Mély fekete háttér */
    z-index: 99999; /* Minden felett */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(197, 157, 95, 0.3);
    border-top: 4px solid var(--primary); /* Arany pörgő rész */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- COOKIE BANNER (JAVÍTOTT & LUXUS) --- */
#cookie-banner {
    position: fixed;
    bottom: 0;          /* Fixen az alján */
    left: 0;
    width: 100%;
    background-color: #111; /* Mély fekete */
    color: white;
    padding: 20px;
    z-index: 10000;     /* Legyen minden felett */
    border-top: 3px solid var(--primary); /* Arany csík a tetején */
    box-shadow: 0 -5px 25px rgba(0,0,0,0.8);
    display: none;      /* Alapból rejtve, JS hozza elő */
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Ha nagyobb a képernyő, legyen egymás mellett a szöveg és gomb */
@media (min-width: 768px) {
    #cookie-banner {
        flex-direction: row;
        justify-content: center;
        text-align: left;
    }
}

#cookie-banner p {
    margin: 0 20px 0 0; /* Távolság a gomb és szöveg közt */
    font-size: 15px;
    margin-bottom: 10px; /* Mobilon legyen hely */
}

@media (min-width: 768px) {
    #cookie-banner p { margin-bottom: 0; }
}

#cookie-banner .btn-accept {
    background-color: var(--primary); /* Arany gomb */
    color: #000;                      /* Fekete szöveg */
    border: none;
    padding: 10px 25px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

#cookie-banner .btn-accept:hover {
    background-color: #fff;
    color: #000;
    transform: scale(1.05);
}

#cookie-banner.show {
    display: flex !important; /* JS adja hozzá ezt az osztályt */
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* FAQ Harmonika Stílus */
.accordion-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 10px;
}
.accordion-button {
    background-color: white;
    color: var(--secondary);
    font-weight: 700;
    box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
    background-color: var(--primary);
    color: black;
}
.accordion-button::after {
    filter: grayscale(100%); /* Nyíl színe */
}
/* --- SÖTÉT ŰRLAP MEZŐK (DARK FORM INPUTS) --- */
.form-control-dark {
    background-color: #222;      /* Sötétszürke háttér */
    border: 1px solid #444;      /* Finom keret */
    color: #fff !important;      /* Fehér szöveg íráskor */
    transition: 0.3s;
}

.form-control-dark::placeholder {
    color: #888;                 /* Halványabb placeholder szöveg */
}

.form-control-dark:focus {
    background-color: #2b2b2b;   /* Kicsit világosabb ha belekattintasz */
    border-color: var(--primary);/* ARANY KERET ha írsz bele */
    color: #fff;
    box-shadow: 0 0 10px rgba(197, 157, 95, 0.3); /* Arany fénylés */
}
/* --- SÖTÉT HARMONIKA (DARK ACCORDION) --- */
.accordion-dark .accordion-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #333; /* Finom sötét vonal */
}

.accordion-dark .accordion-button {
    background-color: #222; /* Sötét gomb */
    color: white;
    box-shadow: none;
}

.accordion-dark .accordion-button:not(.collapsed) {
    background-color: var(--primary); /* Ha lenyílik: ARANY */
    color: black;
}

.accordion-dark .accordion-body {
    background-color: #1a1a1a; /* A válasz háttere */
    color: #ccc; /* Világosszürke szöveg */
    border-top: 1px solid #333;
}

/* Nyíl színének javítása (hogy látszódjon sötéten is) */
.accordion-dark .accordion-button::after {
    filter: invert(1) grayscale(100%); /* Fehér nyíl */
}
.accordion-dark .accordion-button:not(.collapsed)::after {
    filter: none; /* Fekete nyíl arany háttéren */
}
/* --- SÖTÉT SZOLGÁLTATÁS KÁRTYÁK --- */
.service-box-dark {
    background-color: #111; /* Fekete kártya */
    color: white;
    border: 1px solid #333; /* Finom keret */
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: 0.3s;
    border-radius: 10px;
    height: 100%;
    position: relative;
    top: 0;
    border-bottom: 3px solid transparent;
}

.service-box-dark h3 {
    color: white; /* Cím fehér */
    margin-top: 20px;
}

.service-box-dark p {
    color: #bbb; /* Szöveg szürke */
}

.service-box-dark:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--primary); /* Arany aláhúzás hoverre */
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.service-box-dark .service-icon {
    font-size: 3rem;
    color: var(--primary); /* Ikon arany */
}
/* --- ÚJ: SÖTÉT SZEKCIÓK ALOLDALAKRA --- */

/* Sötétszürke háttér az aloldalak fő tartalmának */
.bg-dark-grey-section {
    background-color: #1a1a1a;
    color: #ddd; /* Világosszürke szöveg */
    padding: 80px 0;
}

/* A sötét szekción belüli címek legyenek fehérek */
.bg-dark-grey-section h2,
.bg-dark-grey-section h3,
.bg-dark-grey-section h4 {
    color: white;
}

/* A sötét szekcióban a 'lead' (kiemelt) szöveg legyen fehér */
.bg-dark-grey-section .lead {
    color: white !important;
}

/* SÖTÉT KAPCSOLAT DOBOZ (Térképekhez) */
.contact-box-dark {
    background-color: #111; /* Mélyfekete */
    border: 1px solid #333;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); /* Erősebb árnyék */
}

/* A sötét dobozban a kisebb szövegek világosszürkék */
.contact-box-dark .text-muted {
    color: #bbb !important;
}
/* --- LOGÓ MÉRETEZÉS GÖRGETÉSKOR --- */

/* Amikor a menü "összemegy" (scrolled), a logó is legyen kisebb */
.navbar-scrolled #navbar-logo {
    max-height: 60px !important; /* Itt visszavesszük 60px-re, hogy ne zavarjon olvasáskor */
}

/* Mobilon alapból ne legyen túl óriási, mert kilógna */
@media (max-width: 768px) {
    #navbar-logo {
        max-height: 70px !important; /* Mobilon max 70px legyen */
    }
}
/* --- KAPCSOLAT FORM FIX (Hogy biztosan kattintható legyen) --- */
.contact-box {
    position: relative;
    z-index: 50; /* Minden más felett legyen */
}

/* Ha esetleg a gombnak külön kell */
.contact-box button[type="submit"] {
    position: relative;
    z-index: 51;
    cursor: pointer;
}
/* --- MOBIL RESPONZÍV JAVÍTÁSOK --- */

@media (max-width: 768px) {
    /* 1. Hero Gombok javítása */
    .hero .d-flex {
        flex-direction: column; /* Egymás alá kerüljenek */
        width: 100%;
        align-items: center;
    }

    .hero .btn {
        width: 100%;       /* Teljes szélesség */
        max-width: 300px;  /* De ne legyen túl széles tableten */
        margin: 10px 0;    /* Távolság egymástól */
        font-size: 14px;   /* Kicsit kisebb betű, hogy kiférjen */
        padding: 15px 20px;
    }

    /* 2. Hero Szöveg mérete */
    .hero h1 {
        font-size: 2.2rem; /* Kisebb cím mobilon */
        line-height: 1.3;
    }
    
    .hero .lead {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    /* 3. Lebegő gomb feljebb hozása, hogy ne takarja ki a cookie sávot */
    .floating-cta {
        bottom: 90px; 
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}
/* --- VÉGSŐ MOBIL JAVÍTÁS (HERO TEXT & GOMBOK) --- */

@media (max-width: 768px) {
    /* 1. A Hero szekciót lejjebb toljuk, hogy ne takarja ki a menü */
    .hero {
        padding-top: 150px !important; /* Sokkal több helyet hagyunk fentről */
        height: auto !important;       /* Engedjük, hogy akkorára nőjön, amekkora kell */
        min-height: 100vh;             /* De legalább képernyő magas legyen */
        background-position: center top; /* A háttérkép is igazodjon */
    }

    /* 2. A Címsor (H1) méretének csökkentése */
    .hero h1 {
        font-size: 1.8rem !important; /* Kisebb, hogy biztosan kiférjen */
        line-height: 1.3;             /* Szellősebb sorköz */
        margin-bottom: 20px;
        padding: 0 10px;              /* Oldalsó margó, hogy ne érjen a széléhez */
    }
    
    /* 3. A kísérő szöveg (lead) mérete */
    .hero .lead {
        font-size: 1rem !important;
        margin-bottom: 30px !important;
        padding: 0 15px;
    }

    /* 4. Gombok rendezése */
    .hero .d-flex {
        flex-direction: column !important; /* Egymás alá */
        width: 100%;
        align-items: center;
        gap: 15px !important; /* Távolság a gombok közt */
    }

    .hero .btn {
        width: 100% !important;       
        max-width: 280px !important;  /* Ne legyen túl széles */
        margin: 0 !important;
        display: block;
    }
    
    /* 5. A pörgő számok (Statisztika) mobilon */
    .py-5.bg-dark h2 {
        font-size: 2.5rem; /* Kicsit kisebb számok mobilon */
    }
}/* --- VÉGSŐ MOBIL JAVÍTÁS (MINDEN MÉRETRE) --- */

/* 1. Általános Mobil nézet (Tablettől lefelé) */
@media (max-width: 768px) {
    .hero {
        padding-top: 140px !important;
        height: auto !important;
        min-height: 100vh;
        background-position: center top;
        align-items: flex-start !important; /* Hogy fentről kezdődjön */
    }

    .hero h1 {
        font-size: 2rem !important;
        margin-top: 20px;
    }

    .hero .d-flex {
        flex-direction: column !important;
        width: 100%;
        align-items: center;
        gap: 15px !important;
    }

    .hero .btn {
        width: 90% !important;
        margin: 0 !important;
        display: block;
    }
}

/* --- VÉGSŐ JAVÍTÁS MINDEN MOBILRA ÉS TABLETRE (ATOMBIZTOS) --- */

@media (max-width: 991px) { /* Kiterjesztjük 991px-ig, hogy a tableteken és fekvő mobilokon is jó legyen */
    
    .hero {
        /* 1. KIKAPCSOLJUK a flexboxos vertikális igazítást */
        display: block !important;
        
        /* 2. BRUTÁLIS PADDING FENTRŐL: Ez tolja le a szöveget a menü alól */
        padding-top: 220px !important; 
        padding-bottom: 100px !important;
        
        /* 3. Engedjük a magasságot nőni */
        height: auto !important; 
        min-height: 100vh;
        
        /* 4. A háttérkép ne ugráljon mobilon */
        background-attachment: scroll !important; 
        background-position: center top !important;
    }

    .hero .container {
        /* Biztosítjuk, hogy a konténer a helyén maradjon */
        margin-top: 0 !important;
    }

    /* SZÖVEG MÉRETEZÉS */
    .hero h1 {
        font-size: 2rem !important; /* Biztonságos méret */
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
        text-shadow: 0 2px 10px rgba(0,0,0,0.8); /* Erősebb árnyék, hogy jobban látszódjon */
    }
    
    .hero .lead {
        font-size: 1rem !important;
        margin-bottom: 30px !important;
        padding: 0 10px;
    }

    /* GOMBOK RENDEZÉSE */
    .hero .d-flex {
        /* Egymás alá tesszük őket */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
        width: 100% !important;
    }

    .hero .btn {
        /* Teljes szélességű gombok */
        width: 100% !important;
        max-width: 320px !important; /* De ne legyen túl széles */
        display: block !important;
        margin: 0 !important;
    }
    
    /* Ha a menü kinyílik, legyen sötét a háttere, hogy olvasható legyen */
    .navbar-collapse {
        background: rgba(17, 17, 17, 0.98);
        padding: 20px;
        border-radius: 0 0 10px 10px;
    }
}

/* EXTRA KICSI TELEFONOKRA (360px alatt) MÉG EGY KIS IGAZÍTÁS */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.6rem !important;
    }
    .hero {
        padding-top: 200px !important;
    }
}
/* --- ALOLDALAK FEJLÉC VÉGSŐ FIX (iPhone 8 kompatibilis) --- */

.page-header {
    /* Asztali gépen: */
    padding-top: 280px !important; 
    padding-bottom: 100px !important;
    background-position: center center !important;
    height: auto !important;
}

/* MOBIL ÉS TABLET NÉZET (Itt volt a baj) */
@media (max-width: 768px) {
    .page-header {
        /* JAVÍTÁS: 200px helyett 250px! Ez biztosan letolja a menü alól */
        padding-top: 250px !important; 
        padding-bottom: 60px !important;
    }
    
    .page-header h1 {
        font-size: 2rem !important; /* Kicsit kisebb betű, hogy kiférjen */
        padding: 0 10px;
        line-height: 1.2;
        margin-top: 10px;
    }
    
    .page-header .lead {
        font-size: 1rem !important;
        padding: 0 15px;
    }
}   
/* --- GALÉRIA CAROUSEL STÍLUS --- */

/* Fix magasság a kiemelt projektek képeinek */
.project-slide-img {
    height: 400px; /* PC-n 400px magas legyen */
    object-fit: cover; /* Ha nem fér bele, vágja le a szélét, de töltse ki */
    background-color: #000;
}

/* Mobilon legyen kicsit alacsonyabb */
@media (max-width: 768px) {
    .project-slide-img {
        height: 250px;
    }
}

/* A lapozó nyilak kicsit láthatóbbak legyenek */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 50%, 50%;
}