.hero {
    position: relative;
}

.hero img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
}

.hero .title {
    font-size: 80px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    font-weight: bold;
}

.hero .wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    text-align: center;
    padding: 0 20px;
}

.hero .subtitle {
    font-size: 32px;
    font-family: "libre_baskerville", Georgia, Times, Times New Roman, serif;
    font-style: italic;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    margin-top: 10px;
}

.hero .text {
    font-size: 16px;
    font-weight: 300;
    margin-top: 20px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.hero .wrapper img {
    height: 300px;
    object-fit: cover;
}

.navigacija .container {
    padding: 0px;
}

.navigacija .items {
    display: flex;
    justify-content: space-between;
    width: 100%;
    white-space: nowrap;
}

.navigacija .item {
    text-align: center;
    padding: 20px 10px;
    flex: 1;
}

.navigacija .item.active {
    background-color: #513d36;
    color: #fff;
}

.section-text {
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.6;
    color: #333;
}

.section1 {
    background-color: #f2ebdb;
    padding: 60px 0;
}

.section1 h1, .section1 h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2b2b2b;
}

.section1 .wrapper-content {
    display: flex;
    margin-bottom: 100px;
    justify-content: space-between;
}

.section1 .dates {
    text-transform: none;
    font-size: 20px;
    font-family: josefin_sans, Arial, Helvetica, sans-serif;
}

.section1 .prices .terms {
    font-size: 14px;
    color: #808080;
    margin-top: 15px;
}

.section1 .subtitle {
    background-color: #CFAE83;
    color: #fff;
    display: inline-block;
    padding: 5px 20px;
    border-radius: 25px;
}

.section1 .button-row {
    justify-content: left;
}

.section3 {
    background-image: url("/aktivnosti/images/aktivnosti-kopaonik.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 160px 0;
    text-align: center;
    position: relative;
}

.section3 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
}

.section3 .container {
    position: relative;
    z-index: 2;
}

.section3 .title {
    font-size: 54px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 15px;
}

.section3 .text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.5;
}

.section4 {
    padding: 60px 0;
}

.section4 .gallery-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.section4 .gallery-row .item {
    width: 100%;
    max-width: 260px;
    flex: 0 1 calc(25% - 15px);
}

.section4 .gallery-row .item img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 4px;
}

.section4 .gallery-row.row2 .item img {
    aspect-ratio: 3/2;
}

.pocetna-specijalne-ponude-lista .items-grid img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}

/* mobile version */
@media only screen and (max-width: 1199px) {
    .hero img {
        height: 400px;
    }

    .hero .title {
        font-size: 32px;
    }

    .hero .subtitle {
        font-size: 20px;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    }

    .hero .text {
        font-size: 14px;
        margin-top: 10px;
    }

    .navigacija .items {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .navigacija .item {
        min-width: 130px;
        flex: 0 0 auto;
        padding: 15px 10px;
    }

    .section3 {
        padding: 100px 0;
    }

    .section3 .title {
        font-size: 28px;
    }

    .section3 .text {
        font-size: 15px;
    }

    .section4 .gallery-row {
        flex-direction: column;
        align-items: center;
    }

    .section4 .gallery-row .item {
        max-width: 100%;
        flex: 1 1 100%;
    }
}