/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* GLOBAL STYLES */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f4f4f4;
}

/* HEADER */
header {
    background: #004080;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.header-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 64, 128, 0.85);
}

.logo {
    height: 60px;
    width: auto;
    position: relative;
    z-index: 2;
}

h1 {
    font-size: 1.8rem;
    text-align: center;
    flex-grow: 1;
    padding: 0 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

/* ДОДАЦИ ЗА СОЦИЈАЛНЕ МРЕЖЕ */
.social-media {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 15px;
    position: relative;
    z-index: 2;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0066cc;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #0055aa;
    transform: translateY(-3px);
}

.social-text {
    color: white;
    font-size: 0.8rem;
    text-align: center;
    max-width: 120px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.useful-links {
    display: flex;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.link-btn {
    background: #0066cc;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.8rem;
    transition: background 0.3s;
}

.link-btn:hover {
    background: #0055aa;
}

/* NAVIGATION */
nav {
    background: #003366;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0.3rem 0;
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    padding: 0.5rem;
    cursor: pointer;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
}

nav a, .dropbtn {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    display: inline-block;
    text-align: center;
    transition: background 0.3s;
    font-size: 0.9rem;
}

nav a:hover, .dropbtn:hover {
    background: #002244;
}

/* DROPDOWN MENU */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* НОВИ СТИЛ ЗА МЕНИ ДОКУМЕНТА */
.dokumenta-dropdown {
    max-height: 80vh;
    overflow-y: auto;
    min-width: 300px;
    padding: 15px;
    background: #f5f7fa;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.dokumenta-dropdown .submenu {
    margin-bottom: 15px;
    border-bottom: 1px solid #e1e5eb;
    padding-bottom: 15px;
}

.dokumenta-dropdown .submenu:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.dokumenta-dropdown .submenu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #e6f0ff;
    border-radius: 6px;
    color: #004080;
    font-weight: 600;
    transition: all 0.3s;
}

.dokumenta-dropdown .submenu-header:hover {
    background: #d4e4ff;
}

.dokumenta-dropdown .submenu-content {
    display: none;
    padding: 10px 0;
}

.dokumenta-dropdown .submenu-content a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
    border-radius: 4px;
    margin: 5px 0;
}

.dokumenta-dropdown .submenu-content a i {
    margin-right: 10px;
    color: #0066cc;
    width: 20px;
    text-align: center;
}

.dokumenta-dropdown .submenu-content a:hover {
    background: #e6f0ff;
    color: #004080;
    transform: translateX(5px);
}

/* SUBMENU STYLES */
.submenu {
    position: relative;
}

.submenu-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.submenu-header i {
    margin-left: auto;
    font-size: 0.9rem;
}

.submenu-content {
    display: none;
    background-color: #f1f1f1;
    padding-left: 20px;
}

.submenu-content a {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
}

.submenu-content a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.submenu-content a:hover {
    background-color: #ddd;
    color: #0066cc;
}

/* STUDENT SECTION STYLES */
.student-section {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.student-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.student-header {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.student-header i {
    margin-right: 8px;
    color: #0066cc;
}

.student-type {
    color: #333;
    font-weight: bold;
    text-decoration: none;
}

.student-type:hover {
    color: #004080;
}

/* SLIDESHOW */
.slideshow-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 1s;
}

.slide.active {
    opacity: 1;
}

/* MAIN CONTENT */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* НОВИ СТИЛОВИ ЗА СМЕРОВЕ */
.smerovi-section {
    margin-bottom: 3rem;
}

.smerovi-section h2 {
    color: #004080;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.smerovi-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #0066cc;
}

.smerovi-container {
    max-width: 1400px;
    margin: 0 auto;
}

.smerovi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.smer-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    padding: 20px 15px;
    position: relative;
    height: 100%;
}

.smer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.smer-icon {
    margin-bottom: 15px;
}

.smer-icon img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #0066cc;
}

.smer-card h3 {
    color: #004080;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.smer-info p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555;
}

.smer-btn {
    background: #0066cc;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: all 0.3s;
}

.smer-btn:hover {
    background: #0055aa;
    transform: scale(1.05);
}

/* НОВИ СТИЛ ЗА ФЛАЈЕР - МОДЕРНИ И ВЕЋИ */
.flajer-section {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.flajer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0066cc, #004080, #0066cc);
}

.flajer-header {
    text-align: center;
    margin-bottom: 2rem;
}

.flajer-header h2 {
    color: #004080;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.flajer-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #0066cc;
    border-radius: 2px;
}

.flajer-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.flajer-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
}

.flajer-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.flajer-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.flajer-image:hover img {
    transform: scale(1.05);
}

