/* Reset a základní styly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Proxima Nova', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: rgb(83, 118, 141);
    margin: 0;
    padding: 0;
}

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

/* Header - bílý s vycentrovaným obsahem */
header {
    background-color: #ffffff;
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-section {
    margin-bottom: 15px;
}

.logo-block {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.logo-image img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 50%;
}

.logo-text {
    font-size: 26px;
    font-weight: 700;
    color: rgb(83, 118, 141);
}

/* Navigace - horizontální pod logem, vycentrovaná */
.main-nav {
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
    padding-bottom: 5px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 45px;
}

.nav-link {
    text-decoration: none;
    color: #666666;
    font-size: 20px;
    font-weight: 600;
    padding: 15px 8px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #333333;
    border-bottom-color: #666666;
    transform: translateY(-1px);
}

.nav-link.active {
    color: #537691;
    border-bottom-color: #537691;
    font-weight: 700;
}

/* PRVNÍ SEKCE - Velká s ambulancí na pozadí */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

/* Menší hero sekce pro vnitřní stránky */
.hero-section.small {
    height: 40vh;
    min-height: 300px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.1;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 25px 35px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(5px);
    display: inline-block;
    width: fit-content;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    color: #444444;
    line-height: 1.4;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    backdrop-filter: blur(3px);
    display: inline-block;
    width: fit-content;
    max-width: 80%;
}

/* DRUHÁ SEKCE - Modré pozadí s hračkami gallery_1.jpg */
.announcement-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.announcement-background {
    display: none;
}

.announcement-bg-image {
    display: none;
}

.announcement-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(83, 118, 141);
    z-index: 1;
}

.announcement-section .container {
    position: relative;
    z-index: 2;
}

.announcement-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

.announcement-item {
    text-align: center;
    padding: 20px;
}

.announcement-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.image-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.announcement-image img {
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
    border-radius: 8px;
    padding: 8px;
}

/* TŘETÍ SEKCE - Bílé pozadí s modrým textem */
.about-section {
    background-color: #ffffff;
    padding: 60px 0;
    text-align: center;
    color: #4a90e2;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #4a90e2;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 40px auto;
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-left: 4px solid #4a90e2;
}

.about-subtitle {
    font-size: 1rem;
    color: #666666;
    margin-bottom: 20px;
    line-height: 1.8;
    font-weight: 400;
    text-align: left;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.about-subtitle:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Galerie - pouze jeden obrázek */
.gallery-section {
    margin-top: 30px;
}

.gallery-single {
    display: inline-block;
    max-width: 300px;
    position: relative;
    cursor: pointer;
}

.gallery-single img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.gallery-single a:hover img {
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Mobile Menu Toggle - výchozí skrytý stav */
.mobile-menu-toggle {
    display: none !important;
    flex-direction: column;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1000;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Lightbox styly */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

#lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

#lightbox-caption {
    color: white;
    margin-top: 15px;
    font-size: 16px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
}

/* Desktop navigace - nad 1170px */
@media (min-width: 1171px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .main-nav {
        display: block !important;
        position: static !important;
        background-color: transparent !important;
        box-shadow: none !important;
    }
    
    .nav-menu {
        flex-direction: row !important;
        padding: 0 !important;
        gap: 35px !important;
    }
}

/* Responsive Design - Mobile menu pro tablety a menší */
@media (max-width: 1170px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .main-nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .main-nav.mobile-open {
        display: block !important;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    header .container {
        position: relative;
    }
}

/* Responsive Design pro menší obrazovky */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        min-height: 400px;
        max-height: 500px;
    }
    
    .hero-content {
        max-width: calc(100% - 30px);
        margin: 0 15px;
        gap: 12px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        padding: 16px 20px;
        width: 100%;
        box-sizing: border-box;
        border-radius: 10px;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 14px 18px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        border-radius: 8px;
        line-height: 1.4;
    }
    
    .announcement-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .announcement-title {
        font-size: 1.5rem;
    }
    
    .announcement-image img {
        max-width: 150px;
        max-height: 150px;
    }
    
    /* Skrytí pozadového obrázku gallery_1 na mobilech */
    .announcement-section {
        background-image: none !important;
        background-color: #2c5e9b;
    }
}

/* Hero Section - VELKÁ jako originál */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: filter 0.5s ease;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 94, 155, 0.3) 0%, rgba(44, 62, 80, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.25), 0 3px 12px rgba(44, 94, 155, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-title:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 4px 15px rgba(44, 94, 155, 0.25);
}

