/* ========================================
        KÜLSŐ LINK STÍLUSOK
   ======================================== */

/* Külső link szekció */
.external-link-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.external-link-warning {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #856404;
    font-weight: 600;
}

.external-link-warning i {
    font-size: 1.2rem;
}

.warning-text {
    font-size: 0.9rem;
}

/* Külső link gomb */
.btn-external {
    background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-external:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    color: #fff;
}

.btn-external i:last-child {
    margin-left: 0.25rem;
}

/* Külső link modal */
.external-link-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.external-link-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--card-background);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.modal-title i {
    color: #ffc107;
    font-size: 1.3rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--light-background);
    color: var(--text-color);
}

.modal-body {
    padding: 1.5rem;
}

.warning-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.warning-icon i {
    font-size: 3rem;
    color: #ffc107;
}

.warning-message {
    text-align: center;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-actions .btn {
    flex: 1;
    max-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.modal-actions .btn-secondary {
    background: var(--light-background);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.modal-actions .btn-secondary:hover {
    background: var(--border-color);
}

.modal-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(244, 208, 63, 0.3);
}

.modal-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 208, 63, 0.4);
}

/* Responsive design */
@media (max-width: 768px) {
    .external-link-section {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .modal-content {
        margin: 1rem;
        max-width: none;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        max-width: none;
    }
}

/* ========================================
        FOTÓ BEKÜLDÉSI SZEKCIÓ
   ======================================== */

.photo-submission-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--background-color) 0%, var(--light-background) 100%);
    position: relative;
}

.photo-submission-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.photo-submission-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--card-background);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.photo-submission-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 20px 20px 0 0;
}

.photo-submission-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(244, 208, 63, 0.3);
}

.photo-submission-icon i {
    font-size: 3rem;
    color: white;
}

.photo-submission-text {
    flex: 1;
}

.photo-submission-text h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-family: 'Nunito', sans-serif;
}

.photo-submission-text p {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-family: 'Nunito', sans-serif;
}

.photo-submission-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-color);
    font-family: 'Nunito', sans-serif;
}

.feature-item i {
    color: var(--success-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.photo-submission-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.photo-submission-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-family: 'Nunito', sans-serif;
}

.photo-submission-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Reszponzív design a fotó beküldési szekcióhoz */
@media (max-width: 768px) {
    .photo-submission-section {
        padding: 3rem 0;
    }
    
    .photo-submission-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }
    
    .photo-submission-icon {
        width: 100px;
        height: 100px;
    }
    
    .photo-submission-icon i {
        font-size: 2.5rem;
    }
    
    .photo-submission-text h3 {
        font-size: 1.75rem;
    }
    
    .photo-submission-text p {
        font-size: 1rem;
    }
    
    .photo-submission-actions {
        justify-content: center;
    }
    
    .photo-submission-actions .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .photo-submission-content {
        padding: 1.5rem;
    }
    
    .photo-submission-icon {
        width: 80px;
        height: 80px;
    }
    
    .photo-submission-icon i {
        font-size: 2rem;
    }
    
    .photo-submission-text h3 {
        font-size: 1.5rem;
    }
    
    .photo-submission-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .photo-submission-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Dark mode támogatás a fotó beküldési szekcióhoz */
[data-theme="dark"] .photo-submission-section {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
}

[data-theme="dark"] .photo-submission-content {
    background: var(--card-background);
    border-color: var(--border-color);
}

[data-theme="dark"] .photo-submission-text h3 {
    color: var(--text-color);
}

[data-theme="dark"] .photo-submission-text p {
    color: var(--light-text);
}

[data-theme="dark"] .feature-item {
    color: var(--text-color);
}

/* ========================================
        LÁTNIVALÓK OLDAL STÍLUSAI
   ======================================== */

/* Látnivalók fő szekció */
.attractions-section {
    padding: 4rem 2rem;
    background: white;
}

.attractions-container {
    max-width: 1200px;
    margin: 0 auto;
}

.attractions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.attractions-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    font-family: 'Nunito', sans-serif;
}

