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

:root {
    --bg-dark: #0f0f0f;
    --card-bg: #1a1a1a;
    --neon-green: #32ff7e; /* Élénk zöld */
    --text-white: #ffffff;
    --text-gray: #b1b1b1;
}

body { background: var(--bg-dark); color: var(--text-white); }
html { scroll-behavior: smooth; }

/* Navigáció */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(0,0,0,0.95);
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .logo { font-weight: 900; font-size: 1.6rem; }
nav .logo i { color: var(--neon-green); margin-right: 10px; }
nav span { color: var(--neon-green); }

nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 25px; }
nav ul li a { color: white; text-decoration: none; font-size: 0.9rem; text-transform: uppercase; transition: 0.3s; }
nav ul li a:hover { color: var(--neon-green); }

/* Hero */
header {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.01), rgba(15,15,15,0)), 
                url('img/landing3.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 { font-size: 4rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: -1px; }
.hero-content p { font-size: 1.3rem; color: var(--text-gray); margin-bottom: 10px; max-width: 700px; }
.hero-content  { padding-top:320px; }


/* Gombok */
.btn {
    background: var(--neon-green);
    color: #000;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 0; 
    transition: 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgb(224, 224, 224);
}

.btn:hover { 
    transform: scale(1.15); 
    box-shadow: 0 0 30px rgba(50, 255, 125, 0.847); 
}

/* Szolgáltatások */
.services { padding: 100px 8%; text-align: center; }
.services h2 { margin-bottom: 50px; font-size: 2.5rem; }

.service-grid {
    display: grid;
    position: center;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    width: 100%;
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    padding: 50px 30px;
    border: 1px solid #222;
    transition: 0.4s;
}

.service-card i {
    font-size: 3rem;
    color: var(--neon-green);
    margin-bottom: 20px;
}

.service-card:hover {
    border-color: var(--neon-green); 
    transition: 0.3s;
    scale: 1.1;
    }
.service-card h3 { margin-bottom: 15px; }
.service-card p { color: var(--text-gray); line-height: 1.6; }

section h2{
    position: center;
}

/* Galéria */
.gallery-grid {
    display: flex;
    gap: 20px; 
    width: 100%;
}

.photo-placeholder {
    background: #222;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 0.8rem;
    border: 1px solid #333;
}

/* Új külső burkoló a nyilak miatt */

.gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 90%;
    margin-left: 6%;
    margin-right: 6%;
}

/* A galéria görgethető része */
.gallery-container {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 0;
    box-sizing: border-box; 
    -ms-overflow-style: none;  
    scrollbar-width: none;  
    -ms-overflow-style: none;  /* IE és Edge */
    scrollbar-width: none;  /* Firefox */
}
.gallery-container::-webkit-scrollbar {
    display: none; 
}

/* Eltüntetjük a csúnya görgetősávot, mert már lesznek nyilak */
.gallery-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.photo-placeholder {
    flex: 0 0 calc((100% - 40px) / 3); 
    height: 250px; 
    border-radius: 8px;
    scroll-snap-align: start;
    box-sizing: border-box;
    
    /* FONTOS: Ez vágja le a képet a sarkoknál, és engedi a szöveg pozicionálását */
    position: relative;
    overflow: hidden; 
}


/* A Navigációs gombok alap stílusa */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s;
}

.nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}


/* A KÉP BEÁLLÍTÁSA: Ez a lényegi rész */
.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Kitölti a teret torzulás nélkül (mint a háttérképek) */
    object-position: center; /* A kép közepe maradjon fókuszban */
    display: block;
}

/* A felirat sötétített háttere (hogy a fehér szöveg mindig olvasható legyen a képen) */
.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); /* Alulról felfelé halványodó fekete */
    color: #fff;
    padding: 20px 15px 15px 15px;
    box-sizing: border-box;
    text-align: center;
}

.photo-caption span {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}


/* Gombok elhelyezése a bal és jobb szélen */
.prev-btn { left: 10px; }
.next-btn { right: 10px; }



