/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B4CF2;
    --secondary-color: #F59E0B;
    --accent-color: #EF4444;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --text-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-dark: #111827;
    --gradient-primary: linear-gradient(135deg, #8B4CF2 0%, #EC4899 100%);
    --gradient-secondary: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode variables */
[data-theme="dark"] {
    --primary-color: #A855F7;
    --secondary-color: #FBBF24;
    --accent-color: #F87171;
    --text-dark: #F9FAFB;
    --text-light: #D1D5DB;
    --text-white: #111827;
    --bg-light: #111827;
    --bg-dark: #1F2937;
    --gradient-primary: linear-gradient(135deg, #A855F7 0%, #EC4899 100%);
    --gradient-secondary: linear-gradient(135deg, #FBBF24 0%, #F87171 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    transition: var(--transition);
}

/* Zabezpečení proti AOS overflow na mobilech */
@media (max-width: 768px) {
    [data-aos] {
        overflow-x: hidden !important;
    }
    
    .container {
        overflow-x: hidden;
    }
    
    .courses, .course-card {
        overflow-x: hidden;
    }
}

[data-theme="dark"] body {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

html {
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(139, 76, 242, 0.1);
}

[data-theme="dark"] .navbar {
    background: rgba(17, 24, 39, 0.95);
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(17, 24, 39, 0.98);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.8rem;
    cursor: pointer;
}

.nav-logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(45%) sepia(80%) saturate(5000%) hue-rotate(254deg) brightness(95%) contrast(99%);
}

/* Alternativní přístup s mask pro přesnější gradientové zbarvení */
.nav-logo-img.gradient-colored {
    height: 40px;
    width: auto;
    object-fit: contain;
    -webkit-mask: url(../images/logo.png) no-repeat center;
    -webkit-mask-size: contain;
    mask: url(../images/logo.png) no-repeat center;
    mask-size: contain;
    background: var(--gradient-primary);
}

.nav-logo h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-logo .logo-link:hover .nav-logo-img {
    transform: scale(1.05) rotate(5deg);
    transition: transform 0.3s ease;
}

.nav-logo .logo-link:hover h2 {
    opacity: 0.8;
    transform: translateX(3px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 10px;
    border-radius: 20px;
    outline: none;
}

.nav-link:focus {
    outline: none;
    box-shadow: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Dark mode button in navigation */
.dark-mode-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px 10px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    width: 36px; /* Pevná šířka pro zabránění posunu */
    align-self: center;
}

.dark-mode-text {
    display: none;
}

@media (min-width: 769px) {
    .dark-mode-btn:hover .dark-mode-text {
        display: inline;
    }
}

.dark-mode-btn:hover {
    background: rgba(139, 76, 242, 0.1);
    color: var(--primary-color);
}

[data-theme="dark"] .dark-mode-btn:hover {
    background: rgba(168, 85, 247, 0.2);
}

/* Dark mode nav-toggle */
[data-theme="dark"] .bar {
    background: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/tanecni_hlavni_1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.1"><circle cx="30" cy="30" r="2"/></g></svg>');
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--text-white);
    border-radius: 50%;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--text-white);
    border-bottom: 2px solid var(--text-white);
    transform: translateX(-50%) rotate(45deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.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: var(--transition);
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 76, 242, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.05) rotate(-0.5deg);
    box-shadow: 0 8px 25px rgba(139, 76, 242, 0.4);
}

/* Speciální styl pro btn-secondary v hero sekci */
.hero .btn-secondary {
    color: var(--text-white);
    border-color: var(--text-white);
    font-weight: 600;
}

.hero .btn-secondary:hover {
    background: var(--text-white);
    color: var(--primary-color);
    border-color: var(--text-white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 76, 242, 0.3);
}

.btn-success {
    background: var(--gradient-secondary);
    color: var(--text-white);
    box-shadow: var(--shadow-lg);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 480px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 50%, #f3f4ff 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 40%;
    height: 200%;
    background: linear-gradient(45deg, rgba(139, 76, 242, 0.03) 0%, rgba(236, 72, 153, 0.03) 100%);
    transform: rotate(15deg);
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    margin-top: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: var(--gradient-primary);
    border-radius: 30px;
    z-index: -2;
    transform: rotate(-3deg);
    transition: var(--transition);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(239, 68, 68, 0.2) 100%);
    border-radius: 30px;
    z-index: -1;
    transform: rotate(3deg);
    transition: var(--transition);
}

.about-image:hover::before {
    transform: rotate(-1deg) scale(1.02);
}

.about-image:hover::after {
    transform: rotate(1deg) scale(1.02);
}

.about-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(139, 76, 242, 0.2);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.about-image:hover img {
    transform: scale(1.03) rotate(1deg);
    box-shadow: 0 35px 70px rgba(139, 76, 242, 0.3);
}

.about-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 15px;
    opacity: 0;
    transform: translateY(-20px);
    transition: var(--transition);
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image:hover .about-overlay {
    opacity: 1;
    transform: translateY(0);
}

.about-social {
    display: flex;
    gap: 12px;
}

.about-info {
    position: relative;
}

.about-info h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.about-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.about-description {
    color: var(--text-light);
    margin-bottom: 1.8rem;
    line-height: 1.8;
    font-size: 1.05rem;
    position: relative;
    padding-left: 20px;
}

.about-description::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.about-cta {
    display: flex;
    gap: 25px;
    margin-top: 3rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(139, 76, 242, 0.3);
}

.social-link:hover {
    transform: scale(1.1);
}

/* Locations Section */
.locations {
    background: #f8f8f8;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.location-card {
    background: var(--text-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.location-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 20px 40px rgba(139, 76, 242, 0.2);
}

.location-card:hover .location-image img {
    transform: scale(1.15);
}

.location-card:hover .location-overlay {
    transform: scale(1.2) rotate(-5deg);
}

.location-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.location-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.2rem;
}

.location-overlay .map-link {
    color: var(--text-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.location-overlay .map-link:hover {
    transform: scale(1.1);
}

.location-content {
    padding: 24px;
}

.location-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.location-address {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-address i {
    color: var(--primary-color);
}

.location-address .map-link {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.location-address .map-link:hover {
    color: var(--primary-color);
}

.location-schedule h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(139, 76, 242, 0.1);
}

.day {
    font-weight: 500;
    color: var(--text-dark);
}

.time {
    color: var(--text-light);
}

/* Gallery Section */
.gallery {
    background: #ffffff;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 1;
    transform: scale(1);
}

.gallery-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 25px rgba(139, 76, 242, 0.3);
    z-index: 10;
}

.gallery-item.filtering {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    cursor: pointer;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 76, 242, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    visibility: visible;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.7) contrast(1.1);
}

.gallery-overlay i {
    color: var(--text-white);
    font-size: 2rem;
}

/* Registration Section */
.registration {
    background: #f8f8f8;
}

.registration .section-title,
.registration .section-subtitle,
.registration h3,
.registration h4,
.registration .benefit span {
    color: var(--text-dark);
}

.registration-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 48px;
    align-items: stretch; /* Zarovná divy na stejnou výšku */
}

.registration-info {
    display: flex;
    flex-direction: column;
    height: 100%; /* Zabere plnou výšku */
}

.registration-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.benefits {
    margin-bottom: 2rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.8rem;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 0.9rem;
}

.benefit:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.benefit i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
}