.attractions-navigation {
    display: flex;
    gap: 0.5rem;
}

.nav-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.nav-button-prev {
    background: white;
    color: #2d3748;
    border: 2px solid #e2e8f0;
}

.nav-button-prev:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    transform: scale(1.05);
}

.nav-button-next {
    background: #fbbf24;
    color: white;
    border: 2px solid #fbbf24;
}

.nav-button-next:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    transform: scale(1.05);
}

/* Látnivalók grid */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Látnivaló kártya */
.attraction-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.attraction-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #fbbf24;
}

/* Kártya kép */
.attraction-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.attraction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.attraction-card:hover .attraction-image img {
    transform: scale(1.1);
}

/* Kategória címke */
.attraction-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #60a5fa;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Nunito', sans-serif;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Kártya tartalom */
.attraction-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.attraction-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-family: 'Nunito', sans-serif;
}

.attraction-description {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    font-size: 0.95rem;
}

/* Meta információk */
.attraction-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.attraction-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.attraction-stars {
    color: #fbbf24;
    font-size: 1rem;
}

.attraction-rating-value {
    color: #2d3748;
    font-weight: 600;
    font-size: 0.9rem;
}

.attraction-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #718096;
    font-size: 0.85rem;
}

.attraction-location i {
    color: #4a5568;
    font-size: 0.9rem;
}

/* Reszponzív design */
@media (max-width: 1024px) {
    .attractions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .attractions-section {
        padding: 2rem 1rem;
    }
    
    .attractions-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .attractions-title {
        font-size: 2rem;
    }
    
    .attractions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .attraction-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .attractions-title {
        font-size: 1.75rem;
    }
    
    .attraction-content {
        padding: 1.25rem;
    }
    
    .attraction-title {
        font-size: 1.1rem;
    }
    
    .attraction-description {
        font-size: 0.9rem;
    }
    
    .attraction-meta {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
}

/* Dark mode támogatás */
[data-theme="dark"] .attractions-section {
    background: var(--background-color);
}

[data-theme="dark"] .attraction-card {
    background: var(--card-background);
    border-color: var(--border-color);
}

[data-theme="dark"] .attractions-title {
    color: var(--text-color);
}

[data-theme="dark"] .attraction-title {
    color: var(--text-color);
}

[data-theme="dark"] .attraction-description {
    color: var(--light-text);
}

[data-theme="dark"] .attraction-rating-value {
    color: var(--text-color);
}

[data-theme="dark"] .attraction-location {
    color: var(--light-text);
}

[data-theme="dark"] .attraction-location i {
    color: var(--light-text);
}

[data-theme="dark"] .nav-button-prev {
    background: var(--card-background);
    color: var(--text-color);
    border-color: var(--border-color);
}

[data-theme="dark"] .nav-button-prev:hover {
    background: var(--hover-background);
    border-color: var(--border-color);
}

/* ========================================
        KÖSZÖNŐ KÁRTYÁK STÍLUSAI
   ======================================== */

.thanks-section {
    padding: 4rem 2rem;
    background: var(--gray-50);
    text-align: center;
}

.thanks-container {
    max-width: 1200px;
    margin: 0 auto;
}

.thanks-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-family: 'Nunito', sans-serif;
    line-height: 1.4;
}

.thanks-subtitle {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-family: 'Nunito', sans-serif;
}

.thanks-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.thanks-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-200);
    transition: var(--transition);
}

.thanks-dot.active {
    background: var(--primary-color);
}

.thanks-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.thanks-card {
    background: var(--card-background);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: var(--transition);
    min-width: 280px;
    max-width: 320px;
}



.thanks-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.thanks-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-family: 'Nunito', sans-serif;
}

.thanks-type {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.thanks-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--light-text);
    font-size: 0.9rem;
}

.thanks-message i {
    color: var(--primary-color);
    font-size: 1rem;
}

