/* ==========================================================================
   gokybao.com — Rezervace příhraničních hotelů
   Class system: numeric (c1, c2, c3 ...)
   Style: modern minimalism, green palette, left fixed sidebar menu
   ========================================================================== */

/* c1 — reset / base */
.c1, .c1 *, .c1 *::before, .c1 *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --g1: #0f5132;   /* deep green (brand) */
  --g2: #198754;   /* green accent */
  --g3: #d1e7dd;   /* soft green */
  --g4: #f4f8f5;   /* off-white background */
  --g5: #1b1f1d;   /* near-black text */
  --g6: #ffffff;   /* white */
  --g7: #6c757d;   /* muted grey */
  --g8: #e2e8e4;   /* border grey-green */
  --radius: 12px;
  --sidebar-w: 260px;
  --shadow: 0 6px 24px rgba(15, 81, 50, 0.08);
}

/* c2 — page wrapper (html/body) */
html.c2 { background: var(--g4); scroll-behavior: smooth; }
body.c2 {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--g5);
  background: var(--g4);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--g1); text-decoration: none; }
a:hover { text-decoration: underline; }

/* c3 — app shell: sidebar + content */
.c3 { display: flex; min-height: 100vh; }

/* c4 — fixed left sidebar */
.c4 {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--g1);
  color: var(--g6);
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
  overflow-y: auto;
  z-index: 40;
}

/* c5 — brand block in sidebar */
.c5 { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.c5 img { width: 40px; height: 40px; border-radius: 10px; background: var(--g6); padding: 4px; }
.c5 span { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--g6); }

/* c6 — nav list */
.c6 { list-style: none; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.c6 a {
  display: flex; align-items: center; gap: 10px;
  color: var(--g3);
  padding: 11px 14px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}
.c6 a:hover { background: rgba(255,255,255,0.08); color: var(--g6); text-decoration: none; }
.c6 a.c6a { background: var(--g2); color: var(--g6); } /* active */
.c6 .c6b { /* small dot icon */
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; flex: none; opacity: 0.75;
}

/* c7 — sidebar footer */
.c7 { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.8rem; color: var(--g3); }
.c7 a { color: var(--g3); }

/* c8 — main content column */
.c8 {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* c9 — top bar inside content */
.c9 {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  background: var(--g6);
  border-bottom: 1px solid var(--g8);
  position: sticky; top: 0; z-index: 20;
}
.c9 h2 { font-size: 1.05rem; font-weight: 600; color: var(--g5); }
.c9 .c9a { display: flex; gap: 10px; align-items: center; }

/* c10 — mobile menu toggle button (hidden on desktop) */
.c10 {
  display: none;
  background: var(--g1); color: var(--g6);
  border: none; border-radius: 8px;
  width: 42px; height: 42px; font-size: 1.3rem; cursor: pointer;
}

/* c11 — content padding container */
.c11 { padding: 40px; max-width: 1080px; width: 100%; }

/* c12 — hero */
.c12 {
  background: var(--g6);
  border: 1px solid var(--g8);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow);
  margin-bottom: 36px;
}
.c12 h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 16px; color: var(--g5); }
.c12 p { color: var(--g7); max-width: 60ch; font-size: 1.05rem; }
.c12 .c12a { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

/* c13 — buttons */
.c13 {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--g2); color: var(--g6);
  border: none; border-radius: 10px;
  padding: 12px 22px; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: background 0.15s ease, transform 0.1s ease;
}
.c13:hover { background: var(--g1); text-decoration: none; }
.c13:active { transform: translateY(1px); }
.c13.c13a { background: transparent; color: var(--g1); border: 1.5px solid var(--g8); }
.c13.c13a:hover { background: var(--g3); }

/* c14 — section heading */
.c14 { margin: 40px 0 18px; }
.c14 h2 { font-size: 1.5rem; letter-spacing: -0.02em; color: var(--g5); }
.c14 p { color: var(--g7); margin-top: 6px; max-width: 70ch; }

/* c15 — card grid */
.c15 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

/* c16 — card */
.c16 {
  background: var(--g6);
  border: 1px solid var(--g8);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.c16:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.c16 img { height: 160px; object-fit: cover; width: 100%; background: var(--g3); }
.c16 .c16a { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.c16 h3 { font-size: 1.1rem; color: var(--g5); }
.c16 p { color: var(--g7); font-size: 0.92rem; }
.c16 .c16b { margin-top: auto; font-size: 0.85rem; font-weight: 600; color: var(--g2); }

/* c17 — feature/info blocks */
.c17 {
  background: var(--g6);
  border: 1px solid var(--g8);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}
.c17 h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--g5); }
.c17 p { color: var(--g7); }
.c17 ul { margin: 12px 0 0 20px; color: var(--g7); }
.c17 li { margin-bottom: 6px; }

/* c18 — interactive: booking cost estimator (UNIQUE ELEMENT) */
.c18 {
  background: var(--g1);
  color: var(--g6);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 36px;
}
.c18 h2 { font-size: 1.5rem; margin-bottom: 6px; color: var(--g6); }
.c18 > p { color: var(--g3); margin-bottom: 22px; }
.c18 .c18a { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; align-items: end; }
.c18 label { display: block; font-size: 0.85rem; margin-bottom: 6px; color: var(--g3); font-weight: 500; }
.c18 select, .c18 input[type="number"], .c18 input[type="date"] {
  width: 100%; padding: 11px 12px; border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08); color: var(--g6); font-size: 0.95rem;
}
.c18 select option { color: var(--g5); }
.c18 .c18b { /* range group */ }
.c18 input[type="range"] { width: 100%; accent-color: var(--g2); }
.c18 .c18c { /* result panel */
  margin-top: 24px; background: rgba(255,255,255,0.08);
  border-radius: 10px; padding: 20px;
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.c18 .c18c strong { font-size: 1.6rem; font-weight: 700; }
.c18 .c18d { font-size: 0.85rem; color: var(--g3); }
.c18 output { font-weight: 600; }

/* c19 — data table */
.c19 { width: 100%; border-collapse: collapse; background: var(--g6); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--g8); }
.c19 th, .c19 td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--g8); font-size: 0.92rem; }
.c19 th { background: var(--g3); color: var(--g1); font-weight: 600; }
.c19 tr:last-child td { border-bottom: none; }
.c19 tbody tr:hover, .c19 tr:hover { background: var(--g4); }

