/* ========================================
        KÖZELGŐ PROGRAMOK SECTION
   ======================================== */
.upcoming-events-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    position: relative;
    overflow: hidden;
}

.upcoming-events-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="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.upcoming-events-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.upcoming-events-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;
    box-shadow: 0 2px 8px rgba(244, 208, 63, 0.4);
}

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

.event-card {
    background: var(--card-background);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: perspective(1000px) rotateX(5deg);
}

.event-card:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.event-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9) contrast(1.1);
}

.event-card:hover .event-card-image img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1) contrast(1.2);
}

.event-card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: var(--primary-color);
    padding: 0.75rem 1rem;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-color);
    transform: rotate(-5deg);
}

.event-card-badge i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.event-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, var(--card-background) 0%, var(--light-background) 100%);
}

.event-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}

.event-card-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.event-card-details {
    margin-bottom: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(244, 208, 63, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.event-detail:hover {
    background: rgba(244, 208, 63, 0.15);
    transform: translateX(5px);
}

.event-detail i {
    color: var(--primary-color);
    font-size: 1.25rem;
    min-width: 24px;
    text-align: center;
    background: rgba(244, 208, 63, 0.2);
    padding: 0.5rem;
    border-radius: 8px;
}

.event-detail span {
    line-height: 1.4;
    font-weight: 500;
    color: var(--text-color);
}

.event-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 0;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: stretch;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(244, 208, 63, 0.3);
    position: relative;
    overflow: hidden;
}

.event-card-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.event-card-btn:hover::before {
    left: 100%;
}

.event-card-btn:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 208, 63, 0.4);
    color: var(--secondary-color);
    text-decoration: none;
}

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

.event-card-btn:hover i {
    transform: translateX(5px);
}

/* Esemény kártya leírás */
.event-card-description {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Nincs esemény üzenet */
.no-events-message {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--light-text);
    grid-column: 1 / -1;
}

.no-events-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
    color: var(--primary-color);
}

.no-events-message p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.no-events-message .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.no-events-message .btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Event Cards Reszponzív */
@media (max-width: 1200px) {
    .events-cards-grid {
        gap: 2rem;
    }
    
    .event-card-content {
        padding: 1.75rem;
    }
    
    .event-card-image {
        height: 250px;
    }
}

@media (max-width: 1024px) {
    .events-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .event-card-title {
        font-size: 1.375rem;
    }
    
    .event-detail {
        padding: 0.875rem;
    }
    
    .event-detail i {
        font-size: 1.125rem;
        padding: 0.4rem;
    }
}

@media (max-width: 768px) {
    .upcoming-events-section {
        padding: 3rem 0;
    }
    
    .upcoming-events-section .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .events-cards-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 500px;
    }
    
    .event-card {
        max-width: 500px;
        margin: 0 auto;
        transform: perspective(1000px) rotateX(2deg);
    }
    
    .event-card:hover {
        transform: perspective(1000px) rotateX(0deg) translateY(-10px);
    }
    
    .event-card-image {
        height: 220px;
    }
    
    .event-card-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .upcoming-events-section {
        padding: 2rem 0;
    }
    
    .upcoming-events-section .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .event-card-content {
        padding: 1.25rem;
    }
    
    .event-card-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .event-card-title::after {
        width: 50px;
        height: 2px;
    }
    
    .event-detail {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .event-detail i {
        font-size: 1rem;
        padding: 0.4rem;
        min-width: 20px;
    }
    
    .event-card-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    .event-card-badge {
        top: 1rem;
        right: 1rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        transform: rotate(-3deg);
    }
    
    .event-card-badge i {
        font-size: 0.9rem;
    }
    
    .events-cards-grid {
        gap: 2rem;
    }
}

/* Történelmi Quiz szekció stílusai */
.historical-quiz-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, 
        var(--light-background) 0%, 
        var(--background-color) 50%, 
        var(--light-background) 100%);
    position: relative;
    overflow: hidden;
}

.historical-quiz-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="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

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

.quiz-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.quiz-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.quiz-title {
    color: var(--text-color);
    font-size: 3rem;
    font-weight: 900;
    margin: 0 0 1.5rem 0;
    font-family: 'Nunito', sans-serif;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quiz-description {
    color: var(--light-text);
    font-size: 1.2rem;
    line-height: 1.7;
    margin: 0 0 3rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.quiz-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1rem;
    background: var(--card-background);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-content {
    text-align: center;
}

.stat-number {
    display: block;
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quiz-cta {
    margin: 3rem 0;
}

.btn-quiz-hero {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-quiz-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-quiz-hero:hover::before {
    left: 100%;
}

.btn-quiz-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.5);
    color: white;
    text-decoration: none;
}

.btn-quiz-hero i:first-child {
    font-size: 1.5rem;
}

.btn-quiz-hero i:last-child {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-quiz-hero:hover i:last-child {
    transform: translateX(3px);
}

.quiz-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.feature-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-highlight:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-highlight i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.feature-highlight span {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.3;
}

/* Reszponzív design a quiz szekcióhoz */
@media (max-width: 768px) {
    .quiz-title {
        font-size: 2.2rem;
    }
    
    .quiz-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .quiz-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .btn-quiz-hero {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .quiz-title {
        font-size: 1.8rem;
    }
    
    .quiz-description {
        font-size: 1.1rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .btn-quiz-hero {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        gap: 0.75rem;
    }
    
    .feature-highlight {
        padding: 1rem;
    }
    
    .feature-highlight i {
        font-size: 1.5rem;
    }
}

/* Image Slider stílusai - Újrafelhasználható komponens */
.image-slider-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--background-color) 0%, var(--light-background) 100%);
    position: relative;
}

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

.image-slider {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--card-background);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.image-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
}

.slider-container {
    position: relative;
    width: 100%;
    height: clamp(260px, 56vw, 560px);
    overflow: hidden;
}

.slider-track {
    position: relative;
    height: 100%;
}

.slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(6px) scale(0.995);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide.active {
    opacity: 1;
    position: relative;
    transform: translateY(0) scale(1);
}

.slide-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.slide-image::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.18) 40%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.slide.active .slide-image img {
    transform: scale(1.04);
    filter: saturate(1.03) contrast(1.02);
}

