@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');


/* --- Alapbeállítások és Új Szín Változók --- */
:root {
    --primary-color: #EC5766;   /* Élénk türkiz/zöldeskék  #00C9A7 */
    --secondary-color: #DA344D; /* Meleg korall/narancs   #FF8C61 */
    --accent-color: #FFD700;    /* Élénk sárga   #FFD700 */
    --bg-light: #FDFDFD;
    --bg-brand-light: #DADAD9; /* Nagyon világos türkiz a szekció háttérhez  #E0F8F4 */
    --text-dark: #2C3E50;
    --text-light: #4F6379;      /* Világosabb szürke szöveghez */
    --white-color: #ffffff;
    --border-radius: 10px;      /* Kicsit nagyobb rádiusz */
    --box-shadow-light: 0 5px 15px rgba(0, 0, 0, 0.07);
    --box-shadow-strong: 0 8px 25px rgba(44, 62, 80, 0.12);
    --transition-speed: 0.3s;
    --font-primary: 'Poppins', 'Arial', sans-serif;
    --container-width: 1140px;
    --header-height: 75px;
}

/* Google Font import (pl. Poppins) - a CSS fájl tetejére */


/* --- Reset és Alapstílusok --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: var(--header-height); /* Globális padding a fix header miatt var(--header-height) */
}

/* --- Segédosztályok --- */
.container { width: 90%; max-width: var(--container-width); margin-left: auto; margin-right: auto; }
.section-padding { padding: 60px 0; } /* Kicsit csökkentettem a belső oldalakon, ha a body-n már van padding-top */

.page-content-padding main { /* Ez már nem feltétlenül kell, ha a body-ra tesszük a padding-top-ot */
    /* padding-top: var(--header-height); */ /* Eltávolítva, mert a body-ra került */
}

.bg-brand-light { background-color: var(--bg-brand-light); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { text-decoration: none; color: var(--primary-color); transition: color var(--transition-speed) ease; }
a:hover { color: var(--secondary-color); }

h1, h2, h3, h4, h5, h6 { color: var(--text-dark); line-height: 1.3; margin-bottom: 0.7em; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 5.5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.5vw, 2.8rem); text-align: center; margin-bottom: 1.2em; margin-top: 0.8em;}
h3 { font-size: clamp(1.3rem, 3.5vw, 1.7rem); color: var(--primary-color); }

h2::after {
    content: ''; display: block; width: 80px; height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0.4em auto 0; border-radius: 3px;
}
.section-intro { text-align: center; max-width: 700px; margin: 0 auto 2.5em auto; font-size: 1.1rem; color: var(--text-light); }

.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 201, 167, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}
.btn:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 140, 97, 0.4);
}
.btn-primary.btn-hero {
    padding: 16px 38px;
    font-size: 1.05rem;
}

/* --- Header --- */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    height: var(--header-height);
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}
.header-container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo { height: 55px; width: auto; }
header nav ul { display: flex; }
header nav ul li { margin-left: 35px; }
header nav ul li a {
    font-size: 1rem; font-weight: 500; color: var(--text-dark);
    padding: 8px 0; position: relative; text-transform: uppercase; letter-spacing: 0.5px;
}
header nav ul li a::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2.5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width var(--transition-speed) ease; border-radius: 2px;
}
/* Az aktív link stílusa (JS kezeli a főoldalon, HTML-ben a letöltések oldalon) */
header nav ul li a.active {
    color: var(--primary-color);
}
header nav ul li a.active::after {
    width: 100%;
}
header nav ul li a:hover {
    color: var(--primary-color);
}
header nav ul li a:hover::after {
    width: 100%;
}


/* Hamburger menü (mobil nézet) */
.nav-toggle { display: none; background: transparent; border: none; cursor: pointer; padding: 10px; z-index: 1001;}
.hamburger { display: block; width: 28px; height: 3px; background-color: var(--text-dark); position: relative; border-radius: 3px; transition: all var(--transition-speed) ease;}
.hamburger::before, .hamburger::after { content: ''; position: absolute; width: 28px; height: 3px; background-color: var(--text-dark); left: 0; border-radius: 3px; transition: all var(--transition-speed) ease;}
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }
.nav-toggle.active .hamburger { background-color: transparent; }
.nav-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; background-color: var(--primary-color);}
.nav-toggle.active .hamburger::after { transform: rotate(-45deg); top: 0; background-color: var(--primary-color);}


/* --- Hero Szekció (csak index.html) --- */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    padding: 120px 0 100px; /* Csökkentett padding, mert a body-n van padding-top */
    text-align: center;
    min-height: calc(90vh - var(--header-height)); /* Figyelembe vesszük a header magasságát */
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-content { z-index: 1; }
.hero-section h1 { color: var(--white-color); margin-bottom: 0.4em; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.hero-section .subtitle {
    font-size: clamp(1.1rem, 2.8vw, 1.4rem);
    margin-bottom: 2.2em; margin-left: auto; margin-right: auto; max-width: 700px; opacity: 0.95;
    font-weight: 400;
}

/* --- Rólunk Szekció --- */
.about-content {  gap: 50px; align-items: center; text-align: justify; }
.about-image-container { display: flex; justify-content: center; align-items: center; }
.about-image { border-radius: var(--border-radius); box-shadow: var(--box-shadow-strong); width: 100%; max-width: 420px; }
.highlight-box {
    background-color: var(--bg-brand-light);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-top: 1.5em;
    border-left: 5px solid var(--primary-color);
}
.highlight-box p { margin-bottom: 0; color: var(--text-dark); font-size: 0.95rem; }
.highlight-box strong { color: var(--primary-color); }

/* --- Szolgáltatások Szekció --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 35px; }
.service-item {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    text-align: left;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
}
.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-strong);
}
.service-icon-background {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,201,167,0.3);
}
.service-icon-background img { width: 32px; height: 32px; filter: brightness(0) invert(1); }
.service-item h3 { margin-bottom: 0.6em; font-size: 1.35rem; font-weight: 600; }
.service-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; flex-grow: 1; }

/* --- Letöltések Szekció/Oldal Stílusai --- */
/* A .downloads-section, .downloads-grid, .download-item, stb. stílusok változatlanok a korábbi válaszból */
/* Itt vannak újra, a teljesség kedvéért: */
.downloads-section {
    /* background-color: var(--bg-light); /* Vagy var(--bg-brand-light) */
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Alapértelmezett */
    gap: 30px;
    margin-top: 2.5em;
}

.download-item {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow-light);
    display: flex;
    flex-direction: column; /* Alapértelmezett elrendezés, ha a gomb alul van */
    align-items: flex-start; /* Tartalom balra igazítása */
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.download-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-strong);
}

