/* --- 1. ALAPOK --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

:root {
    --bg-color-v1: #ffffff;
    --text-color-v1: #ffffff; /* Egységesítve kisbetűre */
    --text-color-v2: #33CCFF;
    --bg-color-v2: #00a3da;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Ezt add hozzá! */
    max-width: 100vw;   /* Ezt add hozzá! */
}

html, body {
    scroll-behavior: smooth !important;
    overflow-x: hidden;
    width: 100%;
    /* Megszüntetjük a pattogást iOS-en */
    overscroll-behavior-y: none;
}

section {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding-bottom: 0 !important;
    vertical-align: top;
}

body {
    width: 100%;
    max-width: 100vw;   /* Ezt add hozzá! */
    height: 100vh;
    background-color: var(--bg-color-v1);
    overflow-x: hidden;
}

/* --- 2. NAVIGÁCIÓ (DESKTOP) --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 85px;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 60px;
    
    background: rgba(0, 163, 218, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    opacity: 0;
    
    transition: background 0.6s ease, backdrop-filter 0.6s ease, opacity 0.6s ease;
}

.nav-content {
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

nav.scrolled .nav-content {
    opacity: 1;
    transform: translateY(0);
}


.logo-container {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.nav-logo {
    max-height: 140px;
    width: auto;
    filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.2));
}

/* Aktív állapot, amit a JS fog rárakni induláskor */
nav.visible {
    opacity: 1;
    background: rgb(0, 0, 0);
    /* A fekete hátteret kivettem, ha a transzparens-blur a cél, de visszateheted, ha feketét akarsz indulásnak */
}

nav.visible .nav-content {
    opacity: 1;
    transform: scale(1);
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 35px;
}

.social-icons {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color-v1);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    transition: 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active-link {
    color: var(--text-color-v2);
    transform: translateY(-2px);
}

.social-icons a {
    color: var(--text-color-v1);
    font-size: 1.3rem;
    transition: 0.3s ease;
}

.social-icons a:hover {
    color: var(--text-color-v2);
    transform: scale(1.2);
}

.menu-toggle {
    display: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 2001;
}

/* --- 3. HERO SZEKCIÓ --- */
.hero {
    position: relative;
    width: 100%;
    height: 55vh; /* 60vh-ról 45vh-ra csökkentve */
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 85px; /* Hozzáadjuk a Navigáció magasságát, így a Flexbox a maradék helyen pont középre teszi a szöveget */
    overflow: hidden;
    background: #000;
}

