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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

/* Navigace */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: #8b0000;
    /* Vínově červená */
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #8b0000;
    /* Vínově červená */
}

/* Hero sekce */
.hero {
    /*background: rgba(255, 255, 255, 0.3);*/
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    /* Zajistí, že zoom nepřesáhne hranice */
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Tlačítka */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.hero .btn-primary {
    background: #a0522d;
    /* Vínově červená → hnědá */
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero .btn-primary:hover {
    background: #8b4513;
    /* Tmavší gradient */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, #8b0000 0%, #a0522d 100%);
    /* Vínově červená → hnědá */
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #660000 0%, #8b4513 100%);
    /* Tmavší gradient */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.4);
}

/* Sekce */
.section {
    padding: 5rem 0;
}

.section-light {
    background: #f8f9fa;
}

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

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #8b0000;
    /* Vínově červená */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.content {
    max-width: 800px;
    margin: 0 auto;
}

.content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Funkce grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.feature-card h3 {
    margin-bottom: 1rem;
    color: #8b0000;
    /* Vínově červená */
    font-size: 1.3rem;
}

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

.feature-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.feature-card li:last-child {
    border-bottom: none;
}

.feature-card li::before {
    content: '✓';
    color: #a0522d;
    /* Hnědá */
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Info box */
.info-box {
    background: #f5e6d3;
    /* Světle hnědá/béžová */
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #a0522d;
    /* Hnědá */
    margin: 2rem 0;
}

.info-box h3 {
    color: #8b0000;
    /* Vínově červená */
    margin-bottom: 1rem;
}

.info-box ul {
    list-style: none;
}

.info-box li {
    padding: 0.5rem 0;
}

.info-box li::before {
    content: '•';
    color: #a0522d;
    /* Hnědá */
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Ceník */
.pricing-table {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 2rem 0;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eee;
}

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

.price-label {
    font-weight: 500;
}

.price-value {
    font-weight: bold;
    color: #8b0000;
    /* Vínově červená */
    font-size: 1.1rem;
}

.pricing-note {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

/* Galerie */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 500;
}

/* Kontakt */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.contact-info h3 {
    color: #8b0000;
    /* Vínově červená */
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-item {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-item a {
    color: #8b0000;
    /* Vínově červená */
    text-decoration: none;
}

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

/* Formulář */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: #8b0000;
    /* Vínově červená */
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #a0522d;
    /* Hnědá */
    box-shadow: 0 0 0 2px rgba(160, 82, 45, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #8b0000 0%, #a0522d 100%);
    /* Vínově červeno-hnědý gradient */
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin-bottom: 0.5rem;
}

/* Responzivní design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .feature-card,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Lightbox styly */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    user-select: none;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #8b0000;
    text-decoration: none;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 5px;
    max-width: 80%;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 5px;
    pointer-events: auto;
    transition: background-color 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(139, 0, 0, 0.8);
}

.lightbox-prev:focus,
.lightbox-next:focus {
    outline: 2px solid #8b0000;
    outline-offset: 2px;
}

/* Gallery obrázky s hover efektem */
.gallery-item img {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Responsivní lightbox */
@media (max-width: 768px) {
    .lightbox-close {
        font-size: 30px;
        top: 10px;
        right: 20px;
    }

    .lightbox-caption {
        font-size: 1rem;
        bottom: 10px;
        padding: 8px 15px;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 10px 15px;
        font-size: 20px;
    }
}