:root {
    /* NOVÁ HRAVÁ PALETA */
    --primary-color: #2AB7CA; /* Veselá tyrkysová */
    --secondary-color: #FE4A49; /* Korálová červená (pro akce) */
    --accent-yellow: #FED766; /* Sluníčková žlutá */
    --accent-green: #8DEA9C; /* Mentolová zelená */
    
    --text-dark: #2d3142;
    --text-light: #ffffff;
    
    /* Pozadí */
    --bg-light: #F0F7F4; /* Velmi světlounká mentolová */
    --bg-white: #ffffff;
    --bg-gradient-hero: linear-gradient(135deg, #e0f7fa 0%, #fbe9e7 100%); /* Mraky a červánky */
    
    /* Tvary a efekty */
    --border-radius-small: 12px;
    --border-radius-large: 25px;
    --btn-radius: 50px;
    
    /* 3D Stín - měkký a hluboký */
    --box-shadow-soft: 0 10px 20px rgba(42, 183, 202, 0.15), 0 6px 6px rgba(0,0,0,0.05);
    --box-shadow-hover: 0 15px 30px rgba(42, 183, 202, 0.25), 0 10px 10px rgba(0,0,0,0.08);
    --text-shadow-title: 2px 2px 0px rgba(0,0,0,0.1);
}

body {
    font-family: 'Open Sans', sans-serif; /* Základní text zůstává čitelný */
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    /* Jemný vzorek na pozadí */
    background-image: radial-gradient(var(--accent-yellow) 10%, transparent 10%),
                      radial-gradient(var(--primary-color) 10%, transparent 10%);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    background-blend-mode: soft-light;
    opacity: 0.98;
}

/* Hravé písmo pro nadpisy */
h1, h2, h3, h4, .logo, .btn, .nav-link {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

h1 { color: var(--primary-color); text-shadow: var(--text-shadow-title); }
h2 { color: var(--text-dark); position: relative; display: inline-block; }

/* Podtržení nadpisů vlnovkou */
h2::after {
    content: '';
    display: block;
    width: 60%;
    height: 6px;
    background: var(--accent-yellow);
    margin: 8px auto 0;
    border-radius: 10px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* --- Navigace --- */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom-left-radius: var(--border-radius-large);
    border-bottom-right-radius: var(--border-radius-large);
    padding: 5px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 60px;
    transition: transform 0.3s;
}

.logo:hover img {
    transform: rotate(-5deg) scale(1.05); /* Hravé pootočení při najetí */
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

.main-nav a {
    padding: 10px 15px;
    border-radius: var(--btn-radius);
    font-weight: 500;
    color: var(--text-dark);
}

.main-nav a:hover {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* --- Tlačítka (jako bonbóny) --- */
.btn {
    padding: 12px 28px;
    border-radius: var(--btn-radius);
    font-weight: 700;
    text-align: center;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 7px 14px rgba(0,0,0,0.15);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #ff7b7b);
    color: var(--text-light);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-color), #4dd0e1);
    color: var(--text-light);
}

/* --- Hero Sekce --- */
.hero {
    background: var(--bg-gradient-hero);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 50% 10%;
    border-bottom-right-radius: 50% 10%;
    margin-bottom: 40px;
}

/* Plovoucí dekorace v pozadí (kolečka) */
.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    z-index: 0;
}

.hero::before {
    width: 300px;
    height: 300px;
    background: var(--accent-yellow);
    top: -100px;
    left: -100px;
    filter: blur(60px);
}

.hero::after {
    width: 400px;
    height: 400px;
    background: var(--accent-green);
    bottom: -150px;
    right: -100px;
    filter: blur(80px);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-video {
    flex: 1;
    min-width: 300px;
}

/* Video Carousel - zaoblený a se stínem */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: auto;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--box-shadow-soft);
    border: 5px solid var(--bg-white);
    transform: rotate(2deg); /* Hravé natočení */
    transition: transform 0.3s;
}

.carousel-container:hover {
    transform: rotate(0deg) scale(1.02);
}

.carousel-slide iframe {
    display: block; /* Odstraní mezeru pod videem */
}

.carousel-slide { display: none; }
.carousel-slide.active { display: block; }

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.carousel-prev:hover, .carousel-next:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}
.carousel-next { right: 15px; }
.carousel-prev { left: 15px; }

/* --- Sekce táborů --- */
.section-gray {
    padding: 80px 0;
    /* Vytvoření vlnky mezi sekcemi pomocí zaoblení */
    background: var(--bg-white);
    border-radius: 60px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

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

.subtitle {
    font-size: 1.2rem;
    color: #666;
}

.info-box {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2); /* Oranžový gradient */
    padding: 30px;
    border-radius: var(--border-radius-large);
    margin-bottom: 50px;
    box-shadow: inset 0 0 20px rgba(255, 167, 38, 0.2);
    position: relative;
    overflow: hidden;
}

/* Dekorativní proužek */
.info-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 8px; height: 100%;
    background: var(--accent-yellow);
}

.info-blue {
    background: linear-gradient(135deg, #e1f5fe, #b3e5fc); /* Modrý gradient */
}
.info-blue::before { background: var(--primary-color); }

.camps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(720px, 1fr));
    gap: 16px;
    padding: 20px;
}

