/* style.css Header */
/*
Copyright 2025 Malí průzkumníci

Licensed under the MIT License.
Note: This license applies only to the HTML, CSS, and JavaScript files.
All media content (images, video, logo) are NOT covered by the MIT license and remain proprietary and copyrighted.
*/

:root {
    --primary-color: #c0a99d;
    --primary-dark: #a89085;
    --primary-light: #dfd2cc;
    --bg-color: #fcfbf9;
    --text-color: #4a4a4a;
    --heading-color: #2c2c2c;
    --secondary-accent: #a3b1a8;
    /* Sage green soft */
    --white: #ffffff;
    --border-radius: 12px;
    --shadow: 0 4px 15px rgba(192, 169, 157, 0.15);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Quicksand', sans-serif;
    --container-width: 1100px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Header */
#main-header {
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#main-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

#main-nav a {
    font-weight: 500;
    font-size: 1rem;
}

#main-nav a:hover {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* Hero Section */
#hero {
    height: 90vh;
    min-height: 500px;
    background-color: var(--primary-light);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.65);
    /* Moderate overlay */
    z-index: 1;
}

.hero-content {
    z-index: 2;
    padding: 0 20px;
    max-width: 950px;
}

#hero h1 {
    font-size: 5rem;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -1px;
    /* Strong glow */
}

.hero-motto {
    font-family: var(--font-body);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.hero-subtitle-main {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: var(--text-color);
    font-weight: 500;
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle-main {
        font-size: 1.3rem;
    }

    .hero-motto {
        font-size: 1rem;
    }
}

/* Lecturers */
.lecturers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 2rem;
}

.lecturer-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.lecturer-card:hover {
    transform: translateY(-5px);
}

.lecturer-card p {
    text-align: justify;
}

.lecturer-img-wrapper {
    width: 150px;
    height: 150px;
    background-color: var(--primary-light);
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    /* Placeholder styles until we have images */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}

.lecturer-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Principles */
.bg-light {
    background-color: #f7f3f0;
}

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

.intro-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-color);
}

.principles-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 3rem;
}

.principle-item {
    text-align: center;
    padding: 30px 20px;
    flex: 1 1 220px;
    max-width: 300px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(192, 169, 157, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.principle-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(192, 169, 157, 0.2);
}

.principle-item .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #f4ece9;
    /* Light warm tint matching primary */
    border-radius: 50%;
    margin-bottom: 20px;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.principle-item:hover .icon {
    background-color: var(--primary-light);
}

/* Info Section */
.info-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.info-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-color);
}

.info-card ul li {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.nested-list {
    margin-top: 10px;
    padding-left: 40px;
    /* Increased indentation */
    list-style-type: disc;
    /* Ensure bullets show */
}

.info-note {
    display: block;
    padding-left: 40px;
    margin-top: 5px;
    font-size: 0.9em;
    font-weight: normal;
    color: #666;
}

.nested-list li {
    border-bottom: none !important;
    /* Remove separator for sub-items */
    margin-bottom: 5px !important;
    padding-bottom: 0 !important;
    font-size: 0.95rem;
    color: var(--text-color);
}

.course-details {
    background: var(--primary-light);
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.course-details h3 {
    text-align: center;
    margin-bottom: 30px;
}

.course-details ul {
    list-style: none;
    /* No bullets */
    padding: 0;
    counter-reset: course-steps;
}

.course-details li {
    position: relative;
    padding-left: 60px;
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--heading-color);
}

.course-details li::before {
    counter-increment: course-steps;
    content: counter(course-steps);
    position: absolute;
    left: 0;
    top: -5px;
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: 0 4px 10px rgba(192, 169, 157, 0.3);
    font-size: 1.2rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 250px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

summary {
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-heading);
    color: var(--primary-color);
    outline: none;
}

details p {
    margin-top: 15px;
    padding-left: 20px;
    border-left: 2px solid var(--secondary-accent);
}

/* Contact Form */
.registration-form {
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--heading-color);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.checkbox-group {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
}

.form-note {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #888;
}

.required-star {
    color: #e74c3c;
    /* Red for visibility */
    font-weight: bold;
    margin-left: 4px;
    font-size: 1.2em;
}

/* Notice Box - Centered & Pretty */
.important-notice {
    background-color: #fcf6f3;
    /* Very soft warm tint */
    border: 1px solid var(--primary-light);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
    /* Centered */
    box-shadow: 0 4px 15px rgba(192, 169, 157, 0.1);
}

.important-notice p {
    margin-bottom: 8px;
    color: var(--text-color);
}

.highlight-text {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--heading-color);
    display: inline-block;
    padding: 5px 0;
    border-bottom: 2px solid var(--primary-color);
    /* Underline style */
    margin-bottom: 15px !important;
}

/* Footer - Minimal */
footer {
    background: #46403d;
    color: var(--white);
    padding: 20px 0;
    /* Reduced padding */
    margin-top: 80px;
    font-size: 0.9rem;
}

.footer-content-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-col p {
    margin: 0;
    line-height: 1.4;
    opacity: 0.8;
}

.credits {
    font-size: 0.75rem;
    opacity: 0.5 !important;
}

.contacts-col {
    display: flex;
    gap: 15px;
}

.form-intro {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
}

.footer-icon-link {
    color: var(--white);
    opacity: 0.7;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    /* Added gap for text */
}

.footer-icon-link:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem;
    }

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

    #main-nav {
        display: none;
        /* JS will toggle class 'active' */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    #main-nav.active {
        display: block;
    }

    #main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .info-layout {
        grid-template-columns: 1fr;
    }

    .footer-content-row {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .info-card ul li strong {
        display: block;
        margin-bottom: 2px;
    }
}

/* Partners Section */
.partners-section {
    padding: 0 0 60px 0; /* Pouze spodní odsazení před patičkou */
    margin-top: -20px;   /* Lehké přitažení k předchozí sekci */
}

.partners-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    opacity: 0.9;
}

.partners-text {
    font-family: var(--font-heading); /* Font Outfit - ladí s nadpisy */
    font-size: 1.5rem;
    color: var(--primary-dark);       /* Tmavší hnědá, ladí s paletou webu */
    font-weight: 500;                 /* Střední tloušťka písma */
}

.partners-content a {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.partners-content a:hover {
    transform: scale(1.05);
}

.partner-logo {
    height: 55px; /* Decentní velikost loga */
    width: auto;
}

@media (max-width: 768px) {
    .partners-content {
        flex-direction: column;
        gap: 10px;
    }

    .partners-text {
        font-size: 1.6rem;
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    position: relative;
    animation: slideDown 0.3s ease;
}

/* Success Modal */
.success-modal-content {
    text-align: center;
    padding: 2.5rem;
    max-width: 450px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    margin: 0 auto 1.5rem auto;
    animation: successPop 0.5s ease-out;
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.success-modal-content p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.success-modal-content .btn-primary {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}