/* 
 * COMUNERGY Website - Base Stylesheet
 * Minimal, clean structure for easy customization
 * Ready for design upgrade by another AI
 */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo img {
    height: 50px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #0066cc;
}

.main-nav a.active {
    color: #0066cc;
    font-weight: 600;
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.language-switcher a {
    text-decoration: none;
    color: #666;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.language-switcher a.active {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: #0066cc;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #0052a3;
}

.btn-secondary {
    background: #fff;
    color: #0066cc !important;
    padding: 10px 20px;
    border: 2px solid #0066cc;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #0066cc;
    color: #fff !important;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 80px 0;
    background: #f8f9fa;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #222;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 60px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0066cc;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
}

.hero-cta {
    margin-top: 40px;
}

.cta-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* ===== PAGE HERO ===== */
.page-hero {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
}

/* ===== CONTENT SECTIONS ===== */
section {
    padding: 80px 0;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-intro p {
    font-size: 1.1rem;
    color: #666;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #222;
    text-align: center;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    color: #333;
}

.lead-text {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* ===== GRIDS ===== */
.value-grid,
.highlights-grid,
.benefits-grid,
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card,
.highlight-card,
.benefit-card,
.trust-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.value-icon {
    font-size: 2rem;
    color: #0066cc;
    margin-bottom: 15px;
}

.value-card h3,
.highlight-card h3,
.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* ===== TIMELINE ===== */
.timeline {
    max-width: 900px;
    margin: 40px auto;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.timeline-marker {
    min-width: 60px;
    height: 60px;
    background: #0066cc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.timeline-content h3 {
    margin-bottom: 10px;
}

.timeline-duration {
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 10px;
}

/* ===== FORMS ===== */
.contact-form-section {
    background: #f8f9fa;
}

.form-intro {
    max-width: 800px;
    margin: 0 auto 40px;
}

.form-intro ul {
    margin: 20px 0;
    padding-left: 20px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-group label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.form-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
}

.form-footer {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
}

.form-footer ol {
    padding-left: 20px;
    margin: 20px 0;
}

/* ===== TABLES ===== */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.cookie-table th,
.cookie-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.cookie-table th {
    background: #f8f9fa;
    font-weight: 600;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: #f8f9fa;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-note-box {
    background: #fff;
    padding: 20px;
    border-left: 4px solid #0066cc;
    margin: 30px 0;
    text-align: left;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #222;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #999;
    font-size: 0.9rem;
}

/* ===== LEGAL PAGES ===== */
.legal-page {
    padding: 60px 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    text-align: left;
}

.legal-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
    margin: 15px 0 15px 20px;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-content a {
    color: #0066cc;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* ===== CHECKBOX GROUP STYLES ===== */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-weight: normal;
}

.checkbox-label:hover {
    background: #e9ecef;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 0;
}

.checkbox-label span {
    flex: 1;
}

/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.pt-40 {
    padding-top: 40px;
}

.pb-40 {
    padding-bottom: 40px;
}

.capacity-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.capacity-highlight h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.capacity-note {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 10px;
}

/* ===== PARTNERSHIP PAGE ===== */
.hero-simple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
}

.hero-simple h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
}

.partnership-intro {
    padding: 60px 0;
    background: #f8f9fa;
}

.lead-text {
    font-size: 1.3rem;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: #333;
}

.partnership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partnership-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.partnership-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.partnership-card h3 {
    color: #2c5282;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.partnership-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.partnership-card ul li {
    padding: 8px 0;
    color: #555;
}

.ideal-for {
    background: #e6f3ff;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
    border-left: 4px solid #2c5282;
}

.target-regions {
    padding: 60px 0;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.region-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.region-box.priority {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.region-box h4 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.region-box.priority h4 {
    color: white;
}

.region-box ul {
    list-style: none;
    padding: 0;
}

.region-box ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.region-box.priority ul li {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.region-note {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    color: #666;
}

.note {
    font-size: 0.9rem;
    color: #888;
    margin-top: 15px;
    font-style: italic;
}

.why-partner {
    background: #f8f9fa;
    padding: 60px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.benefit-item h3 {
    color: #2c5282;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.cta-partnership {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-partnership h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-partnership p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-primary-large {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .hero-simple h1 {
        font-size: 2rem;
    }
    
    .partnership-grid,
    .regions-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}
/* FIX: Kontakt button v menu - ne vždy modrý */
.main-nav a.btn-primary {
    background: transparent;
    color: #0066cc !important;
    border: 2px solid #0066cc;
    padding: 8px 18px;
}

.main-nav a.btn-primary:hover {
    background: #0066cc;
    color: #fff !important;
}

.main-nav a.btn-primary.active {
    background: #0066cc;
    color: #fff !important;
}

.brand-explanation {
    background: #f0f4f8;
    padding: 60px 0;
    border-bottom: 3px solid #0066cc;
}

.network-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.network-stats .stat {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.network-stats .stat strong {
    display: block;
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 10px;
}

.network-stats .stat span {
    color: #666;
    font-size: 0.95rem;
}

/* ===== FIX: Mezery mezi odstavci v content sekcích ===== */
.content-section .container > p {
    margin-bottom: 1.2em;
}

.content-section .container > p:last-child {
    margin-bottom: 0;
}

/* ===== FIX: Větší písmo v textových sekcích (Příběh apod.) ===== */
.content-section .container > p:not(.lead-text) {
    font-size: 1.05rem;
    line-height: 1.75;
}

/* ===== FIX: Timeline markery pro roky (o-nas.html / about.html) ===== */
.timeline-years .timeline-marker {
    min-width: 120px;
    width: auto;
    height: auto;
    min-height: 48px;
    border-radius: 24px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1.3;
    text-align: center;
}