/* ===== CSS ALAPOK ===== */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #1e40af;
    --accent-color: #059669;
    --light-accent: #d1fae5;
    --danger-color: #dc2626;
    --success-color: #10b981;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --text-color: #374151;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== FEJLÉC ===== */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 20px 0;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.logo .tagline {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 300;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 4px;
}

.nav a:hover,
.nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* ===== BANNER ===== */
.banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="1000" height="1000" fill="url(%23grid)"/></svg>');
    opacity: 1;
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.banner h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.banner p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(5, 150, 105, 0.3);
    background-color: #047857;
}

/* ===== FŐ TARTALOM ===== */
.main-content {
    padding: 60px 0;
}

.main-content h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.main-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 15px;
}

/* ===== LEGÚJABB HÍREK ===== */
.latest-news {
    margin-bottom: 80px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.news-category {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.news-date {
    font-size: 13px;
    color: var(--text-light);
    align-self: center;
}

.news-body h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.news-body p {
    color: var(--text-light);
    margin-bottom: 15px;
    flex-grow: 1;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-color);
}

/* ===== ISKOLAI BEMUTATKOZÁS ===== */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 50px;
    border-radius: 12px;
}

.about-content h2 {
    margin-bottom: 20px;
    text-align: left;
}

.about-content h2::after {
    left: 0;
    transform: translateX(0);
}

.about-content h3 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.feature-list {
    list-style: none;
    margin: 20px 0;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-color);
    font-weight: 500;
}

.btn-secondary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 15px;
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateX(3px);
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* ===== TANÁROK BEMUTATÓ ===== */
.teachers-preview {
    margin-bottom: 80px;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.teacher-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    padding: 30px;
    transition: var(--transition);
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.teacher-image {
    margin-bottom: 20px;
}

.teacher-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.teacher-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.teacher-card p {
    color: var(--text-light);
}

/* ===== PROGRAMOK ===== */
.programs {
    margin-bottom: 80px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.program-card {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.program-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.program-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.program-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.program-card p {
    color: var(--text-light);
}

/* ===== STATISZTIKÁK ===== */
.statistics {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 20px;
    border-radius: 12px;
    margin-bottom: 80px;
}

.statistics h2 {
    color: white;
    margin-bottom: 40px;
}

.statistics h2::after {
    background: rgba(255, 255, 255, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* ===== HÍRLEVÉL ===== */
.newsletter {
    background: linear-gradient(135deg, var(--accent-color) 0%, #059669 100%);
    color: white;
    padding: 60px 20px;
    border-radius: 12px;
    margin-bottom: 80px;
    text-align: center;
}

.newsletter h2 {
    color: white;
    margin-bottom: 15px;
}

.newsletter h2::after {
    background: rgba(255, 255, 255, 0.3);
}

.newsletter p {
    margin-bottom: 30px;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: #d1d5db;
}

.btn-primary {
    background-color: white;
    color: var(--accent-color);
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
}

/* ===== GALÉRIA ELŐNÉZET ===== */
.gallery-preview {
    margin-bottom: 80px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ===== KONTAKT ELŐNÉZET ===== */
.contact-preview {
    margin-bottom: 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.contact-item {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.contact-item h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--accent-color);
}

/* ===== FONTOS LINKEK ===== */
.important-links {
    margin-bottom: 80px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.link-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.link-icon {
    font-size: 36px;
}

/* ===== LÁBLÉC ===== */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section p {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-divider {
    border-top: 1px solid #374151;
    margin: 30px 0;
}

.footer-bottom {
    text-align: center;
    color: #9ca3af;
    font-size: 13px;
}

.footer-bottom a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--accent-color);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav ul {
        display: none;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.1);
        padding: 15px;
        border-radius: 6px;
    }

    .nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .banner h2 {
        font-size: 32px;
    }

    .banner p {
        font-size: 16px;
    }

    .about-preview {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }

    .about-content h2::after {
        left: 0;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .news-grid,
    .programs-grid,
    .teachers-grid {
        grid-template-columns: 1fr;
    }

    .main-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .banner {
        padding: 50px 20px;
    }

    .banner h2 {
        font-size: 24px;
    }

    .banner p {
        font-size: 14px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }

    .main-content {
        padding: 40px 0;
    }

    .latest-news,
    .about-preview,
    .teachers-preview,
    .programs,
    .newsletter,
    .gallery-preview,
    .contact-preview,
    .important-links {
        margin-bottom: 50px;
    }

    .logo h1 {
        font-size: 22px;
    }

    .nav ul {
        gap: 5px;
    }

    .nav a {
        padding: 6px 10px;
        font-size: 13px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .stats-grid,
    .contact-grid,
    .links-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== ANIMÁCIÓK ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card,
.program-card,
.teacher-card,
.contact-item {
    animation: fadeIn 0.6s ease;
}