.thanks-actions {
    margin-top: 2rem;
}

.thanks-actions .btn {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Nunito', sans-serif;
}

.thanks-actions .btn:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

/* Reszponzív */
@media (max-width: 768px) {
    .thanks-section {
        padding: 3rem 1rem;
    }
    
    .thanks-title {
        font-size: 1.8rem;
    }
    
    .thanks-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .thanks-card {
        min-width: 100%;
        max-width: 100%;
    }
}

/* Dark mode támogatás */
[data-theme="dark"] .thanks-section {
    background: var(--gray-50);
}

[data-theme="dark"] .thanks-card {
    background: var(--card-background);
}

/* Történelmi személyek szekció */
.historical-figures-section {
    padding: 5rem 0;
    background: var(--background-color);
}

.historical-figures-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.figures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.figure-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.figure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.figure-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.figure-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.figure-card:hover .figure-image img {
    transform: scale(1.1);
}

.figure-content {
    padding: 1.5rem;
}

.figure-content h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Nunito', sans-serif;
}

.figure-period {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(244, 208, 63, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 1rem;
}

.figure-content p {
    color: var(--light-text);
    line-height: 1.6;
    margin: 0;
}

/* Történelmi épületek szekció */
.historical-buildings-section {
    padding: 5rem 0;
    background: var(--light-background);
}

.historical-buildings-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.buildings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.building-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.building-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.building-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.building-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.building-card:hover .building-image img {
    transform: scale(1.1);
}

.building-content {
    padding: 1.5rem;
}

.building-content h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Nunito', sans-serif;
}

