/* ==========================================================================
   1. PREMIUM RESET & GLOBÁLNÍ DESIGN
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
    background-color: #fcfcfc;
    color: #2c3e50;
    line-height: 1.8;
}

.container {
    max-width: 1000px;
    margin: 100px auto;
    padding: 0 30px;
}

.text-center { text-align: center; }

.section-title {
    margin-bottom: 35px;
}

.section-title span {
    font-size: 11px;
    letter-spacing: 3px;
    color: #8a1c32; 
    font-weight: bold;
    display: block;
    margin-bottom: 6px;
}

h2 {
    font-size: 34px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #111;
}

h3 {
    font-size: 22px;
    font-weight: 400;
    color: #111;
    margin-bottom: 12px;
}

.lead {
    font-size: 20px;
    color: #4f5d73;
    font-weight: 300;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    padding: 13px 35px;
    background-color: #8a1c32;
    color: white;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(138, 28, 50, 0.25);
}

.btn:hover {
    background-color: #111;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* ==========================================================================
   2. NAVIGAČNÍ PANEL (HEADER)
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 8%;
    box-shadow: 0 4px 25px rgba(0,0,0,0.03);
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

header .logo {
    font-size: 19px;
    letter-spacing: 3px;
    font-weight: 300;
    color: #111;
    white-space: nowrap;
}

header .logo span {
    font-weight: 700;
    color: #8a1c32;
    margin-left: 6px;
}

header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

header nav a {
    color: #666;
    text-decoration: none;
    margin-left: 25px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    transition: color 0.3s ease;
    white-space: nowrap;
}

header nav a:hover, header nav a.active {
    color: #8a1c32;
}

/* ==========================================================================
   3. HERO BANNER
   ========================================================================== */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.7)), 
                      url(uvod.jpg); 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h2 {
    color: white;
    font-size: 54px;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.hero-content p {
    font-size: 19px;
    font-weight: 300;
    max-width: 750px;
    margin: 0 auto 35px auto;
    color: #f5f5f5;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 70px;
    background-color: #1c2833;
    color: white;
    padding: 45px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.stat-box {
    text-align: center;
    flex: 1;
}

.stat-box h3 {
    color: #8a1c32;
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-box p {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #a6acaf;
}

/* ==========================================================================
   4. STRÁNKY: VYBAVENÍ A GALERIE (GRID)
   ========================================================================== */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.info-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: #8a1c32;
}

.card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    cursor: pointer; 
    transition: opacity 0.2s ease;
}

.card-img:hover {
    opacity: 0.9;
}

.card-content {
    padding: 30px;
    text-align: left;
}

.card-content ul {
    margin-left: 20px;
    margin-top: 12px;
    color: #555;
}

.card-content li {
    margin-bottom: 6px;
}

/* ==========================================================================
   5. STRÁNKA: KONTAKT
   ========================================================================== */
.wrapper-box {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    background: white;
    padding: 45px;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.02);
}

.side-info, .main-form {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    margin-bottom: 25px;
    text-align: left;
}

.contact-item h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8a1c32;
    margin-bottom: 5px;
}

.contact-display-img {
    width: 100%;
    height: auto;
    margin-top: 25px;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
    cursor: pointer;
}

form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-top: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2c3e50;
    text-align: left;
}

form input, form textarea, form select {
    width: 100%;
    padding: 13px;
    margin-top: 6px;
    border: 1px solid #dcdde1;
    border-radius: 5px;
    background-color: #fcfcfc;
    font-family: inherit;
    transition: all 0.3s ease;
}

form input:focus, form textarea:focus, form select:focus {
    outline: none;
    border-color: #8a1c32;
    background-color: white;
    box-shadow: 0 0 10px rgba(138, 28, 50, 0.08);
}

form button {
    margin-top: 25px;
    background-color: #1c2833;
    color: white;
    padding: 14px 35px;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

form button:hover {
    background-color: #8a1c32;
    box-shadow: 0 5px 20px rgba(138, 28, 50, 0.3);
}

/* ==========================================================================
   6. LUXUSNÍ PATIČKA
   ========================================================================== */
footer {
    background-color: #0b0e11;
    color: #7f8c8d;
    padding: 45px 0;
    margin-top: 100px;
    font-size: 14px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-content .author span {
    color: #8a1c32;
    font-weight: 600;
}

/* MODÁLNÍ LIGHTBOX OKNO */
.lightbox-modal {
    display: none; 
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); 
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.show {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox-modal.show .lightbox-img {
    transform: scale(1);
}

/* ==========================================================================
   7. ULTRA MOBILNÍ OPTIMALIZACE (RESPONZIVITA)
   ========================================================================== */
@media (max-width: 768px) {
    /* Úprava horní fixní lišty a loga */
    header {
        position: absolute;
        flex-direction: column;
        padding: 15px 20px;
        gap: 12px;
    }
    
    header .logo {
        font-size: 16px;
        letter-spacing: 1px;
    }

    /* Narovnání zmateného menu pod sebou do čistého bloku */
    header nav {
        justify-content: center;
        gap: 10px 15px;
        width: 100%;
    }

    header nav a {
        margin-left: 0;
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    /* Zmenšení obřího textu v banneru na rozumnou velikost */
    .hero {
        height: 80vh;
    }

    .hero-content h2 {
        font-size: 32px !important;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 25px;
    }
    
    .btn {
        padding: 11px 25px;
        font-size: 12px;
    }

    /* Úprava textových kontejnerů na mobilu */
    .container {
        margin: 60px auto;
        padding: 0 20px;
    }

    h2 {
        font-size: 26px;
    }

    .lead {
        font-size: 16px;
    }

    /* Přeskládání statistik pod sebe */
    .stats {
        flex-direction: column;
        padding: 30px 20px;
        gap: 25px;
    }

    .stat-box h3 {
        font-size: 30px;
    }

    /* Podstránky: sloučení prvků a formulářů pod sebe */
    .wrapper-box {
        padding: 25px 20px;
    }
}