:root {
 --orange: #FFA500;
 --lightgray: #E0E0E0;
 --gray: #2C2C2C;
}

/* Nastavovanie fontu pre celé telo stránky */
body {
  font-family: 'Roboto', sans-serif;  /* Použije sa font Roboto */
}

.nav-link {
  font-size: 18px;
}

.intro {
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: white; /* Pre lepšiu čitateľnosť */
  z-index: 1;
  overflow: hidden; /* Skrytie rozmazaných okrajov */
}

.intro::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  background: url("../img/ap6.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(7px); /* Rozmazanie bez efektu žiarenia */
  z-index: -2;
}

.intro::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Stmavenie pozadia */
  z-index: -1;
}


.intro h1 {
  font-size: 80px;
  color: white;
}

.intro h1 orange {
  color: var(--orange);
}

.scroll-link {
  font-size: 2rem;
  padding: 20px 40px;
  color: rgba(255, 255, 255, 0.8); /* Nastavíme farbu textu na priehľadnú */
  background-color: rgba(0, 0, 0, 0.2); /* Pozadie bude jemne priehľadné */
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
  animation: bounce 1.5s infinite; /* Tu je volanie animácie bounce */
  border-radius: 0;
  border: none;
}

.scroll-link:hover {
  background-color: rgba(0, 0, 0, 0.5); /* Pri hoveri stmavie */
  color: rgba(255, 255, 255, 1); /* Farba textu sa zintenzívni */
}

@keyframes bounce {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.apartment-info {
    min-height: 100vh;
}

.highlight {
    background-color: #333333;
    color: #fff;
    padding: 20px;
}
.orange-box {
    background-color: var(--orange);
    color: #fff;
    padding: 20px;
}
.gray-box {
    background-color: var(--lightgray);
    padding: 20px;
}
.white-box {
    background-color: white;
    padding: 20px;
}
.equal-height {
    display: flex;
}
.row.g-4 > .col {
    display: flex;
    flex-direction: column;
}
.full-height {
    height: 100%;
}
.h-100 {
    height: 100%;
}


footer h5 {
  color: #FFA500;
}

/* Galéria - jednotná veľkosť obrázkov */
.gallery img {
    width: 100%; /* Šírka obrázka sa prispôsobí šírke stĺpca */
    height: 200px; /* Nastavte pevnú výšku podľa potreby */
    object-fit: cover; /* Zabezpečí, že obrázok vyplní celý priestor bez deformácie */
    border-radius: 8px; /* Voliteľné: pridá zaoblené rohy */
    transition: transform 0.3s ease; /* Animácia pri hover */
}

.gallery img:hover {
    transform: scale(1.05); /* Efekt priblíženia pri hover */
}

@media only screen and (max-width: 768px) {
  .intro h1 {
    font-size: 65px;
    color: white;
  }
}

/* CSS pre efekt zväčšenia */
.zoom {
    transition: transform 0.3s ease-in-out;
}

.zoom:hover {
    transform: scale(1.1);
    cursor: pointer;
}

#gallery {
    min-height: 100vh;
}

#cena {
    min-height: 100vh;
}

footer {
    font-size: 1.1rem; /* Zvýšenie základného textu */
}

footer h5 {
    font-size: 1.3rem; /* Väčší font pre nadpisy */
    margin-bottom: 1rem; /* Větší medzera pod nadpisom */
}

footer p, footer a {
    line-height: 1.6; /* Lepšia čitateľnosť */
}

@media (max-width: 768px) {
    footer .row {
        text-align: center;
    }
}

footer a:hover {
    text-decoration: underline;
    color: #f8b400; /* Jemné zvýraznenie pri hoveri */
}


p {
    font-size: 18px;
}

/* Dropdown menu styling */
.dropdown-menu {
    background-color: #212529 !important; /* bg-dark farba */
    border: none;
}

/* Dropdown položky - farba textu */
.dropdown-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.75) !important; /* Rovnaká farba ako nav-link */
}

/* Po najetí myšou */
.dropdown-menu .dropdown-item:hover {
    background-color: #343a40 !important; /* Tmavšia verzia bg-dark */
    color: white !important;
}


@media (max-width: 991px) {
    .orange-box, .white-box, .gray-box, .highlight{
        transform: rotate(0deg) !important;
    }
}