/* --- Karty táborů (3D efekt) --- */
.camp-card, .camp-content {
    background: var(--bg-white);
    padding: 24px;
    border-radius: 30px; /* Extra kulaté */
    box-shadow: var(--box-shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Pružný efekt při najetí */
    position: relative;
    border: 3px solid transparent;
    background-clip: padding-box;
}

/* Barevné okraje pro různé karty */
.camp-card:nth-child(1) { border-color: var(--accent-yellow); }
.camp-card:nth-child(2) { border-color: var(--primary-color); }
.camp-card:nth-child(3) { border-color: var(--secondary-color); }
.camp-card:nth-child(4) { border-color: var(--accent-green); }
.camp-card:nth-child(5) { border-color: #B39DDB; } /* Fialová */

.camp-card:hover, .camp-content:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--box-shadow-hover);
}

.camp-card h3 {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    color: var(--text-dark);
}

.age-tag {
    display: inline-block;
    background: var(--accent-green);
    color: #004d40;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.price {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-top: 20px;
    text-align: right;
}

/* Podolí sekce */
#podoli {
    padding: 60px 0;
    margin-bottom: 60px;
}

.camp-content {
    border-color: var(--primary-color); /* Pro Podolí modrý okraj */
}

.camp-details {
    font-size: 14px;
    list-style: none;
    padding: 0;
    background: #e0f7fa;
    padding: 20px;
    border-radius: var(--border-radius-small);
    margin-top: 20px;
}

.camp-details li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

/* Ikonka odrážky */
.camp-details li::before {
    content: '➜';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}


/* --- Formulář (Hravý a přehledný) --- */
.section-dark {
    background: linear-gradient(135deg, var(--primary-color), #80deea);
    padding: 100px 0;
    position: relative;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
}

.section-dark h2 {
    color: var(--text-light);
}
.section-dark h2::after { background: var(--text-light); opacity: 0.5; }

.form-container {
    max-width: 800px;
    background: var(--bg-white);
    padding: 50px;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.full-width { grid-column: span 2; }

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

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius-large);
    font-family: inherit;
    box-sizing: border-box;
    background: #f9f9f9;
    transition: all 0.3s;
    font-size: 1rem;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(42, 183, 202, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f0f7f4;
    padding: 15px;
    border-radius: var(--border-radius-large);
}

.checkbox-group input {
    width: 25px;
    height: 25px;
    accent-color: var(--primary-color);
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.submit-btn {
    width: 100%;
    margin-top: 30px;
    font-size: 1.3rem;
    padding: 15px;
}

/* --- Footer --- */
footer {
    background: #37474f; /* Tmavší, ale ne úplně černá */
    color: #cfd8dc;
    padding: 80px 0 30px;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    margin-top: -50px; /* Překrytí sekce nad ním */
    position: relative;
    z-index: 10;
}

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

.footer-content h4 {
    color: var(--accent-yellow);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-content ul {
    list-style: none;
    padding: 0;
}

.footer-content ul li {
    margin-bottom: 15px;
}

.footer-content a:hover {
    color: var(--accent-yellow);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    font-size: 0.9rem;
}

/* --- Mobilní menu a responsivita --- */
.hamburger, .mobile-menu { display: none; }

@media (max-width: 850px) {
    .hero-text h1 { font-size: 2.2rem; }
    .main-nav, .nav-btn { display: none; }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        padding: 10px;
        background: var(--bg-light);
        border-radius: 10px;
    }

    .hamburger span {
        display: block;
        width: 30px;
        height: 4px;
        background: var(--primary-color);
        border-radius: 4px;
        transition: all 0.3s;
    }
    
    /* Animace hamburgeru */
    .mobile-menu.active + .hamburger span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
    .mobile-menu.active + .hamburger span:nth-child(2) { opacity: 0; }
    .mobile-menu.active + .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(8px, -8px); }


    .mobile-menu {
        position: fixed;
        top: 80px;
        left: 20px;
        right: 20px;
        background: var(--bg-white);
        flex-direction: column;
        padding: 30px;
        border-radius: var(--border-radius-large);
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        display: none;
        z-index: 999;
    }

    .mobile-menu.active { display: flex; }

    .mobile-menu a {
        padding: 15px;
        text-align: center;
        font-size: 1.2rem;
        font-family: 'Fredoka', sans-serif;
        border-radius: var(--border-radius-small);
    }
    
    .mobile-menu a:hover { background: var(--bg-light); }
    
    .mobile-btn {
        background: var(--secondary-color) !important;
        color: white !important;
        margin-top: 10px;
    }

    .form-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
    
    .hero {
        padding: 60px 0 80px;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }
    .hero-content { flex-direction: column; gap: 40px; }
    .carousel-container { transform: rotate(0); }
    
    .section-gray, .section-dark {
        border-radius: 30px;
    }
    
    .form-container { padding: 30px 20px; }

    .camps-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 16px;
        padding: 0;
    }
}

 .camp-highlights {
    font-size: 14px;
    margin: 20px 0;
    padding: 15px;
    background-color: #fff9c4; /* Jemně žluté pozadí */
    border-radius: 12px;
    border-left: 4px solid #fbc02d;
}
.camp-highlights h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #f57f17;
    font-size: 1.1rem;
}
.camp-highlights ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: none; /* Vlastní odrážky */
}
.camp-highlights ul li {
    position: relative;
    margin-bottom: 5px;
    color: #555;
}
.camp-highlights ul li::before {
    content: '★'; /* Hvězdička jako odrážka */
    color: #fbc02d;
    position: absolute;
    left: -20px;
    font-weight: bold;
}
.camp-description p {
    margin-bottom: 10px;
}