/* CSS Varijable za boje */
/*:root {
    --bottle-green: #1A3A2A;
    --sage: #9CAF88;
    --hunter-green: #355E3B;
    --dark-blue: #0a1929;
    --navy-blue: #132f4c;
    --brown: #8B4513;
    --black: #111111;
    --gold: #D4AF37;
    --light-bg: #ffffff;
    --white: #ffffff;
    --text: #333333;
    --accent-green: #2e8b57;
    --cream: #f5f5dc;
    --dark-brown: #2c2116;
    --dark-gold: #b5860b;
    --accent-red: #8B0000;
    --section-light: #1a1a1a;
    --section-medium: #222222;
    --section-dark: #2a2a2a;
}*/

/* Osnovni stilovi */
/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page {
    display: none;
    min-height: 100vh;
}

    .page.active {
        display: block;
    }*/

/* LOGO */
/*.logo {
    display: flex;
    align-items: center;
    height: 50px;
    z-index: 1001;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 150px;
    transition: all 0.3s ease;
    object-fit: contain;
}*/

/* Na mobilnim uređajima još manji logo */
/*@media (max-width: 768px) {
    .logo-img {
        height: 35px;
        max-width: 130px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 30px;
        max-width: 110px;
    }
}*/

/* Kada je header skrolovan, smanji logo */
/*header.scrolled .logo-img {
    height: 35px;
}*/

/* Header i Navigacija */
/*header {
    background: rgba(0, 53, 12, 0.199);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

    header.scrolled {
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
        padding: 15px 0;
    }

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}*/

/* Desktop Navigation */
/*.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-left: 40px;
}

    .desktop-nav ul {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 25px;
    }

        .desktop-nav ul li {
            margin: 0;
        }

            .desktop-nav ul li a {
                color: var(--cream);
                text-decoration: none;
                font-weight: 500;
                transition: all 0.3s;
                font-size: 16px;
                padding: 20px 15px;
                border-radius: 4px;
                cursor: pointer;
                text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
            }

                .desktop-nav ul li a:hover,
                .desktop-nav ul li a.active {
                    color: var(--dark-gold);
                    background-color: rgba(181, 134, 11, 0.2);
                }*/

/* Auth Buttons Styling */
/*.auth-buttons {
    display: flex;
    gap: 15px;
    margin-left: auto;
    padding-left: 30px;
}

.login-btn,
.register-btn {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    color: var(--cream);
    cursor: pointer;
}

.login-btn {
    color: var(--cream);
    border: 2px solid var(--dark-gold);
    background: transparent;
}

    .login-btn:hover {
        background: var(--dark-gold);
        color: var(--bottle-green);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(181, 134, 11, 0.3);
    }

.register-btn {
    background: var(--dark-gold);
    color: var(--bottle-green);
    border: 2px solid var(--dark-gold);
    font-weight: 700;
}

    .register-btn:hover {
        background: transparent;
        color: var(--cream);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(181, 134, 11, 0.3);
    }*/

/* Mobile Navigation */
/*.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

    .mobile-nav-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--white);
        border-radius: 3px;
        transition: all 0.3s ease;
        box-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    }

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 50%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--bottle-green);
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    z-index: 999;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

    .mobile-nav.active {
        right: 0;
    }

    .mobile-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

        .mobile-nav ul li {
            margin-bottom: 15px;
            border-bottom: 1px solid rgba(181, 134, 11, 0.3);
            padding-bottom: 15px;
        }

            .mobile-nav ul li:last-child {
                border-bottom: none;
            }

            .mobile-nav ul li a {
                color: var(--cream);
                text-decoration: none;
                font-size: 18px;
                display: block;
                padding: 10px 0;
                transition: color 0.3s;
            }

                .mobile-nav ul li a:hover,
                .mobile-nav ul li a.active {
                    background-color: var(--dark-gold);
                }

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }*/

/* Hamburger Animation */
/*.mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}*/

/* Responsive */
/*@media (max-width: 768px) {
    .auth-buttons {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .desktop-nav ul {
        display: none;
    }
}*/

