/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
}

/* NAVBAR */
.navbar {
    width: 100%;
    height: 100px;
    padding: 0 50px; /* padding horizontálne */
    background-color: black;
    background-image: url('background\ 4.jpg');
    background-size: cover;
    background-position: center;
    color: rgb(229, 194, 0);
    display: flex;
    justify-content: space-between;
    align-items: center; /* logo a menu vertikálne centrované */
    position: fixed;
    top: 0;
    z-index: 10;
}

.navbar .logo img {
    height: 140px;   /* veľkosť loga */
    object-fit: contain;
    display: block;
    margin-top: 40px; /* posun loga vyššie */
}

.navbar nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.navbar nav a {
    color: rgb(242, 207, 6);
    text-decoration: none;
    font-size: 18px;
}

.navbar nav a:hover {
    opacity: 0.7;
}

/* GRID FOTIEK */
/* GRID – menšie fotky + medzery */
.photo-grid {
    margin-top: 100px; /* výška navbaru */
    height: calc(100vh - 100px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 25px; /* medzery medzi fotkami */
    padding: 20px; /* okraje okolo gridu */
    box-sizing: border-box;
}

/* Box na fotku */
.photo-box {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

/* Fotky menšie, úhľadne zarovnané */
.photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Jemný zoom efekt */
.photo-box:hover img {
    transform: scale(1.05);
}

/* Overlay text */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.45);
    color: white;
    font-size: 26px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-box:hover .overlay {
    opacity: 1;
}


/* TEXT PRI PREJDE MYSOU */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 28px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-box:hover .overlay {
    opacity: 1;
}

/* ČISTIACE PRVYKY (ak ich chceš použiť) */
.clear {
    clear: both;
}
body {
  margin: 0;
  padding: 0;
  background-color: #111;
  color: #eee;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

header {
  padding: 40px;
  text-align: center;
  background: #000;
  border-bottom: 1px solid #333;
}

header h1 {
  margin: 0;
  font-size: 40px;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.text-block {
  flex: 1 1 450px;
}

.text-block h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.text-block p {
  margin-bottom: 15px;
  color: #ccc;
}

.photo-block {
  flex: 1 1 350px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.photo-block img {
  width: 100%;
  max-width: 380px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.gallery {
  padding: 30px 20px;
  max-width: 1400px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 2 / 1; /* 🔥 VIAC OBDĹŽNIK */
  object-fit: cover;

  border-radius: 0; /* ❌ odstráni zaoblenie */
  box-shadow: none; /* ❌ odstráni rám */

  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

a.back {
  display: block;
  color: #f1c40f;
  text-align: center;
  margin-top: 40px;
  text-decoration: none;
  font-size: 18px;
}

a.back:hover {
  text-decoration: underline;
}
body {
    background-color: #111;
    color: #eee;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Zafixovaný navbar nechávaš z indexu */
.contact-container {
    margin-top: 160px; /* nech to nejde pod navbar */
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
    background: #1a1a1a;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    overflow: hidden;

}

.contact-container h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    color: #f1c40f;
}

.contact-box p {
    font-size: 20px;
    margin: 18px 0;
    
}
.contact-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-box p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    word-break: break-word;
}

.contact-box a {
    color: #f1c40f;
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

.back {
    display: block;
    margin-top: 40px;
    text-align: center;
    color: #f1c40f;
    font-size: 18px;
    text-decoration: none;
}

.back:hover {
    opacity: 0.7;
}
.gallery-page {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gal-title {
    color: #ffffff;
    text-align: center;

    font-size: 30px;              /* 👈 menší, elegantný */
    font-family: 'Georgia', serif; /* alebo Playfair Display */
    letter-spacing: 1px;

    margin: 0;                    /* 👈 odstráni veľké medzery */
    padding: 15px 0;              /* 👈 jemné dýchanie */

    text-shadow: 0 2px 8px rgba(0,0,0,0.6); /* 👈 jemný shadow */
}
/* LIGHTBOX fullscreen viewer */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 29, 29, 0.9);
}

.lightbox-img {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80vh;
    border-radius: px;
}

.close {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 50px;
    color: #fff;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 20px;
    font-size: 50px;
    color: white;
    user-select: none;
}

.prev { left: 20px; }
.next { right: 20px; }

.videa {
     width: 600px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
/* ========================= */
/* 📱 MOBIL & TABLET */
/* ========================= */
@media (max-width: 768px) {

    /* ===== NAVBAR ===== */
    .navbar {
        height: auto;
        padding: 10px 15px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .navbar .logo img {
        height: 55px;
        margin: 0;
    }

    .navbar nav ul {
        flex-direction: row;
        gap: 12px;
        padding: 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar nav a {
        font-size: 14px;
        padding: 5px 8px;
    }

    /* ===== HERO / GRID ===== */
    .photo-grid {
    margin-top: 80px;
    height: auto;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 15px;
}

    .photo-box {
        height: 200px;
    }

    /* Overlay – jemný luxusný efekt */
    .overlay {
        opacity: 1;
        font-size: 18px;
        background: linear-gradient(
            to top,
            rgba(0,0,0,0.5),
            rgba(0,0,0,0.15)
        );
    }

    /* ===== GALÉRIA ===== */
    .gallery {
        gap: 5px;
        padding: 0 15px;
    }
    .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
   /* ===== CONTAINER FIX ===== */
     .container {
        display: flex;
        flex-direction: column;
        margin-top: 30px;
        padding: 5x 15px;
    }
.text-block p {
    column-count: 1;
    column-gap: 15px;
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
   }
.photo-block {
    display: none;
}
/* ===== KONTAKT ===== */
.contact-container {
    margin-top: 120px;
    padding: 25px;
    max-width: 90%;
}

.contact-box p {
    flex-direction: column;
    align-items: flex-start;
    font-size: 16px;
}


    /* ===== VIDEO ===== */
    .videa {
        width: 100%;
        border-radius: 14px;
    }
}
/* ========================= */
/* 💻 DESKTOP – jemné úpravy */
/* ========================= */
@media (min-width: 1024px) {

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 45px;              /* bolo 60px → teraz jemnejšie */
    padding: 35px 30px;     /* menej priestoru */
  }

 

}
/* ========================= */
/* 💻 DESKTOP – širší kontakt + text */
/* ========================= */
@media (min-width: 1024px) {

  .contact-container {
    max-width: 600px;   /* širšie len na PC */
    padding: 50px;
  }

}
.about-page .container {
    margin-top: 50px;
}
/* ========================= */
/* 📩 KONTAKT – MODERN CARD  */
/* ========================= */

.contact-container {
    margin-top: 140px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;

    padding: 40px;
    border-radius: 18px;

    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(10px);

    box-shadow: 0 0 25px rgba(0,0,0,0.6);
    border: 1px solid rgba(241, 196, 15, 0.2);
}

.contact-container h1 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 34px;
    color: #f1c40f;
    letter-spacing: 1px;
}

.contact-box {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-box p {
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 18px;
    color: #ddd;

    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-box a {
    color: #f1c40f;
    text-decoration: none;
    transition: 0.3s ease;
}

.contact-box a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(241,196,15,0.6);
}