@import url('https://fonts.googleapis.com/css2?family=Roboto+Serif:ital,opsz,wght@0,8..144,100;0,8..144,200;0,8..144,300;0,8..144,400;0,8..144,500;0,8..144,600;0,8..144,700;0,8..144,800;0,8..144,900;1,8..144,100;1,8..144,200;1,8..144,300;1,8..144,400;1,8..144,500;1,8..144,600;1,8..144,700;1,8..144,800;1,8..144,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --primarna-color: rgb(0 172 103);
    --sekundarna-color: rgb(209 240 227);
    --akcent-color: rgb(174 45 99);
    --bg-overlay: rgba(209, 240, 227, .8);
    --border-color: rgba(0, 172, 103, 0.3);
    --black-color: #0f0f0f;
    --white-color: #f1f1f1;
    --heading-font: 'Roboto Serif', serif;
    --text-font: 'Roboto', sans-serif;
}

body {
    padding: 0;
    margin: 0;
    font-family: var(--text-font);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.popup-open {
    overflow-y: hidden;
}

a {
    text-decoration: none;
    color: var(--black-color);
}

nav ul {
    list-style: none;
    padding: 0;
}

/* -----header ----- */
header {
    background: var(--sekundarna-color);
    position: sticky;
    top: 0;
}

#openMenu, #mobMenu {
    display: none;
}

header section {
    max-width: 1000px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 3px 20px;
}

header nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0;
}

nav li:hover, 
.drop-content-menu a:hover, 
.dropbtn-menu:hover {
    text-decoration-line: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--akcent-color);
    cursor: pointer;
}

.logo {
    width: 80px;
}

nav ul, .dropbtn-menu {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .4px;
    text-transform: uppercase;
    line-height: 80%;
}

nav ul {
    line-height: 135%;
}

.dropbtn-menu {
    border: none;
    background: none;
    padding: 0;
}

/* ------ dropdown parkovi ------ */
#myDropdownM a {
    padding: 0;
}

.drop-content-menu,
.drop-content-flag {
    display: none;
    position: absolute;
    background-color: var(--bg-overlay);
    padding: 15px 20px;
    margin-top: 17px;
    text-wrap: nowrap;
    right: 0px;
    line-height: 170%;
}

.drop-content-flag {
    margin-top: 12px;
}

.showF, .showM {display: grid;}

/* ------ dropdown zname ------ */
.dropbtn-flag {
    border: none;
    cursor: pointer;

}

.dropdown-menu,
.dropdown-flag {
    position: relative;
}

[class*="flag-"] {
    background-position: center;
    background-size: cover;
    background-color: transparent;
    vertical-align: middle;
    width: 30px;
    height: 18px;
    background-repeat: no-repeat;
}

.flag-1 {
    background-image: url(./img/zname_mkd.webp);
}

/* .flag-2 {
    background-image: url(./img/zname_al.webp);
} */

.flag-3 {
    background-image: url(./img/zname_uk.webp);
}

nav .active {
    color: var(--akcent-color);
}

/* ----- footer ----- */
footer {
    background-color: var(--sekundarna-color);
    margin-top: auto;
}

.footer {
    max-width: 1000px;
    margin: 0 auto;
    padding: 5px 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#arrow-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    color: var(--primarna-color);
    font-size: 30px;
    z-index: 0;
}

#arrow-top:hover {
    color: var(--akcent-color);
}

footer nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3px;
}

footer nav ul li {
    padding-bottom: 5px;
}

.copyright {
    text-align: center;
    background-color: var(--primarna-color);
    color: var(--white-color);
    margin: 0;
    padding: 5px;
    font-size: 13px;
}

/* ----- hero section ----- */
[class*="hero-"] {
    padding: 19.1%;
    background-size: cover;
    background-position: center;
    font-family: "Roboto Serif", serif;
    color: var(--white-color);
    text-align: center;
    font-size: 26px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: -50px;
}

.hero-1 {
    background-image: url("./img/naslovna_doma.webp");
}

.hero-2 {
    background-image: url("./img/naslovna_aktivnosti.webp");
}

.hero-3 {
    background-image: url("./img/naslovna_prestoj.webp");
}

