/* Úpravy pro tisk */
@media print {
    .header,
    .hero-benefits,
    .scroll-top,
    .mobile-menu,
    .hamburger,
    video,
    iframe {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 10pt;
    }
}

/* Podpora vysokého kontrastu */
@media (prefers-contrast: high) {
    :root {
        --accent: #ffff00;
        --darkest: #000000;
        --white: #ffffff;
    }

    .btn {
        border: 2px solid currentColor;
    }
}

/* Mobile Styles Sheet */

/* ===== TABLET & LARGE SCREENS (max-width: 1024px) ===== */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 20px;
        min-width: 0 !important;
    }

    /* Header & Navigation */
    .header-info,
    .header-phone {
        display: none;
    }

    .header-inner {
        justify-content: space-between;
        position: relative;
    }
    .hero-daniel {
        display: none;
    }

    /* Hamburger Button */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1002;
    }

    .hamburger span {
        width: 100%;
        height: 3px;
        background: var(--white);
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Mobile Menu Overlay */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: var(--darkest);
        z-index: 1001;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        display: flex;
        align-items: stretch;
        justify-content: center;
        padding: 60px 20px 24px;
        overflow-y: auto;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    .mobile-menu-inner {
        text-align: center;
        width: 100%;
        min-height: 100%;
        display: flex;
        flex-direction: column;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 25px;
        margin: auto 0 24px;
    }

    .mobile-link {
        font-family: "Jockey One", sans-serif;
        font-size: 28px;
        color: var(--white);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .mobile-link:hover {
        color: #fff;
    }

    .mobile-social {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: auto;
    }

    .mobile-social a svg {
        width: 32px;
        height: 32px;
        fill: var(--accent);
    }

    /* Hero */
    .hero-title {
        font-size: 40px;
    }

    /* Steps */
    .steps {
        height: auto;
        padding: 60px 0;
    }

    .steps-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px;
    }

    .step-card {
        margin-top: 0 !important;
        padding: 20px;
        background: #f9f9f9;
        border-radius: 0;
    }

    /* Courses */
    .courses,
    .courses .container,
    .courses-grid,
    .course-card {
        overflow: visible;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px;
    }

    /* Pros & Cons */
    .proscons {
        padding: 60px 0 20px;
    }

    .proscons-grid {
        gap: 30px;
    }

    .proscons-image img {
        max-width: 300px;
    }

    .proscons-text {
        max-width: 220px;
    }

    /* Individual Card (Merged from 1100px) */
    .individual-card {
        transform: translateX(280px);
    }
}

