/* FONT */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

/* BODY, SECTION, FOOTER */

body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: "Josefin Sans", sans-serif;
    line-height: 1.6;
    background: #a8a8a8;
    color: #fff;
}

section {
    min-height: 100vh;
    border-top: 1px solid #333;
    animation: fadeIn 1s ease-out forwards;
    filter: contrast(1.2);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 140px;
    gap: 1em;
    line-height: 1.2;
    font-size: 1.7em;
    font-family: "Bebas Neue", serif;
    background: #000;
    color: #fff;
    letter-spacing: 0.1em;
}

footer p{
    margin: 0;
}

/* NAVIGACIJA, MENI */

nav {
    font-family: "Bebas Neue", serif;
    position: fixed;
    width: 100%;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.meni {
    width: 100%;
    letter-spacing: 0.2em;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 20px;
}

.meni a {
    text-decoration: none;
    color: #fff;
    padding: 0 30px;
    font-size: 2.2em;
    white-space: nowrap;
}

label {
    font-size: 32px;
    width: 26px;
    color: white;
    cursor: pointer;
    order: 2;
    display: none;
}

#prekidac {
    display: none;
}

nav a:hover {
    color: #855FD9;
}

/* VIDEI */

.backgroundVid,
#prvi-video {
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    z-index: -2;
    object-fit: cover;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#drugi-video {
    border: 20px dashed #855FD9;
    display: block;
    height: 500px;
    margin-left: 12%;
}

/* RASPORED GRIDOVA */

.mreza {
    display: grid;
    grid-template-columns: 2fr 1fr;
}

.mreza2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1em;
}

.mreza3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

/* POČETNI SECTION */

#pocetna {
    display: flex;
    justify-content: center;
    align-items: center;
}

#pocetna h1 {
    margin: 0 auto;
    font-size: 10em;
    opacity: 0;
    white-space: nowrap;
}

#pocetna p {
    font-family: "Josefin Sans", sans-serif;
    font-size: 3em;
    margin: 0;
}

/* RASPORED SECTION */

#raspored p {
    font-size: 1.4em;
}

.ras {
    display: flex;
    align-items: center;
    flex-direction: column;
    grid-column: 2 / 3;
    color: black;
    gap: 6%;
    text-align: center;
}

.ras1,
.ras2 {
    color: black;
    background-color: #fff;
    max-height: 320px;
    width: 300px;
    padding: 10px;
    border-radius: 10px;
}

.ras1 p,
.ras2 p {
    font-size: 1em;
}

.opis {
    text-align: justify;
    width: 75%;
    margin-left: 11%;
    padding: 10px;
}

/* IZVOĐAČI SECTION */

#izvodaci {
    border-radius: 5px;
    text-align: center;
}

#izvodaci div {
    gap: 4em;
}

#izvodaci p {
    border-radius: 10px;
    width: 480px;
    font-size: 1.1em;
    background-color: #ffffffde;
    padding: 10px;
    color: #000;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

#izvodaci p:hover {
    color: #fff;
    background-color: #855FD9;
}

#izvodaci img {
    width: 500px;
    height: 330px;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    transition: all 0.5s ease-in-out;
}

#izvodaci img:hover {
    transform: scale(1.1);
}

/* LOKACIJA SECTION */

#lokacija {
    text-align: center;
}

#lokacija p {
    margin-top: -6px;
    font-size: 1.5em;
    max-width: 1000px;
}

.lok1 {
    grid-column: 1/2;
}

.lok2 {
    grid-column: 3/4;
    grid-row: 1/2;
}

/* ULAZNICE SECTION */

#ulaznice h2 {
    margin: 0;
}

#ulaznice p {
    text-align: center;
    font-size: 1.5em;
}

/* FAQ SECTION */

#faq {
    min-height: 90vh;
}

.faq {
    text-align: center;
    width: 1300px;
    margin: 0 auto;
    background: white;
    border-radius: 4px;
    border: 1px solid #E1E1E1;
}

