
body {
  margin: 0;
 font-family: 'Lora', serif;
  background: #fefdf9;
  color: #4a4032;
  font-size:18px;
  line-height:1.6;
}

.top-bar {
  width: 80%;
  float:left;
  margin-left: 10% ;
  margin-top:20px;
}

.header {
width:100%;
float:left;
  padding: 40px 0;
}

.header-fotka {
width:45%;
float:left;
margin-left:10%;
}

.image-frame {
    width:240px;
    height:500px;
     background-position: center; /* Center the image */
     background-repeat: no-repeat; 
     background-size: cover; 
    float:left;
    position: relative;
    clip-path: polygon(0% 0%, 75% 0%, 100% 100%, 25% 100%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    padding-bottom:0px;
}

.foto1 {
background-image: url(../images/fara.png) ; 
}

.foto2 {
background-image: url(../images/cadlo.jpeg) ; 
}

.foto3 {
background-image: url(../images/kytka.jpeg) ; 
}

.header-text {
width:40%;
float:left;
}


.content {
  width: 90%;
  float:left;
  margin-left: 5% ;
}

.center-zona {
float:left;
text-align:center;
margin-bottom:30px;
padding-left:10%;
padding-right:10%;
}

hr.center { width: 50%; margin: 0 auto; border: none; border-bottom: 1px solid brown; }
hr.left   { width: 40%; margin: 0;       border: none; border-bottom: 1px solid brown; }
hr.left-vic   { width: 50%; margin: 0;       border: none; border-bottom: 1px solid brown; }

.indent {
margin-left:20px;
}

/* ====== Sekce Společenská mistnost ====*/


/* ============ Konec sekce ========== */

.spolecnost-zona {
width: 90%;
float:left;
margin-left:5%;
  margin-top:70px; 
}

.spolecnost-zona-text {
width: 40%;
  float:left; 
}

.spolecnost-zona-obrazek {
width: 48%;
  float:right;
}

.spolecnost-zona-obrazek img {
width: 300px;
height:350px;
  float:right;
  margin-right:50px;
}

.dva-pokoje {
width: 90%;
  float:left;
  margin-left: 5% ;
  margin-top:60px;
}

.pokoj-jedna {
width: 40%;
  float:left;
  
}

.pokoj-images {
width: 100%;
  float:left; 
  margin-top:15px; 
}

.pokoj-images img {
width: 100px;
height:150px;
  float:left;  
  margin-left:15px;
}

.pokoj-dva{
width: 45%;
  float:right;
}

.margin-30 {
margin-top:30px;
}

.kuchyn-zona {
width: 90%;
  float:right;
  margin-right: 5% ;
  margin-top:70px; 
}

.kuchyn-zona-text {
width: 40%;
  float:right; 
}

.kuchyn-zona-obrazky {
width: 48%;
  float:left;
}

.kuchyn-zona-obrazky img {
width: 300px;
height:350px;
  float:left;
margin-left:50px;
}

.dalsi-info {
width: 90%;
display:flex;
justify-content: space-between;
  float:right;
  margin-right: 5% ;
  margin-top:70px; 

}

.ubytovani {
width:100%;
float:left;
background-color: #ececeb;

}

.karta-info {
width:22%;
float:left;
border:7px solid white;
  background-color: #e3e3e1;
  margin-bottom:30px;
  padding:20px;
}

.zahrada-zona {
width: 90%;
  float:left;
  margin-left: 5% ;
  margin-top:70px; 
  padding:15px;
}

.zahrada-zona h2 {
margin-top:5px;
}

.zahrada-zona-text {
width: 40%;
  float:left; 
}

.zahrada-zona-obrazky {
  width: 48%;
  float: right;
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  padding: 1px;
 
}

.zahrada-zona-obrazky img {
  width: 300px;
  height: 350px;
  margin-left:30px;
  display: block;

}

.galerie {
width: 90%;
  float:left;
  margin-left: 5% ;
  margin-top:30px; 
  padding:15px;
}

.galerie img {
width:150px;
height:190px;

}

.okoli {
width: 90%;
  float:left;
  margin-left: 5% ;
  margin-top:30px; 
  padding:15px;
}

.top-nadpis {
width:40%;
float:left;
}

.vylet-text {
width:50%;
float:right;
}

.vylet-obrazek {
width:46%;
float:left;
}

.vylet-obrazek img {
width:95%;
margin-top:40px;
}

.social-links {
width:40%;
float:right;
margin-top:10px;
}

.soc-ikona img {
width:30px;
height:30px;
float:right;
margin-right:10px;
}

img {
cursor:pointer;
}

 h1 {
  font-size: 2.3em;
  margin: -10px;
  margin-left:-2px;
}

h2 {
  font-size: 2em;
  margin-bottom: 20px;
  border-bottom: 1px solid brown 60%;
}

h3 {
margin-bottom:5px;
}

h4 {
margin-top:5px;
margin-bottom:5px;
}

.cenik-kontakt {
width: 90%;
  float:left;
  margin-left: 5% ;
  margin-top:70px; 
  padding:15px;
}

.cenik {
width: 40%;
  float:left;
  margin-left: 10% ;

}

.kontakt {
width: 39%;
  float:left;
  margin-left: 10% ;

}

.kontakt a {
  color: #866;
  text-decoration: none;
  font-weight: bold;
}

.footer {
  width:100%;
  float:left;
  text-align: center;
  background-color: #f1e8db;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 0.9em;
  color: #333;
}

/* Lightbox modal */
#lightbox {
  position: fixed;
  display: none;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border: 5px solid white;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

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

.souhrn {
width: 90%;
  float:left;
  margin-left: 5% ;
  margin-top:70px; 
  padding:15px;
}

.equipment-overview {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin: 40px auto;

  flex-wrap: wrap;
  font-size: 16px;
}

.column {
  flex: 1 1 200px;
  min-width: 200px;
}

.column h3 {
  color: #2e5c66;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

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

.column li {
  margin-bottom: 6px;
  line-height: 1.4;
}

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

.checked-list li {
  position: relative;
  padding-left: 1.8em;
  margin-bottom: 6px;
  line-height: 1.5;
}

.check-icon {
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1em;
  height: 1em;
  background-image: url("data:image/svg+xml,%3Csvg fill='%232a9d8f' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.485 1.929a1 1 0 0 1 0 1.414L6.343 10.485a1 1 0 0 1-1.414 0L2.515 8.07a1 1 0 0 1 1.414-1.414L6 8.727l6.071-6.07a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
}


.nula-margin {
margin-top:0;
margin-bottom:5px;
}

.small {
font-size:14px;
}







.magic-grid {
  display: grid;
  grid-template-columns: repeat(8, auto);
  background-color: transparent;
  width: fit-content;
  margin: 40px auto;
}

.cell {
  position: relative;
  padding: 20px 20px;
  text-align: center;
  font-size: 20px;
  color: black;
  white-space: nowrap;
}

/* ? Svislé čáry mezi sloupci – kromě posledního sloupce */
.cell::before {
  content: "";
  position: absolute;
  top: 15%;
  right: 0;
  width: 1px;
  height: 70%;
  background-color: black;
}

.cell:nth-child(4n)::before {
  display: none; /* Poslední ve sloupci už čáru nedostane */
}

/* ? Vodorovné čáry mezi řádky – kromě poslední řady */
.cell::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 15%;
  width: 70%;
  height: 1px;
  background-color: black;
}

/* Dynamický výpočet pro skrytí posledního řádku */
.cell:nth-last-child(-n+8)::after {
  display: none;
}




