
@font-face {
    font-family: 'Bahnschrift';
    src: url('fonts/BAHNSCHRIFT.TTF') format('ttf');
    font-weight: normal;
    font-style: normal;
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* Two equal columns */
    gap: 40px; /* Space between columns */
    max-width: 1440px; /* Adjust as needed */
    margin: 0 auto; /* Centering */
    padding: 0px 30px;
}

.fa-star {
    color: #E7E4E4;
}


html {
    background-color: #E7E4E4;
}

header {
    height: 80px;
    background-color: rgb(24, 0, 163);
    display: flex;
    justify-content: center;
    align-items:center;
}

#kamere {
    margin-top: 20px;
    margin-bottom: 5px;
}

body {
    margin: 0px;
    font-family: 'Bahnschrift', sans-serif;
}

footer {
    height: auto;
    background-color: rgb(24, 0, 163);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* Two equal columns */
    gap: 40px; /* Space between columns */

    margin: 20px auto 0; /* Centering */
    padding: 0px 30px;
    color: #E7E4E4;
}

#vredno-ogleda {
    margin-top: 20px;
    margin-bottom: 5px;
}

#copyright {
    display: flex;
    align-items: center;
    
}

#contact {
    display: flex;
    align-items: center;
}

main {
    display: flex;
    flex-direction: column; /* Stack main content */
}

aside {
    display: flex;
    flex-direction: column; /* Stack main content */
}


h2 {
    text-align: center;
}

iframe {
    border: 0px;
    margin: 40px 0px;
}

#go2025 {
    width: 150px;
    height: auto;
    max-width: 100%;
    border-radius: 10px;
    margin: 20px 0px
}


.apartment-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 10px;
}

.slick-slider {
    margin: 20px 0px;
    width: 100%;
    max-width: 700px;
}

.slider-container {
    max-width: 100%;
    width: auto;
}

.slick-dots {
    margin-left: 5px;
}

.title-img-container {
    position: relative;
    display: flex; /* Enables flexbox */
    align-items: center; /* Aligns items vertically */
    gap: 15px; /* Adds space between image and text */
    justify-content: space-between;
    margin: 20px 0px
}

.title-container {
    position: absolute; /* Remove the title from the normal document flow */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust for exact centering */
    text-align: center; /* Optional: to center the title text */
}

h4 {
    text-align: center;
}

.phone {
    display: block;
    margin-top: 10px;
}

.content-container {
    display: flex;           
    justify-content: center; 
    gap: 30px;
    margin-bottom: 10px;
}

.description {
    max-width: 100%;
    width: 100%;
}

.rooms {
    margin: 10px 0px;
    display: inline-block;
}

#header-container-mobile {
    display: none;
}

.icons {
    margin: 5px 0px 20px;
    display: inline-block;
}

svg {
    margin-right: 3px;
}

.image-container {
    display: none;
}

.apartment-img-mobile {
    width: 300px;
    height: auto;
    
}

/* Media Query: Hide slideshow on mobile screens (less than 768px wide) */
@media (max-width: 768px) {

    .grid-container {
        display: flex;
        flex-direction: column;
    }

    main, aside {
        width: 100%;
    }

    .slider-container {
        display: none; /* Hides slideshow on mobile */
    }

    .title-img-container {
        display: block;
        text-align: center;
    }

    #header-container-mobile {
        display: block;
        text-align: center;
    }

    #header-container-desktop {
        display: none;
    }

    #go2025 {
        margin: 10px auto;
        width: 100px;
        height: auto;
    }

    .title-container {
        position: inherit;
    }

    .image-container {
        display: block;
        text-align: center;
    }

    .content-container {
        display: block;
    }

    footer {
        display: block;
        justify-content: center;
        height: auto;
    }

    #contact {
        text-align: center;
        margin-left: 0px;
        padding-top: 5px;
        justify-content: center;
    }

    #copyright {
        margin-right: 0px;
        padding-bottom: 5px;
        justify-content: center;
    }
}
