/* Globális beállítások, változók */
:root {
    --primary-color: #5B0099; /* Élénk lila */
    --secondary-color: #00A9E0; /* Kontrasztos kék */
    --background-light: #F9FAFB;
    --text-dark: #1F2937;
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --font-family: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: var(--background-light);
    line-height: 1.6;
}

/* --- Navigáció --- */
header {
    background-color: white;
    box-shadow: var(--shadow-light);
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none; /* A logó most már link, ne legyen aláhúzva */
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.3s ease, border-bottom 0.3s ease; /* A border-bottom animációja is hozzáadva */
}

nav a:hover {
    color: var(--primary-color);
}

/* ÚJ: Aktív menüpont kiemelése */
nav a.active {
    color: var(--secondary-color);
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 5px; 
}


/* --- Gombok --- */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #6C00B0;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* --- Fő Hero Szekció (index.html) --- */
.hero {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5rem;
    background: linear-gradient(135deg, var(--background-light) 0%, #E0F7FF 100%);
}

.hero-content {
    max-width: 500px;
    padding-right: 4rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-image-placeholder {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    overflow: hidden;
}

/* --- Animációk a Hero Szekcióban (Hullámzó Körök) --- */
.circle-animation {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    background-color: var(--primary-color);
    animation: pulse 3s infinite ease-out;
}

.circle-animation.one {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation-delay: 0s;
}
.circle-animation.two {
    width: 75%;
    height: 75%;
    top: 12.5%;
    left: 12.5%;
    animation-delay: 0.5s;
}
.circle-animation.three {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.15;
    }
}

/* --- Információs szekciók (index, about) --- */
.info-section {
    padding: 4rem 5rem;
    text-align: center;
}

.info-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.card-container {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    flex: 1;
    min-width: 250px;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.info-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.info-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Rólunk/Hogyan Működik Hero */
.page-hero {
    min-height: 40vh;
    padding: 3rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #7d1ad0 100%);
    color: white;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
}

.content-section {
    padding: 4rem 5rem;
    text-align: center;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.two-columns {
    max-width: 1000px;
    margin: 0 auto;
}

.two-columns .info-card {
    min-width: 45%;
}

/* Lépésenkénti kártyák (Hogyan Működik) */
.step-by-step {
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    display: flex;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-left: 5px solid var(--secondary-color);
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-right: 1.5rem;
    line-height: 1;
    min-width: 40px;
}

.step-details h3 {
    margin-top: 0;
    color: var(--text-dark);
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--text-dark);
    color: white;
    font-size: 0.9rem;
}

/* --- Reszponzivitás (Mobil) --- */
@media (max-width: 900px) {
    header {
        padding: 1rem 1.5rem;
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 3rem 1rem;
        min-height: auto;
    }

    .hero-content {
        padding: 0;
        margin-top: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-image-placeholder {
        width: 300px;
        height: 300px;
    }
    
    .card-container {
        flex-direction: column;
    }

    nav a {
        display: none; /* Mobilon elrejtjük a linkeket a letisztultabb megjelenésért */
    }
    nav {
        display: flex;
        align-items: center;
    }

    .page-hero, .content-section, .info-section {
        padding: 3rem 1.5rem;
    }
}
@media (max-width: 600px) {
    .step-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}