/* c20 — accordion (FAQ) */
.c20 { display: flex; flex-direction: column; gap: 12px; }
.c20 details {
  background: var(--g6); border: 1px solid var(--g8);
  border-radius: var(--radius); padding: 0; overflow: hidden;
}
.c20 summary {
  cursor: pointer; padding: 18px 20px; font-weight: 600; color: var(--g5);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.c20 summary::-webkit-details-marker { display: none; }
.c20 summary::after { content: "+"; font-size: 1.3rem; color: var(--g2); }
.c20 details[open] summary::after { content: "\2013"; }
.c20 .c20a { padding: 0 20px 18px; color: var(--g7); }

/* c21 — form */
.c21 { background: var(--g6); border: 1px solid var(--g8); border-radius: var(--radius); padding: 28px; max-width: 620px; }
.c21 .c21a { margin-bottom: 16px; }
.c21 label { display: block; font-size: 0.88rem; font-weight: 500; margin-bottom: 6px; color: var(--g5); }
.c21 input, .c21 textarea {
  width: 100%; padding: 12px; border: 1px solid var(--g8);
  border-radius: 9px; font-size: 0.95rem; font-family: inherit; color: var(--g5); background: var(--g4);
}
.c21 input:focus, .c21 textarea:focus { outline: 2px solid var(--g2); outline-offset: 1px; border-color: var(--g2); }
.c21 textarea { min-height: 130px; resize: vertical; }
.c21 .c21b { color: #b02a37; font-size: 0.8rem; margin-top: 4px; display: none; }
.c21 .c21b.c21c { display: block; }

/* c22 — long-form legal / article text */
.c22 { background: var(--g6); border: 1px solid var(--g8); border-radius: var(--radius); padding: 40px; max-width: 860px; }
.c22 h1 { font-size: 2rem; margin-bottom: 8px; color: var(--g5); letter-spacing: -0.02em; }
.c22 .c22a { color: var(--g7); font-size: 0.88rem; margin-bottom: 28px; }
.c22 h2 { font-size: 1.25rem; margin: 28px 0 10px; color: var(--g1); }
.c22 h3 { font-size: 1.05rem; margin: 20px 0 8px; color: var(--g5); }
.c22 p { margin-bottom: 12px; color: var(--g5); }
.c22 ul, .c22 ol { margin: 0 0 14px 22px; color: var(--g5); }
.c22 li { margin-bottom: 6px; }

/* c23 — page footer */
.c23 { margin-top: auto; padding: 28px 40px; background: var(--g6); border-top: 1px solid var(--g8); color: var(--g7); font-size: 0.86rem; }
.c23 .c23a { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.c23 a { color: var(--g1); }

/* c24 — cookie banner (blocks interaction) */
.c24 {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 31, 29, 0.55);
  display: none; align-items: flex-end; justify-content: center;
}
.c24.c24a { display: flex; } /* visible */
.c24 .c24b {
  background: var(--g6); max-width: 560px; width: calc(100% - 32px);
  border-radius: 16px 16px 0 0; padding: 28px; box-shadow: 0 -10px 40px rgba(0,0,0,0.25);
  margin-bottom: 0;
}
.c24 h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--g5); }
.c24 p { color: var(--g7); font-size: 0.9rem; margin-bottom: 18px; }
.c24 .c24c { display: flex; gap: 12px; flex-wrap: wrap; }

/* c25 — toast */
.c25 {
  position: fixed; bottom: 24px; right: 24px; z-index: 120;
  background: var(--g1); color: var(--g6);
  padding: 16px 22px; border-radius: 12px; box-shadow: var(--shadow);
  font-size: 0.92rem; opacity: 0; transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease; pointer-events: none; max-width: 340px;
}
.c25.c25a { opacity: 1; transform: translateY(0); }

/* c26 — 404 centered */
.c26 { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 70vh; padding: 40px; }
.c26 .c26a { font-size: 5rem; font-weight: 800; color: var(--g2); letter-spacing: -0.04em; }
.c26 h1 { font-size: 1.6rem; margin: 8px 0 12px; color: var(--g5); }
.c26 p { color: var(--g7); max-width: 46ch; margin-bottom: 22px; }

/* c27 — contact info grid */
.c27 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-bottom: 28px; }
.c27 .c27a { background: var(--g6); border: 1px solid var(--g8); border-radius: var(--radius); padding: 22px; }
.c27 .c27a h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--g7); margin-bottom: 8px; }
.c27 .c27a p { color: var(--g5); font-weight: 500; }

/* c28 — sidebar backdrop for mobile */
.c28 { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 30; }
.c28.c28a { display: block; }

/* Responsive */
@media (max-width: 900px) {
  .c4 { transform: translateX(-100%); transition: transform 0.25s ease; }
  .c4.c4a { transform: translateX(0); }
  .c8 { margin-left: 0; }
  .c10 { display: inline-flex; align-items: center; justify-content: center; }
  .c9 { padding: 14px 18px; }
  .c11 { padding: 22px 18px; }
  .c12, .c22 { padding: 26px; }
  .c18 { padding: 24px; }
}