/* Sekcije */
/*.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--white);
    position: relative;
    font-size: 32px;
}

    .section-title:after {
        content: '';
        display: block;
        width: 80px;
        height: 3px;
        background: linear-gradient(90deg, var(--gold) 0%, var(--accent-green) 100%);
        margin: 15px auto;
        border-radius: 2px;
    }*/

/* Sekcija pozadine sa mekim prelazima */
/*.section-light {
    background: linear-gradient(to bottom, var(--section-light), var(--section-medium));
    padding: 80px 0;
    position: relative;
}

.section-medium {
    background: linear-gradient(to bottom, var(--section-medium), var(--section-dark));
    padding: 80px 0;
    position: relative;
}

.section-dark {
    background: linear-gradient(to bottom, var(--section-dark), var(--black));
    padding: 80px 0;
    position: relative;
}*/

/* Dugmad */
/*.btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--gold);
    color: var(--light-bg);
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

    .btn:hover {
        background-color: var(--accent-green);
        color: var(--white);
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
    }

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

    .btn-outline:hover {
        background-color: var(--gold);
        color: var(--black);
    }*/

/* Footer */
/*footer {
    background: linear-gradient(to bottom, var(--bottle-green), #153020);
    color: var(--white);
    padding: 60px 0 20px;
    border-top: 2px solid var(--gold);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.footer-column h3 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

    .footer-column h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background: linear-gradient(90deg, var(--gold), var(--accent-green));
    }

.footer-column p, .footer-column li {
    color: var(--white);
    font-size: 14px;
}

.footer-column ul {
    list-style: none;
}

    .footer-column ul li {
        margin-bottom: 10px;
        display: flex;
        align-items: center;
    }

        .footer-column ul li::before {
            content: '▸';
            color: var(--accent-green);
            margin-right: 8px;
        }

        .footer-column ul li a {
            color: var(--white);
            text-decoration: none;
            transition: color 0.3s;
        }

            .footer-column ul li a:hover {
                color: var(--gold);
            }

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 12px;
    position: relative;
    z-index: 1;
}*/

/* Responsive Dizajn */
/*@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }

    header {
        padding: 15px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-light, .section-medium, .section-dark {
        padding: 60px 0;
    }

    .page {
        padding-top: 80px;
    }
}

@media (min-width: 769px) {
    .section-title {
        font-size: 36px;
        margin-bottom: 50px;
    }
}*/
/* AUTH STYLES */
/*.auth-container {
    display: contents;
}*/

/* DESKTOP AUTH */
/*.desktop-auth {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-icon-btn {
    background: none;
    border: 2px solid #D4AF37;
    color: #f5f5dc;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

    .auth-icon-btn:hover {
        background: #D4AF37;
        color: #1A3A2A;
    }

.logout-btn {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

    .logout-btn:hover {
        background: #ff6b6b;
        color: white;
    }

.user-greeting {
    color: #f5f5dc;
    font-size: 14px;
    margin-left: 5px;
}

.auth-icon-form {
    display: inline;
    margin: 0;
}

.auth-link {
    color: #f5f5dc;
    text-decoration: none;
    padding: 8px 15px;
    border: 2px solid #D4AF37;
    border-radius: 6px;
    transition: all 0.3s ease;
}

    .auth-link:hover {
        background: #D4AF37;
        color: #1A3A2A;
    }*/

/* MOBILE AUTH */
/*.mobile-user-info {
    padding: 15px 0;
    border-bottom: 2px solid rgba(181, 134, 11, 0.4);
    margin-bottom: 15px;
}

.mobile-user-greeting {
    color: #f5f5dc;
    font-size: 18px;
    font-weight: 600;
    display: block;
    text-align: center;
}

.mobile-welcome {
    color: #f5f5dc;
    font-size: 18px;
    font-weight: 600;
    display: block;
    text-align: center;
}

.mobile-auth-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}

.mobile-auth-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: none;
    border: 2px solid #D4AF37;
    color: #f5f5dc;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 80px;
    font-size: 14px;
}

    .mobile-auth-btn:hover {
        background: #D4AF37;
        color: #1A3A2A;
    }

    .mobile-auth-btn i {
        font-size: 20px;
    }

.mobile-auth-form {
    margin: 0;
}

.mobile-auth-links {
    display: flex;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(181, 134, 11, 0.3);
}

.mobile-auth-link {
    color: #f5f5dc;
    text-decoration: none;
    padding: 10px 10px;
    border: 2px solid #D4AF37;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
}

    .mobile-auth-link:hover {
        background: #D4AF37;
        color: #1A3A2A;
    }*/

