@import url('https://fonts.googleapis.com/css2?family=Twinkle+Star&display=swap');


.twinkle-star-regular {
  font-family: "Twinkle Star", cursive;
  font-weight: 400;
  font-style: normal;
}

/* Reset i osnovni stilovi */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f7fe;
}

/* Header */
header {
    background: linear-gradient(135deg, #ffd6e8, #e8f5ff);
    color: #5d2a5d;
    text-align: center;
    padding: 2rem 0;
    border-bottom: 5px solid #ffccff;
}

header h1 {
    font-family: 'Twinkle Star', cursive;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #8a2be2;
}

header p {
    font-size: 1.2rem;
    color: #666;
}

/* Navigacija */
nav {
    background-color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #8a2be2;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav a:hover, nav a.active {
    background-color: #ffd6e8;
    color: #5d2a5d;
}

/* Main sadržaj */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Hero sekcija (naslovna) */
.hero {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.hero h2 {
    font-family: 'Twinkle Star', cursive;
    color: #8a2be2;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Aktivnosti (naslovna) */
.activities {
    margin-top: 2rem;
}

.activities h2 {
    font-family: 'Twinkle Star', cursive;
    color: #8a2be2;
    text-align: center;
    margin-bottom: 1.5rem;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.activity {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

.activity h3 {
    color: #ff66cc;
    margin-bottom: 0.5rem;
}

/* Dokumenti */
.documents {
    text-align: center;
}

.documents h2 {
    font-family: 'Twinkle Star', cursive;
    color: #8a2be2;
    margin-bottom: 1rem;
}

.document-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.document {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.document h3 {
    color: #ff66cc;
    margin-bottom: 0.5rem;
}

.download-btn {
    display: inline-block;
    background-color: #ffd6e8;
    color: #5d2a5d;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #ff99cc;
}

/* Upisi */
.enrollment {
    text-align: center;
}

.enrollment h2 {
    font-family: 'Twinkle Star', cursive;
    color: #8a2be2;
    margin-bottom: 1rem;
}

.enrollment-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-box {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-box-naslovna {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.5rem;
}

.info-box-naslovna h3 {
    font-size: 2rem;
    color: #ff66cc;
    margin-bottom: 0.5rem;
}

.info-box h3 {
    color: #ff66cc;
    margin-bottom: 0.5rem;
}

.info-box ul, .info-box ol {
    text-align: left;
    margin-top: 1rem;
}

.info-box li {
    margin-bottom: 0.5rem;
}

/* Kontakt */
.contact {
    text-align: center;
}

.contact h2 {
    font-family: 'Twinkle Star', cursive;
    color: #8a2be2;
    margin-bottom: 1rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.map {
    margin-top: 2rem;
    text-align: center;
}

.map iframe {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #ffd6e8, #e8f5ff);
    color: #5d2a5d;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 5px solid #ffccff;
}

/* Responsivnost */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .activity-grid, .document-list, .enrollment-info, .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Animacije (opcionalno) */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

main > section {
    animation: fadeIn 0.6s ease-out;
}

/* Slideshow */
.slideshow {
    max-width: 100%;
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slide-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.dots {
    text-align: center;
    padding: 1rem 0;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
}

.dot.active, .dot:hover {
    background-color: #8a2be2;
}

/* Galerija */
.gallery {
    text-align: center;
    padding: 1rem;
}

.gallery h2 {
    font-family: 'Twinkle Star', cursive;
    color: #8a2be2;
    margin-bottom: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s;
}

.gallery-item img:hover {
    opacity: 0.9;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #ffccff;
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 5px;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.prev-btn:hover, .next-btn:hover {
    color: #ffccff;
    background-color: rgba(0, 0, 0, 0.7);
}