/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f6f8;
  color: #333;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0a3d62;
  color: white;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.site-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.language-switch a {
  color: white;
  text-decoration: none;
  margin: 0 5px;
  font-weight: 500;
  opacity: 0.7;
}

.language-switch a:hover,
.language-switch a.active {
  opacity: 1;
  text-decoration: underline;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* HERO */
.hero {
  background: linear-gradient(to right, #0a3d62, #3c6382);
  color: white;
  padding: 250px 40px 80px;
  text-align: center;
}

.cta-button {
  background-color: #f6b93b;
  color: #0a3d62;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 20px;
}

/* SLUZBY */
.sluzby-boxy {
  background-color: #ffffff;
  padding: 60px 20px;
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 60px;
}

.sluzba-box {
  flex: 1 1 300px;
  max-width: 400px;
  color: white;
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.sluzba-box:hover {
  transform: scale(1.03);
}

.modra { background-color: #0a3d62; }
.cervena { background-color: #b71540; }
.zlta { background-color: #f6b93b; color: #0a3d62; }

/* KATALOGY */
.catalogs {
  padding: 60px 40px;
  text-align: center;
  background-color: #f9f9f9;
}

.catalog-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.catalog-row a {
  width: 200px;
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.catalog-row a:hover {
  transform: scale(1.05);
}

.catalog-row img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* O NAS */
.onas {
  background-color: #ffffff;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.onas-wrapper {
  max-width: 900px;
  background-color: #f0f4f8;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.9;
  color: #2f3640;
}

/* GALERIA */
.galeria {
  padding: 60px 40px;
  text-align: center;
}

.galeria h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #0a3d62;
}

/* KONTAKT */
#kontakt {
  padding: 60px 40px;
  background-color: #f9f9f9;
}

.kontakt-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.kontakt-box,
.formular {
  flex: 1 1 300px;
  max-width: 350px;
}

.kontakt-box {
  text-align: left;
}

.kontakt-heading {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #0a3d62;
}

.kontakt-box p,
.formular p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #333;
}

.kontakt-box a {
  color: #0a3d62;
  text-decoration: none;
}

.kontakt-box a:hover {
  text-decoration: underline;
}

.formular h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  background-color: #0a3d62;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* MAPA */
.mapa {
  width: 100%;
  background-color: #f4f6f8;
  padding: 60px 40px 0;
}

.mapa-box {
  flex: 1 1 300px;
  max-width: 350px;
  text-align: left;
  margin-bottom: 20px;
}

.mapa-box h3 {
  font-size: 1.2rem;
  color: #0a3d62;
  margin-bottom: 10px;
}

.mapa-box p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.mapa iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* FOOTER */
footer {
  background-color: #0a3d62;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.95rem;
}

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1e2a38;
  color: #ffffff;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  font-size: 15px;
  z-index: 9999;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

#cookie-banner p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

#cookie-banner button {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#cookie-banner button:hover {
  background-color: #45a049;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .kontakt-flex {
    flex-direction: column;
    align-items: center;
  }

  .kontakt-box,
  .formular {
    max-width: 100%;
    text-align: center;
  }

  .formular h2 {
    text-align: center;
  }

  .mapa-box {
    max-width: 100%;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    padding: 0;
  }

  .header-left {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .catalog-row {
    flex-direction: column;
    align-items: center;
  }

  .catalog-row a {
    width: 100%;
  }

  .onas-wrapper,
  .about-content {
    padding: 30px 20px;
  }
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0a3d62;
  color: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.language-switch a {
  color: white;
  text-decoration: none;
  margin: 0 5px;
  font-weight: 500;
  opacity: 0.7;
}

.language-switch a:hover,
.language-switch a.active {
  opacity: 1;
  text-decoration: underline;
  font-weight: bold;
}

/* NAVIGATION */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #f6b93b;
}

/* SCROLL FIX */
section {
  scroll-margin-top: 100px;
}

/* RESPONSIVE MENU */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header-left {
    flex-direction: column;
    gap: 10px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    padding: 0;
  }

  nav a {
    font-size: 1rem;
    padding: 5px 0;
  }
}

/* Scroll animation header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0a3d62;
  color: white;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding 0.3s ease;
  z-index: 1000;
}

header.scrolled {
  padding: 15px 30px;
}

.site-title {
  font-size: 2rem;
  transition: font-size 0.3s ease;
}

header.scrolled .site-title {
  font-size: 1.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 stĺpce vedľa seba */
  gap: 20px;
  padding: 40px 20px;
  background-color: #f9f9f9;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0a3d62;
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-align: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gallery-box:hover {
  transform: scale(1.05);
  background-color: #3c6382;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 stĺpce na tabletoch */
  }
}

@media (max-width: 500px) {
  .gallery-grid {
    grid-template-columns: 1fr; /* 1 stĺpec na mobiloch */
  }
}

.catalogs {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.catalog-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.catalog-row a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 200px; /* zväčšené z 160px */
  transition: transform 0.3s ease;
}

.catalog-row a:hover {
  transform: scale(1.07);
}

.catalog-row img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.catalog-row p {
  margin-top: 14px;
  font-size: 1.1rem; /* zväčšené písmo */
  font-weight: bold;
  color: #0a3d62;
  text-align: center;
}

.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #0a3d62;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
}

