body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}
.hero {
    display: flex;
    flex-direction: row; 
    position: relative;
    height: 100vh;
    color: #FDFBE2;
    background-image: url('../slike/glavna2.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.hidden-text {
    display: inline;
  }
.left-side, .right-side {
    width: 50%; 
}
.left-side {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 2;
}
.content {
    padding: 20px;
    text-align: center;
    position: relative;
    top: -100px;
}
.content h1{
    margin-bottom: 30px;
    font-weight: 900;
}
.content p{
    margin-bottom: 20px;
    font-size: 3px;
}
.btn {
    margin-top: 20px;
    background-color: #FF6F61; 
    border: 2px solid #FDFBE2;
    color: #FDFBE2;
    padding: 10px 20px;
    font-size: 22px;
    width: 324px;
    height: 55px;
    transition: all 0.3s ease;
    font-weight: 100;
    letter-spacing: 1px;
}
.btn {
    background-color: #FF6F61; 
    border-radius: 20px; 
    color: white; 
    padding: 10px 20px; 
    border: 2px solid #FDFBE2; 
    font-weight: bold; 
}
.right-side {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100vh;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(to right, rgba(108, 150, 87, 1) 0%, rgba(108, 150, 87, 0) 100%);
    z-index: 1;
    
}
.navbar {
    position: absolute;
    top: 20px;
    left: 350px;
    z-index: 3;
    background: transparent;
    transition: background-color 0.3s ease;
    font-size: 18px;
}
.navbar-toggler {
    background-color: transparent;
    border: none;
}
.navbar-toggler-icon{
    background-color: rgba(255, 255, 255, 0.7);
}

.collapse.navbar-collapse {
    background: rgba(108, 150, 87, 1);
}
.collapse {
    transition: height 0.4s ease;
}

.collapse.show {
    display: block;
}
.navbar-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; 
    justify-content: center;
}
.nav-link {
    color: #FDFBE2;
    text-decoration: none;
    text-transform: none;
    font-weight: bold;
    font-size: larger;
    margin: 0 30px;
    transition: color 0.3s ease;
}
.nav-link:hover {
    color: #FF6F61;
}
.wavy-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    height: auto;
    display: block; 
}
.logo {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px; 
    height: auto;
    z-index: 3;
}

.contact-button {
    margin-top: 20px;
    background-color: #FF6F61; 
    border: 2px solid #FDFBE2;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    width: 228px;
    height: auto;
    transition: all 0.3s ease;
}
.btn:hover{
    background-color: #FDFBE2;
    color: #6C9657;
    transform: scale(1.05);
    border-color: #D9D7C5;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2)
}


.modal-content {
    padding: 20px;
    text-align: center;
}

.contact-option {
    margin-bottom: 10px;
}

.modal-header {
    background-color: #6C9657; 
    color: white;
    border-bottom: none;
}


.close {
    color: white;
    font-size: 1.5rem;
}
.modal {
    z-index: 1055;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}
@media (min-width: 500px) and (max-width: 767px){
    .navbar-toggler{
        position: absolute;
        left: 30%;
    }
    .hidden-text {
        display: none;
      }
    .collapse.navbar-collapse{
        background: transparent;
    }
    .content h1{
        font-size: 10px;
    }
    .content p{
        font-size: 4px;
    }
    .btn{
        font-size: 12px;
        width: 200px;
        height: 45px;
    }
    .navbar{
        font-size: 12px;
        left: 200px;
    }
    .logo{
        width: 20%;
        height: auto;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .collapse.navbar-collapse {
        background: transparent;
    }
    .content h1 {
        font-size: 16px; /* Scale down font size */
    }

    .content p {
        font-size: 12px;
    }

    .btn {
        font-size: 16px;
        width: 240px;
        height: 50px;
    }


    .navbar {
        font-size: 16px;
        left: 200px; /* Adjust positioning */
    }
    .logo{
        width: 20%;
        height: auto;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
    .collapse.navbar-collapse {
        background: transparent;
    }
    .content h1 {
        font-size: 36px;
    }

    .content p {
        font-size: 16px;
    }

    .btn {
        font-size: 22px;
        width: 300px;
        height: 55px;
    }

    .navbar {
        font-size: 18px;
        left: 300px;
    }
    .logo{
        width: 20%;
        height: auto;
    }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .collapse.navbar-collapse {
        background: transparent;
    }
    .content h1 {
        font-size: 42px;
    }

    .content p {
        font-size: 18px;
    }

    .btn {
        font-size: 24px;
        width: 324px;
        height: 55px;
    }
}