.flajer-info {
    flex: 1;
    min-width: 300px;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.flajer-info h3 {
    color: #004080;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.flajer-info p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.flajer-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    width: 30px;
    height: 30px;
    background: #e6f0ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066cc;
}

.flajer-cta {
    text-align: center;
    margin-top: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #0066cc, #004080);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.4);
}

/* СТИЛОВИ ЗА ПАРТНЕРЕ */
.partneri-section {
    margin-bottom: 3rem;
    padding: 20px 0;
}

.partneri-section h2 {
    color: #004080;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.partneri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-logo {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* МОДЕРНИ СТИЛ ЗА САРАДЊУ СА ДАИБАУ */
.modern-saradnja {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    border: 1px solid #e1e5eb;
}

.saradnja-header {
    background: linear-gradient(135deg, #0066cc, #004080);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.saradnja-header h3 {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.saradnja-content {
    padding: 30px;
    line-height: 1.7;
    display: none;
    background: #f9fbfd;
}

.saradnja-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.saradnja-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.saradnja-content strong {
    color: #004080;
}

/* СТИЛ ЗА ВИДЕО ПРИЛОЗЕ */
.video-prilozi {
    margin-bottom: 3rem;
}

.video-prilozi h2 {
    color: #004080;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

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

.video-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.video-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 102, 204, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    opacity: 0.9;
    transition: all 0.3s;
}

.video-item:hover .play-icon {
    background: rgba(0, 102, 204, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-details {
    padding: 15px;
}

.video-details h3 {
    color: #004080;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.video-details p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.video-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #888;
    font-size: 0.85rem;
}

/* НОВИ СТИЛ ЗА ФУТЕР */
footer {
    position: relative;
    color: white;
    padding: 0;
    margin-top: 2rem;
}

.footer-background {
    background-image: url('skola-futerpozadina.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 400px;
    position: relative;
    display: block;
    width: 100%;
    background-repeat: no-repeat;
}

.footer-overlay {
    background: rgba(0, 51, 102, 0.85);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.footer-social-icons {
    margin-bottom: 30px;
}

.footer-social-icons .social-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: transform 0.3s;
}

.footer-social-icons .social-icon:hover {
    transform: translateY(-5px) scale(1.1);
}

/* КОНТАКТ И ЛОКАЦИЈА */
.footer-contact-info {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-box {
    flex: 1;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 4px solid #0066cc;
    text-align: center;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0066cc, #004080);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 102, 204, 0.3);
}

.contact-box h4 {
    color: #004080;
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e6f0ff;
}

.contact-box p {
    color: #444;
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.contact-box a {
    display: inline-block;
    margin-top: 12px;
    background: #0066cc;
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 3px 8px rgba(0, 102, 204, 0.2);
}

.contact-box a:hover {
    background: #0055aa;
    transform: scale(1.05);
}

.map-animation {
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, #e6f0ff, #d4e4ff);
    border-radius: 8px;
    margin: 15px auto;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-pin {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ff6b6b;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 rgba(255, 107, 107, 0.7);
}

.map-pin:after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 107, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

.map-animation p {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    color: #004080;
    font-size: 0.9rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

/* MODAL STYLES */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
}

.close-modal:hover, .close-modal:focus {
    color: black;
    text-decoration: none;
}

.modal h3 {
    color: #004080;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
    font-size: 1.8rem;
}

.modal p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1.05rem;
}

.modal ul {
    margin: 15px 0;
    padding-left: 20px;
}

.modal ul li {
    margin-bottom: 8px;
    font-size: 1.05rem;
    position: relative;
}

.modal ul li:before {
    content: "•";
    color: #0066cc;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* RESPONSIVENESS */
@media (max-width: 1200px) {
    .smerovi-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .smerovi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .smerovi-grid {
        grid-template-columns: 1fr;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-media {
        margin-right: 0;
        margin-bottom: 10px;
        justify-content: center;
        width: 100%;
    }
    
    .social-text {
        max-width: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    nav a, .dropbtn {
        width: 100%;
        text-align: left;
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .dropdown-content {
        position: static;
        width: 100%;
        display: none;
    }
    
    .dropdown:hover .dropdown-content {
        display: block;
    }
    
    .slideshow-container {
        height: 300px;
    }
    
    .footer-container {
        text-align: center;
    }
    
    .footer-social-icons {
        margin-top: 20px;
    }
    
    /* Документа мени на малим екранима */
    .dokumenta-dropdown {
        max-height: 60vh;
        min-width: 100%;
    }
    
    .flajer-content {
        flex-direction: column;
    }
    
    .flajer-image, .flajer-info {
        min-width: 100%;
    }
    
    .flajer-features {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 90%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .submenu-header {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-contact-info {
        flex-direction: column;
    }
    
    .contact-box {
        min-width: 100%;
        padding: 15px;
    }
    
    .map-animation {
        height: 80px;
    }

    .modal-content {
        width: 95%;
        padding: 15px;
    }

    .modal h3 {
        font-size: 1.5rem;
    }
}

/* Poboljšan raspored za navigaciju na srednjim ekranima */
@media (min-width: 769px) and (max-width: 1024px) {
    nav a, .dropbtn {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
}
/* Poboljšan raspored za navigaciju na srednjim ekranima */
@media (min-width: 769px) and (max-width: 1024px) {
    nav a, .dropbtn {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
}

/* === ISTAKNUTI MENI – Активности у школи === */
nav a.dropbtn.active {
    background: linear-gradient(135deg, #ffcc00, #ff9900);
    color: #003366;
    font-weight: bold;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(255, 153, 0, 0.7);
    animation: pulseMenu 1.5s infinite;
}

@keyframes pulseMenu {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 153, 0, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(255, 153, 0, 1);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 153, 0, 0.7);
    }
}
.highlight-aktivnosti {
    background: linear-gradient(135deg, #ffcc00, #ff9900) !important; /* жуто-наранџаста боја */
    color: white !important;
    border-radius: 6px;
    animation: pulseHighlight 2s infinite;
    transition: transform 0.3s, box-shadow 0.3s;
}

@keyframes pulseHighlight {
    0%, 100% { box-shadow: 0 0 5px #ffcc00; transform: scale(1); }
    50% { box-shadow: 0 0 20px #ff9900; transform: scale(1.05); }
}
.highlight-aktivnosti {
    background: linear-gradient(135deg, #ffcc00, #ff9900) !important; /* žuto-narandžasta boja */
    color: white !important;
    border-radius: 6px;
    animation: pulseHighlight 2s infinite;
    transition: transform 0.3s, box-shadow 0.3s;
}

@keyframes pulseHighlight {
    0%, 100% { box-shadow: 0 0 5px #ffcc00; transform: scale(1); }
    50% { box-shadow: 0 0 20px #ff9900; transform: scale(1.05); }
}