/* =============== Online Akademie Specifické styly =============== */
.online-academy-page {
    background: var(--bg-dark-1);
}

/* Hero sekce */
.online-hero {
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.online-hero #hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 0;
}

.hero-text-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 10;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero-separator {
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    margin: 0 auto 1.5rem;
}

.hero-description {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* Intro sekce */
.intro-section {
    background: var(--bg-dark-2);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: rgba(30, 30, 30, 0.5);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* Features sekce */
.features-section {
    padding: 6rem 0;
    background: var(--bg-dark-1);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.center-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.title-underline {
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    margin: 1rem auto 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: rgba(30, 30, 30, 0.4);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 215, 0, 0.1),
        transparent
    );
    transition: left 0.7s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(40, 40, 40, 0.6);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-title {
    color: var(--primary-color);
}

.feature-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--border-radius-md);
}

.feature-card:hover .feature-hover {
    opacity: 1;
}

/* Video sekce */
.video-section {
    padding: 6rem 0;
    position: relative;
}

.parallax-section {
    position: relative;
    overflow: hidden;
}


.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateX(5deg);
    transition: all 0.5s ease;
}

.video-wrapper:hover {
    transform: perspective(1000px) rotateX(0);
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 215, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button i {
    font-size: 2rem;
    color: #000;
}

.video-player:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 215, 0, 1);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

/* Motivační sekce */
.motivation-section {
    padding: 6rem 0;
    background: var(--bg-dark-2);
    position: relative;
    overflow: hidden;
}

.motivation-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.motivation-text {
    background: rgba(30, 30, 30, 0.6);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.motivation-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color-muted);
}

.motivation-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 1.5rem 0;
}

.motivation-text .highlight {
    font-weight: 600;
    color: var(--primary-color);
}

/* Recenze a CTA sekce */
.reviews-cta-section {
    padding: 6rem 0;
    position: relative;
    background: var(--bg-dark-1);
}

.reviews-carousel {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
}

.carousel-arrow {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1rem;
}

.carousel-arrow:hover {
    transform: scale(1.2);
}

.carousel-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 100%;
    transition: opacity 0.5s ease;
    opacity: 0;
    position: absolute;
    width: 100%;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
}

.review-card {
    background: rgba(30, 30, 30, 0.6);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.review-card h4 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.review-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color-muted);
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, rgba(30, 30, 20, 0.9), rgba(30, 30, 10, 0.9));
    border-radius: var(--border-radius-md);
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.cta-box::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle, 
        rgba(255, 215, 0, 0.05) 0%, 
        transparent 70%
    );
    animation: rotate 20s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.cta-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-description {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.primary-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(45deg, var(--primary-color), #ffac00);
    color: #111;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
/* Oprava hover efektu tlačítka */
.primary-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.primary-button.hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.pulse-effect {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

/* FAQ sekce */
.faq-section {
    padding: 6rem 0;
    background: var(--bg-dark-2);
    position: relative;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: rgba(30, 30, 30, 0.5);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.faq-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--primary-color);
}

.faq-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-color);
}

.toggle-icon {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.faq-item.active .faq-content {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-content p {
    margin: 0;
    line-height: 1.8;
    color: var(--text-color-muted);
}

/* Responzivní design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.3rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .reviews-carousel {
        flex-direction: column;
    }
    
    .carousel-arrow {
        margin: 1rem 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .online-hero {
        height: 70vh;
    }
    
    .feature-card {
        min-height: auto;
    }
    
    .faq-header h3 {
        font-size: 1rem;
    }
}

/* Motivační intro text pod videem */
.motivation-intro {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: center;
    padding: 1.5rem;
    background: rgba(30, 30, 30, 0.5);
    border-radius: var(--border-radius-md);
}

.motivation-intro p {
    font-size: 1.3rem;
    line-height: 1.6;
    font-style: italic;
    color: var(--text-color);
}

/* Sekce s benefity - 4 body */
.benefits-section {
    padding: 6rem 0;
    position: relative;
    background: var(--bg-dark-2);
}

.benefits-subtitle {
    text-align: center;
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-item {
    position: relative;
    padding: 1.5rem;
    background: rgba(30, 30, 30, 0.5);
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(40, 40, 40, 0.7);
}

.benefit-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.4;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.benefit-text {
    font-size: 1.1rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* Responzivní úpravy */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .motivation-intro p {
        font-size: 1.2rem;
    }
}

/* Oprava scrollu v hero sekci */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    animation: wheel-animation 1.5s infinite;
}

@keyframes wheel-animation {
    0% {
        transform: