/* Opšti reset boja */
body {
    background-color: #1c1c1c;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

/* HERO sekcija */
.hero {
    background: #111 url('../assets/1O2A5543.jpg') no-repeat center center;
    background-size: cover;
    padding: 120px 0;
    text-shadow: 1px 1px 6px #000;
}

.hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.6;
}

.hero-meta {
    font-size: 0.95rem;
}

/* Dugmad */
/* Uniform dugmad - PRIJAVI SE i UČESNICI */
.btn-primary,
.btn-outline-light {
    background-color: #4caf50; /* army green */
    border-color: #4caf50;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-outline-light:hover {
    background-color: #43a047; /* tamnija nijansa na hover */
    color: #fff;
    transform: scale(1.05); /* blagi zoom efekat */
}

/* Sekcije */
.section-light {
    background-color: #2a2a2a;
    padding: 60px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.section-dark {
    background-color: #1c1c1c;
    padding: 60px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #81c784;
    
}

.section-text {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Info boxes */
/* .info-box {
    background-color: #333;
    border: 1px solid #4caf50;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-weight: 500;
} */

/* Tekst na inputima i textarea postaje beo */
.registration-form .form-control {
    background-color: #333;
    border: 1px solid #4caf50;
    color: #fff; /* promenjeno iz sive u belu */
}

.registration-form .form-control::placeholder {
    color: #fff; /* placeholder tekst takođe beo */
}

.registration-form select.form-control {
    color: #fff; /* tekst u select boxu beo */
}

.registration-form select.form-control option {
    color: #000; /* opcije u dropdown-u mogu biti crne radi čitljivosti */
}


/* Alert */
.alert-success {
    background-color: #4caf50;
    color: #fff;
    border: none;
}

.alert-danger {
    background-color: #d32f2f;
    color: #fff;
    border: none;
}

/* Tabela učesnika */
.table-dark {
    background-color: #2a2a2a;
    color: #fff;
}

.table-dark th,
.table-dark td {
    border-color: #4caf50;
}

/* Placeholder galerija */
.gallery-placeholder {
    background-color: #333;
    height: 200px;
    border: 2px dashed #4caf50;
}

/* Footer */
.footer {
    padding: 30px 0;
    background-color: #111;
    color: #81c784;
}

/* Hover efekat za galeriju */
.gallery-placeholder img,
.section-dark img.img-fluid {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-placeholder img:hover,
.section-dark img.img-fluid:hover,
.section-light img.img-fluid:hover{
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.6);
}

/* Hover efekat za info-boxove */
.info-box {
    background-color: #333;
    border: 1px solid #4caf50;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.info-box:hover {
    background-color: #4caf50; /* army green na hover */
    color: #fff;
    transform: scale(1.05); /* blagi zoom */
    box-shadow: 0 6px 12px rgba(0,0,0,0.5);
}
/* Wrapper galerije */
.gallery-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

/* Track koji se pomera */
.gallery-track {
    display: flex;
    gap: 15px;
    transition: transform 0.3s ease;
}

/* Svaka slika */
.gallery-item {
    min-width: calc(33.333% - 10px); 
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    border-radius: 8px;
}

/* Hover efekat */
.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.6);
}

/* Dugmad levo-desno */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(76,175,80,0.8);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 0 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 5px;
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

.gallery-btn:hover {
    background-color: #4caf50;
    box-shadow: 0 0 10px rgba(76,175,80,0.6);
}
/* Lightbox overlay */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-overlay img {
    max-width: 80%;   /* veličina slike */
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.8);
    transition: transform 0.3s ease;
}

.lightbox-overlay img:hover {
    transform: scale(1.05);
}

/* Close dugme */
#lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}

/* Strelice u lightbox-u */
.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: #fff;
    background-color: rgba(76,175,80,0.8);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 1002;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#lightbox-prev { left: 20px; }
#lightbox-next { right: 20px; }

.lightbox-btn:hover {
    background-color: #4caf50;
}


.social-icons a {
    color: #4caf50;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    color: #81c784;
    transform: scale(1.2);
}

.gallery-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 6px;
    background-color: #555;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.gallery-dot.active {
    background-color: #4caf50;
}



.map-wrapper {
    margin-top: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.6);
    border-radius: 8px;
    overflow: hidden;
}

html, body {
    overflow-x: hidden;
}
@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.4rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-meta {
        font-size: 0.9rem;
    }

    .hero .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .info-box {
        margin-bottom: 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .section-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .scenario-list li {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
}

@media (max-width: 768px) {
    table th:first-child,
    table td:first-child {
        display: none;
    }
}

@media (max-width: 768px) {
    .registration-form input,
    .registration-form textarea {
        font-size: 1rem;
        padding: 14px;
    }

    .registration-form textarea {
        min-height: 100px;
    }

    .registration-form button {
        font-size: 1.1rem;
        padding: 14px;
    }
}

@media (max-width: 768px) {
    .map-wrapper iframe {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .footer p {
        font-size: 0.9rem;
    }

    .social-icons a {
        font-size: 1.4rem;
        margin: 0 10px;
    }
}