/* RESPONSIVE AUTH */
/*@media (max-width: 768px) {
    .desktop-auth {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .mobile-user-info,
    .mobile-auth-actions,
    .mobile-auth-links {
        display: none !important;
    }
}*/
/* CSS Varijable za boje */
:root {
    --bottle-green: #1A3A2A;
    --sage: #9CAF88;
    --hunter-green: #355E3B;
    --dark-blue: #0a1929;
    --navy-blue: #132f4c;
    --brown: #8B4513;
    --black: #111111;
    --gold: #D4AF37;
    --light-bg: #ffffff;
    --white: #ffffff;
    --text: #333333;
    --accent-green: #2e8b57;
    --cream: #f5f5dc;
    --dark-brown: #2c2116;
    --dark-gold: #b5860b;
    --accent-red: #8B0000;
    --section-light: #1a1a1a;
    --section-medium: #222222;
    --section-dark: #2a2a2a;
}

/* Osnovni stilovi */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page {
    display: none;
    min-height: 100vh;
}

    .page.active {
        display: block;
    }

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    height: 50px;
    z-index: 1001;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 150px;
    transition: all 0.3s ease;
    object-fit: contain;
}

/* Na mobilnim uređajima još manji logo */
@media (max-width: 768px) {
    .logo-img {
        height: 35px;
        max-width: 130px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 30px;
        max-width: 110px;
    }
}

/* Kada je header skrolovan, smanji logo */
header.scrolled .logo-img {
    height: 35px;
}

/* Header i Navigacija */
header {
    background: rgba(0, 53, 12, 0.199);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

    header.scrolled {
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
        padding: 15px 0;
    }

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-left: 40px;
}

    .desktop-nav ul {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 25px;
    }

        .desktop-nav ul li {
            margin: 0;
        }

            .desktop-nav ul li a {
                color: var(--cream);
                text-decoration: none;
                font-weight: 500;
                transition: all 0.3s;
                font-size: 16px;
                padding: 20px 15px;
                border-radius: 4px;
                cursor: pointer;
                text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
            }

                .desktop-nav ul li a:hover,
                .desktop-nav ul li a.active {
                    color: var(--dark-gold);
                    background-color: rgba(181, 134, 11, 0.2);
                }

/* Auth Buttons Styling */
.auth-buttons {
    display: flex;
    gap: 15px;
    margin-left: auto;
    padding-left: 30px;
}

.login-btn,
.register-btn {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    color: var(--cream);
    cursor: pointer;
}

.login-btn {
    color: var(--cream);
    border: 2px solid var(--dark-gold);
    background: transparent;
}

    .login-btn:hover {
        background: var(--dark-gold);
        color: var(--bottle-green);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(181, 134, 11, 0.3);
    }

.register-btn {
    background: var(--dark-gold);
    color: var(--bottle-green);
    border: 2px solid var(--dark-gold);
    font-weight: 700;
}

    .register-btn:hover {
        background: transparent;
        color: var(--cream);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(181, 134, 11, 0.3);
    }

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

    .mobile-nav-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--white);
        border-radius: 3px;
        transition: all 0.3s ease;
        box-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    }

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 50%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--bottle-green);
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    z-index: 999;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

    .mobile-nav.active {
        right: 0;
    }

    .mobile-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

        .mobile-nav ul li {
            margin-bottom: 15px;
            border-bottom: 1px solid rgba(181, 134, 11, 0.3);
            padding-bottom: 15px;
        }

            .mobile-nav ul li:last-child {
                border-bottom: none;
            }

            .mobile-nav ul li a {
                color: var(--cream);
                text-decoration: none;
                font-size: 18px;
                display: block;
                padding: 10px 0;
                transition: color 0.3s;
            }

                .mobile-nav ul li a:hover,
                .mobile-nav ul li a.active {
                    background-color: var(--dark-gold);
                }

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* Hamburger Animation */
.mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ============================================
   TABLET RESPONSIVE (768px - 992px)
   ============================================ */