.building-year {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(30, 64, 175, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 1rem;
}

.building-content p {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.building-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(244, 208, 63, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    border: 1px solid rgba(244, 208, 63, 0.2);
}



/* Reszponzív design a történelem oldalhoz */
@media (max-width: 768px) {
    .figures-grid,
    .buildings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .figure-card,
    .building-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .figure-card,
    .building-card {
        padding: 1rem;
    }
} 

/* Információs kártyák stílusai */
.info-cards-section {
    padding: 4rem 0;
    background: var(--light-background);
}

.info-cards-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: center;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.info-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.info-card:hover .info-card-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.info-card h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Nunito', sans-serif;
}

.info-card p {
    color: var(--light-text);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 0;
}

/* Reszponzív design a kártyákhoz */
@media (max-width: 768px) {
    .info-cards-section {
        padding: 3rem 0;
    }
    
    .info-cards-section .container {
        padding: 0 1rem;
    }
    
    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .info-card h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .info-cards-section {
        padding: 2rem 0;
    }
    
    .info-cards-grid {
        gap: 1rem;
    }
    
    .info-card {
        padding: 1rem;
    }
}

/* Vélemény kártyák stílusai */
.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--light-background) 0%, var(--background-color) 100%);
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.testimonials-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.section-header h2 {
    color: var(--text-color);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, var(--text-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: var(--light-text);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: stretch;
}

.testimonial-card {
    background: var(--card-background);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #f4d03f;
}

.testimonial-text {
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.testimonial-text p {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.8;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}

.author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-light);
    box-shadow: 0 4px 15px rgba(244, 208, 63, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card:hover .author-image {
    transform: scale(1.1);
    border-color: var(--primary-light);
    box-shadow: 0 6px 20px rgba(244, 208, 63, 0.4);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    border-radius: 50%;
    min-width: 100%;
    min-height: 100%;
}

.testimonial-card:hover .author-image img {
    transform: scale(1.1);
}

/* Biztosítjuk, hogy az author-image mindig kör alakú maradjon */
.author-image,
.author-image img {
    border-radius: 50% !important;
}

.author-info h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-family: 'Nunito', sans-serif;
    display: inline;
    margin-right: 0.75rem;
}

.author-type {
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(244, 208, 63, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    display: inline;
    border: 1px solid rgba(244, 208, 63, 0.2);
}

/* Reszponzív design a vélemény kártyákhoz */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .testimonials-section .container {
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 2rem 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-text p {
        padding-left: 1rem;
    }
    
    .testimonial-text p::before {
        font-size: 2.5rem;
    }
    
    .author-image {
        width: 55px;
        height: 55px;
    }
    
    .author-info h4 {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
        margin-right: 0.5rem;
    }
}

/* ===== CONTACT INFO SECTION ===== */
.contact-section {
    padding: 3rem 0;
    background: var(--light-background);
}

.contact-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.contact-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-family: 'Nunito', sans-serif;
}

.contact-header p {
    font-size: 1rem;
    color: var(--light-text);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-card {
    background: var(--card-background);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.contact-card h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Nunito', sans-serif;
}

.contact-card p {
    color: var(--light-text);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0 0 0.5rem 0;
}

.contact-card .contact-value {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    line-height: 1.3;
    word-break: break-word;
}

/* Reszponzív design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 2rem 0;
    }
    
    .contact-section .container {
        padding: 0 1rem;
    }
    
    .contact-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .contact-card h3 {
        font-size: 1rem;
    }
    
    .contact-card p {
        font-size: 0.85rem;
    }
    
    .contact-card .contact-value {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 1.5rem 0;
    }
    
    .contact-header h2 {
        font-size: 1.5rem;
    }
    
    .contact-card {
        padding: 1.25rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* Dark mode támogatás */
[data-theme="dark"] .contact-section {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
}

[data-theme="dark"] .contact-card {
    background: var(--card-background);
    border-color: var(--border-color);
}

[data-theme="dark"] .contact-card:hover {
    border-color: var(--primary-color);
}

[data-theme="dark"] .contact-header h2 {
    color: var(--text-color);
}

[data-theme="dark"] .contact-header p {
    color: var(--light-text);
}

[data-theme="dark"] .contact-card h3 {
    color: var(--text-color);
}

[data-theme="dark"] .contact-card p {
    color: var(--light-text);
}

[data-theme="dark"] .contact-card .contact-value {
    color: var(--text-color);
}

/* ===== STORY CARDS SECTION ===== */
.story-card {
    background: var(--card-background);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.story-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.story-card:hover .story-img {
    transform: scale(1.1);
}

.story-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(244, 208, 63, 0.8) 0%, rgba(30, 64, 175, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-card:hover .story-overlay {
    opacity: 1;
}

.story-category {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.story-card:hover .story-category {
    transform: translateY(0);
}

.story-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.story-content h3 {
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-family: 'Nunito', sans-serif;
    line-height: 1.3;
}

.story-subtitle {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-style: italic;
}

.story-content p {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.story-content p:last-of-type {
    margin-bottom: auto;
    flex-grow: 1;
}

.story-card .btn {
    margin: 1.5rem auto 2rem auto;
    width: calc(100% - 4rem);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 200px;
    flex-shrink: 0;
}

/* Reszponzív design story kártyákhoz */
@media (max-width: 768px) {
    .story-image {
        height: 180px;
    }
    
    .story-content {
        padding: 1.5rem;
    }
    
    .story-content h3 {
        font-size: 1.2rem;
    }
    
    .story-card .btn {
        margin: 1rem auto 1.5rem auto;
        width: calc(100% - 3rem);
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .story-image {
        height: 160px;
    }
    
    .story-content {
        padding: 1.25rem;
    }
    
    .story-content h3 {
        font-size: 1.1rem;
    }
    
    .story-content p {
        font-size: 0.9rem;
    }
    
    .story-card .btn {
        margin: 0.75rem auto 1.25rem auto;
        width: calc(100% - 2.5rem);
        max-width: 160px;
    }
}

/* Dark mode támogatás story kártyákhoz */
[data-theme="dark"] .story-card {
    background: var(--card-background);
    border-color: var(--border-color);
}

[data-theme="dark"] .story-card:hover {
    border-color: var(--primary-color);
}

[data-theme="dark"] .story-content h3 {
    color: var(--text-color);
}

[data-theme="dark"] .story-content p {
    color: var(--light-text);
}

[data-theme="dark"] .story-category {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
}

/* ===== FLIP CARDS SECTION ===== */
.flip-cards-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-background) 0%, var(--background-color) 100%);
    transition: background 0.3s ease;
}

.flip-cards-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    transition: color 0.3s ease;
}

.flip-cards-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
    transition: background 0.3s ease;
}

.flip-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.flip-card {
    perspective: 1000px;
    height: 350px;
    width: 350px;
    margin: 0 auto;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.flip-card-front {
    background: var(--primary-color);
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.flip-card:hover .flip-card-front img {
    transform: scale(1.05);
}

.flip-card-back {
    background: var(--primary-color);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: white;
}

.flip-card-back h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.flip-card-back p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.flip-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.flip-btn:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.flip-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.flip-btn:hover i {
    transform: translateX(3px);
}

/* Dark mode támogatás flip cards */
[data-theme="dark"] .flip-cards-section {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
}

[data-theme="dark"] .flip-cards-section .section-title {
    color: var(--primary-color);
}

[data-theme="dark"] .flip-card {
    background: var(--card-background);
    border-color: var(--border-color);
}

[data-theme="dark"] .flip-card-front,
[data-theme="dark"] .flip-card-back {
    background: var(--primary-color);
}

[data-theme="dark"] .flip-card-back h3,
[data-theme="dark"] .flip-card-back p {
    color: white;
}

[data-theme="dark"] .flip-btn {
    background: var(--primary-color);
    color: white;
}

[data-theme="dark"] .flip-btn:hover {
    background: var(--primary-light);
    color: white;
}

/* Flip Cards Reszponzív */
@media (max-width: 1200px) {
    .flip-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .flip-card {
        height: 320px;
        width: 320px;
    }
}

@media (max-width: 1024px) {
    .flip-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .flip-card {
        height: 300px;
        width: 300px;
    }
    
    .flip-card-back h3 {
        font-size: 1.6rem;
    }
    
    .flip-card-back p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .flip-cards-section {
        padding: 3rem 0;
    }
    
    .flip-cards-section .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .flip-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .flip-card {
        height: 350px;
        width: 350px;
    }
}

@media (max-width: 480px) {
    .flip-cards-section {
        padding: 2rem 0;
    }
    
    .flip-cards-section .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .flip-card {
        height: 300px;
        width: 300px;
    }
    
    .flip-card-back {
        padding: 1.5rem;
    }
    
    .flip-card-back h3 {
        font-size: 1.5rem;
    }
    
    .flip-card-back p {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .flip-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Történelem oldal dedikált stílusok */

/* Timeline Section - Modern, reszponzív design */
.timeline-section {
    padding: 6rem 0;
    background: var(--timeline-bg-start);
    position: relative;
    overflow: hidden;
    transition: background 0.5s ease;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(244, 208, 63, 0.03) 0%, 
        rgba(243, 156, 18, 0.02) 100%);
    pointer-events: none;
    z-index: 1;
}

.timeline-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.timeline-section .section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.timeline-section .section-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--timeline-title-color);
    margin-bottom: 1.5rem;
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, var(--timeline-gradient-start), var(--timeline-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px var(--timeline-title-shadow);
    transition: color 0.5s ease;
}

.timeline-section .section-header p {
    font-size: 1.3rem;
    color: var(--timeline-subtitle-color);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-family: 'Nunito', sans-serif;
    transition: color 0.5s ease;
}

/* Timeline konténer */
.timeline-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Központi vonal */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, 
        var(--timeline-line-start) 0%, 
        var(--timeline-line-mid1) 25%, 
        var(--timeline-line-mid2) 50%, 
        var(--timeline-line-mid3) 75%, 
        var(--timeline-line-end) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 
        0 0 20px var(--timeline-line-shadow),
        0 0 40px var(--timeline-line-shadow-light);
    z-index: 1;
    transition: background 0.5s ease;
}

/* Timeline elemek */
.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    min-height: 200px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

/* Páratlan elemek - Bal oldal */
.timeline-item:nth-child(odd) {
    flex-direction: row;
    padding-right: 50%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 3rem;
    text-align: right;
}

/* Páros elemek - Jobb oldal */
.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    padding-left: 50%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 3rem;
    text-align: left;
}

/* Timeline marker (pont és vonal) */
.timeline-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--timeline-date-bg-start), var(--timeline-date-bg-end));
    border: 4px solid var(--timeline-date-border);
    border-radius: 50%;
    box-shadow: 
        0 4px 15px var(--timeline-date-shadow),
        0 8px 25px var(--timeline-date-shadow-light);
    transition: all 0.4s ease;
    z-index: 11;
}