/* Registration specific styles */
.registration-contact {
    margin-bottom: 2rem; /* Mezera mezi kontaktními informacemi a stahováním */
}

.registration-info .download-section {
    flex-grow: 1; /* Sekce stahování zabere zbytek místa */
    display: flex;
    flex-direction: column;
}

/* Form Styles */
.registration-form-container {
    background: var(--text-white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.registration-form {
    background: var(--text-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    animation: slideInUp 0.6s ease-out;
    border: 1px solid rgba(139, 76, 242, 0.1);
    position: relative;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.form-step.active {
    display: block;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
}

.form-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.form-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

.form-section {
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(139, 76, 242, 0.02), rgba(59, 130, 246, 0.02));
    border-radius: 15px;
    border: 1px solid rgba(139, 76, 242, 0.08);
    transition: var(--transition);
}

.form-section:hover {
    border-color: rgba(139, 76, 242, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 76, 242, 0.1);
}

.form-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

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

.input-wrapper,
.select-wrapper,
.textarea-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.input-wrapper i,
.select-wrapper i:not(.select-arrow),
.textarea-wrapper i {
    color: var(--primary-color);
    font-size: 1rem;
    min-width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.input-wrapper input,
.select-wrapper select,
.textarea-wrapper textarea {
    flex: 1;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--text-white);
}

.input-wrapper input:focus,
.select-wrapper select:focus,
.textarea-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(139, 76, 242, 0.1);
    transform: translateY(-1px);
}

.input-wrapper input::placeholder,
.textarea-wrapper textarea::placeholder {
    color: var(--text-light);
    opacity: 0.8;
}

/* Date input styling */
.input-wrapper input[type="date"] {
    color: var(--text-dark);
    cursor: pointer;
}

.input-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

.input-wrapper input[type="date"]::-webkit-datetime-edit {
    color: var(--text-dark);
}

.input-wrapper input[type="date"]::-webkit-datetime-edit-text {
    color: var(--text-light);
    padding: 0 0.3em;
}

.input-wrapper input[type="date"]::-webkit-datetime-edit-month-field {
    color: var(--text-dark);
}

.input-wrapper input[type="date"]::-webkit-datetime-edit-day-field {
    color: var(--text-dark);
}

.input-wrapper input[type="date"]::-webkit-datetime-edit-year-field {
    color: var(--text-dark);
}

.input-wrapper input[type="date"]::-webkit-inner-spin-button,
.input-wrapper input[type="date"]::-webkit-clear-button {
    display: none;
}

.input-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
    color: var(--primary-color);
    opacity: 1;
}

/* Dark mode date input styling */
[data-theme="dark"] .input-wrapper input[type="date"] {
    background: var(--text-white);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .input-wrapper input[type="date"]::-webkit-datetime-edit,
[data-theme="dark"] .input-wrapper input[type="date"]::-webkit-datetime-edit-month-field,
[data-theme="dark"] .input-wrapper input[type="date"]::-webkit-datetime-edit-day-field,
[data-theme="dark"] .input-wrapper input[type="date"]::-webkit-datetime-edit-year-field {
    color: #ffffff;
}

[data-theme="dark"] .input-wrapper input[type="date"]::-webkit-datetime-edit-text {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .input-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

.select-wrapper {
    position: relative;
}

.select-wrapper .select-arrow {
    position: absolute;
    right: 16px;
    color: var(--text-light);
    font-size: 0.8rem;
    pointer-events: none;
    z-index: 2;
}

.select-wrapper select {
    appearance: none;
    cursor: pointer;
    padding-right: 45px !important;
}

.textarea-wrapper {
    align-items: flex-start;
}

.textarea-wrapper textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(139, 76, 242, 0.05), rgba(59, 130, 246, 0.05));
    border-radius: 12px;
    border: 2px solid rgba(139, 76, 242, 0.1);
    transition: var(--transition);
}

.checkbox-wrapper:hover {
    border-color: rgba(139, 76, 242, 0.2);
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-label .checkbox-custom {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-label .checkbox-custom::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.5;
}

.checkbox-text {
    flex: 1;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}

.form-navigation .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-navigation .btn:only-child {
    margin-left: auto;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    min-width: 250px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(139, 76, 242, 0.4);
}

/* Progress indikátor */
.form-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    gap: 1rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.progress-step span {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.progress-step.active span {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(139, 76, 242, 0.3);
}

.progress-step small {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    text-align: center;
}

.progress-step.active small {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-line {
    width: 60px;
    height: 3px;
    background: #e5e7eb;
    border-radius: 2px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
    background-color: #ffffff;
    color: #1F2937;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 76, 242, 0.1);
    transform: scale(1.02);
}

.radio-group,
.checkbox-group {
    display: grid;
    gap: 12px;
}

.radio-item,
.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.radio-item:hover,
.checkbox-item:hover {
    border-color: var(--primary-color);
    background: rgba(139, 76, 242, 0.05);
}

.radio-item input,
.checkbox-item input {
    width: auto;
    margin: 0;
}

.radio-item label,
.checkbox-item label {
    margin: 0;
    cursor: pointer;
    flex: 1;
}

.radio-title {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.radio-description {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
}

.checkbox-group {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.terms-link,
.privacy-link {
    color: var(--primary-color);
    text-decoration: none;
}

.terms-link:hover,
.privacy-link:hover {
    text-decoration: underline;
}

/* Contact Info Section */
.registration-contact {
    background: var(--gradient-primary);
    padding: 2rem;
    margin-top: 2rem;
    border-radius: 15px;
    color: var(--text-white);
    max-width: 500px;
}

.registration-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.registration-contact p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    opacity: 0.9;
}

.registration-contact .contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.registration-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.registration-contact .contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.registration-contact .contact-item i {
    font-size: 1rem;
    color: var(--text-white);
    opacity: 0.8;
    min-width: 20px;
}

.registration-contact .contact-item a {
    color: var(--text-white);
    text-decoration: none;
}

.registration-contact .contact-item a:hover {
    text-decoration: underline;
}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, rgba(139, 76, 242, 0.05), rgba(59, 130, 246, 0.05));
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.2rem;
    border: 1px solid rgba(139, 76, 242, 0.1);
    transition: var(--transition);
}

.download-section:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(139, 76, 242, 0.08);
}

.download-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-section h3 i {
    color: var(--primary-color);
    font-size: 1rem;
}

.download-section > p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.download-cards {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.download-card {
    background: var(--text-white);
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(139, 76, 242, 0.12);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: var(--transition);
    transform-origin: bottom;
}

.download-card:hover {
    border-color: rgba(139, 76, 242, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 76, 242, 0.08);
}

.download-card:hover::before {
    transform: scaleY(1);
}

.download-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(239, 68, 68, 0.12));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc2626;
    font-size: 1.1rem;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.download-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 0;
}

.download-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    min-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.download-content p {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    line-height: 1.4;
}

.download-btn {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition);
    white-space: nowrap;
}