@media (min-width: 769px) and (max-width: 992px) {
    /* Tablet Header Adjustments */
    .header-content {
        padding: 0 15px;
    }

    /* Tablet Logo */
    .logo-img {
        height: 35px;
        max-width: 130px;
    }

    /* Tablet Navigation */
    .desktop-nav {
        margin-left: 20px;
    }

        .desktop-nav ul {
            gap: 15px;
        }

            .desktop-nav ul li a {
                font-size: 15px;
                padding: 15px 12px;
            }

    /* Tablet Auth Buttons */
    .auth-buttons {
        padding-left: 20px;
        gap: 10px;
    }

    .login-btn,
    .register-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* Tablet Mobile Navigation Toggle - Show only on smaller tablets */
    @media (max-width: 850px) {
        .desktop-nav ul {
            display: none;
        }

        .desktop-nav {
            justify-content: flex-end;
            margin-left: 0;
        }

        .auth-buttons {
            display: none;
        }

        .mobile-nav-toggle {
            display: flex;
            margin-left: 20px;
        }

        /* Tablet Mobile Navigation Menu */
        .mobile-nav {
            width: 60%;
            max-width: 280px;
        }

            .mobile-nav ul li a {
                font-size: 16px;
            }

        /* Tablet Mobile Auth */
        .mobile-auth {
            padding: 15px 0;
        }

        .mobile-auth-btn {
            min-width: 70px;
            padding: 10px 12px;
            font-size: 13px;
        }

            .mobile-auth-btn i {
                font-size: 18px;
            }
    }

    /* For tablets between 850px and 992px - show compact desktop nav */
    @media (min-width: 851px) and (max-width: 992px) {
        .desktop-nav ul {
            gap: 12px;
        }

            .desktop-nav ul li a {
                font-size: 14px;
                padding: 12px 10px;
            }

        .auth-buttons {
            padding-left: 15px;
        }

        .login-btn,
        .register-btn {
            padding: 7px 14px;
            font-size: 12px;
        }
    }
}

/* ============================================
   IMPROVED MOBILE RESPONSIVE (max-width: 768px)
   ============================================ */

@media (max-width: 768px) {
    /* Improved Mobile Header */
    .header-content {
        padding: 0 10px;
    }

    /* Hide desktop nav on all mobile */
    .desktop-nav {
        display: none;
    }

    /* Show mobile toggle on all mobile */
    .mobile-nav-toggle {
        display: flex;
    }

    /* Improved Mobile Navigation Menu */
    .mobile-nav {
        width: 80%;
        max-width: 280px;
        padding: 80px 15px 20px;
    }

        .mobile-nav ul li {
            margin-bottom: 12px;
            padding-bottom: 12px;
        }

            .mobile-nav ul li a {
                font-size: 17px;
                padding: 12px 0;
            }

    /* Improved Mobile Auth Section */
    .mobile-auth {
        padding: 20px 0;
        margin-bottom: 20px;
        border-bottom: 2px solid rgba(181, 134, 11, 0.4);
    }

    .mobile-user-info {
        padding: 0;
        border-bottom: none;
        margin-bottom: 15px;
    }

    .mobile-user-greeting,
    .mobile-welcome {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .mobile-auth-actions {
        gap: 12px;
        margin-bottom: 15px;
    }

    .mobile-auth-btn {
        min-width: 75px;
        padding: 10px 12px;
        font-size: 13px;
        flex: 1;
    }

        .mobile-auth-btn i {
            font-size: 18px;
            margin-bottom: 5px;
        }

    .mobile-auth-links {
        gap: 10px;
        padding: 15px 0;
    }

    .mobile-auth-link {
        padding: 10px 12px;
        font-size: 15px;
        flex: 1;
        text-align: center;
    }

    /* Logo adjustments for mobile */
    .logo-img {
        height: 32px;
        max-width: 120px;
    }

    header.scrolled .logo-img {
        height: 30px;
    }
}

/* ============================================
   SMALL MOBILE RESPONSIVE (max-width: 480px)
   ============================================ */

@media (max-width: 480px) {
    /* Extra small mobile adjustments */
    .mobile-nav {
        width: 85%;
        padding: 70px 10px 20px;
    }

        .mobile-nav ul li a {
            font-size: 16px;
            padding: 10px 0;
        }

    .mobile-auth-btn {
        min-width: 65px;
        padding: 8px 10px;
        font-size: 12px;
    }

        .mobile-auth-btn i {
            font-size: 16px;
        }

    .mobile-auth-link {
        padding: 8px 10px;
        font-size: 14px;
    }

    /* Smaller logo for very small screens */
    .logo-img {
        height: 28px;
        max-width: 100px;
    }

    header.scrolled .logo-img {
        height: 26px;
    }
}

/* Sekcije */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--white);
    position: relative;
    font-size: 32px;
}

    .section-title:after {
        content: '';
        display: block;
        width: 80px;
        height: 3px;
        background: linear-gradient(90deg, var(--gold) 0%, var(--accent-green) 100%);
        margin: 15px auto;
        border-radius: 2px;
    }

