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

:root {
    --dark: #10140f;
    --dark-soft: #182018;
    --green: #556b2f;
    --green-light: #7a8f45;
    --sand: #c2a36b;
    --cream: #e8dfc8;
    --paper: #f1ead8;
    --text: #20251f;
    --muted: #767c6c;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
    --radius: 20px;
}

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(122, 143, 69, 0.35), transparent 35%),
        linear-gradient(rgba(16, 20, 15, 0.88), rgba(16, 20, 15, 0.92)),
        url('images/hero.jpg') center/cover fixed no-repeat;
    line-height: 1.7;
}

/* HEADER / NAVBAR */

header {
    position: sticky;
    top: 0;
    z-index: 9999;
    padding: 18px 40px;
    background: rgba(16, 20, 15, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(194, 163, 107, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    overflow: visible;
}

header h1 {
    color: var(--cream);
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    overflow: visible;
}

nav > a,
.dropdown > a {
    display: inline-block;
    color: var(--cream);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.4px;
    padding: 10px 17px;
    border-radius: 999px;
    border: 1px solid rgba(194, 163, 107, 0.22);
    background: rgba(255, 255, 255, 0.04);
    transition: 0.25s ease;
}

nav > a:hover,
.dropdown:hover > a {
    color: #10140f;
    background: linear-gradient(135deg, var(--sand), var(--green-light));
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(194, 163, 107, 0.22);
}

/* DROPDOWN */

.dropdown {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: -8px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 330px;
    background: rgba(16, 20, 15, 0.96);
    border: 1px solid rgba(194, 163, 107, 0.45);
    border-radius: 16px;
    padding: 10px;
    z-index: 999999;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: 0.2s ease;
}

.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    width: 100%;
    color: var(--cream);
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 10px;
    white-space: nowrap;
    background: transparent;
    border: none;
}

.dropdown-menu a:hover {
    background: rgba(85, 107, 47, 0.85);
    color: white;
}

/* MAIN */

main {
    flex: 1;
    width: min(1120px, calc(100% - 32px));
    margin: 55px auto;
    padding: 50px;
    background: linear-gradient(145deg, rgba(241, 234, 216, 0.97), rgba(232, 223, 200, 0.96));
    border-radius: var(--radius);
    border: 1px solid rgba(194, 163, 107, 0.45);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--green), var(--sand), var(--green));
}

main h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

main h2::after {
    content: '';
    display: block;
    width: 110px;
    height: 4px;
    margin-top: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--green), var(--sand));
}

main h3 {
    color: var(--dark-soft);
    font-size: 1.35rem;
    margin-bottom: 18px;
}

main p {
    max-width: 760px;
    color: #343a31;
    font-size: 1.08rem;
    margin-bottom: 18px;
}

main ul {
    list-style: none;
    margin-top: 16px;
}

main li {
    position: relative;
    margin-bottom: 12px;
    padding: 15px 18px 15px 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(85, 107, 47, 0.18);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    font-weight: 650;
}

main li::before {
    content: '›';
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: var(--cream);
    font-weight: 900;
}

.two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 30px;
}

.category-box {
    padding: 28px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.52), rgba(232, 223, 200, 0.52));
    border: 1px solid rgba(85, 107, 47, 0.25);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
    transition: 0.25s ease;
}

.category-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.18);
    border-color: rgba(85, 107, 47, 0.55);
}

/* FOOTER */

footer {
    margin-top: auto;
    padding: 18px 20px;
    color: var(--cream);
    background: rgba(16, 20, 15, 0.96);
    border-top: 1px solid rgba(194, 163, 107, 0.32);
    text-align: center;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
}

.footer-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--sand);
    margin-bottom: 4px;
}

.footer-subtitle {
    font-size: 0.9rem;
    color: rgba(232, 223, 200, 0.78);
    margin-bottom: 8px;
}

.footer-contact {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.footer-contact a,
.footer-contact span {
    color: var(--cream);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--sand);
}

.footer-bottom {
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    color: rgba(232, 223, 200, 0.62);
}

footer p {
    color: rgba(232, 223, 200, 0.72);
    font-size: 0.85rem;
}

/* MOBITEL */