/* Kapcsolat */
.contact { background: #050505; padding: 100px 8%; }
.contact-info { margin-bottom: 30px; color: var(--neon-green); }

form { display: flex; flex-direction: column; max-width: 500px; margin: 0 auto; }
form input, form select, form textarea {
    background: #111;
    border: 1px solid #333;
    padding: 15px;
    color: white;
    margin-bottom: 15px;
}



/* Checkboxok tárolója egymás mellett */
.checkbox-group {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    justify-content: flex-start;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
}

/* Alapértelmezetten elrejtjük a beviteli mezők tárolóit */
.input-wrapper {
    display: none;
    width: 100% !important;
    margin-bottom: 15px;
}

/* Ha a mező aktívvá válik, megjelenítjük */
.input-wrapper.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out; /* Finom áttűnés */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .checkbox-group {
        flex-direction: column;
        gap: 10px;
    }
}



.comparison-section { padding: 80px 8%; text-align: center; background: #0a0a0a; }

.comparison-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 450px;
    margin: 40px auto;
    overflow: hidden;
    border: 2px solid var(--neon-green);
}

.comparison-container .img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comparison-container img {
    width: 800px; /* Egyeznie kell a konténer max-szélességével */
    height: 450px;
    object-fit: contain;
    display: block;
}

.before-img {
    width: 50%; /* Ez változik JS-el */
    overflow: hidden;
    z-index: 2;
    border-right: 3px solid var(--neon-green);
}


/* A láthatatlan csúszka, ami az egészet vezérli */
.slider {
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    margin: 0;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    cursor: ew-resize;
}

/* Feliratok a képeken */
.before-img::after, .after-img::after {
    position: absolute;
    bottom: 20px;
    padding: 5px 15px;
    background: rgba(0,0,0,0.7);
    color: var(--neon-green);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
}
.before-img::after { content: 'Előtte'; left: 20px; }
.after-img::after { content: 'Utána'; right: 20px; }



.timeline-section {
    background: #1a1a1a;
    padding: 80px 10%;
    color: white;
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 1250px;
    margin: 50px auto;
}

/* A középső függőleges lánc/vonal */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--neon-green);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

/* Bal és jobb oldal elrendezése */
.left { left: 0; text-align: right; }
.right { left: 50%; text-align: left; }


/*TimeLine*/
.letterspacing{
    letter-spacing: 1px;
}
.timeline-item h3{
    position: center;
    color: var(--neon-green)
}

.timeline-item span, .service-card span,h3{
    color: var(--neon-green);
}
/* Az ikonok körei a vonalon */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: #1a1a1a;
    border: 4px solid var(--neon-green);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

.right::after { left: -10px; }

.timeline-item .content {
    padding: 20px;
    background: #252525;
    border-radius: 8px;
    transition: 0.3s;
}

.timeline-item .content:hover {
    box-shadow: 0 0 15px #32ff7d8e;
    transform: translateY(-5px);
}

.timeline-item i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 10px;
}

/* Mobil nézet */
@media screen and (max-width: 600px) {
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; text-align: left; }
    .timeline-item::after { left: 21px; }
    .right { left: 0%; }
}



/* Mobil */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    nav ul { display: none; }
}
@media (max-width: 932px) {
    header {
    background: linear-gradient(rgba(0,0,0,0.01), rgba(15,15,15,0)), 
                url('img/business_card.png');
    background-position: center;
    background-size: contain;
}
}
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    nav ul { display: none; }
}

/* MOBIL NÉZET: Telefonon a 3 kép túl kicsi lenne, ott jobb ha csak 1 látszik egyszerre */
@media (max-width: 768px) {
    .photo-placeholder {
        flex: 0 0 100%; /* Mobilon 1 kép tölti ki a képernyőt */
    }
    .comparison-section{
        display: none;
    }
}
@media (max-width: 768px) {
    .photo-placeholder {
        flex: 0 0 100%; 
    }
}

footer { padding: 40px; text-align: center; border-top: 1px solid #222; color: #555; }