.hero-4 {
    background-image: url("./img/naslovna_pravila_na_odnesuvanje.webp");
}

.hero-5 {
    background-image: url("./img/naslovna_za_nas.webp");
}

.hero-6 {
    background-image: url("./img/naslovna_pelister.webp");
}

.hero-7 {
    background-image: url("./img/naslovna_mavrovo.webp");
}

.hero-8 {
    background-image: url("./img/naslovna_galicica.webp");
}

.hero-9 {
    background-image: url("./img/naslovna_sar_planina.webp");
}

/* ----- map section ----- */
.map {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap-reverse;
    gap: 50px;
    align-items: center;
    margin: 5rem 20px;
}

.map-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    text-align: left;
    width: 400px;
    height: auto;
    padding: 20px 25px;
    background-color: var(--bg-overlay);
    border-radius: 25px;
    font-size: 14px;
    letter-spacing: .3px;
    line-height: 140%;
}

.map-text p, .map-text h2 {
    margin: 0;
}

svg {
    width: 450px
}

.cls-1, .cls-4 {
    fill: #fff;
}
.cls-1 {
    stroke: #000;
    stroke-miterlimit: 10;
    stroke-width: 8px;
}
.cls-2 {
    fill: #bfe5f8;
}
.cls-3 {
    fill: #ae2d63;
}
.cls-5 {
    fill: #00ac67;
}

.cls-5:hover {
    fill: var(--akcent-color);
}

.active-icon {
    fill: var(--akcent-color);
}

.hide {
    display: none;
}

/* ----- quote section ----- */
.quote {
    background: var(--sekundarna-color);
    height: 100px;
    z-index: -1;
    margin: 5rem auto;
}

.quote > div {
    max-width: 1100px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    height: 100px;
    padding: 0 20px;
    margin: auto;
}

.quote h3 {
    font-family: "Roboto Serif", serif;
    font-size: 16pt;
    letter-spacing: 1px;
}

.divider {
    width: 4px;
    height: 60px;
    background-color: var(--akcent-color);
}

.quote p, #zanas-citat {
    font-weight: 600;
    font-style: italic;
    letter-spacing: .5px;
}

/* ----- card section ----- */
.cards {
    margin: 5rem auto;
    max-width: 1000px;
    padding: 20px;
}

.card-head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    flex-wrap: wrap;
}

.card-body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
}

.cards-but {
    padding: 10px;
    font-weight: 600;
    background-color: var(--white-color);
    border: 3px solid var(--akcent-color);
    border-radius: 10px;
}

.cards-but:hover {
    background-color: var(--akcent-color);
    border: 3px solid var(--akcent-color);
    color: var(--white-color);
}

.card {
    min-width: 290px;
    height: 225px;
    background-color: var(--bg-overlay);
    border-radius: 20px;
    overflow: hidden;
}

.card-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 65px;
    padding: 0 15px;
    font-weight: 700;
}

.card-but {
    background-color: var(--primarna-color);
    color: white;
    border-color: transparent;
    padding: 10px;
    font-weight: 600;
    border-radius: 10px;
    max-width: 150px;
    font-size: 10pt;
}

.card-but:hover {
    background-color: var(--white-color);
    border: 3px solid var(--primarna-color);
    color: var(--black-color);
}

.card img {
    object-fit: cover;
    width: 100%;
    height: 150px;
}

.text-block {
    margin: 5rem auto;
    padding: 0 20px;
    max-width: 1000px;
    width: 60%;
    height: auto;
    text-align: start;
    font-size: 14px;
    letter-spacing: .3px;
    line-height: 120%;
}

#avtorskiPrava h2 {
    text-align: center;
}

.text-block a {
    text-decoration: underline solid;
}

.text-block a:hover {
    text-decoration: none;
    color: var(--akcent-color);
}

.text-block li {
    line-height: 160%;
}