/* Sekcija pozadine sa mekim prelazima */
.section-light {
    background: linear-gradient(to bottom, var(--section-light), var(--section-medium));
    padding: 80px 0;
    position: relative;
}

.section-medium {
    background: linear-gradient(to bottom, var(--section-medium), var(--section-dark));
    padding: 80px 0;
    position: relative;
}

.section-dark {
    background: linear-gradient(to bottom, var(--section-dark), var(--black));
    padding: 80px 0;
    position: relative;
}

/* Dugmad */
.btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--gold);
    color: var(--light-bg);
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

    .btn:hover {
        background-color: var(--accent-green);
        color: var(--white);
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
    }

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

    .btn-outline:hover {
        background-color: var(--gold);
        color: var(--black);
    }

/* Footer */
footer {
    background: linear-gradient(to bottom, var(--bottle-green), #153020);
    color: var(--white);
    padding: 60px 0 20px;
    border-top: 2px solid var(--gold);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.footer-column h3 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

    .footer-column h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background: linear-gradient(90deg, var(--gold), var(--accent-green));
    }

.footer-column p, .footer-column li {
    color: var(--white);
    font-size: 14px;
}

.footer-column ul {
    list-style: none;
}

    .footer-column ul li {
        margin-bottom: 10px;
        display: flex;
        align-items: center;
    }

        .footer-column ul li::before {
            content: '▸';
            color: var(--accent-green);
            margin-right: 8px;
        }

        .footer-column ul li a {
            color: var(--white);
            text-decoration: none;
            transition: color 0.3s;
        }

            .footer-column ul li a:hover {
                color: var(--gold);
            }

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 12px;
    position: relative;
    z-index: 1;
}

/* Responsive Dizajn */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }

    header {
        padding: 15px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-light, .section-medium, .section-dark {
        padding: 60px 0;
    }

    .page {
        padding-top: 80px;
    }
}

@media (min-width: 769px) {
    .section-title {
        font-size: 36px;
        margin-bottom: 50px;
    }
}
/* AUTH STYLES */
.auth-container {
    display: contents;
}

