/* --- ZÁKLADNÍ NASTAVENÍ --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f6f6f6;
    color: #333;
}

/* --- NAVIGACE --- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.nav-logo {
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-logo a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* --- HERO SEKCE / POPIS PRODUKTU --- */
.product-description {
    max-width: 100vw;
    text-align: center;
    padding: 15rem 20px;
    background-color: lightblue;
}

.product-description h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.product-description p, 
.product-description .intro {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

/* --- BALÍČKY --- */
.packages-intro {
    text-align: center;
    max-width: 800px;
    margin: 60px auto 40px;
    padding: 0 20px;
}

.packages-intro h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.packages-intro p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.packages {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 20px;
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.package {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.package--featured {
    flex: 1.2;
    transform: translateY(-10px);
    border: 2px solid #000;
}

.package h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.package p {
    font-size: 1rem;
    margin-bottom: 24px;
    color: #666;
}

.price {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
}

/* --- ROZSAH SLUŽEB --- */
.service-scope {
    padding: 20px 20px;
    max-width: 80%;
    margin: 0 auto;
}

.service-scope h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 48px;
}

.service-cards {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.service-card {
    flex: 1;
    background: #f8f8f8;
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.service-card h3 span {
    font-size: 0.9rem;
    color: #777;
    font-weight: normal;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 12px;
    line-height: 1.5;
    color: #555;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}

/* --- TABULKA CENÍKU --- */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 40px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
}

.price-table thead {
    background-color: #333;
    color: #fff;
}

.price-table th,
.price-table td {
    padding: 14px 16px;
    text-align: left;
}

.price-table tbody tr:nth-child(even) {
    background-color: #eee;
}

.table-note {
    margin-top: 20px;
    font-size: 0.95rem;
    color: #666;
    text-align: center;
}

/* --- FAQ SEKCE (VYCENTROVANÁ) --- */
.faq-container {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center; /* Vystředí nadpis */
}

.faq-container h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

details {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    width: 100%;
    overflow: hidden;
}

details:hover {
    border-color: #ddd;
}

details[open] {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

summary {
    font-weight: bold;
    padding: 22px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: center; /* Vystředí text otázky */
    align-items: center;
    gap: 15px;
    outline: none;
    font-size: 1.1rem;
}

/* Schování šipky v Safari a Chrome */
summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: #333;
    transition: transform 0.3s ease;
}

details[open] summary::after {
    transform: rotate(45deg);
}

.content {
    padding: 40px 60px;   /* Hodně místa kolem textu, vypadá to luxusněji */
    line-height: 1.8;     /* Větší mezery mezi řádky textu */
    font-size: 1.1rem;    /* Mírně větší písmo pro lepší čitelnost */
    color: #444;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}



/* --- KONTAKT --- */
.contact {
    background-color: #f6f6f6;
    padding: 80px 20px;
    text-align: center;
}

.contact h2 {
    font-size: 2.2rem;
    margin-bottom: 32px;
}

.contact-box {
    max-width: 420px;
    margin: 0 auto;
    background: white;
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.contact-name {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 16px;
}

.contact p {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.contact a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.contact a:hover {
    text-decoration: underline;
}

/* --- RESPONZIVITA (MOBIL) --- */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 12px;
    }

    .packages,
    .service-cards {
        flex-direction: column;
    }

    .package--featured {
        transform: none;
    }

    .product-description {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    .product-description h1 {
        font-size: 2rem;
    }

    .service-scope h2,
    .contact h2,
    .faq-container h2 {
        font-size: 1.8rem;
    }

    .service-scope-okna {
        max-width: 90%;
    }

    .price-table th,
    .price-table td {
        padding: 10px 8px;
        font-size: 14px;
    }

      .testimonial-cards {
        flex-direction: column;
    }
}

/* --- REFERENCE --- */
.testimonials {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.2rem;
    margin-bottom: 48px;
}

.testimonial-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: stretch; /* Aby byly všechny karty stejně vysoké */
}

.testimonial-card {
    flex: 1;
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

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

.quote-icon {
    font-size: 3rem;
    color: lightblue; /* Ladí s tvou barvou v úvodu */
    line-height: 1;
    margin-bottom: 10px;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
    flex-grow: 1; /* Tlačí jméno autora dolů */
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.testimonial-author strong {
    display: block;
    font-size: 1.1rem;
    color: #333;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #888;
}
