@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
/* font za cijelo sjedište */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Shadows+Into+Light&display=swap');
/* font za "Choose your poison" */

@font-face {
    font-family: "Liberty";
    src: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/907368/liberty.otf");
    /* za "Dobrodošli" naslov */
}

* {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth !important;
    /* nije radilo u body{} */
}

body {
    font-family: 'Montserrat', serif;
    font-weight: 400;
    width: 100%;
}

/* IZMEĐU */

.izmedu {
    background-image: url(slike/galerija/sank-boce.jpg);
    height: 10vh;
    background-size: cover;
    background-attachment: fixed;
}

/* NASLOVNA */
#naslovna {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6em;
    min-height: 100vh;
    background: url(slike/pozadina_cigleni_zid.jpeg), linear-gradient(rgb(0, 0, 0), rgb(0, 0, 0, 0.8), rgb(0, 0, 0, 0.5));
    background-blend-mode: multiply;
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 5em;
}

/* header */
header {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: none;
    width: 100%;
    height: 25vh;
    position: fixed;
    /* its getting sticky */
    transition: height 0.5s ease, background 0.3s ease;
    z-index: 10;
    padding: 0 2em;
    /* box-shadow: 0px 10px 15px rgb(255, 198, 92); */
}

.fake-header-naslovna {
    height: 25vh;
}

header.manji {
    height: 15vh;
    background: linear-gradient(rgb(0, 0, 0), rgb(0, 0, 0), rgb(0, 0, 0, 0.8), rgb(0, 0, 0, 0.5), rgb(0, 0, 0, 0));
}

header.manji nav a {
    font-size: 15pt;
}

nav {
    display: flex;
    gap: 2em;
    border-bottom: 2px solid white;
    padding: 1em;
}

nav a {
    font-weight: 700;
    text-decoration: none;
    color: white;
    font-size: 20pt;
    transition: transform 0.5s, text-shadow 0.5s, color 0.5s, font-size 0.5s;
}

nav a:hover {
    transform: scale(1.2);
    text-shadow: 0 0 10px purple;
    color: #8d52a1;
}

.logo {
    transition: transform 0.6s;
}

.logo.manji {
    transform: scale(0.6);
}

.mobilna-navigacija {
    display: none;
    width: 100%;
    min-height: 12vh;
    position: fixed;
    z-index: 150;
    background-color: rgb(42, 42, 42, 0.9);
    border-bottom: 1px solid #8d52a1;
    padding-top: 1em;
    padding-left: 1em;
    padding-right: 1em;
}

.mob-div1 {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo-mob {
    height: auto;
    width: 100px
}

#nav-lista {
    display: none;
}

.mobilna-navigacija .meni {
    color: white;
    text-decoration: none;
}

.mobilna-navigacija .meni i {
    font-size: 25pt;
}

.mobilna-navigacija .mali-meni {
    display: flex;
    color: white;
    text-decoration: none;
    justify-content: center;
    font-size: 13pt;
    padding: 0.5em;
    background-color: rgb(42, 42, 42, 0.9);
    border-bottom: 1px solid #8d52a1;
}

/* -----------------------------------------------------------*/

/* main */
.naslovna-main {
    width: 70%;
    color: white;
}

/* ludi naslov */
.tekst {
    text-align: center;
    font-family: "Liberty";
    font-weight: 100;
    letter-spacing: -0.25em;
    font-size: 7rem;
    flex-flow: row;
}

.tekst .slovo {
    color: #8d52a1;
    text-shadow: 0 0 4rem purple;
    display: inline-block;
}

.tekst .slovo.slovo-2 {
    transform: translate(-0.2rem, 1rem) rotate(10deg);
    animation: flicker 2s ease-in-out infinite alternate;
}

