/* Alap stílusok */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
    --border-radius: 4px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --section-spacing: 3rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
    text-align: justify;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: justify;
}

p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--light-color);
    font-style: italic;
    text-align: justify;
}

/* Fő tartalom */
main {
    padding: 2rem 0;
}

section {
    margin-bottom: var(--section-spacing);
}

/* Bevezető szekció stílusai */
.intro-section {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: var(--section-spacing);
    text-align: justify;
}

.intro-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.intro-text {
    flex: 1;
    text-align: justify;
}

.intro-image-link {
    flex: 0 0 30%;
    max-width: 300px;
    display: block;
    transition: transform 0.3s ease;
}

.intro-image {
    width: 70%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.intro-image-link:hover {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .intro-content {
        flex-direction: column;
    }
    
    .intro-image-link {
        margin-top: 1.5rem;
        align-self: center;
    }
}

/* A többi szekció változatlan marad, csak a szöveg igazítás lett hozzáadva */
.software-section,
.selection-section,
.open-day-section,
.benefits-section,
.faq-section,
.providers-section,
.contact-section {
    text-align: justify;
}

.faq-item h3 {
    text-align: justify;
}

.contact-table p {
    text-align: justify;
}

@media (max-width: 768px) {
    .intro-content {
        flex-direction: column;
    }
    
    .intro-image-link {
        margin-top: 1.5rem;
        align-self: center;
    }
}

/* Szoftver szekció */
.software-section {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
}

.software-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: var(--box-shadow);
}

.software-table th, .software-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.software-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
}

.software-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.software-table tr:hover {
    background-color: #e9e9e9;
}

.table-responsive {
    overflow-x: auto;
}

/* Választási szekció */
.selection-section {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Nyílt Nap szekció - Kiemelt design */
.open-day-section {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    border-radius: 10px;
    overflow: hidden;
    margin: 4rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.open-day-header {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 2rem;
    position: relative;
}

.open-day-header h2 {
    color: white;
    font-size: 2rem;
    margin: 0;
}

.highlight {
    background-color: #e74c3c;
    padding: 0.2rem 0.5rem;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.date-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
}

.open-day-content {
    padding: 2rem;
}

.intro-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.schedule-box {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.timeline {
    list-style: none;
    padding: 0;
}

.timeline li {
    padding: 0.8rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
}

.timeline li:last-child {
    border-bottom: none;
}

.time {
    font-weight: bold;
    width: 80px;
    color: #f1c40f;
}

.event {
    flex: 1;
}

.highlight-event {
    background-color: rgba(241, 196, 15, 0.2);
    margin: 0 -1.5rem;
    padding: 0.8rem 1.5rem !important;
    border-radius: 0 0 8px 8px;
}

.highlight-event .time {
    color: white;
}

.info-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.icon {
    font-size: 1.5rem;
    margin-right: 0.8rem;
}

.cta-button {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    text-align: center;
    border: 2px solid #e74c3c;
    margin-bottom: 1.5rem;
}

.cta-button:hover {
    background-color: transparent;
    color: white;
    background-color: rgba(201, 64, 64, 0.15);
}

.cta2-button {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    text-align: center;
    border: 2px solid #e74c3c;
    margin-bottom: 1.5rem;
}

.cta2-button:hover {
    background-color: transparent;
    color: #e74c3c;
}

.registration-link {
    color: #f1c40f;
    font-weight: bold;
}

.note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Kiemelt regisztrációs szekció */
.highlighted-registration {
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    border-radius: 4px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.registration-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.registration-badge {
    background: linear-gradient(135deg, #f8f9fa 0%, #3498db24 100%);
    color: #3498db;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border-color: #3498db;
    border-style: inset;
    font-size: 0.9rem;
    font-weight: bold;
    text-shadow: 1px 1px #e6e9ed;
    
}

.registration-content {
    background-color: white;
    padding: 1.5rem;
    border-radius: 4px;
}

.registration-steps {
    padding-left: 1.5rem;
}

.registration-steps li {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
}

.registration-note {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed #ddd;
    font-size: 0.9rem;
    color: #555;
}

/* Előnyök szekció */
.benefits-section {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
}

/* GYIK szekció */
.faq-section {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.faq-item h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Szolgáltatók szekció */
.providers-section {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.provider-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.provider-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: background-color 0.3s;
}

.provider-link:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Lábléc */
footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid #eee;
}

.copyright {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
}

.copyright1 {
    text-align: center;
}

/* Reszponzív stílusok */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .faq-container {
        grid-template-columns: 1fr;
    }
    
    .info-box {
        grid-template-columns: 1fr;
    }
    
    .provider-links {
        flex-direction: column;
    }
    
    .provider-link {
        text-align: center;
    }
    
    .date-badge {
        position: static;
        display: inline-block;
        margin-top: 0.5rem;
    }
    
    .registration-steps li {
        padding-left: 2.5rem;
    }
    
    .registration-steps li::before {
        width: 1.8rem;
        height: 1.8rem;
    }
    
    .registration-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .registration-badge {
        margin-top: 0.5rem;
    }
}

/* Kapcsolati szekció stílusai */
.contact-section {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: var(--section-spacing);
}

.contact-table-container {
    overflow-x: auto;
    margin-top: 1.5rem;
}

.contact-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    table-layout: fixed; /* Ez biztosítja az egyenletes oszlopszélességet */
}

.contact-table th,
.contact-table td {
    width: 25%; /* 4 oszlop = 25% mindegyiknek */
    padding: 1rem;
    border: 1px solid #eee;
    vertical-align: top;
    word-wrap: break-word; /* Hosszú szövegek törése */
}

.contact-table th {
    background-color: var(--primary-color);
    color: white;
    text-align: left;
    font-weight: 500;
}

.contact-table p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .contact-table th,
    .contact-table td {
        display: block;
        width: 100%;
    }
    
    .contact-table tr {
        display: block;
        margin-bottom: 1.5rem;
    }
    
    .contact-table th {
        border-bottom: none;
    }
    
    .contact-table td {
        border-top: none;
        border-left: 1px solid #eee;
        border-right: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }
}

/*
.pending {
    background-color: #e74d3c1e;
    padding: 0.2rem 0.5rem;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
    text-align: center;
} */
 