/* ----- park links ----- */
.links {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.links a:hover {
    color: var(--akcent-color);
}

/* ----- park text + photo section ----- */
.sec-text-photo {
    margin: 5rem auto;
    max-width: 1000px;
    padding: 0 20px;
}

.text-photo {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.text-photo.revers-photo {
    flex-wrap: wrap-reverse;
}

.text {
    width: 60%;
    height: auto;
}

.photo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 300px;
    height: auto;
}

.bg {
    z-index: -5;
    min-height: 100%;
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    opacity: .18;
    overflow: hidden;
}

.popup {
    display: none;
    position: fixed;
    justify-content: center;
    align-content: center;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-overlay);
    backdrop-filter: blur(6px);
    overflow: none;
    z-index: 2;
}

.pop-title {
    position: relative;
    margin: 70px auto;
    padding: 30px 20px;
    background: white;
    border-radius: 20px;
    width: 70%;
    max-height: 80%;
    overflow: auto;
    text-align: center;
}

.pop-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: left;
    margin: auto;
    max-width: 80%;
}



iframe {
    max-width: 90%;
}

.pop-map {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pop-map > div {
    max-width: 600px;
}

.pop-img {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pop-img img {
    max-height: 200px;
}

.disclaimer {
    width: 80%;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 15px;
    background: #EF665B;
    border-radius: 8px;
    box-shadow: 0px 0px 5px -3px #111;
    color: var(--white-color);
  }

.disclaimer-first {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.disclaimer-first h4 {
    margin: 0;
    letter-spacing: .6px;
}

.dislaimer-title {
    font-weight: 500;
    font-size: 14px;
}

#close {
    font-size: 30px;
    color: var(--primarna-color);
    position: absolute;
    top: 30px;
    right: 30px;
}

#close:hover,
.arrow-top-pop:hover {
    color: var(--akcent-color);
}

.arrow-top-pop {
    position: fixed;
    right: 100px;
    bottom: 30px;
    color: var(--primarna-color);
    font-size: 30px;
    z-index: 1;
}

@media screen and (max-width: 1300px) {
    .pop-img{
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 970px) {
    .card-body {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 750px) {
    .quote {
        display: none;
    }

    .desktop-nav {
        display: none;
    }

    #openMenu {
        display: block;
        color: var(--primarna-color);
        font-size: 28px;
    }

    #closeMenu {
        position: absolute;
        top: 60px;
        right: 50px;
        text-align: center;
        font-size: 28px;
        color: var(--primarna-color);
    }

    #openMenu:hover, #closeMenu:hover {
        color: var(--akcent-color);
    }

    #mobMenu ul {
        flex-direction: column;
        align-items: start;
        justify-content: center;
        gap: 5px;
        line-height: 180%;
        margin: auto;
        padding: 10px 20px;
    }

    .footer {
        position: relative;
        justify-content: center;
    }

    .footer nav {
        display: none;
    }

    .map svg, .map-text {
        width: 350px;
    }

    .text-block {
        width: 80%;
    }

    .text {
        width: 80%;
    }

    .pop-title {
        width: 80%;
    }

    .arrow-top-pop {
        right: 50px;
    }
}

@media screen and (max-width: 650px) {
    .card-body {
        grid-template-columns: 1fr;
    }

    [class*="hero-"] {
        font-size: 20px;
    }
}

@media screen and (max-width: 400px) {
    .card-head {
        justify-content: center;
        gap: 20px;
    }

    .card-head h2 {
        margin: 0;
    }
}

form {
    margin: 5rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 600px;
    background: white;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 20px rgba(174, 45, 99, .2);
    border-radius: 25px;
    padding: 30px;
}
form div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

form input,
form textarea {
    width: 300px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 5px;
}

form input:hover,
form textarea:hover {
    border: 1px solid var(--akcent-color);
}

form input:focus,
form textarea:focus {
    background: rgba(209, 240, 227, .2);
}

.contact-hero h1 {
    text-align: center;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-disclaimer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 11pt;
    font-weight: 500;
    padding: 7px 20px;
    background: #EF665B;
    color: var(--white-color);
}

.header-disclaimer h3, .header-disclaimer p {
    margin: 0;
}

.header-disclaimer h3 {
    text-wrap: nowrap;
}

@media screen and (max-width: 854px) {
    .header-disclaimer {
        gap: 10px;
    }
}

@media screen and (max-width: 1026px) {
    .header-disclaimer.mk {
        gap: 10px;
    }
}