/* --- PROMĚNNÉ --- */
:root {
    --primary: #5D3A1A;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --text: #333;
}

html { 
    scroll-behavior: smooth; 
}

/* Globální pozadí stránky */
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), 
                url('foto/pozadi.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: American Typewriter, serif;
    color: var(--text);
    line-height: 1.6;
}

/* Úprava sekcí pro průhlednost */
section, .section {
    background: rgba(255, 255, 255, 0.3); 
    backdrop-filter: blur(5px); 
    margin-bottom: 20px;
    padding: 80px 10%;
}

.bg-light { 
    background: rgba(248, 249, 250, 0.4); 
}

/* Header & Navigace */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-container { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}

.logo-img { 
    height: 100px; 
    width: auto; 
}

.logo-text h1 { 
    margin: 0; 
    font-size: 24px; 
    color: var(--dark); 
    line-height: 1; 
}

nav ul { 
    list-style: none; 
    display: flex; 
    gap: 20px; 
    margin: 0; 
    padding: 0; 
    align-items: center; 
}

nav ul li a { 
    text-decoration: none; 
    color: var(--dark); 
    font-weight: 600; 
    font-size: 14px; 
    transition: 0.3s; 
}

nav ul li a:hover { 
    color: var(--primary); 
}

.btn-rezervace { 
    background: var(--primary); 
    color: white !important; 
    padding: 10px 20px !important; 
    border-radius: 25px; 
}

/* Společné prvky titulků */
.title { 
    text-align: center; 
    margin-bottom: 50px; 
}

.title h2 { 
    font-size: 32px; 
    color: var(--dark); 
    margin-bottom: 10px; 
}

.title::after { 
    content: ''; 
    display: block; 
    width: 50px; 
    height: 3px; 
    background: var(--primary); 
    margin: 0 auto; 
}

/* O NÁS / O CHATĚ */
.about-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
}

.subtitle {
    color: #2c3e50;
    text-decoration: underline 3px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 2px;
}

.about-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    min-width: 120px;
}

.stat-item strong {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 14px;
    color: #777;
    text-transform: uppercase;
    font-weight: 600;
}

/* Info bloky */
.info-row { 
    display: flex; 
    align-items: center; 
    gap: 50px; 
    margin-bottom: 60px; 
    font-weight: bold; 
}

.info-row.rev { 
    flex-direction: row-reverse; 
}

.info-img, .info-txt { 
    flex: 1; 
    font-weight: bolder; 
    font-size: larger;
}

.info-img img { 
    width: 100%; 
    border-radius: 15px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
}

/* CENÍK */
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
}

.card { 
    background: white; 
    padding: 30px; 
    border-radius: 15px; 
    text-align: center; 
    border: 1px solid #eee; 
    transition: 0.3s; 
}

.card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
}

.price { 
    font-size: 32px; 
    font-weight: bold; 
    color: var(--primary); 
    margin: 15px 0; 
}

.card hr { 
    border: 0; 
    border-top: 1px solid #eee; 
    margin: 15px 0; 
}

.unit { 
    font-weight: bold; 
    color: #777; 
    margin-top: -10px; 
}

.note { 
    font-size: 0.85em; 
    color: #888; 
}

.special-pricing { 
    margin-top: 40px; 
}

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

.special-box { 
    background: rgba(255, 255, 255, 0.8); 
    padding: 20px; 
    border-radius: 12px; 
    border: 1px solid #eee; 
}

.special-box h4 { 
    margin-top: 0; 
    color: var(--primary); 
    border-bottom: 2px solid var(--primary); 
    display: inline-block; 
    padding-bottom: 5px; 
}

.special-box ul { 
    list-style: none; 
    padding: 0; 
    margin: 15px 0 0; 
}

.special-box ul li { 
    display: flex; 
    justify-content: space-between; 
    padding: 8px 0; 
    border-bottom: 1px dashed #ddd; 
}

.price-info-footer {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: #DEB887;
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: left;
}

.price-info-footer h4 { 
    margin-top: 0; 
    color: var(--primary); 
}

/* SEKCE VYBAVENÍ */
.vybaveni-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.vybaveni-img-main {
    flex: 1;
    position: sticky;
    top: 100px;
}

.vybaveni-img-main img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.vybaveni-grid {
    flex: 1.4;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.vybaveni-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 22px 24px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(93, 58, 26, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vybaveni-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09);
}

.vybaveni-nadpis {
    font-size: 19px;
    color: var(--primary);
    margin: 0 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(93, 58, 26, 0.25);
}

.vybaveni-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vybaveni-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 15px;
    color: #444;
    line-height: 1.4;
}

.vybaveni-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 14px;
}

