:root {
    /* Colors */
    --color-primary: #0000a3;
    --color-primary-light: #16366f;
    --color-secondary: #d4af37;
    --color-secondary-hover: #b5952f;
    --color-bg: #f8f9fa;
    --color-bg-light: #ffffff;
    --color-text: #2d3748;
    --color-text-light: #718096;
    --color-border: #e2e8f0;
    --color-white: #ffffff;
    --color-success: #38a169;
    --color-error: #e53e3e;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Variables */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(10, 31, 68, 0.08);
    --box-shadow-hover: 0 15px 40px rgba(10, 31, 68, 0.15);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-secondary);
}

.bg-light {
    background-color: var(--color-bg-light);
}

.text-white {
    color: var(--color-white) !important;
}

.text-white::after {
    background-color: var(--color-white) !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    gap: 10px;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-secondary-hover);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Nav */
.desktop-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: 15px 0;
}

.desktop-nav.scrolled {
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
}

/* Mobile Nav is hidden, using simple scroll */
@media (max-width: 768px) {
    .desktop-nav .nav-links {
        display: none;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Hero-specific animations: auto-play on load, not dependent on IntersectionObserver */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section .animate-on-scroll {
    opacity: 1;
    transform: none;
    animation: heroFadeIn 0.8s ease-out forwards;
}

.hero-section .slide-up {
    opacity: 1;
    transform: none;
    animation: heroFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-section .slide-up.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-section .slide-up.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg .bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 31, 68, 0.9) 0%, rgba(10, 31, 68, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-emblem {
    width: 250px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.hero-title {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-contact {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-contact .subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        min-height: -webkit-fill-available;
        overflow: hidden;
        padding-top: 60px;
        padding-bottom: 20px;
        box-sizing: border-box;
    }

    .hero-content {
        padding: 0 10px;
    }

    .hero-emblem {
        width: 100px;
        margin-bottom: 0.6rem;
    }

    .hero-title {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
    }

    .hero-contact {
        padding: 0.8rem;
    }

    .hero-contact .subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .hero-phone {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

/* Lehetőségek (Services) Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
    border-top-color: var(--color-secondary);
}

.service-card.highlight {
    border-top-color: var(--color-secondary);
    background: linear-gradient(to bottom, #ffffff, #fdfbf7);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.alert-box {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--color-secondary);
    font-size: 0.9rem;
    border-radius: 0 4px 4px 0;
}

.exclusion-notice {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 40px;
}

.exclusion-notice h3 {
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.exclusion-notice a {
    color: var(--color-secondary);
    text-decoration: underline;
    font-weight: 600;
}

/* Edzések (Training) Section */
.training-schedule-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    box-shadow: var(--box-shadow);
}

.schedule-item {
    text-align: center;
    padding: 0 40px;
}

.schedule-item .day {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-secondary);
    margin-bottom: 5px;
}

.schedule-item .time {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
}

.training-schedule-banner .divider {
    width: 2px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .training-schedule-banner {
        flex-direction: column;
        gap: 20px;
    }

    .training-schedule-banner .divider {
        width: 60px;
        height: 2px;
    }

    .schedule-item {
        padding: 0 20px;
    }
}

/* Hero Calendar Header */
.hero-calendar-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.calendar-year-selector {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.calendar-year-selector label {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
}

.calendar-year-selector .year-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 36px 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d4af37' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.calendar-year-selector .year-select:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--color-secondary);
}

.calendar-year-selector .year-select:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.calendar-year-selector .year-select option {
    background: var(--color-primary);
    color: var(--color-white);
}

@media (max-width: 768px) {
    .hero-calendar-header {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* Calendar Styles */
.calendar-container {
    width: 100%;
    margin-top: 30px;
}

/* Desktop Table View */
.desktop-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.desktop-table th {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
}

.desktop-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--color-border);
}

.desktop-table tr:last-child td {
    border-bottom: none;
}

.desktop-table tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-edzes {
    background-color: #e2e8f0;
    color: #4a5568;
}

.badge-verseny {
    background-color: rgba(212, 175, 55, 0.15);
    color: #b5952f;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.badge-szunet {
    background-color: #fed7d7;
    color: #c53030;
}

.badge-evzaro {
    background-color: #c6f6d5;
    color: #2f855a;
}

/* Mobile Card View (Cards for Calendar) */
.mobile-cards {
    display: none;
    grid-template-columns: 1fr;
    gap: 15px;
}

.calendar-card {
    background: var(--color-white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--color-primary);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calendar-card.is-verseny {
    border-left-color: var(--color-secondary);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-date {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.card-day {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.card-leader {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 768px) {
    .desktop-table {
        display: none;
    }

    .mobile-cards {
        display: grid;
    }
}

/* Versenyeink Section */
.with-bg {
    position: relative;
    color: var(--color-white);
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.with-bg .overlay.noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 31, 68, 0.85);
    /* Halványítás */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    /* Szemcsés hatás hozzáadása */
}

.relative-content {
    position: relative;
    z-index: 2;
}

.competitions-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-secondary) !important;
    margin-bottom: 15px;
}

.mt-4 {
    margin-top: 2rem;
}

/* Galéria Section */
.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.gallery-event {
    margin-bottom: 20px;
}

.gallery-event-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/* Hírek (News) Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-left: 4px solid var(--color-secondary);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.news-date {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 10px;
    font-weight: 600;
}

.news-title {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.news-content {
    color: var(--color-text);
    margin-bottom: 20px;
    flex-grow: 1;
}

.empty-news {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    color: var(--color-text-light);
    font-style: italic;
}

.text-center {
    text-align: center;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Fixed Back Button for Subpages */
.fixed-back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1100;
    background-color: var(--color-primary);
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.fixed-back-btn:hover {
    background-color: var(--color-secondary);
    transform: scale(1.1);
    color: var(--color-white);
}

@media (max-width: 768px) {
    .fixed-back-btn {
        top: 15px;
        left: 15px;
        width: 40px;
        height: 40px;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: white;
    margin-top: 15px;
    font-size: 1.2rem;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

/* Kapcsolat Section */
.facebook-container {
    margin-bottom: 25px;
}

.facebook-link {
    font-size: 3.5rem;
    color: #1877F2;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.facebook-link:hover {
    color: #145dbf;
    transform: scale(1.1);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: stretch;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background: var(--color-white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

/* Fix for consecutive cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.contact-card.mt-3 {
    margin-top: 0;
    /* Managed by flex gap */
}

.contact-card:first-child {
    margin-top: 0;
}

.contact-card .contact-link {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    color: inherit;
}

.contact-card .contact-text {
    flex: 1;
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--color-primary);
    background: rgba(0, 0, 163, 0.05);
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-family: var(--font-body);
    font-weight: 600;
}

.contact-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.contact-link {
    font-weight: 600;
}

.contact-map {
    background: var(--color-white);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
}

.map-responsive {
    flex: 1;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    min-height: 450px;
    /* Base height for desktop */
}

@media (max-width: 768px) {
    .map-responsive {
        min-height: 300px;
    }
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Footer */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* UI Elements */

/* Szezonális Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-text-light);
}

.modal-title {
    color: var(--color-error);
    margin-bottom: 15px;
}

.modal-ok {
    margin-top: 25px;
    width: 100%;
}

.progress-bar-container {
    height: 4px;
    background: var(--color-border);
    margin-top: 20px;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 100%;
    background: var(--color-secondary);
    transform-origin: left;
}

/* Mobile Call Btn */
.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--color-success);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(56, 161, 105, 0.4);
    z-index: 1000;
    transition: transform 0.2s;
}

.mobile-call-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .mobile-call-btn {
        display: flex;
    }
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 0.8;
    visibility: visible;
}

.back-to-top:hover {
    opacity: 1;
    transform: translateY(-3px);
    background-color: var(--color-secondary);
}

@media (max-width: 768px) {
    .back-to-top {
        right: auto;
        left: 20px;
        /* Mobilon balra tesszük, mert jobbra ott a hívásgomb */
    }
}

.loading-spinner {
    text-align: center;
    padding: 30px;
    color: var(--color-text-light);
    font-style: italic;
}

/* Full Calendar Page */
.calendar-year-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.calendar-year-selector label {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
}

.year-select {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 10px 40px 10px 20px;
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius);
    background-color: var(--color-white);
    color: var(--color-primary);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230000a3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: var(--transition);
}

.year-select:hover {
    border-color: var(--color-secondary);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.year-select:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.full-calendar-month {
    margin-bottom: 40px;
}

.month-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-primary);
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--color-secondary);
    display: inline-block;
}

.calendar-more-btn {
    text-align: center;
}

@media (max-width: 768px) {
    .calendar-year-selector label {
        font-size: 1.4rem;
    }

    .year-select {
        font-size: 1rem;
        padding: 8px 35px 8px 15px;
    }

    .month-title {
        font-size: 1.3rem;
    }
}