.hero-subtitle {
    text-align: left;
    font-size: 1.4rem;
    font-weight: 400;
    color: #2c3e50;
    line-height: 1.5;
    margin: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.85) 100%);
    padding: 18px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2), 0 2px 10px rgba(44, 94, 155, 0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
    max-width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-subtitle:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.25), 0 3px 12px rgba(44, 94, 155, 0.2);
}

/* Announcement Section - modré pozadí s hračkami */
.announcement-section {
    position: relative;
    padding: 100px 0;
    color: white;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.announcement-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.announcement-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.announcement-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(83, 118, 141);
    z-index: 2;
}

.announcement-section .container {
    position: relative;
    z-index: 3;
}

.announcement-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    align-items: center;
    text-align: center;
}

.announcement-item {
    padding: 30px 20px;
}

.announcement-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.image-item {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-image img {
    max-width: 250px;
    max-height: 280px;
    object-fit: contain;
    border-radius: 8px;
    padding: 10px;
}

.announcement-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    text-align: center;
}

.announcement-item {
    padding: 20px;
}

.announcement-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.image-item {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-image img {
    max-width: 200px;
    max-height: 250px;
    object-fit: contain;
    border-radius: 8px;
}

.image-placeholder {
    width: 250px;
    height: 300px;
    background-color: #e9ecef;
    border: 2px dashed #ced4da;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 16px;
    border-radius: 8px;
}

/* About Section - bílé pozadí s modrým textem */
.about-section {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
    color: #4a90e2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4a90e2;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto 60px auto;
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-left: 4px solid #4a90e2;
}

.about-subtitle {
    font-size: 1.125rem;
    color: #666666;
    margin-bottom: 20px;
    line-height: 1.8;
    font-weight: 400;
    text-align: left;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.about-subtitle:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Gallery na homepage - pouze jeden leták */
.gallery-section {
    margin-top: 0;
    text-align: center;
}

.gallery-single {
    display: inline-block;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.gallery-single:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.gallery-single img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-single:hover img {
    transform: scale(1.05);
}

.gallery-single::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(83, 118, 141, 0.8), rgba(44, 94, 155, 0.9));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.gallery-single:hover::after {
    opacity: 1;
}

.gallery-single::before {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-single:hover::before {
    opacity: 1;
}

/* Content pages */
.content-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-heading {
    font-size: 24px;
    font-weight: 600;
    color: #5a8bb0;
    margin: 30px 0 20px 0;
}

/* Profile Section - O mně stránka */
.profile-section {
    margin-bottom: 40px;
}

.profile-header {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
}

.profile-image img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #e5e5e5;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 28px;
    font-weight: 600;
    color: #5a8bb0;
    margin-bottom: 15px;
}

.profile-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.subsection-heading {
    font-size: 24px;
    font-weight: 600;
    color: #34495e;
    margin: 30px 0 15px 0;
}

.highlight-text {
    color: #333;
    padding: 20px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
}

.important-note {
    color:#333;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.materials-info {
    background-color: #e8f5e8;
    border-left: 4px solid #27ae60;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.recommendations {
    background-color: #f0f8ff;
    border-left: 4px solid #3498db;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

/* Lists */
.examination-list,
.milestones-list,
.therapy-list,
.practical-info {
    margin: 20px 0;
    padding-left: 25px;
}

.examination-list li,
.milestones-list li,
.therapy-list li,
.practical-info li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.recommendations ul {
    margin: 15px 0;
    padding-left: 25px;
}

.recommendations li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Paragraph styling */
p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
}

.footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Profile Section - O mně stránka */
.profile-section {
    margin-bottom: 50px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.profile-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #3498db;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 36px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.profile-description {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.qualifications {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #5a8bb0;
    margin-bottom: 30px;
}

.qualifications p {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

/* Education and Courses */
.education-section,
.courses-section,
.experience-section {
    margin-bottom: 50px;
}

.education-list,
.experience-list {
    list-style: none;
    padding: 0;
}

.education-list li,
.experience-list li {
    background-color: #f8f9fa;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    border-left: 4px solid #27ae60;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.course-year {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.course-year h4 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.course-year ul {
    list-style: none;
    padding: 0;
}

.course-year li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
    line-height: 1.4;
}

.course-year li:last-child {
    border-bottom: none;
}

/* Services Page */
.services-intro {
    text-align: center;
    margin-bottom: 40px;
}

.services-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    color: #5a8bb0;
    font-weight: 600;
}

.children-services,
.adults-services {
    margin-bottom: 40px;
}

.services-content {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.services-image {
    flex-shrink: 0;
    width: 250px;
}

.services-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.services-list {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #5a8bb0;
    list-style: none;
    flex: 1;
}

.services-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
    line-height: 1.4;
    color: #555;
}

.services-list li:last-child {
    border-bottom: none;
}

.comprehensive-approach {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    margin-top: 50px;
}

.approach-features,
.children-focus {
    margin-bottom: 30px;
}

.approach-list,
.focus-list {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
    list-style: none;
}

.approach-list li,
.focus-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 16px;
}