.white-curtain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 10;
    transition: transform 1.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.hero.active .white-curtain {
    transform: translateY(-100%);
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.media-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.hero-content {
    /* A korábbi top: 8%; sort TÖRÖLNI KELL, mert az tolta el a középpontból! */
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s ease-out;
    transition-delay: 1.8s;
}

.hero.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-content h1 {
    color: white;
    font-size: 4.5rem;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* --- 4. RÓLUNK SZEKCIÓ --- */
.about-section {
    background-color: white;
    padding: 40px 15%; 
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    
    /* FIX: Fix height helyett min-height, így ha kell, meg tud nyúlni! */
    min-height: 45vh; 
    height: auto; 
}

.divider {
    width: 2px;
    height: 0;
    background-color: black;
    transition: height 1s ease-in-out;
    opacity: 0;
}

.about-section.active .divider {
    height: 275px;
    opacity: 1;
}

.anim-left, .anim-right {
    opacity: 0;
    transition: all 1s ease-out;
    transition-delay: 0.8s;
}

.anim-left {
    flex: 1;
    text-align: right;
    transform: translateX(60px);
}

.anim-right {
    flex: 2;
    transform: translateX(-60px);
}

.about-section.active .anim-left,
.about-section.active .anim-right {
    opacity: 1;
    transform: translateX(0);
}

.about-title h2 {
    /* A clamp() lényege: (minimum méret, ideális méret vw-ben, maximum méret) */
    font-size: clamp(2rem, 3.5vw, 3rem); 
    color: black;
    font-weight: 800;
    text-transform: uppercase;
}

.about-text p {
    /* Automatikusan zsugorodik, ahogy szűkíted a weblapot, mielőtt mobil nézetbe ugrana */
    font-size: clamp(0.95rem, 1.2vw, 1.15rem); 
    color: #444;
    max-width: 800px;
    text-align: justify;
}

@media (max-width: 1400px) {
    .hero-content h1 {
        font-size: 2.8rem;
        text-align: center;
    }
}

/* --- 5. MOBIL RESPONSIVE (MAX-WIDTH: 950PX) --- */
@media (max-width: 950px) {
    /* --- NAVIGÁCIÓ --- */
    nav { padding: 0 20px; }

    .logo-container {
        flex: 1;
        order: 1;
        justify-content: flex-start;
    }

    .social-icons {
        flex: 1;
        order: 2;
        justify-content: center;
        display: flex;
    }

    .menu-toggle {
        display: block;
        order: 3;
        flex: 1;
        text-align: right;
    }

    /* HAMBURGER MENÜ JAVÍTÁSA */
    .nav-links {
        position: fixed;
        top: 150px;
        left: 50%;
        transform: translate(-50%, -20px);
        width: 95%; /* 85%-ról szélesítve */
        max-width: 500px; /* 320px-ről megnövelve, hogy szélesebb legyen */
        height: auto;
        padding: 30px;
        
        background: rgba(0, 0, 0, 0.95); /* Kék helyett fekete háttér */
        backdrop-filter: blur(25px) saturate(160%);
        -webkit-backdrop-filter: blur(25px) saturate(160%);
        
        border-radius: 25px;
        flex-direction: column;
        gap: 15px;
        
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 2000;
    }

    .nav-links.nav-active {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .nav-links a {
        font-size: 1.1rem;
        text-align: center;
        width: 100%;
        padding: 10px 0;
        color: white;
    }

    /* --- HERO --- */
    .hero-content h1 {
        font-size: 1.9rem;
        text-align: center;
    }

    /* --- RÓLUNK SZEKCIÓ JAVÍTÁSA --- */
    .about-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        height: auto; /* Mobilon engedjük el a fix magasságot, hogy a szöveg megnyújthassa a dobozt! */
        min-height: 50vh;
    }

    /* Kisebb betűk, hogy elférjen a szöveg */
    .about-title h2 { font-size: 2rem; }
    .about-text p { font-size: 0.95rem; }

    .divider {
        width: 0;
        height: 2px;
        transition: width 1s ease;
    }

    .about-section.active .divider {
        width: 95%;
        height: 2px;
        opacity: 1;
    }

    .anim-left { transform: translateY(30px); }
    .anim-right { transform: translateY(-30px); }

    .about-section.active .anim-left {
        opacity: 1;
        transform: translateY(-10px);
    }

    .about-section.active .anim-right {
        opacity: 1;
        transform: translateY(10px);
    }

    /* --- GALÉRIA SZEKCIÓ JAVÍTÁSA --- */
    .gallery-section { padding: 60px 15px; }
    
    .gallery-header-row { 
        flex-direction: row; /* Hogy egymás mellett maradjanak */
        align-items: center; 
        justify-content: space-between;
        margin-bottom: 30px;
    }
    
    .gallery-intro h2 { font-size: 1.6rem; } /* Kisebb cím */
    .gallery-intro .sub-title { font-size: 0.7rem; letter-spacing: 2px; }
    
    .gallery-nav { 
        width: auto; 
        gap: 10px; /* Kisebb rés a gombok között */
    }
    
    .nav-btn { 
        width: 40px; /* Kisebb gombok */
        height: 40px; 
    }
    
    .gallery-card { height: 400px; }
}

/* --- 6. GALÉRIA SZEKCIÓ --- */
.gallery-section {
    position: relative;
    background-color: #050505;
    background: radial-gradient(circle at center, #0a0a0a 0%, #000000 100%);
    padding: 120px 60px;
    color: white;
    width: 100%;
    
    /* FIX: Itt volt a probléma. A fix 100vh miatt nem nyúlt meg a háttér a tartalommal. */
    min-height: 100vh; 
    height: auto; 
    
    opacity: 1;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.gallery-section::before,
.gallery-section::after {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: var(--text-color-v2);
    filter: blur(180px);
    opacity: 0.12;
    z-index: 0;
}

.gallery-section::before { top: -100px; right: -50px; }
.gallery-section::after { bottom: -100px; left: -50px; }

.gallery-container {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background-image: linear-gradient(rgba(51, 204, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(51, 204, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

.gallery-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.gallery-intro .sub-title {
    color: var(--text-color-v2);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 4px;
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: block;
}

.gallery-intro h2 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1;
}

.gallery-nav {
    display: flex;
    gap: 15px;
}

.nav-btn {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(51, 204, 255, 0.3);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #ffffff;
    border-radius: 4px;
}

.nav-btn:hover {
    background-color: var(--text-color-v2);
    border-color: var(--text-color-v2);
    color: #000;
    transform: scale(1.1);
}

.mySwiper {
    width: 100%;
    padding: 10px 0 40px 0;
}

.gallery-card {
    width: 100%;
    height: 550px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #111;
    position: relative;
}

.gallery-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--text-color-v2);
    border-radius: 12px;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

.swiper-slide:hover .gallery-card::after {
    opacity: 1;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.8s ease;
    filter: brightness(0.8) grayscale(20%);
}

.swiper-slide:hover .gallery-card img {
    transform: scale(1.1);
    filter: brightness(1.1) grayscale(0%);
}

.btn-browse {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid var(--text-color-v2);
    padding: 18px 45px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    transition: 0.4s;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-browse:hover {
    background-color: var(--text-color-v2);
    color: #000;
    box-shadow: 0 0 25px rgba(51, 204, 255, 0.4);
    transform: translateY(-5px);
}

@media (max-width: 950px) {
    .gallery-section { padding: 80px 20px; }
    .gallery-intro h2 { font-size: 2.2rem; }
    .gallery-header-row { flex-direction: column; align-items: flex-start; gap: 25px; }
    .gallery-nav { width: 100%; justify-content: flex-start; }
    .gallery-card { height: 450px; }
}

/* --- SZOLGÁLTATÁSOK STÍLUS --- */
.services-section {
    padding: 120px 60px 350px 60px; /* Megnövelt alsó padding (350px), hogy a footer ne látsszon azonnal */
    background-color: #ffffff;
    width: 100%;
    min-height: 100vh;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-header-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    margin-bottom: 60px;
}

.services-intro .sub-title {
    color: var(--bg-color-v2);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 4px;
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: block;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .sub-title {
    color: var(--bg-color-v2);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
}

.services-intro h2 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #000;
    line-height: 1;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #111;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.service-card {
    background: #0a0a0a;
    color: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    /* Alapból nincs látható keret, de helyet foglalunk neki, hogy ne ugorjon meg a kép hovernél */
    border: 2px solid transparent; 
    height: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: var(--text-color-v2); /* Megjelenik a kék csík */
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); /* Sima árnyék, nem kék fény */
}

.service-card.featured {
    border: 2px solid transparent;
    transform: none;
}

.service-card.featured:hover {
    border-color: var(--text-color-v2);
    transform: translateY(-15px);
}

.card-main { padding: 40px 25px; flex-grow: 1; }
.card-top h3 { color: #fff; font-size: 1.2rem; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.price { font-size: 1.8rem; font-weight: 900; color: var(--text-color-v2); margin-bottom: 25px; }

.service-list { list-style: none; }
.service-list li { color: #ccc; margin-bottom: 12px; font-size: 0.9rem; display: flex; align-items: flex-start; gap: 10px; }
.service-list li i { color: var(--text-color-v2); margin-top: 3px; }

/* TICKET DIVIDER EFFECT */
.ticket-divider {
    position: relative;
    height: 2px;
    border-top: 2px dashed #222;
    margin: 0 15px;
}

.circle {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #ffffff; /* Fehér, mert a szekció is fehér! */
    border-radius: 50%;
    top: -16px;
}
.circle.left { left: -32px; }
.circle.right { right: -32px; }

.card-extra { background: #111; padding: 25px; }
.card-extra h4 { color: var(--text-color-v2); margin-bottom: 15px; font-size: 0.8rem; letter-spacing: 1px; }
.extra-list { list-style: none; }
.extra-list li { display: flex; justify-content: space-between; font-size: 0.8rem; color: #fff; margin-bottom: 8px; font-weight: 600; }
.extra-list li span { color: var(--text-color-v2); }

/* A szolgáltatások alatti extra szöveg alapstílusa */
/* Konténer az extra szövegnek és a címkének */
.services-attention-wrapper {
    /* Ez a legfontosabb: pontosan akkora max-szélesség kell, mint a kártyák gyűjtőjének */
    max-width: 1400px; /* Próbáld meg ezt az értéket növelni, amíg el nem éri a kártyák szélét */
    width: 100%;
    margin: 60px auto; /* Középre igazítja a blokkot */
    padding: 0; /* Nulla padding, hogy ne legyen belső rés a szélétől */
    box-sizing: border-box;
}

.attention-label {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #000;
    line-height: 1;
    text-align: left;
    margin-bottom: 10px;
    /* Ha a FIGYELEM feliratot is ki akarod húzni a jobb széléig: */
    /* text-align: justify;
       text-align-last: justify; */
}

.services-extra-text p {
    color: #444;
    font-size: 1.25rem;
    margin: 0;
    line-height: 1.5;
    
    /* Ez húzza ki a szöveg szavait a két szélére */
    text-align: justify;
    text-align-last: justify; /* Az utolsó sort is kifeszíti */
}

/* --- FOOTER STÍLUS --- */
.site-footer {
    background: #000;
    color: white;
    padding: 60px 60px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Bal: Teló, Közép: Logo, Jobb: Social */
    align-items: center;
}

.footer-side {
    display: flex;
    align-items: center;
}

.footer-left {
    display: flex;
    flex-direction: column; /* Egymás alá rakja őket */
    gap: 15px;             /* 15 pixel távolság a telefon és az email között */
    align-items: flex-start; /* Balra igazítja mindkettőt */
}
.footer-right { justify-content: flex-end; display: flex; }

.footer-logo img { max-height: 90px; }

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-info {
    text-align: center;
}

.footer-info .info-item a {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.footer-info .info-item a:hover { color: var(--text-color-v2); }

.footer-socials { display: flex; gap: 25px; }
.footer-socials a { color: white; font-size: 1.6rem; transition: 0.3s; }
.footer-socials a:hover { color: var(--text-color-v2); transform: scale(1.2); }

.footer-left .info-item {
    display: flex;
    align-items: center;
    gap: 10px;             /* Távolság az ikon és a szöveg között */
}

.footer-left .info-item i {
    color: #00d4ff;        /* A kék színed az ikonoknak */
    width: 20px;           /* Egységes szélesség az ikonoknak, hogy a szöveg egy vonalban kezdődjön */
}

.info-item a { color: #fff; text-decoration: none; font-size: 1.4rem; font-weight: 900; transition: 0.3s; }
.info-item a:hover { color: var(--text-color-v2); }

.footer-socials { display: flex; gap: 20px; }
.footer-socials a { color: #fff; font-size: 1.5rem; transition: 0.3s; }
.footer-socials a:hover { color: var(--text-color-v2); transform: scale(1.2); }

.back-to-top {
    text-decoration: none;
    color: #555;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.back-to-top i {
    background: #111;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #fff;
    transition: 0.3s;
}

.back-to-top:hover {
    color: var(--text-color-v2);
}

.back-to-top:hover i { background: var(--text-color-v2); color: #000; }

.footer-bottom { margin-top: 50px; text-align: center; font-size: 0.75rem; color: #5e5e5e; border-top: 1px solid #111; padding-top: 20px; }
.footer-bottom span {
    color: var(--text-color-v2);
}

/* MOBIL RESPONSIVITY */
@media (max-width: 768px) {
    .services-extra-text {
        margin-top: 60px; /* Mobilon több helyet hagyunk az utolsó kártya után */
        margin-bottom: 30px; /* Hely a következő szekció előtt */
    }

    .services-attention-wrapper {
        /* Mobilon a dobozok általában 90-95% szélesek, ez követi őket */
        width: 90%; 
        margin: 60px auto;
    }

    .attention-label {
        font-size: 2.2rem; /* Hogy ne törjön több sorba mobilon */
    }

    .services-extra-text p {
        font-size: 1.1rem;
        text-align: justify; /* Mobilon is maradjon egyenes a jobb széle */
    }
    
    .service-card.featured {
        transform: scale(1);
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .info-item a {
        font-size: 1.2rem;
    }
}

@media (max-width: 950px) {
    .footer-container {
        grid-template-columns: 1fr; /* Egymás alá kerülnek mobilon */
        text-align: center;
        gap: 40px;
    }
    
    .footer-left, .footer-right { justify-content: center; }
    
    .footer-center { order: -1; } /* A logó maradjon legfelül */
    
    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
}

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr; } /* Mobilon egymás alatt */
    .footer-container { grid-template-columns: 1fr; gap: 40px; }
    .footer-left, .footer-right { justify-content: center; }
    .footer-center { order: -1; }
    .services-header-row { justify-content: center; text-align: center; }
    .services-intro h2 { font-size: 2.2rem; }
}