.slide.active .slide-content {
    animation: slideContentFadeIn 0.6s ease-out;
}

@keyframes slideContentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide.active .slide-image {
    animation: slideImageZoom 0.8s ease-out;
}

@keyframes slideImageZoom {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1.05);
    }
}

.slide-content {
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.86) 100%);
    border-top: 1px solid var(--border-color);
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.slide-content h3 {
    font-size: clamp(1.15rem, 1.2vw + 1rem, 1.6rem);
    line-height: 1.25;
    margin: 0 0 0.35rem 0;
    letter-spacing: 0.2px;
}

.slide-content p {
    margin: 0.25rem 0 0;
    color: var(--light-text);
}

.slide-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    border-radius: 0 0 16px 16px;
    pointer-events: none;
}

/* Dots – egységesített, modern stílus */
.image-slider .slider-dots, .image-slider .dots, .image-slider .dot-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 0 1.25rem;
}

.image-slider .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border-color);
    transition: all 0.25s ease;
}

.image-slider .dot.active {
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(244, 208, 63, 0.18);
    transform: scale(1.12);
}

/* Dark mode dots finomhangolás */
[data-theme="dark"] .image-slider .dot {
    background: rgba(255,255,255,0.18);
}

[data-theme="dark"] .image-slider .dot.active {
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(244, 208, 63, 0.24);
}

/* Navigációs gombok – középre igazított, lebegő design */
.image-slider .prev-btn,
.image-slider .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.image-slider .prev-btn { left: 14px; }
.image-slider .next-btn { right: 14px; }

.image-slider .prev-btn:hover,
.image-slider .next-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 14px 30px rgba(244,208,63,0.28);
}

@media (max-width: 768px) {
    .image-slider .prev-btn,
    .image-slider .next-btn {
        width: 40px;
        height: 40px;
    }
}

/* Reszponzív finomhangolás */
@media (max-width: 768px) {
    .image-slider {
        border-radius: 14px;
    }
    .slide-content {
        padding: 1.25rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .image-slider {
        border-radius: 12px;
    }
    .slide-content {
        padding: 1rem 1.25rem;
    }
}

.slide-content h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Nunito', sans-serif;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slide-content p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

/* Slider kontrollok */
.slider-controls {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    color: var(--primary-color);
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(244, 208, 63, 0.4);
    border-color: var(--primary-color);
}

.slider-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Slider pontok */
.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

.dot.active {
    background: var(--primary-color);
    border-color: white;
    box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.3);
}