@media (max-width: 768px) {
    header {
        padding: 15px;
    }

    header h1 {
        font-size: 1.25rem;
    }

    nav {
        gap: 8px;
    }

    nav > a,
    .dropdown > a {
        font-size: 0.85rem;
        padding: 8px 13px;
    }

    .dropdown-menu {
        left: 0;
        min-width: 260px;
    }

    main {
        margin: 28px auto;
        padding: 32px 22px;
    }

    .two-columns {
        grid-template-columns: 1fr;
    }

    .footer-contact {
        flex-direction: column;
        gap: 4px;
    }
}

/* neki nowi dropdown */

.nav-drop {
    display: inline-block;
    color: var(--cream);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.4px;
    padding: 10px 17px;
    border-radius: 999px;
    border: 1px solid rgba(194, 163, 107, 0.22);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    font-family: inherit;
}

.dropdown:hover .nav-drop {
    color: #10140f;
    background: linear-gradient(135deg, var(--sand), var(--green-light));
}

.dropdown:hover .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/*streliste */

.hero-text {
    font-size: 1.25rem;
    line-height: 1.9;
    max-width: 950px;
    margin: 25px 0 45px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.feature-card,
.category-link {
    display: block;
    background: rgba(255,255,255,0.55);
    padding: 26px;
    border-radius: 18px;
    border: 1px solid rgba(85,107,47,0.25);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    text-decoration: none;
    color: var(--text);
    transition: 0.25s ease;
}

.feature-card:hover,
.category-link:hover {
    transform: translateY(-6px);
    border-color: rgba(85,107,47,0.55);
}

.category-link h3 {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/*css za pod kategoriju akademija i kps*/

/* KLUB I AKADEMIJA */

.page-intro {
    font-size: 1.2rem;
    line-height: 1.9;
    max-width: 900px;
    margin: 25px 0 40px;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.program-card {
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(85,107,47,0.25);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.program-card:hover {
    transform: translateY(-6px);
}

@media (max-width: 768px) {
    .program-grid {
        grid-template-columns: 1fr;
    }
}

/*klubhouse css*/

.back-btn {
    display: inline-block;
    margin-bottom: 25px;
    padding: 10px 18px;
    background: var(--green);
    color: var(--cream);
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
}

.back-btn:hover {
    background: var(--sand);
    color: var(--dark);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 25px;
}

.gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    transition: 0.25s;
}

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

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 12px;
}

.close,
.prev,
.next {
    position: absolute;
    color: white;
    font-size: 45px;
    cursor: pointer;
    background: none;
    border: none;
}

.close {
    top: 25px;
    right: 35px;
}

.prev {
    left: 35px;
}

.next {
    right: 35px;
}

/* ===== KLUBHAUS ===== */

.hero-text {
    font-size: 1.2rem;
    line-height: 1.9;
    max-width: 900px;
    margin: 25px 0;
    color: #343a31;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.feature-link {
    display: block;
    text-decoration: none !important;
    color: inherit;

    background: rgba(255,255,255,0.55);

    border: 1px solid rgba(85,107,47,0.25);
    border-radius: 20px;

    padding: 30px;

    box-shadow: 0 12px 28px rgba(0,0,0,0.08);

    transition: all .3s ease;
}

.feature-link:hover {
    transform: translateY(-8px);

    border-color: rgba(85,107,47,0.55);

    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

.feature-link h3 {
    color: var(--dark);
    margin-bottom: 15px;
    text-decoration: none !important;
    font-size: 1.6rem;
}

.feature-link p {
    color: #444;
    text-decoration: none !important;
    line-height: 1.8;
    margin: 0;
}

.clubhouse-info {
    margin-top: 50px;

    background: rgba(255,255,255,0.45);

    border-radius: 20px;

    padding: 30px;

    border: 1px solid rgba(85,107,47,0.2);
}

.clubhouse-info h3 {
    margin-bottom: 20px;
    color: var(--dark);
}

.clubhouse-info ul {
    list-style: none;
    padding: 0;
}

.clubhouse-info li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.clubhouse-info li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
}

/* RENT GALERIJA */

.section-title {
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 25px;
}

.gallery img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 18px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    transition: 0.25s ease;
}

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

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 14px;
}

.close,
.prev,
.next {
    position: absolute;
    color: white;
    font-size: 46px;
    cursor: pointer;
    background: none;
    border: none;
}

.close {
    top: 25px;
    right: 35px;
}

.prev {
    left: 35px;
}

.next {
    right: 35px;
}

