.banner {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85); /* len mierne stmavenie */
}

.banner::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
    pointer-events: none;
    border-radius: 12px;
}

.top {
    padding: 0px 0px 1px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;       
    gap: 20px;
    padding: 20px 0 0 0;      
    margin: 0;
    list-style: none;
}

.menu a {
    text-decoration: none;
    font-weight: 700;
    color: black;
    font-family: Georgia, sans-serif;
    font-size: 1.15em;
    padding: 8px 8px;         /* Trochu väčšia klikateľná plocha */
    display: inline-block;
    line-height: 1;            /* Žiadne extra výškové odsadenie */
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.menu a:hover {
    background-color: #5B2C6F;
    color: white;
}

article h1 {
    text-align: justify;
    margin-bottom: 1em;
}

article {
    background-color: #f9f9f9;
    padding: 20px 40px;
    border-radius: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    width: 90%;
    font-family: Georgia, serif;
}

article p {
    text-align: justify;
    line-height: 130%;
}

.predel {
    border: none;
    border-top: 1px solid #ccc;
    margin: 0 auto 30px auto;
    width: 90%;
}

footer {
    background-color: #f2f2f2;
    color: #333;
    font-size: 0.95rem;
    padding: 40px 20px 10px 20px;
    border-top: 2px solid #BA90AD;
    font-family: Georgia, serif;
}

.footer-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    max-width: 1000px;
    margin: auto;
    gap: 30px;
}

.footer-col {
    flex: 1 1 23%;
    margin: 10px;
    padding-right: 20px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #5B2C6F;
    font-family: Georgia, serif;
}

.footer-col p {
    white-space: normal;
    line-height: 1.5;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #BA90AD;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.85rem;
    color: #666;
    font-family: Georgia, serif;
}

.mini-kalkulator {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-kalkulator input {
  padding: 6px;
  font-size: 0.95em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.mini-kalkulator button {
  padding: 8px;
  background-color: #5B2C6F;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.mini-kalkulator button:hover {
  background-color: #3E1D52;
}

.mini-kalkulator p {
  font-weight: bold;
  color: #333;
  margin-top: 5px;
}

.videa {
    background-color: #5B2C6F;
}

.videa h2 {
    text-align: center;
    padding-top: 15px;
    color: white;
    margin-bottom: 10px;
    font-size: 1.4em;
    font-family: Georgia, sans-serif;
}

.videa_gallery {
    display: flex;
    justify-content: center;
    padding: 20px;
    gap: 20px; 
}

.videa_gallery video {
    object-fit: cover;
    width: 360px;
    height: 240px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2)
}

/* --- Sekcia O mne + kontaktný formulár --- */
article .o-mne {
    width: 90%;
    margin: 40px auto 60px auto;  /* namiesto 40px 5px 60px 5px */
    padding: 20px 40px;
    font-family: Georgia, serif;
    background-color: #f9f9f9;
    border-radius: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #333;
    box-sizing: border-box;
}

.o-mne h1 {
    margin-bottom: 1em;
    text-align: left;
    color: black;
}

.o-mne p {
    line-height: 1.6;
    margin-bottom: 1em;
}

/* Formulár */
.o-mne form {
    display: flex;
    flex-direction: column;
    align-items: center;         /* zarovná na stred */
    gap: 15px;
    margin-top: 40px;
}

.o-mne form h4 {
    font-family: Georgia, serif;
    font-size: 1.1em;
    text-align: center;
}

.o-mne form > * {
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
}

.o-mne label {
    font-weight: bold;
    font-family: Georgia, serif;
    color: black;
    text-align: left;
    width: 100%;
}

.o-mne input[type="text"],
.o-mne input[type="email"],
.o-mne textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: Georgia, serif;
    font-size: 1em;
    resize: vertical;
    width: 100%;
}

.o-mne textarea {
    min-height: 120px;
}

.o-mne button {
    background-color: #5B2C6F;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    font-family: Georgia, serif;
    transition: background-color 0.3s ease;
    align-self: center;
    margin-bottom: 40px;
}

.o-mne button:hover {
    background-color: #4b007b;
}

/*-- sekcia php.html --*/
.container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

aside {
    width: 200px;
    padding: 10px;
    margin: 40px 0 0 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;    
}

aside a {
    text-decoration: none;
    font-size: Georgia, serif;
    color: black;
}

main {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}