/* Slider információk */
.slider-info {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.current-slide {
    color: var(--primary-color);
    font-weight: 700;
}

/* Sötét mód specifikus stílusok */
[data-theme="dark"] .slide-content {
    background: linear-gradient(135deg, 
        rgba(30, 30, 30, 0.95) 0%, 
        rgba(40, 40, 40, 0.9) 50%, 
        rgba(50, 50, 50, 0.85) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .slide-content::before {
    background: linear-gradient(135deg, 
        rgba(244, 208, 63, 0.1) 0%, 
        rgba(244, 208, 63, 0.05) 100%);
}

[data-theme="dark"] .slide-content h3 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .slide-content p {
    color: #e0e0e0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .slider-btn {
    background: rgba(40, 40, 40, 0.9);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

[data-theme="dark"] .slider-btn:hover {
    background: var(--primary-color);
    color: #000000;
}

[data-theme="dark"] .dot {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

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

[data-theme="dark"] .dot.active {
    background: var(--primary-color);
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.4);
}

[data-theme="dark"] .slider-info {
    color: #b0b0b0;
}

[data-theme="dark"] .current-slide {
    color: var(--primary-color);
}

/* Reszponzív design a sliderhez */
@media (max-width: 768px) {
    .slider-container {
        height: 500px;
    }
    
    .slide-content {
        padding: 1.5rem;
    }
    
    .slide-content h3 {
        font-size: 1.3rem;
    }
    
    .slider-controls {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-info {
        margin-top: 0.5rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 400px;
    }
    
    .slide-content {
        padding: 1rem;
    }
    
    .slide-content h3 {
        font-size: 1.2rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .slider-controls {
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Látnivalók szűrő gombok stílusai */

.attractions-filter-section {
    background: var(--card-background);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.attractions-filter-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

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

.filter-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-family: 'Nunito', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.filter-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--light-background);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

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

.filter-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 208, 63, 0.4);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

.filter-btn:active {
    transform: translateY(0);
}

/* Egységes hover stílus: sárga keret és szöveg */
.attractions-filter-section .filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Távolítjuk a csillogó overlay-t a szűrő gombokról */
.attractions-filter-section .filter-btn::before {
    display: none;
}

.filter-results-info {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--light-background);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.filter-results-count {
    font-weight: 600;
    color: var(--primary-color);
}

.no-results {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
    background: var(--light-background);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    margin: 2rem 0;
}

.no-results-icon {
    font-size: 3rem;
    color: var(--border-color);
    margin-bottom: 1rem;
}

.no-results-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.no-results-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.no-results-suggestions {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.no-results-suggestions h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.no-results-suggestions ul {
    list-style: none;
    padding: 0;
}

.no-results-suggestions li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
}

.no-results-suggestions li:before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .attractions-filter-section {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    .filter-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .attractions-filter-section {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .filter-title {
        font-size: 1.2rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .filter-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Dark mode támogatás */
@media (prefers-color-scheme: dark) {
    .attractions-filter-section {
        background: var(--card-background);
        border-color: var(--border-color);
    }
    
    .filter-btn {
        background: var(--light-background);
        color: var(--text-color);
        border-color: var(--border-color);
    }
    
    .filter-btn:hover {
        background: var(--card-background);
    }
}

/* ===== Kép előnézet modal ===== */
.image-modal.hidden { display: none; }
.image-modal { position: fixed; inset: 0; z-index: 9999; }
.image-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.image-modal-dialog { position: relative; max-width: min(90vw, 1000px); max-height: 90vh; margin: 5vh auto; background: var(--card-background); border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); box-shadow: 0 20px 60px rgba(0,0,0,0.35); display: flex; flex-direction: column; }
.image-modal-dialog.loading::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.2); display: block; }
.image-modal-dialog.loading::before { content: ''; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 3px solid rgba(255,255,255,0.6); border-top-color: var(--primary-color); border-radius: 50%; animation: spin 0.8s linear infinite; }
.image-modal-close { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,0.5); color: #fff; border: 0; border-radius: 8px; padding: 8px 10px; cursor: pointer; z-index: 2; }
.image-modal-close:hover { background: rgba(0,0,0,0.65); }
#imageModalImg { width: 100%; height: auto; object-fit: contain; max-height: 80vh; background: #000; }
.image-modal-caption { padding: 10px 14px; color: var(--text-color); font-size: .95rem; background: var(--card-background); border-top: 1px solid var(--border-color); }

@media (max-width: 768px) {
  .image-modal-dialog { max-width: 94vw; margin: 3vh auto; }
  #imageModalImg { max-height: 70vh; }
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Programok oldal – Kép gomb elhelyezés és színek ===== */
.events-list .event-item { position: relative; }
.events-list .event-item .event-actions { position: absolute; right: 16px; bottom: 16px; }
.events-list .event-item .event-image-link {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #111;
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(244, 208, 63, 0.35);
}
.events-list .event-item .event-image-link:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(244, 208, 63, 0.45); }
.events-list .event-item .event-image-link:active { transform: translateY(0); }

@media (max-width: 680px) {
    .events-list .event-item .event-actions { position: static; margin-top: 10px; display: flex; justify-content: flex-end; }
}

/* Animációk */
.filter-btn {
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.filter-btn:hover::before {
    left: 100%;
}

/* Fokozatos megjelenés */
.attractions-filter-section {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gombok fokozatos megjelenése */
.filter-btn {
    animation: fadeInScale 0.4s ease-out;
    animation-fill-mode: both;
}

.filter-btn:nth-child(1) { animation-delay: 0.1s; }
.filter-btn:nth-child(2) { animation-delay: 0.2s; }
.filter-btn:nth-child(3) { animation-delay: 0.3s; }
.filter-btn:nth-child(4) { animation-delay: 0.4s; }
.filter-btn:nth-child(5) { animation-delay: 0.5s; }
.filter-btn:nth-child(6) { animation-delay: 0.6s; }
.filter-btn:nth-child(7) { animation-delay: 0.7s; }
.filter-btn:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== PAGINATION KOMPONENS STÍLUSOK ===== */

/* Pagination Container */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem auto;
    padding: 1.5rem 2rem;
    background: var(--card-background);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    max-width: 600px;
    position: relative;
    overflow: hidden;
}

.pagination::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Pagination Buttons */
.pagination-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(244, 208, 63, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 120px;
    justify-content: center;
}

.pagination-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.pagination-button:hover::before {
    left: 100%;
}

.pagination-button:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(244, 208, 63, 0.4);
}

.pagination-button:active {
    transform: translateY(0) scale(1.02);
}

.pagination-button:disabled {
    background: linear-gradient(135deg, var(--light-text) 0%, #b0b0b0 100%);
    color: rgba(255, 255, 255, 0.7);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0.6;
}

.pagination-button:disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pagination-button:disabled::before {
    display: none;
}

/* Pagination Info */
.pagination-info {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: var(--light-background);
    color: var(--text-color);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    border: 2px solid var(--border-color);
    min-width: 80px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.pagination-info:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(244, 208, 63, 0.2);
}

/* Pagination Icons */
.pagination-button i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.pagination-button:hover i {
    transform: scale(1.1);
}

.pagination-button:disabled i {
    transform: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pagination {
        margin: 2rem auto;
        padding: 1rem 1.5rem;
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    
    .pagination-button {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
        min-width: 100px;
    }
    
    .pagination-info {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
        min-width: 70px;
    }
}

@media (max-width: 480px) {
    .pagination {
        margin: 1.5rem auto;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
        flex-direction: column;
        align-items: stretch;
    }
    
    .pagination-button {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        min-width: auto;
    }
    
    .pagination-info {
        order: -1;
        margin-bottom: 0.5rem;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        min-width: auto;
    }
}

/* Dark Mode Support */
[data-theme="dark"] .pagination {
    background: var(--card-background);
    border-color: var(--border-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .pagination-info {
    background: var(--light-background);
    color: var(--text-color);
    border-color: var(--border-color);
}

[data-theme="dark"] .pagination-info:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(244, 208, 63, 0.3);
}

/* Animation for pagination appearance */
.pagination {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== KAPCSOLATFELVÉTELI ŰRLAP STÍLUSOK ===== */

/* Űrlap szekció */
.contact-form-section {
    padding: 4rem 0;
    background: var(--background-color);
    position: relative;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--background-color) 0%, var(--light-background) 100%);
    z-index: -1;
}

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

/* Űrlap fejléc */
.contact-form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-form-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    position: relative;
}

.contact-form-header h2::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;
}

.contact-form-header p {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Űrlap konténer */
.contact-form {
    background: var(--card-background);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

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

/* Form sorok */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Form csoportok */
.form-group {
    margin-bottom: 1.5rem;
}

/* Form címkék */
.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-label i {
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: var(--transition);
}

.form-group:hover .form-label i {
    transform: scale(1.1);
}

/* Form beviteli mezők */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--input-background);
    color: var(--text-color);
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.1);
    background: var(--input-background);
    transform: translateY(-1px);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--light-text);
    font-style: italic;
}

/* Textarea specifikus */
.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Select specifikus */
.form-select {
    cursor: pointer;
    padding-right: 1.2rem;
    /* Eltávolítjuk a custom background-image-t */
}

.form-select option {
    padding: 0.5rem;
    background: var(--input-background);
    color: var(--text-color);
}

.form-select option:disabled {
    color: var(--light-text);
    font-style: italic;
}

/* Checkbox csoport */
.checkbox-group {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color);
    transition: var(--transition);
    font-family: 'Nunito', sans-serif;
}

.checkbox-label:hover {
    color: var(--primary-color);
}

/* Form checkbox stílusok - egységes megjelenés */
.form-checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color, #ccc);
    border-radius: 4px;
    background: var(--input-background, #fff);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin-top: 0.125rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    min-width: 20px;
    min-height: 20px;
    vertical-align: middle;
}

.form-checkbox:hover {
    border-color: var(--primary-color, #F4D03F);
    transform: scale(1.05);
}

.form-checkbox:checked {
    background: var(--primary-color, #F4D03F);
    border-color: var(--primary-color, #F4D03F);
    transform: scale(1.1);
}

.form-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
    display: block;
    line-height: 1;
    animation: checkmark 0.3s ease;
}

@keyframes checkmark {
    0% {
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

.checkbox-label a {
    color: var(--primary-color, #F4D03F);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.checkbox-label a:hover {
    text-decoration: underline;
    color: var(--primary-light, #F7DC6F);
}

/* Form gombok */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Nunito', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(244, 208, 63, 0.6);
}

.btn-submit:active {
    transform: translateY(-1px) scale(1.02);
}

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

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

.btn-reset {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: white;
    border: 2px solid var(--secondary-color);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Nunito', sans-serif;
}

.btn-reset:hover {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-color) 100%);
    border-color: var(--secondary-light);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(21, 67, 96, 0.4);
}

.btn-reset:active {
    transform: translateY(-1px) scale(1.02);
}

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

.btn-reset:hover i {
    transform: rotate(180deg);
}

/* Form üzenetek */
.form-message {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
    border-left: 4px solid;
}

.form-message-success {
    background: linear-gradient(135deg, var(--success-color), #10b981);
    color: white;
    border-left-color: #047857;
}

.form-message-error {
    background: linear-gradient(135deg, var(--error-color), #ef4444);
    color: white;
    border-left-color: #b91c1c;
}

.form-message i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading állapot */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn i.ri-loader-4-line {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Reszponzív design */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 3rem 0;
    }
    
    .contact-form-container {
        padding: 0 1rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form-header h2 {
        font-size: 2rem;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-submit,
    .btn-reset {
        width: 100%;
        justify-content: center;
        padding: 1.25rem 2rem;
    }
}

@media (max-width: 480px) {
    .contact-form-section {
        padding: 2rem 0;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
    
    .contact-form-header h2 {
        font-size: 1.75rem;
    }
    
    .contact-form-header p {
        font-size: 1rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    .checkbox-label {
        font-size: 0.9rem;
    }
}

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

[data-theme="dark"] .contact-form-section::before {
    background: linear-gradient(135deg, var(--background-color) 0%, var(--light-background) 100%);
}

[data-theme="dark"] .contact-form {
    background: var(--card-background);
    border-color: var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

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

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

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select,
[data-theme="dark"] .form-textarea {
    background: var(--input-background);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-select:focus,
[data-theme="dark"] .form-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.1);
}

[data-theme="dark"] .form-checkbox {
    background: var(--input-background);
    border-color: var(--border-color);
}

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

/* Animációk és effektek */
.contact-form {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }
.form-group:nth-child(6) { animation-delay: 0.6s; }

/* Hover effektek */
.form-group:hover .form-input,
.form-group:hover .form-select,
.form-group:hover .form-textarea {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px rgba(244, 208, 63, 0.1);
}

/* Focus állapotok */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    animation: focusPulse 0.3s ease-out;
}

@keyframes focusPulse {
    0% {
        box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.1);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(244, 208, 63, 0.2);
    }
    100% {
        box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.1);
    }
}



/* Szponzor kártyák – kompakt, bővíthető, feltűnő, de nem tolakodó */
.sponsors-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--light-background) 0%, var(--background-color) 100%);
    position: relative;
    overflow: hidden;
}

.sponsors-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="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.sponsors-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.sponsors-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 3rem;
    font-family: 'Nunito', sans-serif;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sponsors-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(244, 208, 63, 0.4);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.sponsor-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: none;
    border: 2px solid #f1f3f4;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    height: auto;
    position: relative;
    overflow: visible;
    min-height: 140px;
    width: 100%;
    gap: 1rem;
    align-items: center;
}

.sponsor-card:hover {
    border-color: var(--primary-color);
    background: #fafbfc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.sponsor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sponsor-card:hover::before {
    opacity: 1;
}

/* Sponsor kép - négyzet alakú, kompakt */
.sponsor-image {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sponsor-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.1) 0%, 
        transparent 50%, 
        rgba(0,0,0,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

.sponsor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    border-radius: 12px;
    position: relative;
    z-index: 2;
}

.sponsor-card:hover .sponsor-image img {
    transform: scale(1.02);
}

/* Eltávolítjuk a hover gombot */

/* Elrejtjük a JavaScript-ben létrehozott CTA gombot */
.cta-button {
    display: none !important;
}

.sponsor-cta-overlay {
    display: none !important;
}

/* Ha nincs kép, placeholder */
.sponsor-image:not(:has(img)) {
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--primary-light) 50%, 
        var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

.sponsor-image:not(:has(img))::before {
    content: '🏢';
    font-size: 4rem;
    opacity: 0.9;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* Hirdetés badge - jobban látható a képen */
.ad-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, 
        #ffd700 0%, 
        #ffed4e 50%, 
        #f4d03f 100%);
    color: #333;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
    z-index: 10;
    pointer-events: none;
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.2);
    transform: rotate(-8deg);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { 
        transform: rotate(-8deg) scale(1);
        box-shadow: 
            0 8px 25px rgba(244, 208, 63, 0.4),
            0 4px 12px rgba(0, 0, 0, 0.2);
    }
    50% { 
        transform: rotate(-8deg) scale(1.05);
        box-shadow: 
            0 12px 35px rgba(244, 208, 63, 0.6),
            0 6px 18px rgba(0, 0, 0, 0.3);
    }
}

.sponsor-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    background: linear-gradient(180deg, 
        #f8f9fa 0%, 
        #e9ecef 100%);
}

.sponsor-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.sponsor-logo {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--primary-light) 50%, 
        var(--secondary-color) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 6px 20px rgba(244, 208, 63, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.sponsor-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        transparent 50%, 
        rgba(0, 0, 0, 0.1) 100%);
    border-radius: 10px;
}

.sponsor-card:hover .sponsor-logo {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 8px 25px rgba(244, 208, 63, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.sponsor-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 13px;
}

.sponsor-logo img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    z-index: 3;
    position: relative;
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.3s ease;
}

.sponsor-card:hover .sponsor-logo img {
    filter: brightness(1.2) contrast(1.2);
}

.sponsor-main {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sponsor-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.sponsor-card:hover .sponsor-name {
    color: var(--primary-color);
}

.sponsor-occupation {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sponsor-body { 
    margin-top: 0.5rem; 
    display: flex; 
    flex-direction: column;
    gap: 0.3rem; 
    flex: 1;
}

.sponsor-contact { 
    display: flex; 
    flex-direction: column;
    gap: 0.25rem; 
}

.sponsor-contact .item { 
    display: flex; 
    align-items: center; 
    gap: 0.4rem; 
    font-size: 0.8rem; 
    color: #555;
    padding: 0.3rem 0;
    background: none;
    border-radius: 0;
    border-left: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sponsor-contact .item:hover {
    color: var(--primary-color);
    transform: translateX(2px);
}

.sponsor-contact .item span { 
    overflow-wrap: anywhere; 
    word-break: break-word; 
    font-weight: 500;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sponsor-contact i { 
    color: var(--primary-color); 
    font-size: 0.9rem; 
    min-width: 16px;
    text-align: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.sponsor-contact .item:hover i {
    color: var(--primary-light);
    transform: scale(1.1);
}


/* Típus szerinti kiemelés – bal oldali csík */
.sponsor-card[data-type="featured"] { 
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(90deg, rgba(244, 208, 63, 0.05) 0%, #ffffff 10%);
}

.sponsor-card[data-type="local"] { 
    border-left: 4px solid #22c55e;
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.05) 0%, #ffffff 10%);
}

.sponsor-card[data-type="regional"] { 
    border-left: 4px solid #60a5fa;
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.05) 0%, #ffffff 10%);
}

/* Reszponzív */
@media (max-width: 1400px) {
    .sponsors-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 1200px) {
    .sponsors-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 992px) {
    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .sponsors-section {
        padding: 3rem 1rem;
    }
    
    .sponsors-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .sponsor-card {
        min-height: 120px;
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .sponsor-card:hover {
        transform: translateY(-1px);
    }
    
    .sponsor-image {
        width: 60px;
        height: 60px;
    }
    
    .sponsor-content {
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .sponsors-title {
        font-size: 2rem;
    }
    
    .sponsors-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .sponsor-card {
        min-height: 300px;
    }
    
    .sponsor-image {
        aspect-ratio: 1;
    }
    
    .sponsor-content {
        padding: 0.75rem;
    }
    
    .sponsor-head {
        flex-direction: column;
        text-align: center;
        gap: 0.4rem;
    }
    
    .sponsor-logo {
        width: 35px;
        height: 35px;
    }
    
    .sponsor-name {
        font-size: 1rem;
    }
    
    .sponsor-occupation {
        font-size: 0.7rem;
    }
    
}

[data-theme="dark"] .sponsor-card { 
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .sponsor-card:hover {
    background: #333333;
}

/* Dark mode szponzor tartalom */
[data-theme="dark"] .sponsor-content {
    background: linear-gradient(180deg, 
        #2a2a2a 0%, 
        #1e1e1e 100%);
}

[data-theme="dark"] .sponsors-title {
    color: #ffffff;
}

[data-theme="dark"] .sponsor-name {
    color: #ffffff;
}

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

[data-theme="dark"] .sponsor-occupation {
    color: #cccccc;
}

[data-theme="dark"] .sponsor-contact .item {
    background: none;
    color: #cccccc;
}

[data-theme="dark"] .sponsor-contact .item span {
    color: #cccccc;
}

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

/* Dark mode szponzor szekció háttér */
[data-theme="dark"] .sponsors-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
}


/* Kereső sáv stílusok a hírek oldalon */

.news-search-section {
    background: var(--card-background);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-search-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

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

.news-search-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-family: 'Nunito', sans-serif;
}

.news-search-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.news-search-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-input-group {
    position: relative;
    flex: 1;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    background: var(--background);
    color: var(--text-color);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.1);
    background: var(--card-background);
}

.search-input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}


.search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.search-filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-filter-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    white-space: nowrap;
}

.search-filter-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--background);
    color: var(--text-color);
    font-size: 0.9rem;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(244, 208, 63, 0.1);
}

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

.search-btn {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(244, 208, 63, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 208, 63, 0.4);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

.search-btn:active {
    transform: translateY(0);
}

.clear-search-btn {
    padding: 0.75rem 2rem;
    background: var(--light-background);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clear-search-btn:hover {
    background: var(--border-color);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.search-results-info {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--light-background);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.search-results-count {
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.search-results-count.loading {
    opacity: 0.7;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.no-results {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
}

.no-results-icon {
    font-size: 3rem;
    color: var(--border-color);
    margin-bottom: 1rem;
}

.no-results-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.no-results-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.no-results-suggestions {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.no-results-suggestions h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.no-results-suggestions ul {
    list-style: none;
    padding: 0;
}

.no-results-suggestions li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
}

.no-results-suggestions li:before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .news-search-section {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .search-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-filter-group {
        justify-content: space-between;
    }
    
    .search-actions {
        flex-direction: column;
    }
    
    .search-btn,
    .clear-search-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .news-search-section {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .news-search-title {
        font-size: 1.3rem;
    }
    
    .search-input {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
}

/* Dark mode támogatás */
@media (prefers-color-scheme: dark) {
    .news-search-section {
        background: var(--card-background);
        border-color: var(--border-color);
    }
    
    .search-input {
        background: var(--background);
        color: var(--text-color);
        border-color: var(--border-color);
    }
    
    .search-filter-select {
        background: var(--background);
        color: var(--text-color);
        border-color: var(--border-color);
    }
}

/* MyTiszaföldvár - Infopanel CSS */

/* Infopanel Container */
.infopanel {
    background: linear-gradient(135deg, var(--card-background) 0%, var(--light-background) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 2rem auto;
    max-width: 1200px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.infopanel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Infopanel Grid Layout */
.infopanel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    max-width: 800px;
    margin: 0 auto;
}

/* Infopanel Item */
.infopanel-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--card-background);
    border-radius: calc(var(--border-radius) - 2px);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 80px;
    height: 100%;
}

.infopanel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(244, 208, 63, 0.1), transparent);
    transition: left 0.5s ease;
}

.infopanel-item:hover::before {
    left: 100%;
}

.infopanel-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

/* Infopanel Icon */
.infopanel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    color: var(--secondary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(244, 208, 63, 0.3);
}

/* Infopanel Content */
.infopanel-content {
    flex: 1;
    min-width: 0;
}

.infopanel-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.infopanel-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
}

/* Specific Item Styles */
.infopanel-item.date .infopanel-icon {
    background: linear-gradient(135deg, #E74C3C, #F39C12);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.infopanel-item.location .infopanel-icon {
    background: linear-gradient(135deg, #3498DB, #2980B9);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.infopanel-item.weather .infopanel-icon {
    background: linear-gradient(135deg, #F1C40F, #F39C12);
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.3);
}

.infopanel-item.nameday .infopanel-icon {
    background: linear-gradient(135deg, #9B59B6, #8E44AD);
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .infopanel-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .infopanel {
        margin: 1rem;
        padding: 1rem;
    }
    
    .infopanel-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 100%;
    }
    
    .infopanel-item {
        padding: 0.75rem;
        min-height: 70px;
    }
    
    .infopanel-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .infopanel-value {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .infopanel {
        margin: 0.5rem;
        padding: 0.75rem;
    }
    
    .infopanel-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .infopanel-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        min-height: 80px;
    }
    
    .infopanel-icon {
        width: 36px;
        height: 36px;
        font-size: 1.125rem;
    }
}

/* Loading State */
.infopanel-item.loading .infopanel-value {
    color: var(--light-text);
    font-style: italic;
}

.infopanel-item.loading .infopanel-icon {
    opacity: 0.6;
}

/* Error State */
.infopanel-item.error .infopanel-value {
    color: var(--error-color);
}

.infopanel-item.error .infopanel-icon {
    background: linear-gradient(135deg, var(--error-color), #EF4444);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* MyTiszaföldvár - Galéria CSS Stílusok */

/* Esemény Galéria Szekció */
.event-gallery-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--light-background) 0%, var(--background-color) 100%);
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.event-gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: linear-gradient(135deg, var(--light-background) 0%, var(--background-color) 100%);
    z-index: -1;
}

.event-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    background: var(--card-background);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.event-gallery-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.event-gallery-header {
    padding: 3rem 2rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--card-background) 0%, var(--light-background) 100%);
    text-align: center;
}

.event-gallery-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-family: 'Nunito', sans-serif;
    line-height: 1.2;
}

.event-gallery-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-family: 'Nunito', sans-serif;
    line-height: 1.3;
}

.event-gallery-description {
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.event-gallery-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 600px;
}

.event-gallery-text {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--card-background) 0%, var(--light-background) 100%);
}

.event-gallery-text p {
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    text-align: justify;
}

.event-gallery-details {
    background: linear-gradient(135deg, var(--light-background) 0%, var(--background-color) 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.event-gallery-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.event-detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    padding: 0.75rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: transparent;
}

.event-detail-item:hover {
    background: rgba(244, 208, 63, 0.1);
    transform: translateX(8px);
}

.event-detail-item:last-child {
    margin-bottom: 0;
}

.event-detail-icon {
    width: 32px;
    height: 32px;
    margin-right: 16px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(244, 208, 63, 0.1);
    border-radius: 50%;
    padding: 8px;
    transition: all 0.3s ease;
}

.event-detail-item:hover .event-detail-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.event-detail-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.event-gallery-visual {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.event-gallery-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.gallery-preview {
    position: relative;
    width: 100%;
    height: 350px;
    margin-bottom: 2.5rem;
    z-index: 2;
}

.preview-image {
    position: absolute;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 3px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.preview-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.preview-image:hover {
    transform: scale(1.08) rotate(0deg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    z-index: 10;
}

.preview-image:hover::before {
    opacity: 1;
}

.preview-image:nth-child(1) {
    top: 0;
    left: 20%;
    width: 65%;
    height: 65%;
    transform: rotate(8deg);
    z-index: 3;
}

.preview-image:nth-child(2) {
    top: 15%;
    right: 8%;
    width: 55%;
    height: 55%;
    transform: rotate(-12deg);
    z-index: 2;
}

.preview-image:nth-child(3) {
    bottom: 8%;
    left: 8%;
    width: 50%;
    height: 50%;
    transform: rotate(6deg);
    z-index: 1;
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

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

.gallery-button {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Nunito', sans-serif;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.gallery-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.gallery-button:hover::before {
    left: 100%;
}

.gallery-button:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-dark) 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.gallery-button:active {
    transform: translateY(-2px) scale(1.02);
}

.gallery-button .ri {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.gallery-button:hover .ri {
    transform: scale(1.2);
}

/* Galéria Modal/Slider */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(2px);
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
}

.gallery-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slider {
    width: 90%;
    max-width: 1200px;
    height: 85%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.9);
}

.gallery-slide.active {
    opacity: 1;
    transform: scale(1);
}

.gallery-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-slide-info {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1.5rem 2.5rem;
    border-radius: 25px;
    text-align: center;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 80%;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.gallery-nav.prev {
    left: 30px;
}

.gallery-nav.next {
    right: 30px;
}

.gallery-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.gallery-counter {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .event-gallery-content {
        grid-template-columns: 1fr;
    }
    
    .event-gallery-visual {
        order: -1;
        min-height: 450px;
    }
    
    .gallery-preview {
        height: 300px;
    }
    
    .event-gallery-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .event-gallery-section {
        padding: 3rem 0;
    }
    
    .event-gallery-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .event-gallery-title {
        font-size: 2.2rem;
    }
    
    .event-gallery-subtitle {
        font-size: 1.5rem;
    }
    
    .event-gallery-text {
        padding: 2rem 1.5rem;
    }
    
    .event-gallery-visual {
        padding: 2rem 1.5rem;
        min-height: 400px;
    }
    
    .gallery-preview {
        height: 250px;
    }
    
    .preview-image:nth-child(1) {
        width: 75%;
        height: 75%;
        left: 12%;
    }
    
    .preview-image:nth-child(2) {
        width: 65%;
        height: 65%;
        right: 5%;
    }
    
    .preview-image:nth-child(3) {
        width: 60%;
        height: 60%;
        left: 5%;
    }
    
    .gallery-slider {
        width: 95%;
        height: 75%;
    }
    
    .gallery-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .gallery-nav.prev {
        left: 15px;
    }
    
    .gallery-nav.next {
        right: 15px;
    }
    
    .gallery-close {
        top: 20px;
        right: 20px;
    }
    
    .gallery-counter {
        top: 20px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .event-gallery-title {
        font-size: 2rem;
    }
    
    .event-gallery-subtitle {
        font-size: 1.3rem;
    }
    
    .event-gallery-text {
        padding: 1.5rem 1rem;
    }
    
    .event-gallery-visual {
        padding: 1.5rem 1rem;
        min-height: 350px;
    }
    
    .gallery-preview {
        height: 200px;
    }
    
    .gallery-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .event-gallery-details {
        padding: 1.5rem;
    }
}

/* Dark Mode Support */
[data-theme="dark"] .event-gallery-section {
    background: linear-gradient(135deg, var(--light-background) 0%, var(--background-color) 100%);
}

[data-theme="dark"] .event-gallery-container {
    background: var(--card-background);
    border-color: var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .event-gallery-header {
    border-color: var(--border-color);
    background: linear-gradient(135deg, var(--card-background) 0%, var(--light-background) 100%);
}

[data-theme="dark"] .event-gallery-title {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .event-gallery-subtitle {
    color: var(--text-color);
}

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

[data-theme="dark"] .event-gallery-details {
    background: linear-gradient(135deg, var(--light-background) 0%, var(--background-color) 100%);
    border-color: var(--border-color);
}

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

[data-theme="dark"] .event-detail-item:hover {
    background: rgba(244, 208, 63, 0.15);
}

[data-theme="dark"] .event-detail-icon {
    color: var(--primary-color);
    background: rgba(244, 208, 63, 0.15);
}

[data-theme="dark"] .event-detail-item:hover .event-detail-icon {
    background: var(--primary-color);
    color: white;
}

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

/* Videó Stílusok a Galériában */
.gallery-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); 
    transition: all 0.3s ease;
    background: var(--card-background);
}

.gallery-video:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.gallery-video:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Videó kontrollok stílusai */
.gallery-video::-webkit-media-controls {
    /*background: rgba(0, 0, 0, 0.7); */
    border-radius: 8px;
}

.gallery-video::-webkit-media-controls-panel {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
}

.gallery-video::-webkit-media-controls-play-button {
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
}

.gallery-video::-webkit-media-controls-timeline {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.gallery-video::-webkit-media-controls-current-time-display,
.gallery-video::-webkit-media-controls-time-remaining-display {
    color: white;
    font-weight: 600;
}

/* Videó poster (thumbnail) stílusok */
.gallery-video[poster] {
    background: var(--light-background);
}

/* Videó betöltési állapot */
.gallery-video:not([src]) {
    background: linear-gradient(135deg, var(--light-background) 0%, var(--background-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.gallery-video:not([src])::before {
    content: '🎥 Videó betöltése...';
}

/* Videó hiba állapot */
.gallery-video:invalid {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.gallery-video:invalid::before {
    content: '❌ Videó nem tölthető be';
}

/* Videó lejátszás állapot */
.gallery-video:playing {
    box-shadow: 0 15px 40px rgba(244, 208, 63, 0.4);
}

/* Videó szüneteltetett állapot */
.gallery-video:paused {
    opacity: 0.9;
}

/* Videó betöltés animáció */
@keyframes videoLoading {
    0% { opacity: 0; transform: scale(0.95); }
    50% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1; transform: scale(1); }
}

.gallery-video:loading {
    animation: videoLoading 0.5s ease-out;
}

/* Videó kontrollok hover effektek */
.gallery-video::-webkit-media-controls-panel:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* Egyedi videó vezérlők stílusai */
.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.video-container .gallery-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-controls {
    opacity: 1;
}

.video-play-pause {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-play-pause:hover {
    background: var(--primary-hover);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.video-play-pause:active {
    transform: scale(0.95);
}

.video-progress {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}

.video-progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.1s ease;
    width: 0%;
}

.video-time {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Videó vezérlők megjelenítése mindig aktív videó esetén */
.gallery-slide-video.active .video-controls {
    opacity: 1;
}

/* Videó vezérlők responsive stílusok */
@media (max-width: 768px) {
    .video-controls {
        padding: 15px;
        gap: 10px;
    }
    
    .video-play-pause {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .video-time {
        font-size: 0.8rem;
        min-width: 50px;
    }
}

.gallery-video::-webkit-media-controls-play-button:hover {
    background: var(--primary-light);
    transform: scale(1.1);
}

/* Videó teljes képernyős mód stílusok */
.gallery-video:fullscreen {
    border-radius: 0;
    box-shadow: none;
}

/* Videó reszponzív viselkedés */
@media (max-width: 768px) {
    .gallery-video {
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    .gallery-video:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .gallery-video {
        border-radius: 6px;
        font-size: 1rem;
    }
    
    .gallery-video:not([src])::before {
        content: '🎥 Videó...';
        font-size: 1rem;
    }
    
    .gallery-video:invalid::before {
        content: '❌ Hiba';
        font-size: 0.9rem;
    }
}

/* Dark Mode videó stílusok */
[data-theme="dark"] .gallery-video {
    background: var(--card-background);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .gallery-video:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .gallery-video:not([src]) {
    background: linear-gradient(135deg, var(--light-background) 0%, var(--background-color) 100%);
    color: var(--text-color);
}

[data-theme="dark"] .gallery-video:invalid {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    color: #f87171;
}

[data-theme="dark"] .gallery-video:playing {
    box-shadow: 0 15px 40px rgba(244, 208, 63, 0.3);
}

/* Videó accessibility */
.gallery-video[aria-label] {
    cursor: pointer;
}

.gallery-video[aria-label]:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* Videó betöltési progress */
.gallery-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.gallery-video:loading::before {
    transform: scaleX(1);
    animation: videoProgress 2s ease-in-out infinite;
}

@keyframes videoProgress {
    0% { transform: scaleX(0); }
    50% { transform: scaleX(1); }
    100% { transform: scaleX(0); }
}

/* Videó slide speciális stílusok - Jobb láthatóság */
.gallery-slide-video {
    background: transparent !important;
}

.gallery-slide-video .gallery-video {
    background: transparent !important;
    box-shadow: none !important;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.gallery-slide-video.active {
    background: transparent !important;
}

/* Videó slide-ok háttér eltávolítása */
.gallery-slide-video .gallery-slide-info {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Videó kontrollok jobb láthatósága */
.gallery-slide-video .gallery-video::-webkit-media-controls {
    background: rgba(0, 0, 0, 0.5);
}

.gallery-slide-video .gallery-video::-webkit-media-controls-panel {
    background: rgba(0, 0, 0, 0.6);
}

.gallery-slide-video .gallery-video::-webkit-media-controls-timeline {
    background: rgba(255, 255, 255, 0.5);
}

.gallery-slide-video .gallery-video::-webkit-media-controls-current-time-display,
.gallery-slide-video .gallery-video::-webkit-media-controls-time-remaining-display {
    color: white;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}


