/* Globalne spremenljivke */
:root {
    --Focus: #df9082;
    --SecFocus: #00001f;
    --MainForeground: #000000;
    --MainBackground: #ffffff;
    --SecBackground: #f5f5f5;
    --Radius: 16px;
    --MainGap: 2rem;
    --SecGap: 1rem;

}

/* Pisave (self-hosted) https: //gwfh.mranftl.com/fonts/urbanist?subsets=latin,latin-ext*/
/* urbanist-regular - latin_latin-ext */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Urbanist';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/urbanist-v18-latin_latin-ext-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* urbanist-500 - latin_latin-ext */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Urbanist';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/urbanist-v18-latin_latin-ext-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* urbanist-600 - latin_latin-ext */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Urbanist';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/urbanist-v18-latin_latin-ext-600.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* urbanist-700 - latin_latin-ext */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Urbanist';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/urbanist-v18-latin_latin-ext-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* urbanist-900 - latin_latin-ext */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Urbanist';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/urbanist-v18-latin_latin-ext-900.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
    font-family: 'Urbanist', sans-serif;
    font-weight: 500;
    text-align: center;
    font-size: 16px;
}

header {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: min-content min-content 1fr;
    grid-template-areas: "logo" "meni" "naslov";
    color: var(--MainBackground);
    min-height: 100svh;
}

header i {
    font-size: 4rem;
}

#header-background {
    grid-area: 1 / 1 / -1 / -1;
    z-index: -1;
    height: 100%;
}

#header-background img {
    height: 100%;
    width: 100%;
}

header .logo {
    grid-area: logo;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--MainGap);
    margin-top: 2rem;
}

header .logo svg {
    fill: var(--MainBackground);
    height: 4rem;
}

header .header-menu {
    display: flex;
    grid-area: meni;
    justify-content: center;
    padding: 0 var(--MainGap);
    margin-bottom: 2rem;

}

header .header-menu ul {
    background-color: var(--MainBackground);
    padding: var(--SecGap) var(--MainGap);
    border-radius: var(--Radius);
    gap: var(--MainGap);
}

header #header-title {
    grid-area: naslov;
    display: flex;
    flex-direction: column;
    padding: var(--MainGap);
    align-items: flex-start;
    gap: var(--MainGap);
    align-items: center;
    justify-content: center;

}

header #header-title h1 {
    text-align: center;
    font-weight: 500;
}

header #header-title h1 b {
    font-weight: 900;
}


header .button:hover {
    background-color: var(--MainBackground);
    color: var(--MainForeground);
}

footer {
    justify-content: center;
    background-color: var(--SecFocus);
    color: var(--MainBackground);
}

section {
    min-height: 100svh;
}

section h2 {
    padding-bottom: 0.5rem;
    padding-top: 2rem;
}



#masaze,
#kontakt {
    background-color: var(--SecFocus);
    color: var(--MainBackground);
}

#kontakt {
    justify-content: center;
}



.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--MainGap);
    padding: var(--MainGap);
    border-radius: var(--Radius);
    color: hsla(0, 0%, 0%, 0.8);
    min-width: calc(90vw - (2 * var(--MainGap)));
    scroll-snap-align: center;
}

.card i {
    font-size: 4rem;
    margin: 1rem 0;
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: var(--SecGap);
}

.card-header h2 {
    padding: 0;
    font-weight: 700;
}

.card-header h3 {
    text-transform: lowercase;
    padding-bottom: 1rem;
    font-weight: 400;
}

.card-header .group {
    gap: 0;
}

.card-body {
    height: 100%;
    text-align: left;
}

.card-footer .button {
    justify-content: center;
    background-color: var(--SecFocus);
    color: #ffffff;
}

.card-footer .button:hover {
    background-color: rgba(0, 0, 0, 0.1);
}


.card hr {
    margin: 0;
    border-top: 2px solid hsla(0, 0%, 0%, 0.1);
}



#blog .card {
    background-color: var(--SecFocus);
    color: var(--MainBackground);
}

#blog .card-header img {
    width: 100%;
    aspect-ratio: 1 / 1;
}



#blog .card-header {
    gap: 2rem;
}

#blog .card-footer a {
    background-color: var(--MainBackground);
    color: var(--SecFocus);
}

#kontakt-button {
    justify-content: center;
}


.group.row.scroll {
    overflow: auto;
    flex-wrap: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.group.row.scroll::-webkit-scrollbar {
    display: none;

}

.service header #header-title h1 {
    font-weight: 700;
}

.service header .group {
    gap: 1rem;
}


.service header .button {
    background-color: var(--MainBackground);
    color: var(--MainForeground);
}

.service header .button.ter {
    background-color: transparent;
    color: var(--MainBackground);
    justify-content: center;
}

.service section {
    min-height: auto;
}

.service section {
    text-align: left;
}

#podrobnosti,
#cenik {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
}

#cenik .group {
    justify-content: center;
}

#podrobnosti .group {
    max-width: 80ch;
}

#podrobnosti img {
    width: 100%;
    max-height: 25rem;
}

#podrobnosti h2 {
    display: flex;
    align-items: center;
    gap: var(--SecGap);
}

#podrobnosti i {
    padding: 1rem;
    border-radius: var(--Radius);
    background-color: var(--Focus);
    color: var(--MainBackground);
    font-size: 1.25rem;
}

#cenik .priceCard {
    background-color: var(--Focus);
    border-radius: var(--Radius);
    padding: var(--MainGap);
    justify-items: center;
    align-items: center;
    color: var(--MainBackground);
}

#cenik .priceCard hr {
    border-top: 2px solid var(--MainBackground);
    width: 30px;
}


/* TABLICA */
@media (min-width: 600px) {
    header {
        max-height: 100svh;
    }

    .card {
        min-width: 300px;
        max-width: 300px;
    }

    section {
        min-height: 60svh;
    }

}

/* MANJŠI DESKTOP */
@media (min-width: 800px) {
    body {
        font-size: 18px;
    }

    .card {
        min-width: 21rem;
        max-width: 21rem;
    }

    header {
        grid-template-rows: 1fr 1fr 3fr;
    }

    header .logo {
        align-items: flex-end;
    }

    header .header-menu {
        align-items: flex-start;
    }
}

/* VEČJI DESKTOP */
@media (min-width: 1500px) {
    body {
        font-size: 18px;
    }

    .group.row.scroll {
        gap: 2rem;
    }

    #podrobnosti .group {
        width: 80ch;
    }

    header {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        grid-template-areas: "logo naslov" "meni naslov";
        max-height: 100svh;
    }

    header,
    section {
        padding: 4rem 4rem;
    }

    #masaze,
    #blog {
        justify-content: center;
        align-items: center;
    }

    #seznam-masaz,
    #seznam-blog {
        max-width: 1500px;
    }

}

@media (pointer:fine) {

    .group.row.scroll {
        overflow: none;
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        transition: opacity 0.5s;
    }

    #masaze .group:hover .card {
        opacity: 0.7;
    }

    #masaze .group .card:hover {
        opacity: 1;
    }
}