/* ===== TABLET PORTRAIT (max-width: 900px) ===== */
@media screen and (max-width: 900px) {
    /* Hero */
    .hero {
        min-height: auto;
        padding-bottom: 60px;
        background-position: center;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-inner .container {
        justify-content: center;
    }

    .hero-content {
        padding: 30px 20px;
        background: rgba(19, 18, 17, 0.7);
        border-radius: 10px;
        margin: 20px 0;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-buttons .btn-outline:first-child,
    .hero-buttons .btn-outline:last-child {
        font-size: 13px;
    }

    .hero-people,
    .hero-benefits,
    .hero-video {
        display: none !important;
    }

    /* Tryout Form */
    .tryout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tryout-connector {
        display: none;
    }

    .tryout-form form {
        margin: 0 auto;
        transform: none;
    }

    .tryout-form {
        width: 100%;
        transform: none;
    }

    .tryout-title {
        font-size: 34px;
    }
    .tryout-title::before {
        width: 116%;
        bottom: 47px;
    }

    .tryout-subtitle {
        transform: none;
        margin-top: 5px;
    }

    /* Get Started */
    .getstarted-grid {
        display: flex;
        flex-direction: column;
    }

    .getstarted-left,
    .getstarted-right {
        padding-top: 0;
        margin: 0 auto;
    }

    /* Guidebook */
    .guidebook-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .guidebook-image {
        text-align: center;
    }

    .guidebook-image img {
        max-width: 340px;
        margin: 0 auto;
    }

    /* Courses */
    .courses {
        overflow: visible;
    }

    .courses .container {
        min-width: 0 !important;
        overflow: visible;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        overflow: visible;
        padding-top: 6px;
    }

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

    .course-card {
        overflow: visible;
    }

    .courses-disclaimer {
        width: auto;
    }

    /* Štítek VHODNÉ PRO ZAČÁTEČNÍKY – stejný vzhled jako na PC (iOS/WebKit) */
    .course-badge {
        position: absolute;
        top: -18px;
        left: 14px;
        z-index: 2;
        background: linear-gradient(
            145deg,
            #1a1918 0%,
            var(--darkest) 55%,
            #0d0c0c 100%
        );
        color: #fff;
        font-family: "Nunito", sans-serif;
        font-size: 14px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        padding: 10px 22px 9px;
        border: 0;
        border-radius: 0;
        -webkit-transform: rotate(-4deg);
        transform: rotate(-4deg);
        -webkit-transform-origin: 55% 50%;
        transform-origin: 55% 50%;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        box-shadow:
            0 3px 0 rgba(19, 18, 17, 0.55),
            0 6px 16px rgba(19, 18, 17, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.06);
        -webkit-animation: badgeAttention 3.2s infinite ease-in-out;
        animation: badgeAttention 3.2s infinite ease-in-out;
    }

    @keyframes badgeAttention {
        0%,
        72%,
        100% {
            -webkit-transform: rotate(-4deg) scale(1);
            transform: rotate(-4deg) scale(1);
            box-shadow:
                0 3px 0 rgba(19, 18, 17, 0.55),
                0 6px 16px rgba(19, 18, 17, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
        }

        74% {
            -webkit-transform: rotate(-4deg) scale(1.08);
            transform: rotate(-4deg) scale(1.08);
            box-shadow:
                0 4px 0 rgba(19, 18, 17, 0.5),
                0 10px 26px rgba(19, 18, 17, 0.45),
                0 0 28px rgba(219, 226, 102, 0.42),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
        }

        78% {
            -webkit-transform: rotate(-4deg) scale(1);
            transform: rotate(-4deg) scale(1);
            box-shadow:
                0 3px 0 rgba(19, 18, 17, 0.55),
                0 6px 16px rgba(19, 18, 17, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
        }

        81% {
            -webkit-transform: rotate(-4deg) scale(1.04);
            transform: rotate(-4deg) scale(1.04);
        }

        85% {
            -webkit-transform: rotate(-4deg) scale(1);
            transform: rotate(-4deg) scale(1);
        }
    }

    /* Advantages */
    .advantages .container {
        min-width: 0 !important;
    }

    .advantages-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }

    .advantage-item {
        max-width: 45%;
        margin-bottom: 20px;
    }

    .advantages-row-3 .advantage-item:first-of-type .advantage-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 15px;
    }

    /* Testimonials */
    .testimonials {
        padding: 10px 0 60px;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .testimonials-slider {
        touch-action: pan-y;
    }

    .testimonials-nav {
        margin-top: 0;
        flex-direction: column;
        gap: 20px;
    }

    .testimonials-arrows .testimonials-arrow {
        width: 36px;
        height: 44px;
    }

    .testimonials-arrows .testimonials-arrow svg {
        width: 14px;
        height: 22px;
    }

    .testimonials-header {
        margin-bottom: 10px;
    }

    .testimonials-title {
        font-size: 30px;
    }

    .btn.btn-accent.tryout-scroll {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Photos Infinite Loop */
    .photos {
        padding: 20px 0;
        overflow: hidden;
    }

    .photos .container {
        min-width: 0 !important;
        width: 100%;
        position: relative;
        height: 300px;
    }

    .photos-grid {
        display: block !important;
        position: relative;
        width: 100%;
        height: 100%;
    }

    .photo-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        animation: galleryFade 32s infinite;
    }

    .photo-item img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .photo-item:nth-child(1) {
        animation-delay: 0s;
    }

    .photo-item:nth-child(2) {
        animation-delay: 4s;
    }

    .photo-item:nth-child(3) {
        animation-delay: 8s;
    }

    .photo-item:nth-child(4) {
        animation-delay: 12s;
    }

    .photo-item:nth-child(5) {
        animation-delay: 16s;
    }

    .photo-item:nth-child(6) {
        animation-delay: 20s;
    }

    .photo-item:nth-child(7) {
        animation-delay: 24s;
    }

    .photo-item:nth-child(8) {
        animation-delay: 28s;
    }

    .photos-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 20;
        width: 90%;
        text-align: center;
        background: rgba(19, 18, 17, 0.85);
        padding: 20px;
    }

    .photos-text {
        font-size: 18px;
        white-space: normal;
    }

    .photos[data-gallery-empty="true"] .photo-item:not(:first-child) {
        display: none;
    }

    .photos[data-gallery-empty="true"] .photo-item:first-child {
        position: relative;
        opacity: 1;
        animation: none;
        z-index: 2;
    }

    /* Individual Footer */
    .individual-footer {
        display: flex;
        flex-direction: column;
    }

    .individual-section {
        padding: 40px 0 0;
    }

    .individual-content {
        max-width: 100%;
        text-align: center;
        padding-top: 0;
        margin-bottom: 40px;
        transform: none;
    }

    .individual-content:before {
        display: none;
    }

    .individual-title {
        margin: 0 auto 25px;
        text-align: center;
    }

    .individual-card {
        position: static;
        transform: none;
        margin: 0 auto;
        width: 100%;
        max-width: 450px;
        background: transparent;
    }

    .footer-section {
        padding-top: 0;
        margin-top: -20px;
        background-image: none;
        background-color: var(--darkest);
    }

    .footer-contact-area {
        padding-top: 80px;
        padding-bottom: 20px;
        line-height: 2.4;
    }

    .footer-bottom {
        padding-top: 10px;
    }

    .footer-contact-area a {
        margin: 0 auto;
    }

    .footer-owner {
        text-align: center;
        padding-left: 0;
    }

    .footer-bottom-inner {
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
    }

    .footer-left,
    .footer-right {
        width: 100%;
        text-align: center;
        max-width: 100%;
    }

    .footer-social,
    .footer-links {
        justify-content: center;
    }

    .footer-left {
        flex-direction: column;
        align-items: center;
    }

    .footer-phone,
    .footer-email {
        justify-content: center;
    }

    .footer-social-label {
        display: block;
        text-align: center;
    }
}

/* ===== MOBILE LANDSCAPE (max-width: 768px) ===== */
@media screen and (max-width: 768px) {
    .tryout {
        padding-top: 64px;
    }

    .hero-address-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        margin-top: 38px;
        color: #fff;
        font-size: 14px;
        line-height: 1.4;
        text-align: center;
    }

    .hero-address-title {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 4px;
        color: #fff;
        font-family: 'Jockey One', sans-serif;
        font-size: 22px;
        font-weight: 400;
        line-height: 1.1;
    }

    .hero-address-title svg {
        width: 20px;
        height: 20px;
        flex: 0 0 auto;
        fill: var(--accent);
    }

    .hero-address-map-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 32px;
        margin-top: 8px;
        padding: 5px 12px;
        border: 1px solid #fff;
        border-radius: 0;
        background: transparent;
        color: #fff;
        font-size: 12px;
        line-height: 1.2;
        text-decoration: none;
    }

    .hero-address-map-link:hover,
    .hero-address-map-link:focus-visible {
        background: rgba(255, 255, 255, 0.12);
    }

    .footer-address-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        margin-top: 18px;
        color: #fff;
        font-size: 13px;
        line-height: 1.4;
        text-align: center;
    }

    .footer-address-title {
        display: flex;
        align-items: center;
        gap: 7px;
        margin: 0 0 3px;
        color: #fff;
        font-family: 'Jockey One', sans-serif;
        font-size: 28px;
        font-weight: 400;
        line-height: 1.1;
    }

    .footer-address-title svg {
        width: 28px;
        height: 28px;
        flex: 0 0 auto;
        fill: var(--accent);
    }

    .footer-contact-area .footer-address-map-link {
        margin-top: 8px;
    }

    /* Hero */
    .hero-inner {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-daniel {
        margin-top: 30px;
    }

    /* Steps */
    .steps .container {
        max-width: 1140px;
        padding: 0 20px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 16px;
    }

    .step-card {
        min-height: 0;
        margin-top: 0 !important;
        padding: 0 4px;
        background: transparent;
    }

    .step-header {
        gap: 10px;
        margin-bottom: 10px;
    }

    .step-number {
        min-width: 28px;
        height: 28px;
        padding-left: 6px;
        font-size: 21px;
    }

    .step-title {
        font-size: 19px;
        margin: 0;
    }

    .step-text {
        color: #777;
        font-size: 14px;
        line-height: 1.4;
    }

    .step-connector,
    .connector-1,
    .connector-2,
    .connector-3 {
        display: none;
    }

    /* Courses */
    .courses-grid {
        grid-template-columns: 1fr !important;
    }

    .courses-cta-wrapper {
        width: 100%;
        min-width: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .courses-cta-btn,
    .courses-individual-link {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        white-space: normal;
        text-align: center;
    }

    .courses-cta-btn {
        justify-content: center;
        padding-right: 20px;
        padding-left: 20px;
    }

    /* Individual */
    .individual-content h2 {
        font-size: 30px;
    }

    /* Pros & Cons */
    .proscons-grid {
        grid-template-columns: 1fr;
        gap: 0px;
    }

    .proscons-column {
        order: 2;
        gap: 10px;
    }

    .proscons-image {
        order: 1;
        text-align: center;
        padding-bottom: 40px;
    }

    .proscons-image img {
        margin: 0 auto;
        transform: translateX(20px);
    }

    .proscons-pros,
    .proscons-cons {
        text-align: left;
    }

    .proscons-pros .proscons-item,
    .proscons-cons .proscons-item {
        align-items: flex-start;
    }

    .proscons-text {
        max-width: 100%;
        padding: 20px 10px;
    }

    .proscons-pros .proscons-item:nth-child(2),
    .proscons-cons .proscons-item:nth-child(2) {
        transform: translateX(0);
    }

    .proscons-title {
        background: 0;
        color: var(--darkest);
        margin: 0 auto;
        text-align: center;
        padding: 10px 15px 2px 15px;
        border-bottom: 3px solid var(--accent);
    }

    .proscons-item:nth-child(3) .pros-title {
        padding: 5px 15px;
        box-shadow: none;
    }

    /* FAQ */
    .faq-title {
        font-size: 30px;
    }

    .faq-question-text {
        font-size: 16px;
    }

    .faq-answer p {
        font-size: 14px;
        padding-left: 35px;
    }

    /* Subtitle transformations */
    .tryout-subtitle,
    .guidebook-subtitle {
        transform: none !important;
        text-align: center;
    }
}

/* ===== MOBILE PORTRAIT (max-width: 600px) ===== */
@media screen and (max-width: 600px) {
    /* Steps */
    .steps {
        display: none;
    }

    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px 12px;
    }

    .step-card {
        min-height: 0;
        padding: 0 2px;
        background: transparent;
    }

    .step-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
        text-align: left;
        margin-bottom: 8px;
    }

    .step-number {
        min-width: 26px;
        height: 26px;
        padding-left: 6px;
        font-size: 21px;
        margin: 0;
    }

    .step-title {
        font-size: 19px;
        line-height: 1;
        margin: 0;
    }

    .step-text {
        color: #777;
        font-size: 14px;
        line-height: 1.4;
    }

    /* Advantages */
    .advantage-item {
        max-width: 100%;
    }

    /* Guidebook */
    .guidebook {
        padding: 20px 0;
    }

    .guidebook-title {
        font-size: 26px;
    }

    .guidebook-title span::before {
        width: 100%;
        bottom: 5px;
    }

    .guidebook-subtitle {
        font-size: 20px;
    }
    .guidebook-form {
        width: 100%;
    }

    .guidebook-form-row {
        flex-direction: column;
    }

    .guidebook-form-row input {
        padding: 15px;
    }

    .guidebook-form-row .btn {
        width: 100%;
        padding: 15px;
        margin-top: 20px;
    }

    /* Individual */
    .individual-title {
        font-size: 32px;
    }

    /* Footer */
    .footer-phone span {
        font-size: 28px;
    }

    .footer-email span {
        font-size: 24px;
    }

    .footer-social-label {
        font-size: 20px;
    }

    .footer-links {
        gap: 15px;
    }
}

/* ===== SMALL MOBILE (max-width: 500px) ===== */
@media screen and (max-width: 500px) {
    .advantage-item {
        max-width: 100%;
        width: 100%;
    }

    .testimonials-nav {
        flex-direction: column;
        gap: 20px;
    }

    .testimonials-title {
        font-size: 26px;
    }
}

/* ===== EXTRA SMALL MOBILE (max-width: 480px) ===== */
@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-text {
        font-size: 14px;
        line-height: 1.6;
    }
    .hero-text br {
        display: none;
    }

    .btn {
        padding: 12px 20px;
        font-size: 11px;
    }

    .getstarted-buttons {
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .faq-title {
        font-size: 26px;
    }

    .faq-question-text {
        font-size: 15px;
    }

    .individual-card {
        padding: 0 10px;
    }

    .individual-form input {
        text-align: center;
    }
}

/* Animations */
@keyframes galleryFade {
    0% {
        opacity: 0;
        z-index: 1;
    }

    2% {
        opacity: 1;
        z-index: 2;
    }

    12.5% {
        opacity: 1;
        z-index: 2;
    }

    14.5% {
        opacity: 0;
        z-index: 1;
    }

    100% {
        opacity: 0;
        z-index: 1;
    }
}