.timeline-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, 
        var(--timeline-line-start) 0%, 
        var(--timeline-line-mid1) 50%, 
        var(--timeline-line-end) 100%);
    margin-top: 10px;
    border-radius: 1px;
    transition: all 0.4s ease;
}

/* Timeline tartalom */
.timeline-content {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.timeline-date {
    background: linear-gradient(135deg, var(--timeline-date-bg-start), var(--timeline-date-bg-end));
    color: var(--timeline-date-text);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    box-shadow: 
        0 4px 15px var(--timeline-date-shadow),
        0 8px 25px var(--timeline-date-shadow-light);
    border: 3px solid var(--timeline-date-border);
    transition: all 0.4s ease;
    display: inline-block;
    margin-bottom: 1.5rem;
}

/* Timeline kártya */
.timeline-card {
    background: linear-gradient(135deg, var(--timeline-card-bg-start) 0%, var(--timeline-card-bg-end) 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 
        0 10px 40px var(--timeline-card-shadow),
        0 20px 80px var(--timeline-card-shadow-light);
    border: 2px solid transparent;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Felső sáv a kártyákon */
.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--timeline-card-accent-start), var(--timeline-card-accent-end));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

/* Hover effekt a kártyákra */
.timeline-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 80px var(--timeline-card-shadow-hover),
        0 40px 120px var(--timeline-card-shadow-hover-light);
    border-color: var(--timeline-card-border-hover);
}