.approach-list li:last-child,
.focus-list li:last-child {
    border-bottom: none;
}

.methods-text {
    background-color: #e8f5e8;
    padding: 20px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    margin: 0;
}

/* Contact Page */
.contact-info {
    max-width: 800px;
    margin: 0 auto;
}

.company-name {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 10px;
}

.company-type {
    font-size: 24px;
    font-weight: 400;
    color: #34495e;
    text-align: center;
    margin-bottom: 40px;
}

.contact-details {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid #3498db;
}

.detail-group {
    margin-bottom: 25px;
}

.detail-group:last-child {
    margin-bottom: 0;
}

.detail-group h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.detail-group p {
    font-size: 16px;
    margin: 0;
    color: #34495e;
}

.phone-link,
.email-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.phone-link:hover,
.email-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Map Section */
.map-section {
    margin-top: 60px;
    text-align: center;
}

.map-container {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 30px auto;
    border-left: 4px solid #3498db;
    max-width: 800px;
}

.map-container iframe {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map-note {
    font-size: 16px;
    color: #555555;
    margin-top: 20px;
    font-style: italic;
}

.map-note strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Office Hours Page */
.office-hours-info {
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.office-note {
    color: #333;
    padding: 25px;
    border-radius: 8px;
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.5;
}

.hours-schedule {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #3498db;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 18px;
}

.schedule-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
    color: #2c3e50;
}

.time {
    color: #34495e;
    font-weight: 500;
}

.contact-section {
    max-width: 800px;
    margin: 0 auto 40px auto;
    background-color: #e8f5e8;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #27ae60;
}

.contact-section .section-heading {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.contact-section .contact-details {
    background-color: transparent;
    padding: 0;
    border: none;
    border-radius: 0;
}

.contact-section .contact-info {
    margin: 0;
}

.contact-section .company-name {
    color: #2c3e50;
    margin-bottom: 8px;
}

.contact-section .company-type {
    color: #34495e;
    margin-bottom: 30px;
}

.contact-section .map-section {
    margin: 0;
}

.contact-section .map-container {
    margin-bottom: 15px;
}

.contact-section .map-note {
    text-align: center;
    color: #2c3e50;
    font-size: 16px;
    margin: 0;
}

/* Pricing Page */
.insurance-info {
    margin-bottom: 50px;
}

.insurance-note {
    background-color: #e3f2fd;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
    margin-bottom: 30px;
}

.insurance-note p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.insurance-note p:last-child {
    margin-bottom: 0;
}

.payment-info {
    background-color: #f0f8ff;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.payment-info h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.pricing-list {
    margin-bottom: 50px;
}

.price-item {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
    margin-bottom: 20px;
}

.price-section {
    background-color: #fff3cd;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    margin-bottom: 30px;
}

.price-section .section-heading {
    color: #856404;
    text-align: center;
    margin-bottom: 15px;
}

.section-description {
    text-align: center;
    font-size: 16px;
    margin-bottom: 25px;
    color: #6c757d;
}

.service-name {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-description {
    font-size: 15px;
    line-height: 1.5;
    color: #495057;
    margin: 0;
}

.terms-section {
    background-color: #fff5f5;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.terms-info p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.validity-note {
    text-align: center;
    font-size: 18px;
    margin-top: 30px;
    color: #dc3545;
}

/* Photos/Gallery Page */
.gallery-section {
    margin-top: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.gallery-item {
    background-color: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.photo-placeholder {
    width: 100%;
    height: 250px;
    background-color: #e9ecef;
    border: 2px dashed #ced4da;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 16px;
    font-weight: 500;
}

/* Responzivní design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav {
        text-align: center;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 8px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .announcement-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .announcement-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .about-subtitle {
        font-size: 18px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .profile-name {
        font-size: 28px;
    }
    
    .company-name {
        font-size: 28px;
    }
    
    .contact-details {
        padding: 25px;
    }
    
    .map-container {
        padding: 15px;
    }
    
    .map-container iframe {
        height: 350px;
    }
    
    .schedule-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .announcement-title {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .section-heading {
        font-size: 24px;
    }
    
    .nav-menu {
        gap: 5px;
    }
    
    .nav-link {
        padding: 12px 15px;
        font-size: 18px;
        color: #666666;
        font-weight: 600;
    }
    
    .profile-name {
        font-size: 24px;
    }
    
    .company-name {
        font-size: 24px;
    }
    
    .services-description {
        font-size: 18px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .announcement-title {
        font-size: 24px;
    }
    
    .announcement-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .services-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .services-image {
        width: 100%;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .nav-link {
        padding: 12px 18px;
        font-size: 18px;
        color: #666666;
        font-weight: 600;
    }

    .insurance-note,
    .payment-info,
    .price-item,
    .terms-section {
        padding: 20px;
    }
    
    .map-container {
        padding: 15px;
        margin: 20px 0;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .map-note {
        font-size: 14px;
        margin-top: 15px;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1000;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #2c5282;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Enhanced Gallery Grid - Desktop Design */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1170px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 800px;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(83, 118, 141, 0.8), rgba(44, 94, 155, 0.9));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item::before {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::before {
    opacity: 1;
}

/* Advanced Lightbox */
.advanced-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    animation: fadeIn 0.3s ease-in-out;
}

.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-image-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    text-align: center;
}

.lightbox-main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: white;
    transform: scale(1.1);
}

.lightbox-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    max-width: 80%;
    text-align: center;
}

/* Responsive improvements */
@media (max-width: 768px) {
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hide desktop navigation by default on mobile */
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    /* Show navigation when mobile menu is open */
    .main-nav.mobile-open {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 20px;
    }
    
    .nav-menu li {
        margin: 0;
        border-bottom: 1px solid #e5e5e5;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: block;
        padding: 20px 0;
        text-decoration: none;
        color: #666666;
        font-weight: 600;
        font-size: 20px;
    }
    
    /* Adjust header positioning */
    header .container {
        position: relative;
    }
    
    /* Better mobile gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    
    .gallery-item img {
        height: 220px;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-prev {
        left: -50px;
    }
    
    .lightbox-next {
        right: -50px;
    }
    
    .lightbox-caption {
        font-size: 14px;
        padding: 10px 16px;
        bottom: 10px;
    }
    
    /* Hero section mobile improvements */
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-section {
        height: 50vh;
        min-height: 350px;
    }
    
    /* Announcement grid mobile */
    .announcement-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .announcement-title {
        font-size: 24px;
    }
    
    .announcement-image img {
        max-width: 150px;
        max-height: 150px;
    }
}

/* Vlastní Lightbox styly */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

#lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

#lightbox-caption {
    color: white;
    margin-top: 15px;
    font-size: 16px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
}
/* Menší hero sekce pro vnitřní stránky */
.hero-section.small {
    height: 250px;
    padding: 40px 0;
}

