* { margin: 0; padding: 0; }
*, ::after, ::before { box-sizing: border-box; }
:root { --sticky-top: 127px; --blue: #009fe3; --grayborder: #e1e1e1; --lightgray: #f5f5f5; --lightwhite: rgba(255, 255, 255, 0.7); --lightwhiteborder: rgba(255, 255, 255, 0.3); --smallspace: 10px; --mediumspace: 30px; --bigspace: 60px; }


html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Montserrat',sans-serif; font-size: 1.2rem; margin: 0; padding: 0;   
  background-image: url('/static/res/stone-background.jpg');
  background-size: cover;       /* Optional: cover entire screen */
  background-repeat: no-repeat; /* Optional: prevent tiling */
  background-position: center;  /* Optional: center the image */
  background-attachment: fixed; /* Makes background static */
}

.strip { max-width: 1440px; margin-left: auto; margin-right: auto;   }
.sekcia { position: relative; font-size: 1.5em; font-weight: bold; color: #fff; background-color: #1b19159c; margin-top: 12px; cursor: pointer; text-align: center; margin-bottom: 10px; padding: 20px;   }
.sekcia-obsah { position: relative;   background-color: #e0e0e0dd;   cursor: pointer; text-align: center;  padding: 5px; border-radius: 5px; padding-top: 30px; padding-bottom: 30px; }
.caption { position: relative; font-size: 1.5em; font-weight: bold; color: #222; margin-top: 12px; cursor: pointer; text-align: center; margin-bottom: 10px; }
.caption::after { content: ''; position: absolute; width: 0; height: 2px; left: 0; bottom: -4px; background-color: #685034; /* fancy pink */ transition: width 0.4s ease;   }
.caption:hover::after { width: 100%; }
.fancy-paragraph { font-size: 1.1em; color: #222; line-height: 1.6; text-align: center; margin-top: 20px; padding: 0 20px; letter-spacing: 0.5px; position: relative; text-shadow: 1px 1px 2px rgba(0,0,0,0.1); }




.flex-container { display: flex;   gap: 16px; /* optional spacing between columns */ margin-bottom: 5px; margin-top: 5px;  }
.flex-container > .column { display: flex; justify-content: start; align-items: center; flex-direction: row; flex: 1 1 auto; min-width: auto; padding: 16px; box-sizing: border-box; }
.flex-container > .column > img { width: 300px; height: 250px;    flex-direction: row;  object-fit: contain; }



.grid-container { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; max-width: 1200px; margin: 0 auto; margin-top : 10px;}
.grid-container > .column { flex: 1 1 300px; min-width: 280px; background-color: #fff; border-radius: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); padding: 32px 24px; text-align: center; transition: transform 0.3s ease,box-shadow 0.3s ease; }
.grid-container > .column:hover { transform: translateY(-8px); box-shadow: 0 12px 28px rgba(0,0,0,0.15); }
.grid-container > .column > img{ width :100%; height: 200px; }
.grid-container > .column h2 { margin-bottom: 12px; font-size: 24px; color: #4a3f35; }


@media (max-width: 768px) {
  .grid-container >  .column { flex: 1 1 100%; }
  .flex-container { flex-wrap: wrap;}
  .flex-container > .column > img { width: 100%; height: 250px; }
  .flex-container {border-bottom:  1px solid rgb(100, 76, 76);}
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
 
}

.logo-circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-circle img {
  width: 250px;
  height: 250px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}