.faq-item {
    background-color: #FAFAFA;
    border-bottom: 1px solid #E1E1E1;
    position: relative;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-toggle {
    position: absolute;
    opacity: 0;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    margin: 0;
    cursor: pointer;
    z-index: 1;
}

.faq-header {
    padding: 20px;
    position: relative;
}

.faq-heading {
    font-family: "Bebas Neue", serif;
    font-size: 2.5em;
    color: #000;
    margin: 0;
    padding-left: 20px;
}

.faq-arrow {
    width: 10px;
    height: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-top: 2px solid rgba(0, 0, 0, 0.33);
    border-right: 2px solid rgba(0, 0, 0, 0.33);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.faq-text {
    font-size: 1em;
    font-weight: 500;
    color: rgb(145, 145, 145);
    padding: 0 20px 30px 20px;
    margin: 0;
}

.faq-toggle:checked~.faq-content {
    max-height: 500px;
}

.faq-toggle:checked~.faq-header .faq-arrow {
    transform: translateY(-50%) rotate(135deg);
}

/* SADRŽAJ */

h2 {
    margin: 1em 0 0.5em 0;
    font-size: 5em;
    font-family: "Bebas Neue", serif;
    letter-spacing: 0.1em;
}

h3 {
    margin-top: 10px;
    font-family: "Bebas Neue", serif;
    font-size: 1.8em;
    letter-spacing: 0.1em;
}

.slike2 {
    width: 550px;
    height: 350px;
    border-radius: 10px;
    margin-bottom: 30px;
    transition: all 0.5s ease-in-out;
}

.slike2:hover {
    transform: scale(1.1);
}

/* LINK */

#lokacija a{
    text-decoration: none;
}

#lokacija a:hover {
    transition: 0.3s ease-in-out;
    color: #ff7700;
}

/* DRUŠTVENE MREŽE */

.social-container {
    display: flex;
    margin: 10px 0 0 0;
    gap: 25px;
}

.social {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social:hover {
    transform: scale(1.4);
}

/* BUTTON */

.button {
    background: #855FD9;
    color: #fff;
    padding: 8px 15px;
    text-decoration: none;
    display: inline-block;
    margin-top: 1em;
    font-family: "Josefin Sans", sans-serif;
    font-size: 2.6em;
    border-radius: 5px;
    transition: background 0.3s;
}

.button:hover {
    background: #ff7700;
}

/* LOGO */

.logo {
    width: 380px;
    height: 90px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 10px;
    z-index: 2;
}

.logo:hover {
    transform: scale(0.9);
    animation: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

/* ANIMACIJE, KEYFRAMES */

.move-text {
    font-family: "Bebas Neue", serif;
    color: white;
    text-align: center;
    position: absolute;
    left: 0%;
    transform: translateX(-50%);
    animation: moveRight 1.5s ease-in-out forwards;
}

@keyframes moveRight {
    0% {
        left: 0%;
        transform: translateX(-50%);
    }

    100% {
        left: 52%;
        transform: translateX(0);
    }
}

/* MEDIA QUERIES */

/* ZA TABLETE */

@media (max-width: 768px) {

    section {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    footer {
        font-size: 1.6em;
        height: auto;
        padding: 15px 0;
    }

    .meni {
        position: absolute;
        top: 90px;
        left: 0;
        background-color: rgba(0, 0, 0, 0.8);
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 0;
    }

    .meni a {
        font-size: 2em;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid #333;
    }

    label {
        display: block;
        margin-right: 20px;
    }

    #prekidac:checked+.meni {
        display: flex;
    }

    .backgroundVid,
    #prvi-video {
        width: 100%;
        height: 100%;
    }

    #drugi-video {
        max-height: 250px;
        margin: 0 auto;
        border: 10px dashed #855FD9;
    }

    .mreza {
        grid-template-columns: 1fr;
    }

    .mreza2 {
        grid-template-columns: 1fr;
        gap: 3em;
    }

    .mreza3 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(2, 500px);
        gap: 20px
    }

    #pocetna h1 {
        font-size: 6em;
    }

    #pocetna p {
        font-size: 2em;
    }

    .ras {
        grid-column: 1/2;
    }

    .ras1,
    .ras2 {
        height: 310px;
        width: 89%;
    }

    .ras2 {
        margin-bottom: 4em;
    }

    .ras p {
        font-size: 1.5em;
    }

    .opis {
        width: 93%;
        margin-left: 1%;
    }

    #izvodaci p {
        width: 480px;
        margin: 0 auto;
    }

    #izvodaci img {
        margin-bottom: 35px;
    }

    #lokacija {
        min-height: 80vh;
    }

    .lok1 {
        grid-column: 1/2;
        grid-row: 2/3;
    }

    .lok2 {
        grid-column: 1/2;
        grid-row: 1/2;
    }

    #lokacija p {
        grid-column: 2/3;
        grid-row: 1/2;
        margin: 10px 0 0 30px;
        text-align: left;
        font-size: 1.375em;
    }

    #ulaznice p {
        font-size: 1.4em;
    }

    #faq {
        min-height: 30vh;
        font-size: 1.2em;
        margin-bottom: 20px;
    }

    .faq {
        max-width: 550px;
    }

    .faq-heading {
        font-size: 2em;
    }

    .faq-text {
        font-size: 0.9em;
    }

    h3 {
        font-size: 2.5em;
        margin-top: 0;
    }

    .slike2 {
        width: 100%;
        height: 40%;
        margin-top: 1em;
    }

    .social {
        width: 35px;
        height: 35px;
    }

    .button {
        font-size: 2.5em;
    }

    .logo {
        max-width: 360px;
        max-height: 80px;
        margin-right: 8.5em;
    }

    .move-text {
        left: 0%;
    }

    @keyframes moveRight {
        0% {
            left: 0%;
            transform: translateX(0);
        }

        100% {
            left: 12%;
            transform: translateX(0);
        }
    }
}

