/* =========================================
   ZÁKLAD
========================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --blue-dark: #0d3557;
    --blue: #125b8a;
    --blue-light: #eaf4f8;

    --yellow: #f4c542;
    --yellow-light: #fff3c4;

    --green: #6bb59a;

    --white: #ffffff;
    --background: #f7f9fa;
    --text: #202b33;
    --text-light: #63717a;

    --shadow: 0 10px 30px rgba(13, 53, 87, 0.10);

    --radius: 16px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: "Roboto", sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

h1,
h2,
h3 {
    font-family: "Montserrat", sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}


/* =========================================
   NAVIGACE
========================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    background: rgba(13, 53, 87, 0.97);

    z-index: 1000;

    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: 1200px;
    margin: auto;

    min-height: 72px;

    padding: 0 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.logo span {
    color: var(--yellow);
}

.nav-menu {
    list-style: none;

    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    color: #ffffff;
    font-weight: 500;

    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--yellow);
}

.nav-button {
    background: var(--yellow);
    color: var(--blue-dark) !important;

    padding: 10px 20px;

    border-radius: 8px;

    font-weight: 700 !important;
}

.nav-button:hover {
    background: #ffd65e;
}

.menu-toggle {
    display: none;

    border: none;
    background: none;

    color: white;
    font-size: 1.8rem;

    cursor: pointer;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 90vh;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    color: white;

    background:
        url("simbaedu.jpg")
        center / cover
        no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            rgba(13, 53, 87, 0.82),
            rgba(13, 53, 87, 0.68)
        );
}

.hero-content {
    position: relative;
    z-index: 1;

    max-width: 850px;

    padding: 120px 20px 70px;
}

.hero-label {
    display: inline-block;

    margin-bottom: 20px;

    font-size: 0.85rem;
    font-weight: 700;

    letter-spacing: 2px;

    color: var(--yellow);
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);

    line-height: 1;

    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--yellow);
}

.hero-subtitle {
    font-family: "Montserrat", sans-serif;

    font-size: clamp(1.4rem, 3vw, 2rem);

    font-weight: 600;

    margin-bottom: 20px;
}

.hero-text {
    max-width: 650px;
    margin: auto;

    font-size: 1.1rem;

    color: rgba(255, 255, 255, 0.88);
}

.hero-buttons {
    margin-top: 35px;

    display: flex;
    justify-content: center;
    gap: 15px;

    flex-wrap: wrap;
}


/* =========================================
   TLAČÍTKA
========================================= */

.btn {
    display: inline-block;

    padding: 13px 26px;

    border-radius: 9px;

    font-weight: 700;

    border: 2px solid transparent;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--yellow);
    color: var(--blue-dark);
}

.btn-primary:hover {
    background: #ffd65e;
}

.btn-secondary {
    background: transparent;

    border-color: white;

    color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--blue-dark);
}


/* =========================================
   SEKCE
========================================= */

.section {
    padding: 100px 20px;
}

.section-light {
    background: white;
}

.section-heading {
    max-width: 720px;

    margin: 0 auto 55px;

    text-align: center;
}

.section-label {
    display: block;

    margin-bottom: 10px;

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 2px;

    color: var(--blue);
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);

    color: var(--blue-dark);

    margin-bottom: 15px;
}

.section-heading p {
    color: var(--text-light);
}


/* =========================================
   KARTY
========================================= */

.cards {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 30px;
}

.card {
    background: white;

    padding: 35px 30px;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 18px 40px rgba(13, 53, 87, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 14px;

    background: var(--yellow-light);

    color: var(--blue-dark);

    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
}

.card h3 {
    font-size: 1.35rem;

    color: var(--blue-dark);

    margin-bottom: 12px;
}

.card p {
    color: var(--text-light);

    margin-bottom: 20px;
}

.card-list {
    list-style: none;

    margin-bottom: 25px;
}

.card-list li {
    padding: 5px 0;

    color: var(--text);
}

.card-list li::before {
    content: "✓";

    color: var(--green);

    font-weight: 700;

    margin-right: 8px;
}

.card-link {
    display: inline-block;
    margin-left: auto;
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--yellow);
    color: var(--blue-dark);
    font-weight: 700;
    transition: 
        transform 0.25s ease,
        background 0.25s ease;
}

.card-link:hover {
    background: #ffd65e;
    color: var(--blue-dark);
    transform: translateY(-2px);
}

/* =========================================
   KURZY
========================================= */

.feature-grid {
    max-width: 1000px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.feature {
    padding: 30px;

    border-left: 4px solid var(--yellow);

    background: var(--background);
}

.feature-number {
    color: var(--yellow);

    font-family: "Montserrat", sans-serif;

    font-size: 1.4rem;
    font-weight: 800;

    margin-bottom: 20px;
}

.feature h3 {
    color: var(--blue-dark);

    margin-bottom: 10px;
}

.feature p {
    color: var(--text-light);
}


/* =========================================
   TECHNOLOGIE
========================================= */

.technology {
    padding: 110px 20px;

    background:
        linear-gradient(
            135deg,
            var(--blue-dark),
            var(--blue)
        );

    color: white;
}

.technology-content {
    max-width: 900px;

    margin: auto;

    text-align: center;
}

.technology .section-label {
    color: var(--yellow);
}

.technology h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);

    margin-bottom: 20px;
}

.technology p {
    max-width: 700px;

    margin: auto;

    color: rgba(255, 255, 255, 0.85);

    font-size: 1.1rem;
}

.technology-items {
    margin-top: 35px;

    display: flex;
    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;
}