@keyframes flicker {
    0% {
        opacity: 1;
        transform: translate(-0.2rem, 1rem) rotate(10deg);
    }

    5% {
        opacity: 1;
        transform: translate(-0.2rem, 1rem) rotate(10deg);
    }

    5.5% {
        opacity: 0;
        transform: translate(-0.2rem, 1rem) rotate(10deg);
    }

    6% {
        opacity: 1;
        transform: translate(-0.2rem, 1rem) rotate(10deg);
    }

    6.5% {
        opacity: 1;
        transform: translate(-0.2rem, 1rem) rotate(10deg);
    }

    7% {
        opacity: 0;
        transform: translate(-0.2rem, 1rem) rotate(10deg);
    }

    8% {
        opacity: 1;
        transform: translate(-0.2rem, 1rem) rotate(10deg);
    }

    50% {
        opacity: 1;
        transform: translate(-0.2rem, 1rem) rotate(13deg);
    }

    100% {
        opacity: 1;
        transform: translate(-0.2rem, 1rem) rotate(10deg);
    }
}

/* ----------------------------------- */

/* DIV-ovi u mainu */
.naslovna-flex-container {
    display: flex;
    width: 80%;
    gap: 4em;
}

.naslovna-container-stupac {
    display: flex;
    flex-direction: column;
    width: 50%;
    gap: 2em;
}