/* OKOLÍ A PŘÍRODA */
.okoli-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.okoli-card {
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.okoli-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.okoli-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.okoli-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.okoli-card:hover .okoli-img-container img {
    transform: scale(1.15);
}

.okoli-info {
    padding: 20px;
    text-align: center;
}

.okoli-info h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #2c3e50;
}

.okoli-info span {
    font-size: 14px;
    color: var(--primary);
    font-weight: bold;
    text-transform: uppercase;
}

/* GALERIE */
.gallery { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
    gap: 15px; 
}

.gallery img { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    border-radius: 10px; 
    transition: 0.3s; 
}

.gallery img:hover { 
    transform: scale(1.03); 
}

/* REZERVAČNÍ KARTA A FORMULÁŘ */
.reservation-card {
    max-width: 600px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.card-header { 
    background: var(--dark); 
    color: white; 
    padding: 30px; 
    text-align: center; 
}

.card-header h3 { 
    margin: 0; 
    font-size: 24px; 
}

.card-header p { 
    margin: 10px 0 0; 
    opacity: 0.8; 
    font-size: 14px; 
}

.card-body { 
    padding: 30px; 
}

.alert { 
    padding: 15px; 
    border-radius: 10px; 
    margin-bottom: 20px; 
    font-weight: 600; 
    text-align: center; 
}

.alert-success { 
    background: #d4edda; 
    color: #155724; 
    border: 1px solid #c3e6cb; 
}

.alert-danger { 
    background: #f8d7da; 
    color: #721c24; 
    border: 1px solid #f5c6cb; 
}

.modern-form { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
}

.form-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
}

.form-section { 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
}

.form-section label { 
    font-size: 13px; 
    font-weight: 700; 
    color: #555; 
    text-transform: uppercase; 
}

.form-section .icon { 
    margin-right: 5px; 
    font-style: normal; 
}

.modern-form input { 
    padding: 12px 15px; 
    border: 2px solid #eee; 
    border-radius: 10px; 
    font-size: 16px; 
    transition: 0.3s; 
}

.modern-form input:focus { 
    border-color: var(--primary); 
    outline: none; 
    box-shadow: 0 0 8px rgba(93, 58, 26, 0.2); 
}

.submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover { 
    background: #452a13; 
    transform: translateY(-2px); 
}

/* Kalendář dostupnosti */
.availability-preview { 
    margin-top: 40px; 
    border-top: 1px solid #eee; 
    padding-top: 30px; 
}

.availability-preview h4 { 
    font-size: 16px; 
    margin-bottom: 15px; 
    color: var(--dark); 
}

.legend { 
    display: flex; 
    gap: 15px; 
    font-size: 12px; 
    margin-bottom: 15px; 
}

.dot { 
    width: 10px; 
    height: 10px; 
    border-radius: 50%; 
    display: inline-block; 
    margin-right: 5px; 
}

.green { background: #28a745; }
.red { background: #dc3545; }

.calendar-grid { 
    display: grid; 
    grid-template-columns: repeat(7, 1fr); 
    gap: 8px; 
}

.day-cell { 
    padding: 10px 5px; 
    border-radius: 8px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    color: white; 
    font-weight: bold; 
}

.day-num { font-size: 14px; }
.month-num { font-size: 9px; opacity: 0.8; }
.is-free { background: #28a745; opacity: 0.8; }
.is-taken { background: #dc3545; }

/* KONTAKT KARTA (Styl podle formuláře) */
.contact-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.contact-box {
    background: #fdfdfd;
    padding: 25px 15px;
    border-radius: 14px;
    border: 1px solid rgba(93, 58, 26, 0.15);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-box h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: var(--dark);
}

.contact-box p {
    font-size: 14px;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.contact-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: 0.2s;
}

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

.contact-map-wrapper {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
}

/* Responzivita kontaktu */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        border-radius: 0;
        margin: 0 -5%;
    }
}

/* RESPONZIVITA */
@media (max-width: 900px) {
    .vybaveni-wrapper {
        flex-direction: column;
    }

    .vybaveni-img-main {
        position: static;
        width: 100%;
        max-height: 350px;
    }

    .vybaveni-img-main img {
        max-height: 350px;
    }

    .vybaveni-grid {
        width: 100%;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15px;
        gap: 10px;
    }

    .price-info-footer, 
    .info-row, 
    .info-row.rev { 
        grid-template-columns: 1fr; 
        flex-direction: column; 
    }

    .section { 
        padding: 50px 5%; 
    }

    .about-stats { 
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

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

    .contact-card {
        border-radius: 0;
        margin: 0 -5%;
    }
}

@media (max-width: 600px) {
    .form-grid { 
        grid-template-columns: 1fr; 
    }

    .calendar-grid { 
        grid-template-columns: repeat(4, 1fr); 
    }

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

    .reservation-card {
        border-radius: 0;
        margin: 0;
    }
}