/* DESKTOP AUTH */
.desktop-auth {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-icon-btn {
    background: none;
    border: 2px solid #D4AF37;
    color: #f5f5dc;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

    .auth-icon-btn:hover {
        background: #D4AF37;
        color: #1A3A2A;
    }

.logout-btn {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

    .logout-btn:hover {
        background: #ff6b6b;
        color: white;
    }

.user-greeting {
    color: #f5f5dc;
    font-size: 14px;
    margin-left: 5px;
}

.auth-icon-form {
    display: inline;
    margin: 0;
}

.auth-link {
    color: #f5f5dc;
    text-decoration: none;
    padding: 8px 15px;
    border: 2px solid #D4AF37;
    border-radius: 6px;
    transition: all 0.3s ease;
}

    .auth-link:hover {
        background: #D4AF37;
        color: #1A3A2A;
    }

/* MOBILE AUTH */
.mobile-user-info {
    padding: 15px 0;
    border-bottom: 2px solid rgba(181, 134, 11, 0.4);
    margin-bottom: 15px;
}

.mobile-user-greeting {
    color: #f5f5dc;
    font-size: 18px;
    font-weight: 600;
    display: block;
    text-align: center;
}

.mobile-welcome {
    color: #f5f5dc;
    font-size: 18px;
    font-weight: 600;
    display: block;
    text-align: center;
}

.mobile-auth-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}

.mobile-auth-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: none;
    border: 2px solid #D4AF37;
    color: #f5f5dc;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 80px;
    font-size: 14px;
}

    .mobile-auth-btn:hover {
        background: #D4AF37;
        color: #1A3A2A;
    }

    .mobile-auth-btn i {
        font-size: 20px;
    }

.mobile-auth-form {
    margin: 0;
}

.mobile-auth-links {
    display: flex;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(181, 134, 11, 0.3);
}

.mobile-auth-link {
    color: #f5f5dc;
    text-decoration: none;
    padding: 10px 10px;
    border: 2px solid #D4AF37;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
}

    .mobile-auth-link:hover {
        background: #D4AF37;
        color: #1A3A2A;
    }

/* RESPONSIVE AUTH */
@media (max-width: 768px) {
    .desktop-auth {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .mobile-user-info,
    .mobile-auth-actions,
    .mobile-auth-links {
        display: none !important;
    }
}

/* ============================================
   ADMIN NAVBAR RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    /* Tablet Admin Navbar */
    .admin-navbar {
        padding: 0 15px;
    }

    .admin-nav-content {
        padding: 0 15px;
    }

    .admin-nav-links {
        gap: 10px;
    }

    .admin-nav-link {
        padding: 10px 12px;
        font-size: 13px;
    }

        .admin-nav-link i {
            font-size: 16px;
            margin-right: 8px;
        }

    .client-view-btn {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    /* Mobile Admin Navbar */
    .admin-nav-title {
        padding: 12px 15px;
    }

        .admin-nav-title div {
            font-size: 16px;
        }

        .admin-nav-title i {
            font-size: 18px;
            margin-right: 10px;
        }

    .admin-mobile-toggle {
        font-size: 20px;
    }

    /* Hide desktop admin links on mobile */
    .admin-nav-links {
        display: none;
    }

    /* Show mobile admin links */
    .admin-nav-links-mobile {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        background: var(--section-medium);
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }

        .admin-nav-links-mobile .admin-nav-link {
            padding: 12px 15px;
            font-size: 15px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.05);
        }

            .admin-nav-links-mobile .admin-nav-link i {
                font-size: 18px;
                margin-right: 12px;
                width: 24px;
                text-align: center;
            }

        .admin-nav-links-mobile .client-view-btn {
            margin-top: 10px;
            padding: 12px 15px;
            font-size: 15px;
        }
}

/* ============================================
   TABLET FOOTER ADJUSTMENTS
   ============================================ */

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .footer-column {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column ul li {
        justify-content: center;
    }
}

/* ============================================
   GENERAL TABLET IMPROVEMENTS
   ============================================ */

@media (max-width: 992px) {
    /* Adjust container padding */
    .container {
        width: 95%;
        padding: 0 15px;
    }

    /* Adjust section titles */
    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    /* Adjust section padding */
    .section-light,
    .section-medium,
    .section-dark {
        padding: 60px 0;
    }

    /* Adjust buttons */
    .btn {
        padding: 12px 25px;
        font-size: 15px;
    }
}

/* ============================================
   SMOOTH TRANSITIONS
   ============================================ */

/* Ensure smooth transitions between breakpoints */
.mobile-nav,
.desktop-nav ul,
.auth-buttons,
.logo-img {
    transition: all 0.3s ease;
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */

/* Focus styles for better accessibility */
.nav-link:focus,
.login-btn:focus,
.register-btn:focus,
.mobile-auth-btn:focus,
.mobile-auth-link:focus,
.admin-nav-link:focus,
.client-view-btn:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {
    .nav-link,
    .mobile-auth-btn,
    .mobile-auth-link {
        min-height: 44px; /* Apple's recommended minimum touch target */
        display: flex;
        align-items: center;
        justify-content: center;
    }
}