.hero-section.small .hero-content {
    max-width: 800px;
}

.hero-section.small .hero-title {
    font-size: 2.2rem;
    padding: 15px 25px;
    margin-bottom: 15px;
}

.hero-section.small .hero-subtitle {
    font-size: 1.3rem;
    padding: 15px 25px;
}

/* Responzivní úpravy pro menší hero sekce */
@media (max-width: 768px) {
    .hero-section.small {
        height: 200px;
        padding: 30px 0;
    }
    
    .hero-section.small .hero-title {
        font-size: 1.8rem;
        padding: 12px 20px;
    }
    
    .hero-section.small .hero-subtitle {
        font-size: 1.1rem;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .hero-section.small {
        height: 180px;
        padding: 25px 0;
    }
    
    .hero-section.small .hero-title {
        font-size: 1.6rem;
        padding: 10px 15px;
    }
    
    .hero-section.small .hero-subtitle {
        font-size: 1rem;
        padding: 10px 15px;
    }
}

/* Footer s GDPR odkazem */
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p {
    margin: 0.3rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.footer-section a {
    color: #87ceeb;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-section a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-section small {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-info {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* GDPR stránka styly */
.gdpr-section {
    max-width: 900px;
    margin: 0 auto;
}

.gdpr-content h3 {
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.4rem;
    border-bottom: 2px solid #e8f5e8;
    padding-bottom: 10px;
}

.gdpr-list {
    margin: 20px 0;
    padding-left: 0;
}

.gdpr-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.gdpr-list li:before {
    content: '•';
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.gdpr-update {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
    border-left: 4px solid #3498db;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .gdpr-content h3 {
        font-size: 1.2rem;
        margin-top: 30px;
    }
}

/* Sekce pojišťovny */
.insurance-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.insurance-section .section-title {
    color: #2c5e9b;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.insurance-partners {
    margin: 40px 0;
    text-align: center;
}

.insurance-partners .section-heading {
    color: #2c5e9b;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.insurance-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 150px;
    width: 100%;
    min-width: 250px;
}

.insurance-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.insurance-item img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .insurance-section .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .insurance-partners .section-heading {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .insurance-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 600px;
    }
    
    .insurance-item {
        padding: 20px;
        height: 130px;
        min-width: 200px;
    }
    
    .insurance-item img {
        max-height: 80px;
    }
}

@media (max-width: 480px) {
    .insurance-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .insurance-item {
        padding: 15px;
        height: 120px;
        min-width: 250px;
    }
    
    .insurance-item img {
        max-height: 70px;
    }
}

/* Collapsible Sections */
.collapsible-section {
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.collapsible-header {
    background-color: #537691;
    color: white;
    padding: 20px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.collapsible-header:hover {
    background-color: #4a6b85;
}

.collapsible-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.collapsible-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.collapsible-section.expanded .collapsible-toggle {
    transform: rotate(45deg);
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
}

.collapsible-section.expanded .collapsible-content {
    max-height: 2000px; /* Vysoká hodnota pro animaci */
}

.collapsible-inner {
    padding: 20px;
}