.download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(139, 76, 242, 0.15);
}

.download-note {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 6px;
    padding: 0.6rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-dark);
    font-size: 0.8rem;
    line-height: 1.3;
}

.download-note i {
    color: #3b82f6;
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--border-radius);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--text-white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.modal-nav-btn {
    background: rgba(139, 76, 242, 0.8);
    color: var(--text-white);
    border: none;
    padding: 15px 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
    pointer-events: auto;
}

.modal-nav-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer-section h3 {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: #9CA3AF;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social .social-link {
    width: 45px;
    height: 45px;
    background: rgba(139, 76, 242, 0.2);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social .social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px) scale(1.15) rotate(10deg);
    box-shadow: 0 8px 20px rgba(139, 76, 242, 0.4);
}
#mujweb {
    color: var(--primary-color);
    text-decoration: none;
    font-family:"audiowide", sans-serif;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #9CA3AF;
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px) scale(1.05);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(139, 76, 242, 0.2);
    color: #9CA3AF;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

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

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

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

/* Gallery Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    text-align: center;
    animation: bounceIn 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

#modal-image {
    max-width: 85vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

/* Pro desktop větší obrázky */
@media (min-width: 1024px) {
    #modal-image {
        max-width: 80vw;
        max-height: 80vh;
    }
}