.timeline-card:hover::before {
    transform: scaleX(1);
}

.timeline-card:hover .timeline-dot {
    transform: scale(1.2);
    box-shadow: 
        0 8px 25px var(--timeline-date-shadow-hover),
        0 12px 35px var(--timeline-date-shadow-hover-light);
}

.timeline-card:hover .timeline-line {
    height: 80px;
    background: linear-gradient(180deg, 
        var(--timeline-line-start) 0%, 
        var(--timeline-line-mid2) 50%, 
        var(--timeline-line-end) 100%);
}

/* Címek */
.timeline-text h3 {
    color: var(--timeline-card-title);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Nunito', sans-serif;
    line-height: 1.3;
    text-shadow: 0 2px 10px var(--timeline-card-title-shadow);
    transition: color 0.5s ease;
}

/* Szövegek */
.timeline-text p {
    color: var(--timeline-card-text);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
    text-shadow: 0 1px 5px var(--timeline-card-text-shadow);
    transition: color 0.5s ease;
}

/* Timeline képek */
.timeline-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 
        0 8px 25px var(--timeline-image-shadow),
        0 15px 50px var(--timeline-image-shadow-light);
    border: 2px solid var(--timeline-image-border);
    transition: all 0.5s ease;
    position: relative;
}

/* Kép overlay effekt */
.timeline-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--timeline-image-overlay-start) 0%, 
        var(--timeline-image-overlay-end) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.timeline-card:hover .timeline-image::before {
    opacity: 1;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: var(--timeline-image-filter);
}

.timeline-card:hover .timeline-image img {
    transform: scale(1.08);
    filter: var(--timeline-image-filter-hover);
}