/*kontakt*/

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 25px;
    margin-top: 35px;
}

.contact-card {
    background: rgba(255,255,255,.55);

    border: 1px solid rgba(85,107,47,.25);

    border-radius: 18px;

    padding: 25px;

    box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

.contact-card h3 {
    margin-bottom: 10px;
}


/* ===== MOBILNA VERZIJA ===== */

.menu-toggle {
    display: none;
}

/* MOBILNI SIDE MENU */
@media (max-width: 768px) {

    header {
        position: relative;
        padding: 16px;
    }

    header h1 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 18px;
        right: 18px;

        background: var(--sand);
        color: var(--dark);

        border: none;
        border-radius: 10px;

        padding: 8px 12px;
        font-size: 1.5rem;
        font-weight: bold;

        cursor: pointer;
        z-index: 100001;
    }

    nav {
        position: fixed;
        top: 0;
        right: -280px;

        width: 280px;
        height: 100vh;

        background: rgba(16, 20, 15, 0.98);

        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;

        padding: 80px 18px 20px;

        gap: 12px;

        transition: 0.3s ease;
        z-index: 100000;

        overflow-y: auto;
    }

    nav.active {
        right: 0;
    }

    .dropdown,
    nav > a {
        width: 100%;
    }

    nav a,
    .nav-drop,
    .dropdown > a {
        width: 100%;
        text-align: left;

        padding: 12px 14px;

        border-radius: 12px;
        font-size: 0.95rem;
    }

    .dropdown-menu {
        position: static;
        display: none;

        width: 100%;
        min-width: 100%;

        margin-top: 6px;
        padding: 8px;

        background: rgba(255,255,255,0.06);

        border-radius: 12px;
        border: 1px solid rgba(194,163,107,0.25);

        box-shadow: none;
    }

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

    main {
        width: calc(100% - 20px);
        margin: 22px auto;
        padding: 24px 16px;
    }

    .program-grid,
    .feature-grid,
    .two-columns,
    .contact-grid,
    .home-grid {
        grid-template-columns: 1fr !important;
    }

    .gallery {
        grid-template-columns: 1fr;
    }
}

/*novi hamb*/

.menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: fixed;
        top: 32px;
        right: 16px;
        width: 42px;
        height: 42px;
        border: none;
        border-radius: 10px;
        background: var(--sand);
        color: var(--dark);
        font-size: 1.35rem;
        font-weight: 900;
        z-index: 9999999;
        cursor: pointer;
    }

    nav {
        position: fixed;
        top: 0;
        right: -290px;
        width: 280px;
        height: 100vh;
        padding: 75px 16px 20px;
        background: rgba(16, 20, 15, 0.98);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        transition: right 0.3s ease;
        z-index: 999999;
        overflow-y: auto;
    }

    nav.active {
        right: 0;
    }
}


/* ===== WOW POČETNA ===== */

.home-main {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.wow-hero {
    position: relative;
    min-height: 680px;
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 25%, rgba(194,163,107,.22), transparent 28%),
        radial-gradient(circle at 80% 80%, rgba(85,107,47,.35), transparent 30%),
        linear-gradient(135deg, #0b0f0a 0%, #10140f 45%, #1b2417 100%);
    border: 1px solid rgba(194,163,107,.35);
    box-shadow: 0 30px 80px rgba(0,0,0,.45);
    display: flex;
    align-items: center;
    padding: 70px;
}

.wow-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0%, rgba(255,255,255,.06) 45%, transparent 60%);
    transform: translateX(-100%);
    animation: shineMove 6s infinite;
}

@keyframes shineMove {
    0% {
        transform: translateX(-100%);
    }
    45%, 100% {
        transform: translateX(120%);
    }
}

.wow-overlay {
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(194,163,107,.28);
    border-radius: 24px;
    pointer-events: none;
}

.wow-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.wow-label {
    color: var(--sand);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 900;
    margin-bottom: 18px;
}

.wow-content h2 {
    color: var(--cream);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 0.95;
    letter-spacing: -2px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.wow-content h2::after {
    display: none;
}

.wow-text {
    color: rgba(232,223,200,.88);
    font-size: 1.3rem;
    line-height: 1.9;
    max-width: 720px;
}

.wow-line {
    width: 160px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--sand), var(--green-light));
    margin: 35px 0 20px;
}

