/* --- RESET & BASIC --- */
:root {
    --primary: #0d0d0d; /* Černá jako u ATEH */
    --accent: #333; 
    --bg-light: #f4f4f4;
    --bg-white: #ffffff;
    --text-grey: #666;
    --red-busy: #cc0000; /* ATEH červená */
    --green-free: #2ecc71;
    
    /* FONTY JAKO U ATEH */
    --font-primary: 'Jura', sans-serif;   /* Nadpisy */
    --font-secondary: 'Roboto', sans-serif; /* Text */
}

body {
    margin: 0; padding: 0; 
    font-family: var(--font-secondary); /* Text je Roboto */
    color: var(--primary); 
    line-height: 1.6; 
    background: var(--bg-white);
}

h1, h2, h3, h4 { 
    font-family: var(--font-primary); /* Nadpisy jsou Jura */
    font-weight: 700;
    text-transform: uppercase; 
    letter-spacing: 2px; 
    text-align: center; 
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; }

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

.btn { 
    display: inline-block; padding: 12px 30px; 
    background: var(--primary); color: white; /* Plné tlačítko jako u ATEH */
    text-transform: uppercase; cursor: pointer; border: none;
    font-family: var(--font-primary); font-weight: bold;
    transition: 0.3s;
}
.btn:hover { background: #333; }

/* --- HEADER --- */
header {
    background: var(--primary); /* Černé pozadí hlavičky jako u ATEH */
    color: white;
    padding: 20px 0; border-bottom: 1px solid #333;
    position: sticky; top: 0; z-index: 1000;
}
.header-flex { display: flex; justify-content: space-between; align-items: center; }

/* --- LOGO STYL (Upraveno dle ATEH) --- */
.logo { 
    font-family: var(--font-primary); 
    font-size: 1.8rem; 
    font-weight: 700; 
    letter-spacing: 4px; /* Širší mezery pro technický vzhled */
    color: white;
    text-transform: uppercase;
    border: 2px solid white; /* Rámeček kolem loga */
    padding: 5px 15px;
    display: inline-block;
}

nav ul { display: flex; gap: 30px; }
nav a { 
    font-family: var(--font-primary); 
    font-size: 1rem; 
    color: #ccc; 
    font-weight: 500;
}
nav a:hover { color: white; border-bottom: 2px solid white; }


/* --- HERO SECTION --- */
.hero {
    height: 60vh; background: url('img/1.jpg') no-repeat center/cover;
    display: flex; align-items: center; justify-content: center; position: relative;
}
.hero::after { content:''; position:absolute; inset:0; background: rgba(0,0,0,0.4); }
.hero-content { position: relative; z-index: 1; color: white; text-align: center; }
.hero h1 { font-size: 3rem; margin-bottom: 10px; }

/* --- SECTIONS --- */
section { padding: 60px 0; }
.bg-light { background-color: var(--bg-light); }

.intro-text { max-width: 800px; margin: 0 auto; text-align: center; font-size: 1.1rem; color: var(--text-grey); }

/* --- CATERING --- */
.catering-list { text-align: center; margin-top: 30px; }
.catering-item { margin: 10px 0; }
.catering-item a { font-weight: bold; border-bottom: 1px dotted var(--primary); }

/* --- CALENDAR --- */
.calendar-wrapper { max-width: 500px; margin: 0 auto; border: 1px solid #ddd; padding: 20px; background: #fff; }
.calendar-header { display: flex; justify-content: space-between; margin-bottom: 20px; font-weight: bold; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }
.day-name { font-weight: bold; color: #999; font-size: 0.8rem; }
.day { padding: 10px; cursor: pointer; border-radius: 4px; background: #eee; }
.day.empty { background: transparent; cursor: default; }
.day.free { background-color: var(--green-free); color: white; }
.day.busy { background-color: var(--red-busy); color: white; cursor: not-allowed; opacity: 0.6; }
.day.selected { border: 2px solid var(--primary); transform: scale(1.1); }

/* --- FORM --- */
.form-box { max-width: 600px; margin: 40px auto 0; }
input, textarea { width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc; box-sizing: border-box; }

/* --- GALLERY GRID --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 15px; }
.gallery-item { height: 250px; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }

/* --- LIGHTBOX --- */
.lightbox { 
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9); 
    z-index: 2000; align-items: center; justify-content: center; 
}
.lightbox img { max-width: 90%; max-height: 90vh; }
.close-lightbox { position: absolute; top: 20px; right: 30px; color: white; font-size: 3rem; cursor: pointer; }

/* --- FOOTER --- */
footer { background: var(--primary); color: white; text-align: center; padding: 40px 0; }
.map-responsive iframe { width: 100%; height: 400px; border: 0; }

@media (max-width: 768px) {
    .header-flex { flex-direction: column; gap: 15px; }
    .hero h1 { font-size: 2rem; }
    nav ul { flex-wrap: wrap; justify-content: center; }
}
/* STYL PRO COOKIE BANNER - OPRAVENO */
.cookie-banner {
    position: fixed; /* Fixuje lištu k oknu prohlížeče */
    bottom: 0;      /* Nalepí ji na spodní hranu */
    left: 0;
    width: 100%;    /* Přes celou šířku */
    background: rgba(13, 13, 13, 0.95); /* Tmavá barva jako u loga */
    color: white;
    padding: 20px 0;
    z-index: 10000;  /* Musí být nad vším ostatním */
    border-top: 2px solid #333;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    gap: 20px;
}

.btn-cookie {
    background: white;
    color: black;
    border: none;
    padding: 10px 25px;
    cursor: pointer;
    font-family: 'Jura', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-cookie:hover {
    background: #ccc;
}

@media (max-width: 768px) {
    .cookie-content { flex-direction: column; text-align: center; }
}
}
/* TLAČÍTKA V LIGHTBOXU */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 3rem;
    padding: 20px 15px;
    cursor: pointer;
    transition: 0.3s;
    user-select: none;
    z-index: 10001;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.prev { left: 10px; }
.next { right: 10px; }

/* Úprava Lightboxu, aby tlačítka nezavírala okno */
.lightbox {
    cursor: default;
}

.close-lightbox {
    z-index: 10002;
}

@media (max-width: 768px) {
    .nav-btn {
        padding: 10px 5px;
        font-size: 2rem;
    }
}