/* Animációk */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Alap animációk */
.timeline-item {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.timeline-item:nth-child(odd) {
    animation: slideInLeft 1s ease forwards;
}

.timeline-item:nth-child(even) {
    animation: slideInRight 1s ease forwards;
}

/* Késleltetések az elemekhez */
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }
.timeline-item:nth-child(7) { animation-delay: 0.7s; }
.timeline-item:nth-child(8) { animation-delay: 0.8s; }
.timeline-item:nth-child(9) { animation-delay: 0.9s; }
.timeline-item:nth-child(10) { animation-delay: 1.0s; }
.timeline-item:nth-child(11) { animation-delay: 1.1s; }
.timeline-item:nth-child(12) { animation-delay: 1.2s; }

/* Reszponzív design */
@media (max-width: 1200px) {
    .timeline-item {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0 0 0 4rem;
        text-align: left;
        max-width: 100%;
    }
    
    /* Tablet módban a vonal bal oldalon */
    .timeline::before {
        left: 2rem;
        transform: none;
    }
    
    .timeline-marker {
        left: 2rem;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .timeline-section {
        padding: 4rem 0;
    }
    
    .timeline-section .section-header h2 {
        font-size: 2.8rem;
    }
    
    .timeline-section .section-header p {
        font-size: 1.1rem;
    }
    
    .timeline {
        padding: 2rem 0;
    }
    
    .timeline-item {
        flex-direction: column !important;
        text-align: center;
        min-height: auto;
        padding: 0 1rem;
        margin-bottom: 3rem;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 1rem 0 0 0;
        max-width: 100%;
        text-align: center;
        padding: 2rem;
    }
    
    .timeline-marker {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 0 auto 1rem auto;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-line {
        display: none;
    }
}

@media (max-width: 480px) {
    .timeline-section .section-header h2 {
        font-size: 2.2rem;
    }
    
    .timeline-section .section-header p {
        font-size: 1rem;
    }
    
    .timeline-card {
        padding: 1.5rem;
    }
    
    .timeline-text h3 {
        font-size: 1.2rem;
    }
    
    .timeline-text p {
        font-size: 0.9rem;
    }
    
    .timeline-image {
        height: 150px;
    }
    
    .timeline-date {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
}

/* Téma váltás animációk */
.timeline-section.theme-transitioning {
    animation: timelineThemeTransition 0.8s ease;
}

@keyframes timelineThemeTransition {
    0% {
        opacity: 0.8;
        transform: scale(0.98);
    }
    50% {
        opacity: 0.9;
        transform: scale(0.99);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Téma váltás után finom hover effektek */
.timeline-content.theme-transitioned {
    transition: all 0.4s ease;
}

.timeline-marker.theme-transitioned {
    transition: all 0.4s ease;
}

.timeline-image.theme-transitioned {
    transition: all 0.4s ease;
}

/* Téma váltás után a timeline elemek finom megjelenése */
.timeline-item.theme-transitioned {
    animation: timelineItemThemeTransition 0.6s ease forwards;
}

@keyframes timelineItemThemeTransition {
    0% {
        opacity: 0.7;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Téma váltás jelző a timeline szekcióban */
.timeline-theme-indicator {
    position: absolute;
    top: 1rem;
    right: 2rem;
    background: var(--timeline-card-bg-start);
    border: 2px solid var(--timeline-card-accent-start);
    border-radius: 20px;
    padding: 0.8rem 1.2rem;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 10;
    box-shadow: 0 8px 25px var(--timeline-card-shadow);
    backdrop-filter: blur(10px);
    transform: translateY(-20px) scale(0.9);
}

.timeline-theme-indicator.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: themeIndicatorSlideIn 0.6s ease;
}

.timeline-theme-indicator .theme-indicator-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--timeline-gradient-start);
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

.timeline-theme-indicator .theme-indicator-text {
    color: var(--timeline-card-title);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
}

@keyframes themeIndicatorSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-5px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}