.wow-small {
    color: var(--sand);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== PREMIUM BLOK ISPOD HERO SEKCIJE ===== */

.statement-section {
    margin-top: 34px;
    padding: 60px;

    border-radius: 30px;

    background:
        radial-gradient(circle at 15% 20%, rgba(194,163,107,.18), transparent 30%),
        radial-gradient(circle at 85% 80%, rgba(85,107,47,.25), transparent 35%),
        linear-gradient(
            135deg,
            #0b0f0a 0%,
            #10140f 45%,
            #1b2417 100%
        );

    border: 1px solid rgba(194,163,107,.35);

    box-shadow: 0 30px 80px rgba(0,0,0,.45);

    position: relative;
    overflow: hidden;
}

.statement-section::before {
    content: "";

    position: absolute;
    inset: 18px;

    border-radius: 22px;

    border: 1px solid rgba(194,163,107,.15);

    pointer-events: none;
}

.statement-label {
    display: inline-block;

    color: var(--sand);

    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;

    margin-bottom: 18px;
}

.statement-section h3 {
    color: var(--cream);

    font-size: clamp(2.4rem, 5vw, 4.5rem);

    line-height: 1.05;

    margin-bottom: 25px;
}

.statement-section h3::after {
    content: "";

    display: block;

    width: 160px;
    height: 4px;

    margin-top: 18px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--sand),
            var(--green-light)
        );
}

.statement-section p {
    color: rgba(232,223,200,.88);

    font-size: 1.15rem;

    line-height: 2;

    max-width: 900px;
}

@media (max-width: 768px) {

    .statement-section {
        padding: 35px 25px;
    }

    .statement-section::before {
        inset: 12px;
    }

    .statement-section h3 {
        font-size: 2.3rem;
    }

    .statement-section p {
        font-size: 1rem;
        line-height: 1.8;
    }

}

@media (max-width: 768px) {
    .wow-hero {
        min-height: 560px;
        padding: 36px 24px;
        border-radius: 22px;
    }

    .wow-overlay {
        inset: 14px;
        border-radius: 18px;
    }

    .wow-content h2 {
        font-size: 3rem;
    }

    .wow-text {
        font-size: 1rem;
    }

    .statement-section {
        padding: 30px 22px;
    }
}



/* ===== TAMNI PREMIUM IZGLED ZA SVE KATEGORIJE ===== */

