* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    height: 100dvh;
}

.navbar {
    z-index: 9999;
    background-color: rgb(27, 27, 37);; /* poluprovidan efekat */
    backdrop-filter: blur(6px);
}

/* Stilizacija ako koristiš fixed-top bez bg klase */
/* Shadow efekat za vidljivost */
.navbar.shadow {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.navbar-nav .nav-link {
    font-size: 18px;
}


/* COOKIE */
#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

#cookie-banner .buttons {
    display: flex;
    gap: 30px;
}

#cookie-banner .buttons button {
    width: 100px;
}

@media (max-width: 991.98px) {
    .navbar {
        z-index: 1030;
    }
    
    #cookie-banner {
        z-index: 9000;
    }  
    
    #cookie-banner .buttons {
        flex-direction: column;
        gap: 15px;
    }
}


/* HEADER */
#header {
    padding-top: 80px;
    background-color: rgb(27, 27, 37);
}

.logo-name {
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 10%, rgba(26, 84, 150, 1) 100%);
    background-clip: text; 
    -webkit-background-clip: text; 
    color: transparent;
}

.navbar-nav a {
    color: #fff;
}


/* Animacija za hamburger meni */
/* Centriranje nav linkova na manjim ekranima */
@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: center;
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 10px; /* malo prostora između linkova */
    }
    
    .logo {
        height: 60px;
    }
}


/* HEADER - INTRO */
.intro-img-holder {
    position: relative;
    height: 80dvh;
    overflow: hidden;
}

.intro-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay preko slike */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 27, 37, 0.8); 
    z-index: 1;
}

/* Tekst + dugme preko */
.intro-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 2;
    
    opacity: 0;
    transform: translate(-50%, -40%);
    animation: fadeSlideUp 1.5s ease forwards;
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}


.intro-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 30%, rgba(26, 84, 150, 1) 100%);
    background-clip: text; 
    -webkit-background-clip: text; 
    color: transparent; 
}

.intro-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgb(190, 216, 245);
}

@media (max-width: 992px) {
    .intro-content h1 {
        font-size: 2rem;
    }
    .intro-content p {
        font-size: 1rem;
    }
}


/* MAIN */
.about-content {
    padding: 20px;
}

.about-content h1,
.about-content .who {
    color: rgb(22, 56, 95);
}

.about-img {
    max-height: 500px;
    object-fit: cover; 
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.03); /* lagana animacija na hover */
}

.main-img-holder {
    position: relative;
    overflow: hidden;
}

.background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* MAIN - BASIC INFO */
#basic-info {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.basic-info-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: rgb(190, 216, 245);
}

/* Features */
.features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.features img {
    width: 90px;
    height: 90px;
    margin-bottom: 15px;
}

.features h3 {
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 30%, rgba(26, 84, 150, 1) 100%);
    background-clip: text; 
    -webkit-background-clip: text; 
    color: transparent;
}

.features p {
    /* text-align: justify; */
    color: rgb(190, 216, 245);
}


/* MAIN - HOW TO JOIN */
.how-to-join {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.how-to-join h2, 
.how-to-join h3, em {
    color: rgb(22, 56, 95);
}

.how-to-join .divider {
    width: 200px;
    height: 2px;
    background-color: rgb(22, 56, 95);
}



/* FOOTER */
#footer {
    background-color: rgb(27, 27, 37);
}

footer {
    color: #fff;
}

li .ft-link {
    color: #fff;
}

.cards img {
    object-fit: contain;
    background: white;
    padding: 4px;
    border-radius: 4px;
}
