/* =============== Pro Kluby Specifické styly =============== *//* Oprava přesahu na pravé straně stránky */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Oprava hero sekce */
.club-hero {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
}

/* Opravy specifických prvků, které mohou přesahovat */
.scroll-indicator {
    max-width: 100%;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

/* Oprava přesahujících obrázků */
img {
    max-width: 100%;
    height: auto;
}

/* Oprava .container, aby nepřesahoval */
.container {
    width: 100%;
    max-width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Oprava pro GSAP animace, které mohou způsobovat přesahy */
.gsap-animated {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

/* Úprava hero sekce pro různé velikosti mobilních zařízení */

/* Základní úprava pro všechna mobilní zařízení */
@media (max-width: 768px) {
    .club-hero {
        padding-top: 60px; /* Menší padding na základní úrovni */
        height: auto; /* Automatická výška místo pevné */
        min-height: 80vh; /* Minimální výška jako procento výšky viewportu */
    }
    
    .hero-content {
        padding-top: 10px; /* Menší odsazení obsahu */
    }
}

/* Specifické úpravy pro střední velikost telefonů (iPhone 12, podobné velikosti) */
@media (min-width: 375px) and (max-width: 428px) {
    .club-hero {
        padding-top: 50px; /* Ještě menší padding pro iPhone 12 a podobně */
    }
    
    .hero-title {
        margin-top: 15px; /* Menší mezera nad nadpisem */
    }
}

/* Úpravy pro menší telefony */
@media (max-width: 374px) {
    .club-hero {
        padding-top: 70px; /* Větší padding pro velmi malé telefony, kde je navbar možná vyšší */
        min-height: 85vh;
    }
    
    .hero-title {
        font-size: 2rem; /* Menší velikost nadpisu */
        margin-top: 25px;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
}

/* Dodatečné úpravy pro velmi vysoké telefony */
@media (max-height: 700px) and (max-width: 768px) {
    .club-hero {
        padding-top: 50px;
        min-height: 100vh; /* Na malých výškách využijeme celou výšku */
    }
    
    .hero-separator {
        margin: 1rem auto; /* Menší mezera mezi nadpisem a separátorem */
    }
    
    .hero-description {
        margin-bottom: 1.5rem; /* Menší spodní mezera */
    }
}

/* Přizpůsobení indikátoru scrollování */
@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 25px; /* Posunutí indikátoru výše */
    }
}

.pro-kluby-page {
    background-color: var(--bg-dark-1);
}

/* Hero sekce */
.club-hero {
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/football-club-bg.jpg') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

.parallax-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.6) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 0;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-color);
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero-title span {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.hero-separator {
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    margin: 1.5rem auto;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.text-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.text-link:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--primary-color);
}

/* Sekce světlé a tmavé */
.section-dark {
    background-color: var(--bg-dark-2);
    position: relative;
    padding: 5rem 0;
}

.section-light {
    background-color: var(--bg-dark-1);
    position: relative;
    padding: 5rem 0;
}

/* Intro sekce */
.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-color);
}

/* Síla sekce */
.strength-grid {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.strength-content {
    flex: 2;
}

.strength-image {
    flex: 1;
    position: relative;
}

.image-container {
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    display: block;
}

.image-container:hover img {
    transform: scale(1.1);
}

.strength-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.strength-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.strength-item {
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
}

.strength-item h4 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.custom-list {
    list-style: none;
    padding: 0;
}

.custom-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.7rem;
    line-height: 1.6;
    color: var(--text-color-muted);
}

.custom-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.strength-note {
    margin-top: 2rem;
    font-style: italic;
    color: var(--primary-color);
    line-height: 1.6;
}

/* Kondice a Rychlost sekce */
.detail-row {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.detail-row.reverse {
    flex-direction: row-reverse;
}

.detail-content {
    flex: 1;
}

.detail-image {
    flex: 1;
}

.detail-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.highlight-red {
    color: #ff3a3a;
}

.highlight-red::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #ff3a3a;
}

.detail-list {
    list-style: none;
    padding: 0;
}

.detail-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-color-muted);
}

.detail-list li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: #ff3a3a;
    font-weight: bold;
}

/* Technika sekce */
.technique-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e3a60 100%);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    color: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.technique-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.technique-content {
    position: relative;
    z-index: 2;
}

.technique-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.technique-list {
    padding-left: 1.5rem;
}

.technique-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Suplementace a Regenerace sekce */
.sr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.sr-item {
    background: rgba(30, 30, 30, 0.5);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.sr-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.sr-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--primary-color);
}

/* Jak to funguje sekce */
.steps-container {
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    margin-bottom: 2rem;
    background: rgba(30, 30, 30, 0.5);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-item:hover {
    background: rgba(40, 40, 40, 0.7);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-right: 1.5rem;
    line-height: 1;
    opacity: 0.8;
    min-width: 60px;
    text-align: center;
}

.step-content {
    flex: 1;
}

.step-content p {
    margin: 0;
    line-height: 1.7;
    color: var(--text-color);
}

/* Video sekce */
.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.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);
}

/* Nákup sekce */
.purchase-section {
    padding: 5rem 0;
    position: relative;
    background: linear-gradient(135deg, var(--bg-dark-2) 0%, var(--bg-dark-1) 100%);
    overflow: hidden;
}

.purchase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-bg.png');
    opacity: 0.05;
    pointer-events: none;
}

.purchase-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: rgba(30, 30, 30, 0.7);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    z-index: 1;
}

.purchase-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.purchase-description {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.purchase-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-md);
}

.price-box {
    text-align: center;
}

.price-label {
    font-size: 1rem;
    color: var(--text-color-muted);
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price-note {
    font-size: 0.9rem;
    color: var(--text-color-muted);
}

.benefits-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.benefits-list li {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
}

.benefits-list li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.purchase-button {
    display: inline-block;
    padding: 1.2rem 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.2rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.purchase-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    color: #000;
}

.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);
    }
}

.purchase-process {
    font-size: 0.9rem;
    color: var(--text-color-muted);
}

/* Responzivní design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .strength-grid, 
    .detail-row {
        flex-direction: column;
    }
    
    .detail-row.reverse {
        flex-direction: column;
    }
    
    .sr-grid {
        grid-template-columns: 1fr;
    }
    
    .sr-image {
        grid-row: 1;
    }
    
    .purchase-info {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .club-hero {
        height: 70vh;
    }
    
    .technique-card {
        padding: 2rem;
    }
    
    .purchase-title {
        font-size: 2rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .step-item {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
    
    .purchase-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}