.mobile-header .logo {
  font-size: 1.2rem;
  font-weight: bold;
}

.hamburger {
  font-size: 1.8rem;
  cursor: pointer;
}


.mobile-nav {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background-color: #f9f9f9;
  display: none;
  flex-direction: column;
  padding: 20px;
  z-index: 999;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  margin-bottom: 15px;
}

.mobile-nav a {
  text-decoration: none;
  color: #0a3d62;
  font-weight: bold;
  font-size: 1rem;
}

/* Desktop header – zobraz len na väčších obrazovkách */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #0a3d62;
  color: white;
}

.mobile-header,
.mobile-nav {
  display: none;
}

/* Mobilné zobrazenie */
@media (max-width: 768px) {
  header {
    display: none;
  }

  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #0a3d62;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }

  .mobile-header .logo {
    font-size: 1.2rem;
    font-weight: bold;
  }

  .hamburger {
    font-size: 1.8rem;
    cursor: pointer;
  }

  .mobile-nav {
    display: none;
    flex-direction: column;
    background-color: #f9f9f9;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 20px;
  }

  .mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-nav li {
    margin-bottom: 15px;
  }

  .mobile-nav a {
    text-decoration: none;
    color: #0a3d62;
    font-weight: bold;
    font-size: 1rem;
  }
}

/* Mobilné menu */
.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: #f9f9f9;
  position: fixed;
  top: 0; /* Zmenené z 60px na 0 */
  left: 0;
  right: 0;
  z-index: 1001; /* Vyššie ako hlavička */
  padding: 80px 20px 20px; /* Horný padding kvôli logu */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  padding: 60px 40px;
  background-color: #f9f9f9;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-box {
  flex: 1 1 300px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 30px;
  min-width: 280px;
}

.contact-box h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #0a3d62;
}

.contact-box p {
  margin: 10px 0;
  line-height: 1.6;
  color: #333;
}

.contact-box a {
  color: #0a3d62;
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}

.contact-box form input,
.contact-box form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-box form button {
  background-color: #0a3d62;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact-box form button:hover {
  background-color: #07406e;
}

.map-container {
  margin-top: 60px;
  text-align: center;
  padding: 0 40px;
}

.map-container h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #0a3d62;
}

.map-container iframe {
  width: 100%;
  max-width: 1000px;
  height: 400px;
  border: none;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .contact-section {
    flex-direction: column;
    align-items: center;
  }

  .contact-box {
    max-width: 100%;
    text-align: center;
  }

  .contact-box form {
    text-align: left;
  }
}