main {
    background:
        radial-gradient(circle at 15% 20%, rgba(194,163,107,.14), transparent 30%),
        radial-gradient(circle at 85% 80%, rgba(85,107,47,.25), transparent 35%),
        linear-gradient(135deg, #0b0f0a 0%, #10140f 45%, #1b2417 100%) !important;

    border: 1px solid rgba(194,163,107,.35) !important;
    box-shadow: 0 30px 80px rgba(0,0,0,.45) !important;
}

main h2,
main h3 {
    color: var(--cream) !important;
}

main p,
.hero-text,
.page-intro {
    color: rgba(232,223,200,.88) !important;
}

.program-card,
.feature-card,
.feature-link,
.single-card,
.contact-card,
.route-box,
.clubhouse-info {
    background: rgba(255,255,255,.06) !important;
    border: 1px solid rgba(194,163,107,.25) !important;
    color: var(--cream) !important;
}

.program-card p,
.feature-card p,
.feature-link p,
.single-card p,
.contact-card p,
.route-box p,
.clubhouse-info p {
    color: rgba(232,223,200,.78) !important;
}

.program-card h3,
.feature-card h3,
.feature-link h3,
.single-card h3,
.contact-card h3,
.route-box h3,
.clubhouse-info h3 {
    color: var(--sand) !important;
}

main li {
    background: rgba(255,255,255,.06) !important;
    border: 1px solid rgba(194,163,107,.22) !important;
    color: rgba(232,223,200,.9) !important;
}

main h2::after {
    background: linear-gradient(90deg, var(--sand), var(--green-light)) !important;
}



/* ===== AKTUELNI EVENT ===== */

.event-section {

    margin-top: 35px;

    padding: 40px;

    border-radius: 30px;

    background:
        radial-gradient(circle at 15% 20%, rgba(194,163,107,.15), transparent 30%),
        radial-gradient(circle at 85% 80%, rgba(85,107,47,.22), transparent 35%),
        linear-gradient(
            135deg,
            #0b0f0a 0%,
            #10140f 45%,
            #1b2417 100%
        );

    border: 1px solid rgba(194,163,107,.35);

    box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

.event-header {
    text-align: center;
    margin-bottom: 35px;
}

.event-header span {
    color: var(--sand);
    font-weight: 800;
    letter-spacing: 3px;
}

.event-header h2 {
    color: var(--cream);
    font-size: 3rem;
    margin-top: 10px;
}

.event-header p {
    color: rgba(232,223,200,.75);
}

.event-container {

    display: grid;

    grid-template-columns: 1.1fr 1fr;

    gap: 30px;

    align-items: center;
}

.event-image img {

    width: 100%;

    border-radius: 22px;

    border: 1px solid rgba(194,163,107,.25);

    box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

.event-info h3 {
    color: var(--sand);
    margin-bottom: 15px;
}

.event-info p {
    color: rgba(232,223,200,.85);
    line-height: 1.9;
}

.event-info ul {
    list-style: none;
    margin: 25px 0;
}

.event-info li {
    color: rgba(232,223,200,.85);
    margin-bottom: 12px;
}

.event-btn {

    display: inline-block;

    padding: 14px 28px;

    border-radius: 999px;

    text-decoration: none;

    background: var(--sand);

    color: var(--dark);

    font-weight: 800;
}

@media(max-width:900px){

    .event-container{
        grid-template-columns:1fr;
    }

    .event-header h2{
        font-size:2.2rem;
    }

}


html,
body {
    width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {

    nav {
        right: auto !important;
        left: 100%;
        width: 280px;
        max-width: 80vw;
    }

    nav.active {
        left: calc(100% - 280px);
    }

}


/* FIX: mobilni scroll stranica */

html,
body {
    min-height: 100%;
    height: auto !important;
    overflow-x: hidden;
    overflow-y: auto !important;
}

body {
    min-height: 100dvh;
}

main {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
}

@media (max-width: 768px) {
    main {
        width: calc(100% - 20px);
        margin: 20px auto 30px;
        padding: 28px 18px;
        overflow: visible !important;
    }

    .program-grid,
    .feature-grid,
    .two-columns {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 18px;
    }

    .program-card,
    .feature-card,
    .single-card {
        height: auto !important;
        min-height: auto !important;
    }

    footer {
        margin-top: 30px;
    }
}


/* ==========================================
   OLIV ELEPHANT INTRO LOADER
========================================== */

#intro {
    position: fixed;
    inset: 0;

    background:
        linear-gradient(
            rgba(0,0,0,.72),
            rgba(0,0,0,.72)
        ),
        url("images/intro-bg.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 99999999;

    transition: opacity .8s ease;
}

#intro::before {
    content: "";

    position: absolute;
    inset: 0;

    backdrop-filter: blur(6px);

    background:
        radial-gradient(
            circle at 30% 30%,
            rgba(194,163,107,.12),
            transparent 40%
        );

    pointer-events: none;
}

.intro-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

#glitchText {

    font-size: clamp(3rem, 8vw, 7rem);

    color: #fff;

    font-weight: 900;

    letter-spacing: 5px;

    text-transform: uppercase;

    margin: 0;

    text-shadow:
        0 0 15px rgba(255,255,255,.18),
        0 0 30px rgba(255,255,255,.08);

    animation: glowPulse 4s ease-in-out infinite;
}

.intro-content p {

    margin-top: 20px;

    color: #c2a36b;

    font-size: 1.1rem;

    font-weight: 800;

    letter-spacing: 8px;

    text-transform: uppercase;
}

@keyframes glowPulse {

    0%,100% {

        text-shadow:
            0 0 10px rgba(255,255,255,.12),
            0 0 20px rgba(255,255,255,.06);
    }

    50% {

        text-shadow:
            0 0 15px rgba(255,255,255,.22),
            0 0 35px rgba(255,255,255,.12);
    }
}

/* MOBITEL */

@media(max-width:768px){

    #glitchText{
        font-size:2.6rem;
        letter-spacing:2px;
    }

    .intro-content p{
        font-size:.8rem;
        letter-spacing:4px;
    }

}





/* ===== FIX POČETNA MOBITEL ===== */

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden !important;
        width: 100%;
    }

    .home-main,
    .wow-hero,
    .statement-section {
        width: calc(100% - 20px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .wow-hero {
        min-height: auto !important;
        padding: 34px 22px !important;
        border-radius: 22px !important;
    }

    .wow-overlay {
        inset: 12px !important;
        border-radius: 18px !important;
    }

    .wow-content {
        max-width: 100% !important;
        overflow: hidden;
    }

    .wow-label {
        font-size: 0.75rem !important;
        letter-spacing: 3px !important;
        white-space: normal !important;
        word-break: break-word;
    }

    .wow-content h2 {
        font-size: clamp(2.1rem, 14vw, 3.4rem) !important;
        line-height: 0.95 !important;
        letter-spacing: -1px !important;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .wow-text,
    .statement-section p {
        font-size: 1rem !important;
        line-height: 1.75 !important;
        max-width: 100% !important;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .wow-small {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        letter-spacing: 1px !important;
        white-space: normal !important;
    }

    .statement-section {
        padding: 32px 22px !important;
        border-radius: 22px !important;
    }

    .statement-label {
        font-size: 0.72rem !important;
        letter-spacing: 2px !important;
    }

    .statement-section h3 {
        font-size: 2.1rem !important;
        line-height: 1.05 !important;
    }
}


/* FIX: početna bez kartice u kartici */

.home-main {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
}

.home-main::before {
    display: none !important;
}

.wow-overlay,
.wow-hero::before,
.statement-section::before {
    display: none !important;
}

@media (max-width: 768px) {
    .home-main {
        width: 100% !important;
        margin: 20px auto 30px !important;
    }

    .wow-hero {
        width: calc(100% - 20px) !important;
        margin: 0 auto !important;
        padding: 28px 18px !important;
        border-radius: 22px !important;
    }

    .wow-content h2 {
        font-size: 2rem !important;
        line-height: 1.05 !important;
        letter-spacing: -1px !important;
    }
}

/*------logo----*/

.header-logo{

    position:absolute;

    left:30px;

    top:50%;

    transform:translateY(-50%);

    z-index:1000;
}

.header-logo img{

    width:90px;
    height:90px;

    object-fit:contain;
}

@media(max-width:768px){

.header-logo{

left:15px;

}

.header-logo img{

width:55px;
height:55px;

}

}

/* =========================================================
   FINALNI NAVBAR + DROPDOWN + MOBILNI MENI
   Ovaj blok je namjerno na kraju fajla da pregazi stare stilove.
========================================================= */

header {
    position: sticky !important;
    top: 0 !important;
    z-index: 10000 !important;
    padding: 18px 40px !important;
    background: rgba(12, 17, 12, 0.93) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(194, 163, 107, 0.24) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28) !important;
    overflow: visible !important;
}

header h1 {
    color: var(--cream) !important;
    text-align: center !important;
    font-size: clamp(1.35rem, 2.2vw, 1.9rem) !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin: 0 0 16px !important;
}

/* Logo ostaje lijevo, a naslov i meni ostaju centrirani */
.header-logo {
    position: absolute !important;
    left: 28px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10002 !important;
}

.header-logo img {
    width: 78px !important;
    height: 78px !important;
    object-fit: contain !important;
    display: block !important;
}

#mobileMenu,
header nav {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    position: relative !important;
    overflow: visible !important;
}

/* Obični linkovi i glavno dropdown dugme */
.nav-link,
.nav-drop,
header nav > a,
.dropdown > a {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 10px 18px !important;
    color: var(--cream) !important;
    background: transparent !important;
    border: 1px solid rgba(194, 163, 107, 0.22) !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    font-family: inherit !important;
    font-size: 0.92rem !important;
    font-weight: 750 !important;
    letter-spacing: 0.2px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: 0.25s ease !important;
}

.nav-link:hover,
.nav-drop:hover,
header nav > a:hover,
.dropdown:hover > .nav-drop,
.dropdown:hover > a {
    color: var(--dark) !important;
    background: linear-gradient(135deg, var(--sand), var(--green-light)) !important;
    border-color: transparent !important;
    transform: translateY(-2px) !important;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.22),
        0 0 20px rgba(194, 163, 107, 0.12) !important;
}

.nav-contact {
    background: rgba(194, 163, 107, 0.10) !important;
    border-color: rgba(194, 163, 107, 0.45) !important;
}

/* Dropdown */
.dropdown {
    position: relative !important;
    display: inline-flex !important;
    padding: 0 !important;
    margin: 0 !important;
}

.dropdown-arrow {
    display: inline-block !important;
    font-size: 1rem !important;
    transition: transform 0.25s ease !important;
}

.dropdown:hover .dropdown-arrow,
.dropdown.open .dropdown-arrow {
    transform: rotate(180deg) !important;
}

.dropdown-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 50% !important;
    width: max-content !important;
    min-width: 290px !important;
    padding: 9px !important;
    margin: 0 !important;
    background: rgba(12, 17, 12, 0.97) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border: 1px solid rgba(194, 163, 107, 0.32) !important;
    border-radius: 16px !important;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate(-50%, 8px) !important;
    transition: 0.22s ease !important;
    z-index: 999999 !important;
    display: block !important;
}