.naslovna-container-stupac div {
    width: 90%;
    min-height: 5vh;
    background-color: rgb(42, 42, 42, 0.9);
    background-image:
        linear-gradient(175deg, rgb(0 0 0 / 0%) 97%, #000000 97%),
        linear-gradient(85deg, rgb(0 0 0 / 0%) 97%, #000000 97%),
        linear-gradient(175deg, rgb(0 0 0 / 0%) 92%, #1d1720 92%),
        linear-gradient(85deg, rgb(0 0 0 / 0%) 94%, #1d1720 94%),
        linear-gradient(355deg, rgb(0 0 0 / 0%) 97%, #000000 97%),
        linear-gradient(265deg, rgb(0 0 0 / 0%) 97%, #000000 97%),
        linear-gradient(355deg, rgb(0 0 0 / 0%) 92%, #1d1720 92%),
        linear-gradient(265deg, rgb(0 0 0 / 0%) 94%, #1d1720 94%);
    /* .mjesto i .jurcek imaju u oba kuta detalje */
    color: white;
    padding: 2em;
    border-radius: 10px;
}

.naslovna-container-stupac .mjesto a {
    text-decoration: none;
    color: white;
}

.naslovna-container-stupac .mjesto a:hover {
    color: #8d52a1;
}

.naslovna-container-stupac .vibra {
    background-image:
        linear-gradient(355deg, rgb(0 0 0 / 0%) 97%, #000000 97%),
        linear-gradient(265deg, rgb(0 0 0 / 0%) 97%, #000000 97%),
        linear-gradient(355deg, rgb(0 0 0 / 0%) 92%, #1d1720 92%),
        linear-gradient(265deg, rgb(0 0 0 / 0%) 94%, #1d1720 94%);
    /* gore lijevo */
}

.naslovna-container-stupac .osoblje {
    background-image:
        linear-gradient(175deg, rgb(0 0 0 / 0%) 97%, #000000 97%),
        linear-gradient(85deg, rgb(0 0 0 / 0%) 97%, #000000 97%),
        linear-gradient(175deg, rgb(0 0 0 / 0%) 92%, #1d1720 92%),
        linear-gradient(85deg, rgb(0 0 0 / 0%) 94%, #1d1720 94%);
    /* dolje desno */
}

.naslovna-container-stupac .muzika {
    background-image:
        linear-gradient(355deg, rgb(0 0 0 / 0%) 97%, #000000 97%),
        linear-gradient(265deg, rgb(0 0 0 / 0%) 97%, #000000 97%),
        linear-gradient(355deg, rgb(0 0 0 / 0%) 92%, #1d1720 92%),
        linear-gradient(265deg, rgb(0 0 0 / 0%) 94%, #1d1720 94%);
    /* gore lijevo */
}

.naslovna-container-stupac .turniri {
    background-image:
        linear-gradient(175deg, rgb(0 0 0 / 0%) 97%, #000000 97%),
        linear-gradient(85deg, rgb(0 0 0 / 0%) 97%, #000000 97%),
        linear-gradient(175deg, rgb(0 0 0 / 0%) 92%, #1d1720 92%),
        linear-gradient(85deg, rgb(0 0 0 / 0%) 94%, #1d1720 94%);
    /* dolje desno */
}

.naslovna-container-stupac div p {
    font-size: 13pt;
    line-height: 1.5;
}

.naslovna-container-stupac div h1 {
    font-size: 17pt;
}

.naslovna-container-stupac div ul {
    font-size: 13pt;
    line-height: 1.5;
}

/* ------------------------ */
/* -----------------------------------------------*/

/* NOVOSTI */

#novosti {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url(slike/pozadina_cigleni_zid.jpeg), rgb(0, 0, 0, 0.5);
    background-blend-mode: multiply;
    padding-bottom: 5em;
}

/* video{
    position: absolute;
    max-width: 100%;
    height: auto;
    z-index: -100;
}*/
/* NE FUNKCIONIRA */

.fake-header-novosti {
    height: 15vh;
}

.novosti-kontejner {
    display: flex;
    align-items: center;
    width: 40%;
    padding: 3em 10em 3em 15em;
    background-color: rgb(42, 42, 42, 0.9);
    border-radius: 10px;
    background-image:
        linear-gradient(175deg, rgb(0 0 0 / 0%) 97%, #000000 97%),
        linear-gradient(85deg, rgb(0 0 0 / 0%) 97%, #000000 97%),
        linear-gradient(175deg, rgb(0 0 0 / 0%) 92%, #1d1720 92%),
        linear-gradient(85deg, rgb(0 0 0 / 0%) 94%, #1d1720 94%),
        linear-gradient(355deg, rgb(0 0 0 / 0%) 97%, #000000 97%),
        linear-gradient(265deg, rgb(0 0 0 / 0%) 97%, #000000 97%),
        linear-gradient(355deg, rgb(0 0 0 / 0%) 92%, #1d1720 92%),
        linear-gradient(265deg, rgb(0 0 0 / 0%) 94%, #1d1720 94%);
    /* oba kuta */
}

.male-slike-novosti-mob {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.velika-slika-novosti {
    display: flex;
    gap: 1em;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.velika-slika-novosti h3 {
    color: white;
}

.velika-slika-novosti img {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
}

.velika-slika-novosti img:hover {
    transform: scale(1.05);
}

.male-slike-novosti {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.mala-galerija {
    display: flex;
    flex-direction: column;
    gap: 1em;
    overflow-y: hidden;
    /* omogućuje scrollanje bez scroll bara i ostavlja funkcionalnost javascripta */
    max-height: 65vh;
}

.skrol-dole,
.skrol-gore {
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20pt;
}

.mala-slika-novosti {
    display: flex;
    justify-content: center;
}

.mala-slika-novosti img {
    width: 30%;
    height: auto;
    transition: transform 0.5s;
}

.mala-slika-novosti img:hover {
    transform: scale(1.05);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-sadrzaj {
    margin: auto;
    display: block;
    height: 90%;
    max-width: auto;
    animation: zum 0.5s;
}

@keyframes zum{
    from {transform:scale(0.1)} 
    to {transform:scale(1)}
}

.iksic {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.iksic:hover,
.iksic:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
/* -----------------------------------------------*/

/* KOKTELI */
#kokteli {
    min-height: 100vh;
    background: url(slike/pozadina_cigleni_zid.jpeg), linear-gradient(rgb(0, 0, 0, 0.95), rgb(0, 0, 0, 0.5));
    background-blend-mode: multiply;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.kokteli-naslov {
    font-family: "Shadows Into Light", serif !important;
    /* ili "Noto Serif" */
    font-size: 70pt;
    padding: 1em;
    color: #8d52a1;
    text-shadow: 0 0 7rem purple;
}

.skup-koktela {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 80%;
}

.koktel {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.koktel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.koktel:hover::after {
    opacity: 1;
}

.koktel:hover {
    transform: translateY(-5px);
}

.koktel img {
    width: 100%;
    height: auto;
}

.info {
    position: absolute;
    bottom: 5px;
    left: 10px;
    color: white;
    padding: 1em;
    opacity: 1;
    z-index: 10;
}

.info h2 {
    margin: 0;
    font-size: 30pt;
    transition: transform 0.5s ease;
}

.info p {
    display: none;
    visibility: hidden;
    margin: 5px 0 0;
    font-size: 17pt;
    transition: opacity 0.3s 1s ease, transform 0.3s 1s ease, visibility 0.3s 1s ease;
    transform: translateY(10px);
    opacity: 0;
}

.koktel:hover .info p {
    display: block;
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
}

.koktel:hover .info h2 {
    transform: translateY(-10px);
}

/* --------------------------- */
/* -----------------------------------------------*/

/* GALERIJA */
#galerija {
    min-height: 100vh;
    background: url(slike/pozadina_cigleni_zid.jpeg), rgb(0, 0, 0, 0.5);
    background-blend-mode: multiply;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fake-header-galerija {
    height: 15vh;
}

.skup-slika-roditelj {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.skup-slika {
    --s: 220px;
    --g: 10px;
    --f: 1.5;

    display: grid;
    gap: var(--g);
    width: calc(3*var(--s) + 2*var(--g));
    aspect-ratio: 1;
    grid-template-columns: repeat(3, auto);
}

.skup-slika img {
    width: 0;
    height: 0;
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: .5s ease-in-out;
}

.skup-slika img:hover {
    width: calc(var(--s)*var(--f));
    height: calc(var(--s)*var(--f));
}

/* -----------------------------------------------*/

/* REZERVACIJE */
#rezervacije {
    min-height: 100vh;
    background: url(slike/pozadina_cigleni_zid.jpeg), rgb(0, 0, 0, 0.5);
    background-blend-mode: multiply;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3em;
}

.fake-header-rezervacije {
    height: 15vh;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2em;
    background-color: rgb(42, 42, 42, 0.9);
    padding: 3em;
    border-radius: 15px;
    color: white;
    background-image:
        linear-gradient(175deg, rgb(0 0 0 / 0%) 97%, #000000 97%),
        linear-gradient(85deg, rgb(0 0 0 / 0%) 97%, #000000 97%),
        linear-gradient(175deg, rgb(0 0 0 / 0%) 92%, #1d1720 92%),
        linear-gradient(85deg, rgb(0 0 0 / 0%) 94%, #1d1720 94%),
        linear-gradient(355deg, rgb(0 0 0 / 0%) 97%, #000000 97%),
        linear-gradient(265deg, rgb(0 0 0 / 0%) 97%, #000000 97%),
        linear-gradient(355deg, rgb(0 0 0 / 0%) 92%, #1d1720 92%),
        linear-gradient(265deg, rgb(0 0 0 / 0%) 94%, #1d1720 94%);
    /* oba kuta */
}

.form-polje {
    font-size: 17pt;
}

label {
    position: absolute;
    left: 0px;
    font-size: 15pt;
    top: 0.5em;
    pointer-events: none;
    transition: 0.2s;
    color: black;
}

.ime input:focus+label {
    top: -1.2em;
    font-size: 12pt;
    color: white;
}

.ime input:valid+label {
    top: -1.2em;
    font-size: 12pt;
    color: white;
}

.prezime input:focus+label {
    top: -1.2em;
    font-size: 12pt;
    color: white;
}

.prezime input:valid+label {
    top: -1.2em;
    font-size: 12pt;
    color: white;
}

.broj-ljudi input:focus+label {
    top: -1.2em;
    font-size: 12pt;
    color: white;
}

.broj-ljudi input:valid+label {
    top: -1.2em;
    font-size: 12pt;
    color: white;
}

.ime {
    position: relative;
}

.prezime {
    position: relative;
}

.broj-ljudi {
    position: relative;
}

.form-polje input {
    font-size: 16pt;
    padding: 0.5em;
    border: none;
    outline: none;
}

.form-polje select {
    font-size: 16pt;
}

.form-polje option {
    font-size: 16pt;
}

.broj-stola {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

.form-polje img {
    width: 500px;
    height: auto;
}

.submit {
    font-size: 17pt;
    padding: 0.5em;
}

/* -----------------------------------------------*/

/* KONTAKT */
#kontakt {
    min-height: 50vh;
    background-color: #1d1720;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5em;
    padding: 3em;
    color: white;
}

.glavni-info {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.extra-info {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.kontakt-red {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
}

.kontakt-red i {
    font-size: 25pt;
}

.drustvene-mreze {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3em;
}

.drustvene-mreze i {
    font-size: 50pt;
    color: #8d52a1;
    transition: transform 1s;
}

.drustvene-mreze i:hover {
    transform: scale(1.2);
}

.broj-telefona a {
    text-decoration: none;
    color: white;
}

.e-mail a {
    text-decoration: none;
    color: white;
}

.napomena {
    font-size: 12pt;
}

.mapa {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
}

/* -----------------------------------------------*/

@media screen and (max-width: 1201px) {
    header {
        display: none;
    }

    .mobilna-navigacija {
        display: flex;
        flex-direction: column;
        gap: 1em;
    }

    .fake-header-naslovna {
        height: 15vh;
    }

    /* NASLOVNA */
    .tekst {
        font-size: 3rem;
    }

    .naslovna-flex-container {
        flex-direction: column;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .naslovna-container-stupac {
        width: 90%;
        align-items: center;
        justify-content: center;
    }

    .naslovna-container-stupac div h1 {
        font-size: 15pt;
    }

    .naslovna-container-stupac div p {
        font-size: 11pt;
    }

    .naslovna-container-stupac div ul {
        font-size: 11pt;
    }

    /* NOVOSTI */

    .novosti-kontejner {
        padding: 0;
        width: 100%;
        justify-content: center;
        background: none;
        padding-top: 5em;
    }

    .male-slike-novosti-mob {
        display: grid;
        max-width: 80%;
    }

    .modal-sadrzaj{
        max-width: 90%;
        height: auto;
    }

    .male-slike-novosti-mob img {
        width: 100%;
        height: auto;
    }

    .velika-slika-novosti {
        display: none;
    }

    .male-slike-novosti {
        display: none;
    }

    /* GALERIJA */

    .skup-slika-roditelj {
        flex-direction: column;
    }

    .skup-slika {
        --s: 120px;
    }

    /* KOKTELI */

    #kokteli {
        padding-bottom: 5em;
    }

    .kokteli-naslov {
        font-size: 30pt;
    }

    .skup-koktela {
        grid-template-columns: repeat(1, 1fr);
        max-width: 70%;
    }

    .info h2 {
        font-size: 15pt;
    }

    .info p {
        font-size: 11pt;
    }

    /* FAKE HEADERI */

    .fake-header {
        display: none;
    }

    .fake-header-naslovna {
        display: block;
    }

    /* REZERVACIJE */

    form {
        max-width: 90%;
    }

    .form-polje {
        font-size: 12pt;
    }

    .form-polje input {
        font-size: 11pt;
        padding: 0.3em;
    }

    .form-polje option {
        font-size: 11pt;
    }

    .form-polje select {
        font-size: 11pt;
    }

    .form-polje img {
        width: 300px;
    }

    label {
        font-size: 12pt;
        top: 0.2em;
    }

    .cuga {
        display: flex;
        flex-direction: column;
    }

    .submit {
        font-size: 11pt;
    }

    /* KONTAKT */
    #kontakt {
        flex-direction: column;
    }

    iframe {
        width: 300px;
        height: 200px;
    }
}