html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}


/* --- GÖRGETÉSI ANIMÁCIÓ (FADE IN UP) --- */
.hidden-section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out; 
}

.show-section {
    opacity: 1;
    transform: translateY(0);
}


/* --- MENÜSOR (NAVBAR) --- */
.navbar {
    background-color: #1a252f;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center; 
    justify-content: flex-start; 
    gap: 120px; 
    padding: 0 2rem;
}

.logo-container a {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 40px;
    width: auto;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 15px 0;
    display: flex;
    gap: 30px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-links a:hover {
    background-color: #18bc9c;
    color: white;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

/* --- ALAPBEÁLLÍTÁSOK --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa; 
    color: #333;
}

header {
    background-image: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('Images/background.jpg');
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 5rem 2rem; 
}

header h1 {
    margin: 0;
    font-size: 3rem;
    letter-spacing: 2px;
}

header p {
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 10px;
}

section {
    padding: 3rem 1rem;
    max-width: 800px; 
    margin: 0 auto;
    text-align: center;
}


/* --- MIÉRT VÁLASSZON MINKET (FEATURES) --- */
.features-section {
    padding: 1rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.features-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; 
    margin-top: 2rem;
}

.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 280px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.feature-box:hover {
    transform: translateY(-10px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-box h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
    border: none; 
    padding-bottom: 0;
}


/* --- RóLUNK ÉS SZOLGÁLTATÁSOK LISTA --- */
.about-services-container {
    display: flex;
    flex-direction: row; 
    justify-content: space-between;
    gap: 50px; 
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 1rem;
    text-align: center; 
}

.about-column h2{
    text-align: left;
    margin-top: 0;
    width: 20%;
    color: #2c3e50;
    border-bottom: 2px solid #18bc9c;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.services-column h2 {
    text-align: left;
    margin-top: 0;
    width: 46%;
    color: #2c3e50;
    border-bottom: 2px solid #18bc9c;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.about-column, .services-column {
    flex: 1;
    background: white; 
    padding: 30px; 
    border-radius: 10px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    font-size: 1.1rem;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
    position: relative;
    padding-left: 35px;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: '✓';
    color: #18bc9c;
    font-size: 1.2rem;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.about-column:hover, .services-column:hover {
    transform: translateY(-10px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.15); 
}


/* --- KÉPGALÉRIA (SLIDER) --- */
.slider-container {
    position: relative;
    max-width: 1000px;
    height: 500px;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

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

.prev-btn { left: 10px; }
.next-btn { right: 10px; }


/* --- A TELJES MUNKÁINK SZEKCIÓ --- */
.portfolio {
    background: white; 
    max-width: 1000px; 
    margin: 3rem auto; 
    padding: 3rem 1rem; 
    border-radius: 10px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    text-align: center; 
}

/* --- KÁRTYÁK (PORTFÓLIÓ) --- */
.cards-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 30px; 
    margin-top: 2rem;
}

.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: left;
    width: calc(50% - 15px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.15); 
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-top: 0;
    color: #2c3e50;
}


/* --- ÁRKALKULÁTOR ÉS KAPCSOLAT KÁRTYÁK --- */
.calculator, .contact {
    background: white;
    max-width: 1000px; 
    margin: 3rem auto; 
    padding: 3rem 1rem; 
    border-radius: 10px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center; 
}

.calculator h2 {
    text-align: left;
    margin-top: 0;
    width: 15%;
    color: #2c3e50;
    border-bottom: 2px solid #18bc9c;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* --- ÁRKALKULÁTOR ŰRLAP STÍLUSAI --- */
.calculator-form {
    max-width: 400px;
    margin: 0 auto;
    text-align: left; 
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 8px;
}

.input-group input, 
.input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box; 
}

.action-btn {
    width: 100%;
    background-color: #18bc9c; 
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.action-btn:hover {
    background-color: #128f76; 
}

.result-hidden {
    display: none; 
}

.result-visible {
    display: block;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed #ddd;
    text-align: center;
}

.result-visible h3 {
    color: #2c3e50;
    margin: 0 0 10px 0;
    border: none; 
}

#final-price {
    color: #18bc9c;
    font-size: 1.8rem;
}

.disclaimer {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin: 0;
}

.contact {
    text-align: left; 
}

.contact > p {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-image img {
    width: 150px; 
    height: 150px; 
    object-fit: cover; 
    border-radius: 50%; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-content {
    display: flex;
    align-items: stretch; 
    justify-content: space-between;
    gap: 40px; 
    margin-top: 2rem;
}

.contact-left {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    gap: 20px; 
    flex: 1; 
}

.contact-details {
    text-align: center; 
}

.contact-map {
    flex: 1.5; 
    min-height: 300px; 
    border-radius: 10px;
    overflow: hidden; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex; 
}

.contact-map iframe {
    width: 100%;
    height: 100%;
}

.contact h2 {
    text-align: left;
    margin-top: 0;
    width: 12%;
    color: #2c3e50;
    border-bottom: 2px solid #18bc9c;
    padding-bottom: 10px;
    margin-bottom: 20px;
}


.contact a {
    color: #18bc9c; 
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

.contact a:hover {
    text-decoration: underline; 
}


/* --- LÁBLÉC (FOOTER) --- */
footer {
    background-color: #2c3e50; 
    color: white;
    padding: 4rem 2rem 1rem 2rem; 
    margin-top: 4rem;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; 
    gap: 30px;
    text-align: left;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    color: white;
    border-bottom: 2px solid #18bc9c; 
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-col p {
    line-height: 1.6;
    color: #bdc3c7;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

/* --- KÖZÖSSÉGI MÉDIA IKONOK FORMÁZÁSA --- */
.social-links a {
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.social-links img {
    width: 24px; 
    height: 24px;
    object-fit: contain;
}

.footer-col a, .legal-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover, .legal-links a:hover {
    color: #18bc9c; 
}

.footer-bottom {
    max-width: 1000px;
    margin: 3rem auto 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #bdc3c7;
}

.creator {
    color: #95a5a6;
}
.creator strong {
    color: white;
}


/* --- SÜTI (COOKIE) SÁV (Asztali és mobilos nézeten is látszik) --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1a252f;
    color: white;
    text-align: center;
    padding: 15px 20px;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
    z-index: 9999; 
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; 
}

.cookie-banner p {
    margin: 0;
    font-size: 0.95rem;
}

.cookie-banner a {
    color: #18bc9c;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    background-color: #18bc9c;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cookie-btn:hover {
    background-color: #128f76;
}

.cookie-btn-alt {
    background-color: transparent;
    color: #bdc3c7;
    border: 1px solid #bdc3c7;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.cookie-btn-alt:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* --- MOBILOS NÉZET (Szigorúan a fájl legvégén!) --- */
@media (max-width: 768px) {
    /* Hamburger menü beállítások */
    .navbar {
        padding: 1rem 2rem;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: block; 
    }

    .nav-links {
        display: none; 
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 1rem 0 0 0;
        gap: 20px;
    }

    .nav-links.active {
        display: flex; 
    }

    /* Kártyák egymás alá rendezése mobilon */
    .about-services-container, .cards-container, .contact-content {
        flex-direction: column;
    }

    .card, .contact-map {
        width: 100%;
    }

    .slide img, .slider-container {
        height: 250px;
    }

    .contact-left, .contact-details, .footer-bottom {
        text-align: center;
        gap: 15px;
    }
}


/* --- MOBILOS NÉZET --- */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 2rem;
        justify-content: space-between; 
        flex-wrap: wrap; 
    }
    
    .menu-toggle {
        display: block; 
    }

    .nav-links {
        display: none; 
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 1rem 0 0 0;
        gap: 20px;
    }

    .nav-links.active {
        display: flex; 
    }

    .about-services-container {
        flex-direction: column;
    }

    .cards-container {
        flex-direction: column;
    }
    
    .card {
        width: 100%;
    }

    .slide img {
        height: 250px;
    }
    .slider-container {
        height: 250px;
    }

    .contact-content {
        flex-direction: column;
        gap: 30px;
    }

    .contact-left {
        flex-direction: column;
        text-align: center;
    }

    .contact-details {
        text-align: center; 
    }

    .contact-map {
        width: 100%; 
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-banner {
        padding: 15px 10px; /* Csökkentjük az oldalsó margót mobilon */
        flex-direction: column; /* Egymás alá rendezzük a szöveget és a gombokat */
        gap: 10px;
        text-align: center;
    }

    .cookie-banner p {
        font-size: 0.85rem; /* Picit kisebb betűméret mobilon */
        line-height: 1.4;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center; /* Középre húzzuk a gombokat */
    }
}