.dropdown-menu::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: -10px !important;
    height: 10px !important;
}

.dropdown:hover > .dropdown-menu,
.dropdown.open > .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
}

.dropdown-menu a {
    display: block !important;
    width: 100% !important;
    padding: 12px 14px !important;
    color: rgba(232, 223, 200, 0.90) !important;
    background: transparent !important;
    border: none !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    text-align: left !important;
    white-space: nowrap !important;
    transition: 0.2s ease !important;
}

.dropdown-menu a:hover {
    color: var(--cream) !important;
    background: rgba(85, 107, 47, 0.68) !important;
    padding-left: 19px !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Hamburger je skriven na desktopu */
.menu-toggle {
    display: none !important;
}

/* =========================================================
   MOBILNI NAVBAR
========================================================= */

@media (max-width: 768px) {
    html,
    body {
        width: 100% !important;
        overflow-x: hidden !important;
    }

    header {
        position: relative !important;
        min-height: 118px !important;
        padding: 24px 74px 20px 72px !important;
    }

    header h1 {
        font-size: 1.05rem !important;
        line-height: 1.3 !important;
        letter-spacing: 1.4px !important;
        margin: 0 !important;
    }

    .header-logo {
        left: 14px !important;
        top: 50% !important;
    }

    .header-logo img {
        width: 48px !important;
        height: 48px !important;
    }

    .menu-toggle {
        display: grid !important;
        place-items: center !important;
        position: fixed !important;
        top: 30px !important;
        right: 16px !important;
        width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        border: 1px solid rgba(194, 163, 107, 0.42) !important;
        border-radius: 11px !important;
        background: var(--sand) !important;
        color: var(--dark) !important;
        font-family: inherit !important;
        font-size: 1.28rem !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        cursor: pointer !important;
        z-index: 1000001 !important;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34) !important;
    }

    #mobileMenu,
    header nav {
        position: fixed !important;
        top: 0 !important;
        left: 100% !important;
        right: auto !important;
        width: min(320px, 86vw) !important;
        max-width: 86vw !important;
        height: 100dvh !important;
        padding: 90px 16px 30px !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        flex-wrap: nowrap !important;
        gap: 9px !important;
        background:
            radial-gradient(circle at top right, rgba(85, 107, 47, 0.28), transparent 35%),
            rgba(12, 17, 12, 0.985) !important;
        border-left: 1px solid rgba(194, 163, 107, 0.25) !important;
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.45) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        transform: translateX(0) !important;
        transition: transform 0.3s ease !important;
        z-index: 1000000 !important;
        -webkit-overflow-scrolling: touch !important;
    }

    #mobileMenu.active,
    header nav.active {
        transform: translateX(-100%) !important;
    }

    .nav-link,
    .nav-drop,
    header nav > a,
    .dropdown > a {
        width: 100% !important;
        min-height: 52px !important;
        justify-content: space-between !important;
        text-align: left !important;
        padding: 13px 16px !important;
        border-radius: 13px !important;
        font-size: 0.95rem !important;
    }

    .dropdown {
        width: 100% !important;
        display: block !important;
    }

    .dropdown-menu {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-top: 7px !important;
        padding: 7px !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        border-radius: 12px !important;
        box-shadow: none !important;
        background: rgba(255, 255, 255, 0.045) !important;
    }

    .dropdown:hover > .dropdown-menu {
        display: none !important;
    }

    .dropdown.open > .dropdown-menu {
        display: block !important;
    }

    .dropdown-menu a {
        white-space: normal !important;
        font-size: 0.88rem !important;
        padding: 11px 12px !important;
    }
}