.download-icon {
    margin-bottom: 15px;
}

.download-icon img {
    width: 40px;
    height: 40px;
}

.download-info {
    flex-grow: 1;
    margin-bottom: 20px;
}

.download-info h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.4em;
}

.download-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0;
}

.btn-download {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    text-transform: none;
    font-size: 0.85rem;
    letter-spacing: 0;
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(255, 140, 97, 0.25);
}

.btn-download:hover {
    background-color: #e67e22;
    box-shadow: 0 6px 18px rgba(230, 126, 34, 0.35);
    transform: translateY(-2px);
}

/* Letöltési elemek egy sorban, ha van elég hely */
@media (min-width: 576px) {
    .download-item {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }
    .download-icon { margin-bottom: 0; flex-shrink: 0; }
    .download-info { margin-bottom: 0; }
    .btn-download { align-self: center; margin-left: auto; flex-shrink: 0; }
}
/* Ha a letöltési rács túl széles lenne, korlátozhatjuk */
@media (min-width: 992px) {
    .downloads-page .downloads-grid { /* Csak a letöltések oldalon */
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /* Nagyobb elemek, kevesebb oszlop */
        max-width: 900px; /* Középre igazított, nem túl széles rács */
        margin-left: auto;
        margin-right: auto;
    }
}


/* --- Elérhetőségek Szekció --- */
.contact-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; margin-top: 2em;}
.contact-item {
    background-color: var(--white-color);
    padding: 30px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow-light);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-strong);
}
.contact-icon {
    width: 45px; height: 45px; margin: 0 auto 18px auto;
}
.contact-item h3 { font-size: 1.25rem; margin-bottom: 0.4em; font-weight: 600;}
.contact-item p { font-size: 0.95rem; color: var(--text-light); margin-bottom: 0; }
.contact-item p a { font-weight: 500; color: var(--secondary-color); }
.contact-item p a:hover { color: var(--primary-color); text-decoration: underline; }

/* --- Footer --- */
footer {
    background-color: var(--text-dark);
    color: #bdc3c7;
    text-align: center;
    padding: 40px 0;
    /* position: relative; bottom: 0; width: 100%; */ /* Ez akkor kell, ha a tartalom rövid */
}
body { display: flex; flex-direction: column; min-height: 100vh; } /* Footer alul tartása */
main { flex-grow: 1; } /* A main tartalom kitölti a rendelkezésre álló helyet */


.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
footer p { margin: 0; font-size: 0.9rem; }
footer a { color: var(--primary-color); }
footer a:hover { color: var(--secondary-color); text-decoration: underline; }
.social-links img { width: 24px; height: 24px; margin: 0 8px; opacity: 0.7; transition: opacity var(--transition-speed) ease; }
.social-links a:hover img { opacity: 1; }

/* --- Reszponzív Beállítások --- */
@media (max-width: 992px) {
    .about-content { grid-template-columns: 1fr; gap: 35px; }
    .about-image-container { order: -1; margin-bottom: 25px; }
    .hero-section { padding-top: 100px; padding-bottom: 80px; } /* Csökkentett padding */
}

@media (max-width: 768px) {
    :root { --header-height: 65px; }
    body { padding-top: var(--header-height); } /* Frissítjük a body padding-top-ot */
    header nav {
        display: none; position: absolute; top: var(--header-height); left: 0; width: 100%;
        background-color: var(--white-color); box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        padding: 20px 0; border-top: 1px solid #eee;
    }
    header nav.active { display: block; }
    header nav ul { flex-direction: column; align-items: center; }
    header nav ul li { margin: 15px 0; margin-left: 0; }
    header nav ul li a { font-size: 1.1rem; padding: 12px 20px; }
    .nav-toggle { display: block; }

    .section-padding { padding: 40px 0; }
    .hero-section { min-height: calc(75vh - var(--header-height)); padding-top: 80px; padding-bottom: 60px;}
    .services-grid, .contact-info-grid { grid-template-columns: 1fr; }
    h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
    h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
}

@media (max-width: 480px) {
    .btn { padding: 12px 28px; font-size: 0.9rem; }
    .hero-section .subtitle { font-size: 1rem; }
    .service-item { padding: 25px; }
    .contact-item { padding: 25px 20px; }
    .footer-content { text-align: center; }
    .downloads-grid { grid-template-columns: 1fr; } /* Letöltések egy oszlopban kis képernyőn */
    .download-item { flex-direction: column; align-items: flex-start; } /* Visszaállítjuk a flex-directiont */
    .btn-download { margin-left: 0; align-self: flex-start; } /* Gomb igazítása */
}