
:root {
  --primary-color: #F52CCA;
  --primary-dark: #d814ae;
  --bg-overlay: rgba(255, 255, 255, 0.85);
  --text-dark: #2c3e50;
  --text-light: #5a6c7d;
  --card-bg: #ffffff;
  --shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  --radius: 16px;
}

/* --- Reset a tělo --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background-image: url("https://i.ibb.co/TcyXrS8/istockphoto-1388281684-612x612.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Jemný překryv pozadí*/
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg-overlay);
  z-index: -1;
}

/* --- Hlavička --- */
header {
  background-color: var(--primary-color);
  padding: 20px 0;
  box-shadow: 0 4px 15px rgba(245, 44, 202, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1600px;
  width: 92%; 
  margin: 0 auto;
}

header .logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-image: url('https://i.ibb.co/pd1qyD4/obr-zek-2024-03-01-175655032.png');
  background-size: cover;
  background-position: center;
  border: 3px solid white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

header h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* --- Hlavní rozložení (Sloupce) --- */
main {
  max-width: 1600px;
  width: 92%; 
  margin: 40px auto;
  padding: 0 15px; 
}

.columns {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 30px;

  align-items: flex-start; 
}

.column.left { flex: 0 0 27%; }
.column.center { flex: 0 0 40%; }
.column.right { flex: 0 0 27%; }

.column.left, .column.right {
  position: sticky;
  top: 110px; 
  height: fit-content; 
}

/* --- Vzhled sekcí (Karet) --- */
.card {
  background-color: var(--card-bg);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--primary-color);
}

.card h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-align: center;
}

/* --- Karta Informace --- */
.subtitle {
  text-align: center;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-light);
}

.contact-box {
  background: #fdf2fb;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 20px;
}

.phone-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  margin-top: 5px;
  transition: transform 0.2s;
}

.phone-number:hover {
  transform: scale(1.05);
}

.map-container iframe {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  border: none;
}

/* --- Karta Ceník --- */
.cenik-info {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.4;
}

.card h3 {
  font-size: 1.1rem;
  margin: 20px 0 10px 0;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
}

.price-list {
  list-style: none;
  padding: 0;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #ddd;
  font-size: 0.95rem;
}

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

.price-list li span:last-child {
  font-weight: 700;
  color: var(--primary-dark);
}

.notice {
  background: #fff4e5;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  text-align: center;
  margin-top: 15px;
  color: #d97706;
}

/* --- Galerie (Střední sloupec) --- */
.separator {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  background: var(--card-bg);
  padding: 15px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.obrazek-container {
  flex: 1;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.obrazek {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.obrazek-container:hover .obrazek {
  transform: scale(1.05); 
}

.transparent-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 20px;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.obrazek-container:hover .transparent-overlay {
  opacity: 1;
}

/* --- Mobilní responzivita a přeskládání pomocí ORDER --- */
@media (max-width: 992px) {
  header h1 { font-size: 1.8rem; }
  header .logo { width: 50px; height: 50px; }
  
  .columns {
    flex-direction: column;
    align-items: stretch; 
  }

  .column.left, .column.center, .column.right {
    flex: 1 1 100%;
    position: static; 
  }

  /* pořadí na mobilu */
  .column.right { order: 1; } /* 1. Ceník */
  .column.left  { order: 2; } /* 2. Informace / Mapa */
  .column.center{ order: 3; } /* 3. Fotky nakonec */
}

@media (max-width: 480px) {
  .separator {
    flex-direction: column; 
  }
}