

@font-face {   
    font-family: "FontAwesome";
    src: url("font/fontawesome-webfont.ttf");
    font-weight: 100 900;
    font-style: normal;
    font-optical-sizing: auto;
    font-display: swap;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;  /* Hide horizontal overflow */
    font-family: "FontAwesome", sans-serif;
}

h1, h2, h3, a{
    font-family: "FontAwesome", sans-serif;
}

p{
    font-size: 22px;
    font-family: "FontAwesome", sans-serif;
}

 /*MARK: NavBar
 */

/* NAV MENU*/
.logo img{
    text-align: right;
    height: 50px;
    transition: 0.5s ease;
}

.logo img:hover{
    height: 60px;
}

#navbar {
    margin-left: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#navbar li {
    list-style: none;
    padding: 20px 15px;
    margin-right: 25px;
    position: relative;
}

#navbar li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.02rem;
    transition: 0.6s ease;
}

#slider {
    position: relative;
    width: 100%;
    height: 100vh; /* Výška na celou viditelnou plochu */
    overflow: hidden;
}

#slider .slider-image {
    width: 100%;
    height: 100%;
    background-size: cover; /* Obrázek pokryje celý prostor */
    background-position: center;
    transition: opacity 0.9s ease; /* Efekt přechodu */
    opacity: 1;
}
  
  /* Navbar bez pozadí */
#header {
    position: absolute; /* Umístění nad sliderem */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10; /* Zajistí, že bude nad sliderem */
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 40px;
}

#header .menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

#header .menu ul li a {
    text-decoration: none;
    color: white; 
    font-size: 20px;
    font-weight: 600;
    transition: color 0.4s ease;
}

#header .menu ul li a:hover {
    text-decoration: underline #ffcc00;
}

/*MARK:Equip
*/

#equip{
    background-color: #333;
    text-align: center;
    padding: 25px 8px;
}

#equip h2{
    color: #ffcc00;
}

#equip ul{
    color: white;
}

/*MARK:Property
*/
/* Obecné styly pro sekci nemovitostí */
#property {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.property-box {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    width: calc(26% - 20px); /* Tři boxy vedle sebe s mezerami */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.property-box:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.property-box a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.property-img img {
    width: 100%;
    height: auto;
    display: block;
}

.property-info {
    padding: 15px;
}

.property-info h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.property-info p {
    margin: 5px 0;
    color: #555;
}

/*MARK:Footer
*/

.footer-box{
	background: #292f35;
}

.footer-info{
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #ffffff;
    padding: 20px 0;
}


.info-box{
    width: 50%;
    padding-left: 8px;
}

.underline{
    padding: 6px 0;
    color: #ffffff;
}

.info-box a,
.info-box p{
    font-size: 16px;
    padding-left: 30px;
}

.adress-box{
    width: 50%;
}

.adress-box iframe{
    width: 90%;
}

/*MARK:Shine
*/

#main-picture{
    width: 100vw;        /* Full viewport width */
    height: 100vh;       /* Full viewport height */
    overflow: hidden;    /* Hide anything that goes beyond the slider's dimensions */
    position: relative;  /* Positioning context for the image */
}

/* Styles for the image container */
.picture {
    width: 100%;
    height: 100%;
    display: flex;       /* Flexbox to help center the image if needed */
    align-items: center; /* Vertical center alignment */
    justify-content: center; /* Horizontal center alignment */
}

/* Styles for the images */
.picture img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*MARK:Gallery
*/
.gallery-box{
    width: 100%;
    flex-wrap: wrap;
}

.img-box-l{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

.img-box-l img{
    padding: 4px;
    width:10%;
    min-width: 250px;
    max-height: 165px;
}

/* Slider */
#slider-com {
    width: 100vw;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

/* Galerie */
.gallery-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.img-box-l img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.img-box-l img:hover {
    transform: scale(1.1);
}

/*MARK:Lightbox
*/
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#lightbox-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-img {
    max-width: 80%;
    max-height: 80%;
}

#prev,
#next {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

#prev {
    left: 10px;
}

#next {
    right: 10px;
}

#lightbox:after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

/*MARK:Maps
*/
#map{
    background-color: #333;
    text-align: center;
    padding: 18px 8px;
}

#map iframe{
    height: 300px;
    width: 90%;
}

/* Kontejner sekce */
#comparison-slider-section {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 400px;
    overflow: hidden;
  }
  
  /* Kontejner pro porovnání */
  .comparison-container {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: clip-path 0.3s ease;
  }
  
  /* Obrázek před */
  .comparison-image.before img {
    /* width: 100%; */
    height: 100%;
    object-fit: cover;
  }
  
  /* Obrázek po (text) */
  .comparison-image.after {
    background: #333; /* Základní barva pro textovou část */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .text-overlay {
    text-align: center;
    color: white;
  }
  
  .text-overlay h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ffcc00;
  }
  
  /* Slider */
  #slider-com {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-49.5%);
    width: 100%;
    appearance: none;
    background: transparent;
  }
  
  #slider-com::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #ffcc00;
    border-radius: 50%;
    cursor: pointer;
  }
  
  #slider-com::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ffcc00;
    border-radius: 50%;
    cursor: pointer;
  }
  
  /* Slider handle (odděluje obrázky) */
  .slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 5px;
    background: #ffcc00;
    cursor: ew-resize;
    z-index: 5;
  }
  
.info-list{
    font-size: 20px;
}

.info-list li{
    margin: 18px 0;
}

/*MARK:Responsivní
*/


@media (max-width: 992px) {
    .property-box {
        width: calc(45% - 20px); /* Dva boxy vedle sebe na středně velkých obrazovkách */
    }

    #header{
        flex-direction: column;
    }
}

@media (max-width: 770px) {

    #navbar li {
        list-style: none;
        padding: 0px 12px;
        gap: none;
        margin-right: 0px;
        position: relative;
    }
}


@media (max-width: 680px) {

    .property-box {
        width: 95%; /* Jeden box na řádek na malých obrazovkách */
    }

    #header .menu ul {
        flex-direction: column;
        gap: 0px;
        padding-top: 15px;
    }

    #navbar li {
        padding: 0px 0px;
        margin-right: 0px;
        padding: 8px 12px;
        position: relative;
    }

    .img-box-l img {
        width: 50%;
        object-fit: cover;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
}

@media (max-width: 502px) {
    .img-box-l img {
        height: auto;
        width: 100%;
    }
}