/* Pro menší obrazovky zachovat původní velikost */
@media (max-width: 768px) {
    #modal-image {
        max-width: 95vw;
        max-height: 80vh;
    }
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.modal-nav-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-nav-btn:hover {
    background: var(--text-white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 30px 0 40px 0;
        z-index: 999;
        height: auto;
        max-height: 70vh;
        overflow-y: auto;
        border-radius: 0 0 20px 20px;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .nav-item {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-link {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        border-radius: 0;
        margin: 0;
        text-align: center;
        width: 100%;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
        border-right: 3px solid transparent;
    }

    .nav-link:hover {
        background: rgba(139, 76, 242, 0.1);
        border-left: 3px solid var(--primary-color);
        transform: translateX(2px);
    }
    
    .dark-mode-btn {
        width: 90% !important;
        margin: 10px auto 0 auto !important;
        justify-self: center;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 15px 20px !important;
        border-radius: 8px !important;
        background: rgba(139, 76, 242, 0.15) !important;
        transition: var(--transition);
        font-size: 1.1rem !important;
        color: var(--primary-color) !important;
        border: 2px solid rgba(139, 76, 242, 0.2) !important;
    }

    .dark-mode-btn:hover {
        background: rgba(139, 76, 242, 0.25) !important;
        border-color: var(--primary-color) !important;
        transform: translateY(-2px);
    }
    
    .dark-mode-text {
        display: none;
    }
    
    @media (max-width: 768px) {
        .dark-mode-text {
            display: inline !important;
        }
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        border-radius: 0;
        margin: 0;
    }

    .nav-link:hover {
        background: rgba(139, 76, 242, 0.1);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .about-image::before,
    .about-image::after {
        display: none;
    }

    .about-info::before {
        display: none;
    }

    .about-info h3 {
        font-size: 1.8rem;
    }

    .about-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-description {
        padding-left: 0;
    }

    .about-description::before {
        display: none;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .registration-content {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: normal; /* Resetuje stretch na mobilních zařízeních */
    }

    .registration-info {
        height: auto; /* Automatická výška na mobilních zařízeních */
    }

    .registration-contact {
        margin-bottom: 1.5rem; /* Menší mezera na mobilních zařízeních */
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }

    .registration-form-container {
        padding: 30px 20px;
    }

    /* Download section responsive */
    .download-section {
        padding: 0.8rem;
        margin-top: 0.8rem;
    }

    .download-section h3 {
        font-size: 1rem;
    }

    .download-cards {
        flex-direction: column;
        gap: 0.6rem;
    }

    .download-card {
        padding: 0.7rem;
        flex-direction: row;
        text-align: left;
        gap: 0.6rem;
        border-radius: 6px;
    }

    .download-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        border-radius: 6px;
    }

    .download-content {
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }

    .download-content h4 {
        font-size: 0.9rem;
        min-width: 100px;
    }

    .download-content p {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
    }

    .download-btn {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .download-note {
        padding: 0.5rem;
        font-size: 0.75rem;
        flex-direction: column;
        text-align: center;
        gap: 0.4rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .modal-nav-btn {
        padding: 10px 15px;
        font-size: 1.2rem;
    }

    .registration-contact {
        max-width: 100%;
        padding: 1.5rem;
        margin-top: 1rem;
    }

    .registration-contact h3 {
        font-size: 1.3rem;
    }

    .registration-form {
        padding: 2rem 1.5rem;
    }

    .form-header h3 {
        font-size: 1.6rem;
    }

    .form-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .form-section h4 {
        font-size: 1.2rem;
    }

    .input-wrapper input,
    .select-wrapper select,
    .textarea-wrapper textarea {
        padding: 14px;
        font-size: 0.95rem;
    }

    .btn-large {
        min-width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
    }

    .checkbox-wrapper {
        padding: 1.2rem;
    }

    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .form-navigation .btn {
        width: 100%;
        justify-content: center;
    }

    .form-progress {
        margin-top: 2rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .progress-step span {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .progress-step small {
        font-size: 0.7rem;
    }

    .progress-line {
        width: 30px;
        order: 1;
    }

    .progress-step:nth-child(odd) {
        order: 0;
    }

    .modal-content {
        max-width: 95%;
        max-height: 85%;
    }

    .modal-nav-btn {
        font-size: 1.2rem;
        padding: 12px 16px;
    }

    .modal-close {
        top: -30px;
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-indicator,
    .hero-buttons,
    .form-navigation,
    .modal {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }

    .hero {
        height: auto;
        padding: 50px 0;
    }

    .hero-background,
    .hero-overlay {
        display: none;
    }

    .hero-title,
    .hero-subtitle {
        color: #000;
    }

    section {
        padding: 30px 0;
        page-break-inside: avoid;
    }

    .section-title {
        color: #000;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.filter-btn:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Odstranit focus outline z navigačních odkazů */
.nav-link:focus {
    outline: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000FF;
        --secondary-color: #FF8C00;
        --text-dark: #000000;
        --text-light: #333333;
    }
}

/* Kurzy Section */
.courses {
    padding: 6rem 0;
    background: #ffffff;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.6rem;
    margin-top: 2.4rem;
}

.course-card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(139, 69, 199, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: 1px solid rgba(139, 69, 199, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    transform-origin: center center;
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-20px) scale(1.08) rotate(0deg) !important;
    box-shadow: 0 25px 50px rgba(139, 76, 242, 0.3) !important;
    border-color: rgba(139, 76, 242, 0.2) !important;
}

.course-card:nth-child(2):hover {
    transform: translateY(-20px) scale(1.08) rotate(0deg) !important;
    box-shadow: 0 25px 50px rgba(139, 76, 242, 0.3) !important;
}

.course-card:nth-child(3):hover {
    transform: translateY(-20px) scale(1.08) rotate(0deg) !important;
    box-shadow: 0 25px 50px rgba(139, 76, 242, 0.3) !important;
}

.course-card:nth-child(4):hover {
    transform: translateY(-20px) scale(1.08) rotate(0deg) !important;
    box-shadow: 0 25px 50px rgba(139, 76, 242, 0.3) !important;
}

.course-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.02);
}

.course-card.featured:hover {
    transform: translateY(-20px) scale(1.08) rotate(0deg) !important;
    box-shadow: 0 30px 60px rgba(139, 76, 242, 0.4) !important;
}

.course-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem;
    text-align: center;
}

.course-header h3 {
    margin: 0 0 0.3rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.course-content {
    padding: 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
}

.course-features li {
    padding: 0.4rem 0;
    position: relative;
    padding-left: 1.2rem;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.course-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.8rem;
}

.course-locations h4 {
    color: var(--text-dark);
    margin: 0 0 0.8rem 0;
    font-size: 1rem;
}

.location-schedule {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.location-schedule span {
    padding: 0.5rem 1rem;
    background: rgba(139, 69, 199, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.course-location-detail {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem;
    background: rgba(139, 69, 199, 0.08);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.course-location-detail:hover {
    background: rgba(139, 69, 199, 0.12);
    transform: translateX(5px);
}

.course-location-detail .location-name {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.course-location-detail .schedule-detail {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.course-location-detail .location-venue {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Course Poster Styles */
.course-poster {
    margin-top: 1.5rem;
    padding: 0.8rem;
    background: linear-gradient(135deg, rgba(139, 76, 242, 0.08) 0%, rgba(236, 72, 153, 0.08) 100%);
    border-radius: 12px;
    border: 2px solid rgba(139, 76, 242, 0.2);
}

.poster-preview-link {
    display: block;
    text-decoration: none;
    position: relative;
}

.poster-embed {
    position: relative;
    width: 100%;
    height: 300px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.poster-embed:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 76, 242, 0.25);
}

.pdf-preview {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

.poster-overlay-hint {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(139, 76, 242, 0.95), rgba(139, 76, 242, 0.7));
    color: white;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.poster-embed:hover .poster-overlay-hint {
    opacity: 1;
}

.poster-overlay-hint i {
    font-size: 1.2rem;
}

[data-theme="dark"] .poster-embed {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 76, 242, 0.3);
}

@media (max-width: 768px) {
    .poster-embed {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .poster-embed {
        height: 200px;
    }
}

.location-info {
    margin: 1rem 0;
}

.location-info p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.location-info i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.course-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(219, 39, 119, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.course-note p {
    margin: 0;
    font-style: italic;
    color: var(--text-dark);
}

.course-action {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(139, 69, 199, 0.1);
    text-align: center;
}

.course-action .btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .course-card.featured {
        transform: none;
    }
    
    /* Zakázat všechny hover animace kurzů na mobilních zařízeních */
    .course-card:hover,
    .course-card:nth-child(2):hover,
    .course-card:nth-child(3):hover,
    .course-card:nth-child(4):hover,
    .course-card.featured:hover {
        transform: none !important;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
        border-color: rgba(139, 76, 242, 0.1) !important;
    }
}

/* Kotvy pro navigaci - zabrání zakrytí nadpisů sekcí */
section[id] {
    scroll-margin-top: 40px; /* Navigace extra prostor */
}

/* Pro mobilní zařízení více prostoru */
@media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 50px; /* Navigace na mobilu je menší */
    }
}

/* Alternativně také přidáme padding-top pro sekce mimo hero */
.about,
.locations,
.courses,
.registration,
.gallery {
    padding-top: 6rem; /* Zvětšení mezery mezi sekcemi */
    padding-bottom: 6rem;
}

/* Pro mobilní zařízení */
@media (max-width: 768px) {
    .about,
    .locations,
    .courses,
    .registration,
    .gallery {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Dark mode specific styles */
[data-theme="dark"] {
    color-scheme: dark;
}

/* Hero section dark mode */
[data-theme="dark"] .hero-title {
    color: #FFFFFF !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

[data-theme="dark"] .hero-subtitle {
    color: #F3F4F6 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .hero-content h1,
[data-theme="dark"] .hero-content p {
    color: #FFFFFF !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .btn-secondary {
    background: rgba(17, 24, 39, 0.8);
    color: #FFFFFF !important;
    border: 2px solid var(--primary-color);
}

[data-theme="dark"] .btn-outline {
    color: var(--text-white);
    border-color: rgba(168, 85, 247, 0.6);
}

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

/* About section dark mode */
[data-theme="dark"] .about {
    background: var(--bg-dark) !important;
}

[data-theme="dark"] .about::before {
    display: none !important;
}

[data-theme="dark"] .section-title,
[data-theme="dark"] .section-subtitle {
    color: var(--text-dark) !important;
}

[data-theme="dark"] .about-info h3,
[data-theme="dark"] .about-description {
    color: var(--text-dark) !important;
}

[data-theme="dark"] .about-overlay {
    background: rgba(17, 24, 39, 0.9);
}

[data-theme="dark"] .about-social .social-link {
    background: var(--bg-light);
    border: 1px solid var(--primary-color);
    color: var(--text-dark);
}

[data-theme="dark"] .about-social .social-link:hover {
    background: var(--primary-color);
    color: #FFFFFF;
}

[data-theme="dark"] .locations,
[data-theme="dark"] .courses,
[data-theme="dark"] .registration,
[data-theme="dark"] .gallery {
    background: var(--bg-light) !important;
}

[data-theme="dark"] .footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(168, 85, 247, 0.2);
}

/* Footer dark mode improvements */
[data-theme="dark"] .footer-content,
[data-theme="dark"] .footer-section h4,
[data-theme="dark"] .footer-section p,
[data-theme="dark"] .contact-item span,
[data-theme="dark"] .footer-links a {
    color: var(--text-dark);
}

[data-theme="dark"] .footer-social .social-link {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

[data-theme="dark"] .footer-bottom {
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    color: var(--text-light);
}

[data-theme="dark"] .card,
[data-theme="dark"] .location-card,
[data-theme="dark"] .course-card {
    background: var(--bg-dark);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

[data-theme="dark"] .registration-form {
    background: var(--bg-dark);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
    background: var(--bg-light);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: var(--text-dark);
}

[data-theme="dark"] input:focus,
[data-theme="dark"] select:focus,
[data-theme="dark"] textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

[data-theme="dark"] .modal-content {
    background: var(--bg-dark);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

[data-theme="dark"] .gallery-overlay {
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

[data-theme="dark"] .gallery-item:hover {
    box-shadow: 0 12px 25px rgba(168, 85, 247, 0.4);
}

[data-theme="dark"] .gallery-item:hover img {
    filter: brightness(0.6) contrast(1.2) saturate(1.1);
}

[data-theme="dark"] .gallery-overlay i {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* Download section dark mode */
[data-theme="dark"] .download-section {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(79, 70, 229, 0.08));
    border-color: rgba(168, 85, 247, 0.25);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .download-section:hover {
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.15);
}

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

[data-theme="dark"] .download-section > p,
[data-theme="dark"] .download-content p {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .download-card {
    background: var(--bg-dark);
    border-color: rgba(168, 85, 247, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .download-card:hover {
    border-color: rgba(168, 85, 247, 0.35);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.15);
}

[data-theme="dark"] .download-note {
    background: rgba(79, 70, 229, 0.12);
    border-color: rgba(79, 70, 229, 0.3);
    color: var(--text-dark);
}

[data-theme="dark"] .download-btn {
    color: var(--text-dark);
    border-color: rgba(168, 85, 247, 0.4);
    background: rgba(168, 85, 247, 0.05);
}

[data-theme="dark"] .download-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.25);
}

/* Dark mode styles for course location details */
[data-theme="dark"] .course-location-detail {
    background: rgba(168, 85, 247, 0.1);
    border-left-color: var(--primary-color);
}

[data-theme="dark"] .course-location-detail:hover {
    background: rgba(168, 85, 247, 0.15);
}

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

[data-theme="dark"] .course-location-detail .location-venue {
    color: rgba(255, 255, 255, 0.6);
}

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

/* Mobile dark mode navigation */
@media (max-width: 768px) {
    [data-theme="dark"] .nav-menu {
        background: rgba(17, 24, 39, 0.95);
        border: 1px solid rgba(168, 85, 247, 0.2);
        max-height: 70vh;
        overflow-y: auto;
    }
    
    [data-theme="dark"] .nav-link {
        color: var(--text-dark);
    }
    
    [data-theme="dark"] .nav-link:hover {
        color: var(--primary-color);
        background: rgba(168, 85, 247, 0.1);
    }
    
    [data-theme="dark"] .dark-mode-btn {
        background: rgba(168, 85, 247, 0.25) !important;
        color: var(--text-dark) !important;
        border-color: rgba(168, 85, 247, 0.5) !important;
    }
    
    [data-theme="dark"] .dark-mode-btn:hover {
        background: rgba(168, 85, 247, 0.35) !important;
    }
}

/* Quote text responsive alignment */
.quote-text {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--primary-color);
    text-align: left;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .quote-text {
        text-align: center;
    }
}