/* ZA MOBILNE TELEFONE */

@media (max-width: 480px) {

    section {
        width: 95%;
    }

    .meni a {
        font-size: 1.8em;
    }

    .backgroundVid,
    #prvi-video {
        width: 100%;
        height: 100%;
    }

    #drugi-video {
        height: 180px;
        border: 5px dashed #855FD9;
    }

    .mreza,
    .mreza2 {
        grid-template-columns: 1fr;
    }

    .mreza2 {
        gap: 2em;
    }

    .mreza3 {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 1fr);
    }

    #pocetna {
        width: 100%;
        min-height: 100vh;
    }

    #pocetna h1 {
        font-size: 4.2em;
    }

    #pocetna p {
        font-size: 1.2em;
    }

    #raspored {
        margin: 0 auto;
    }
    
    .ras1,
    .ras2 {
        height: 250px;
    }

    .ras2 {
        margin-top: 1em;
        margin-bottom: 1em;
    }

    #raspored h2 {
        margin-top: 50px;
    }

    #raspored p {
        font-size: 1.2em;
    }

    #izvodaci {
        width: 100%;
    }

    #izvodaci p {
        width: 310px;
        margin-bottom: 10px;
    }

    #izvodaci img {
        width: 300px;
        height: 200px;
        margin-bottom: 30px;
    }

    #lokacija {
        width: 100%;
    }

    .lok1 {
        grid-row: 2/3;
    }

    .lok2 {
        grid-row: 1/2;
    }

    #lokacija p {
        grid-column: 1/2;
        grid-row: 3/4;
        margin: -5px 0 20px 30px;
        font-size: 1.2em;
    }

    .lok1 img,
    .lok2 img {
        width: 320px;
        border-radius: 8px;
    }

    #ulaznice {
        min-height: 100vh;
        width: 100%;
        text-align: center;
    }

    #ulaznice p {
        font-size: 1em;
    }

    #faq {
        margin: 0 auto;
    }

    .faq {
        max-width: 340px;
        margin-bottom: 10px;
    }

    .faq-heading {
        font-size: 1.6em;
        text-align: left;
    }

    .faq-text {
        font-size: 0.9em;
    }

    h3 {
        margin: 5px;
        font-size: 2em;
    }

    .social-container {
        gap: 20px;
    }
    
    .social {
        width: 30px;
        height: 30px;
    }

    .button {
        font-size: 1.5em;
    }

    .logo {
        max-width: 265px;
        max-height: 65px;
        margin-right: 2.8em;
    }

    @keyframes moveRight {
        0%,
        100% {
            left: 5%;
            transform: translateX(0);
        }
    }
}