.technology-items span {
    padding: 9px 18px;

    border: 1px solid rgba(255,255,255,0.25);

    border-radius: 30px;

    background: rgba(255,255,255,0.08);
}


/* =========================================
   TÁBORY
========================================= */

.camp-box {
    max-width: 950px;

    min-height: 350px;

    margin: auto;

    border-radius: var(--radius);

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(13, 53, 87, 0.78),
            rgba(13, 53, 87, 0.78)
        ),
        url("simbaedu.jpg")
        center / cover;
}

.camp-content {
    max-width: 600px;

    padding: 50px 25px;

    color: white;
}

.coming-soon {
    display: inline-block;

    margin-bottom: 15px;

    padding: 6px 12px;

    border-radius: 20px;

    background: var(--yellow);

    color: var(--blue-dark);

    font-size: 0.75rem;
    font-weight: 800;
}

.camp-content h3 {
    font-size: 2rem;

    margin-bottom: 15px;
}

.camp-content p {
    margin-bottom: 25px;

    color: rgba(255,255,255,0.85);
}


/* =========================================
   O MNĚ
========================================= */

.about {
    padding: 100px 20px;
}

.about-container {
    max-width: 1000px;

    margin: auto;

    display: grid;

    grid-template-columns:
        300px 1fr;

    gap: 70px;

    align-items: center;
}

.photo-placeholder {
    width: 280px;
    height: 280px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background:
        url("simbaedu.jpg")
        center / cover
        no-repeat;

    color: var(--blue);

    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}

.about-content h2 {
    font-size: 2.4rem;

    color: var(--blue-dark);

    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);

    margin-bottom: 15px;
}

.text-link {
    display: inline-block;

    margin-top: 10px;

    color: var(--blue);

    font-weight: 700;
}


/* =========================================
   CENÍK
========================================= */

.price-cards {
    max-width: 1050px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.price-card {
    position: relative;

    padding: 35px 30px;

    background: white;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    text-align: center;
}

.price-card h3 {
    color: var(--blue-dark);

    margin-bottom: 20px;
}

.price {
    margin-bottom: 15px;

    color: var(--blue);

    font-family: "Montserrat", sans-serif;

    font-size: 2rem;
    font-weight: 800;
}

.price span {
    font-family: "Roboto", sans-serif;

    font-size: 0.9rem;

    font-weight: 400;

    color: var(--text-light);
}

.price-card p {
    color: var(--text-light);

    margin-bottom: 25px;
}

.price-card.featured {
    border: 3px solid var(--yellow);
}

.popular {
    position: absolute;

    top: -14px;
    left: 50%;

    transform: translateX(-50%);

    padding: 5px 15px;

    background: var(--yellow);

    border-radius: 20px;

    color: var(--blue-dark);

    font-size: 0.7rem;
    font-weight: 800;
}


/* =========================================
   FORMULÁŘ
========================================= */

.contact-form {
    max-width: 700px;

    margin: auto;

    padding: 40px;

    background: white;

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.form-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    font-weight: 700;

    color: var(--blue-dark);
}

input,
textarea,
select {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #d4dce1;

    border-radius: 8px;

    background: white;

    font-size: 1rem;

    color: var(--text);

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;

    border-color: var(--blue);

    box-shadow:
        0 0 0 3px rgba(18, 91, 138, 0.1);
}

textarea {
    resize: vertical;
}

.form-button {
    width: 100%;

    border: none;

    font-size: 1rem;
}

#formMessage {
    margin-top: 15px;

    text-align: center;

    font-weight: 700;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: var(--blue-dark);

    color: white;

    padding: 45px 20px 20px;
}

.footer-container {
    max-width: 1100px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    gap: 30px;
}

.footer-logo {
    font-family: "Montserrat", sans-serif;

    font-size: 1.5rem;

    font-weight: 800;
}

.footer-logo span {
    color: var(--yellow);
}

.footer-container p {
    margin-top: 5px;

    color: rgba(255,255,255,0.65);
}

.footer-links {
    display: flex;

    flex-wrap: wrap;

    gap: 20px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
}

.footer-links a:hover {
    color: var(--yellow);
}

.footer-bottom {
    max-width: 1100px;

    margin: 35px auto 0;

    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,0.12);

    font-size: 0.85rem;
}


/* =========================================
   RESPONSIVITA
========================================= */

@media (max-width: 900px) {

    .nav-menu {
        gap: 15px;
    }

    .cards,
    .feature-grid,
    .price-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .about-container {
        grid-template-columns: 1fr;

        text-align: center;

        justify-items: center;

        gap: 35px;
    }

    .section-label {
        text-align: center;
    }

    .about-content .section-label {
        text-align: center;
    }
}


@media (max-width: 768px) {

    .nav-container {
        min-height: 65px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;

        top: 65px;
        left: 0;

        width: 100%;

        display: none;

        flex-direction: column;

        align-items: center;

        gap: 0;

        padding: 15px 0 25px;

        background: var(--blue-dark);
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu li {
        width: 100%;

        text-align: center;
    }

    .nav-menu a {
        display: block;

        padding: 12px;
    }

    .nav-button {
        display: inline-block !important;

        width: auto !important;

        margin-top: 8px;
    }

    .hero-content {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .section {
        padding: 75px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 25px;
    }

    .footer-container {
        flex-direction: column;
    }
}


@media (max-width: 480px) {

    .hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .card {
        padding: 30px 22px;
    }

    .photo-placeholder {
        width: 220px;
        height: 220px;
    }
}