/* Event Niš – landing front (ZIP 2) */

/* RESET / GLOBAL */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #020617;
    color: #e5e7eb;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--color-primary, #f97373);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(2, 6, 23, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 0;
}

.logo-wrap img {
    height: 52px;
}

.main-nav {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 16px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu a {
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 8px;
}

.btn-nav {
    padding: 8px 18px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--color-primary, #f97373), #b91c1c);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

/* NAV TOGGLE */
.nav-toggle {
    display: none;
    padding: 6px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.9);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #e5e7eb;
    margin: 3px 0;
}

/* HERO */
.hero {
    position: relative;
    padding: 72px 0 80px;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(248, 113, 113, 0.18) 0, #020617 55%, #020617 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(239, 68, 68, 0.16), transparent 60%),
        radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.18), transparent 60%);
    opacity: .8;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    gap: 40px;
    align-items: center;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 6px;
}

.hero-title {
    font-size: 34px;
    line-height: 1.2;
    margin: 0 0 12px;
    color: #f9fafb;
}

.hero-text {
    font-size: 15px;
    color: #cbd5f5;
    max-width: 520px;
    margin-bottom: 16px;
}

.hero-list {
    margin: 0 0 18px;
    padding-left: 18px;
    font-size: 14px;
    color: #d1d5db;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
}

.hero-secondary {
    font-size: 13px;
    color: #9ca3af;
}

.hero-secondary a {
    font-weight: 600;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--color-primary, #f97373), #b91c1c);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(248, 113, 113, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 22px 40px rgba(248, 113, 113, 0.6);
    text-decoration: none;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: transparent;
    color: #e5e7eb;
    font-weight: 500;
    font-size: 14px;
}

/* Hero media / slider */
.hero-media {
    position: relative;
}

.hero-slider {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.9);
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .7s ease;
}

.hero-slide img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.hero-slide-caption {
    position: absolute;
    left: 14px;
    bottom: 10px;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.86);
    color: #e5e7eb;
    font-size: 12px;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
}

.hero-badge {
    position: absolute;
    top: 16px;
    right: -6px;
    background: rgba(15, 23, 42, 0.96);
    border-radius: 16px;
    padding: 8px 16px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(248, 113, 113, 0.35);
    text-align: right;
}

.hero-badge span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary, #f97373);
}

.hero-badge small {
    display: block;
    font-size: 11px;
    color: #e5e7eb;
}

/* SECTIONS */
.section {
    padding: 56px 0;
    background: #020617;
}

.section-alt {
    background: #020617;
    position: relative;
}

.section-alt::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.12), transparent 60%);
    opacity: .8;
    pointer-events: none;
}

.section h2 {
    font-size: 26px;
    margin: 0 0 14px;
    color: #f9fafb;
}

.section-text {
    font-size: 14px;
    color: #cbd5f5;
    max-width: 620px;
}

/* Benefits */
.section-benefits {
    background: #020617;
}

.benefits-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.benefit {
    background: radial-gradient(circle at top, rgba(30, 64, 175, 0.28), rgba(15, 23, 42, 1));
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    padding: 14px 14px 16px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.9);
}

.benefit h3 {
    font-size: 16px;
    margin: 0 0 6px;
}

.benefit p {
    font-size: 13px;
    color: #e5e7eb;
}

/* =========================
   TWO-COLUMN SECTIONS
   ========================= */
.two-col {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.two-col-reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}

.two-col-text {
    position: relative;
    z-index: 1;
}

/* okvir oko slike – ista visina svuda */
.two-col-media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.95);
}

/* aspect ratio: desktop širi, tel malo viši */
@media (min-width: 961px) {
    .two-col-media {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 960px) {
    .two-col-media {
        aspect-ratio: 4 / 3;
    }
}

.two-col-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Check list */
.check-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    font-size: 14px;
    color: #e5e7eb;
}

.check-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary, #f97373);
    font-size: 13px;
    font-weight: 700;
}

/* GALERIJA – novi stil bez senki, overlay na hover */

.section-gallery {
    background: #020617;
}

/* tabovi */
.gallery-tabs {
    display: inline-flex;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 999px;
    padding: 4px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    margin: 18px 0 16px;
    gap: 4px;
}

.gallery-tabs .tab {
    border: none;
    background: transparent;
    color: #e5e7eb;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
}

.gallery-tabs .tab.is-active {
    background: linear-gradient(135deg, var(--color-primary, #f97373), #b91c1c);
    color: #020617;
    font-weight: 600;
}

/* GRID */
.gallery-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

@media (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Item bez senki + overlay caption na hover */
.gallery-item figure {
    position: relative;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #020617;
}

.gallery-item img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform .4s ease, filter .4s ease;
}

/* tamni overlay preko slike */
.gallery-item figure::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent 55%);
    opacity: 0;
    transition: opacity .3s ease;
}

/* caption dole preko slike */
.gallery-item figcaption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    font-size: 13px;
    color: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .3s ease, transform .3s ease;
}

/* mali “zoom” badge */
.gallery-item figcaption::after {
    content: "ZOOM";
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(248, 113, 113, 0.9);
    color: #fecaca;
    background: rgba(15, 23, 42, 0.9);
}

/* hover efekti */
.gallery-item:hover img {
    transform: scale(1.03);
    filter: brightness(.75);
}

.gallery-item:hover figure::before,
.gallery-item:hover figcaption {
    opacity: 1;
}

.gallery-item:hover figcaption {
    transform: translateY(0);
}

/* naglasi da je klikabilno */
.section-gallery .gallery-item img {
    cursor: zoom-in;
}

/* ============================
   LIGHTBOX – sa prev/next
   ============================ */
.eni-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.eni-lightbox.is-open {
    display: block;
}

.eni-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
}

.eni-lightbox-inner {
    position: absolute;
    inset: 0;
    max-width: 960px;
    margin: auto;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* slika */
.eni-lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 12px;
}

/* caption ispod */
.eni-lightbox-caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 20px;
    color: #f9fafb;
    text-align: center;
    font-size: 14px;
}

/* close dugme */
.eni-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    border: none;
    background: rgba(15, 23, 42, 0.9);
    color: #f9fafb;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

/* prev/next */
.eni-lightbox-nav {
    border: none;
    background: rgba(15, 23, 42, 0.9);
    color: #f9fafb;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.eni-lightbox-prev {
    margin-right: 6px;
}

.eni-lightbox-next {
    margin-left: 6px;
}

.eni-lightbox-nav:hover,
.eni-lightbox-close:hover {
    background: rgba(15, 23, 42, 0.98);
}

@media (max-width: 640px) {
    .eni-lightbox-inner {
        padding: 12px;
        gap: 6px;
    }
    .eni-lightbox-nav {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    .eni-lightbox-caption {
        left: 16px;
        right: 16px;
        bottom: 14px;
        font-size: 13px;
    }
}

/* PAGINACIJA GALERIJE */
.gallery-pagination {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.gallery-pagination .page {
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.92);
    color: #e5e7eb;
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 12px;
    cursor: pointer;
    min-width: 30px;
    text-align: center;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}

.gallery-pagination .page:hover {
    transform: translateY(-1px);
    border-color: rgba(248, 113, 113, 0.9);
}

.gallery-pagination .page--current {
    background: linear-gradient(135deg, var(--color-primary, #f97373), #b91c1c);
    color: #020617;
    border-color: transparent;
    font-weight: 600;
}

/* Lazy load fade-in */
.lazy-img {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .35s ease, transform .35s ease, filter .4s ease;
}

.lazy-img.is-loaded {
    opacity: 1;
    transform: translateY(0);
}

/* TESTIMONIALS */
.section-testimonials {
    background: radial-gradient(circle at top, rgba(30, 64, 175, 0.4), #020617 55%);
}

.testimonials {
    margin-top: 20px;
}

.testimonial-card {
    max-width: 720px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 20px;
    padding: 20px 18px 18px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.95);
}

.testimonial-text {
    font-size: 15px;
    color: #e5e7eb;
    margin: 0 0 10px;
}

.testimonial-meta {
    font-size: 13px;
    color: #9ca3af;
}

.testimonial-name {
    font-weight: 600;
    color: #f9fafb;
    margin-right: 6px;
}

.testimonial-dots {
    margin-top: 10px;
    display: flex;
    gap: 6px;
    justify-content: center;
}

.testimonial-dots .dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    border: none;
    background: rgba(148, 163, 184, 0.4);
    cursor: pointer;
}

.testimonial-dots .dot.is-active {
    width: 18px;
    background: linear-gradient(135deg, var(--color-primary, #f97373), #b91c1c);
}

/* CTA */
.section-cta {
    background: linear-gradient(135deg, var(--gradient-from, #b22222), var(--gradient-to, #7f1d1d));
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-inner h2 {
    margin: 0 0 6px;
    color: #f9fafb;
}

.cta-inner .section-text {
    margin: 0;
    color: #fee2e2;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* FOOTER */
.site-footer {
    background: #020617;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.footer-inner {
    padding: 14px 16px 18px;
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
}

.footer-inner a {
    color: #e5e7eb;
}

.made-by {
    margin-top: 4px;
}

/* MODAL */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 80;
}

.modal-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    width: 100%;
    max-width: 460px;
    background: #020617;
    border-radius: 18px;
    padding: 18px 18px 20px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.85);
    position: relative;
}

.modal h2 {
    margin: 0 0 6px;
    font-size: 20px;
}

.modal-intro {
    font-size: 13px;
    color: #9ca3af;
    margin: 0 0 10px;
}

.modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    font-size: 16px;
}

.contact-form .form-row {
    margin-bottom: 10px;
}

.contact-form label {
    display: block;
    font-size: 12px;
    margin-bottom: 3px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: #020617;
    color: #e5e7eb;
    padding: 7px 9px;
    font-family: inherit;
    font-size: 13px;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-primary, #f97373);
}

.checkbox {
    display: flex;
    align-items: flex-start;
    font-size: 11px;
    color: #9ca3af;
    gap: 6px;
}

.checkbox input {
    margin-top: 2px;
}

.form-message {
    border-radius: 10px;
    padding: 8px 9px;
    font-size: 12px;
    margin-bottom: 10px;
}

.form-message--success {
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid #22c55e;
    color: #bbf7d0;
}

.form-message--error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid #ef4444;
    color: #fecaca;
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .hero-media {
        order: -1;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .two-col,
    .two-col-reverse,
    .cta-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    /* redosled – prvo tekst, pa slika */
    #satori .two-col-text,
    #pagode .two-col-text,
    #sajmovi .two-col-text {
        order: 1;
    }

    #satori .two-col-media,
    #pagode .two-col-media,
    #sajmovi .two-col-media {
        order: 2;
    }

    /* 2 u redu za galeriju na tablet/telefon */
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .header-inner {
        gap: 12px;
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        margin-left: 8px;
    }

    .nav-menu {
        position: absolute;
        top: 110%;
        right: 0;
        flex-direction: column;
        background: #020617;
        border-radius: 16px;
        border: 1px solid rgba(148, 163, 184, 0.7);
        padding: 8px;
        box-shadow: 0 24px 55px rgba(0, 0, 0, 0.9);
        display: none;
        min-width: 210px;
    }

    .nav-menu--open {
        display: flex;
    }

    .benefits-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding: 54px 0 60px;
    }
}

@media (max-width: 520px) {
    .hero-title {
        font-size: 26px;
    }
    .hero-text {
        font-size: 14px;
    }
    .gallery-item img {
        height: 190px;
    }
}

/* INLINE EDITOR ZA ADMINA */
.eni-inline-block {
    position: relative;
    cursor: pointer;
}

.eni-inline-block::after {
    content: "✎";
    position: absolute;
    top: -10px;
    right: -10px;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 999px;
    padding: 2px 6px;
    font-size: 11px;
    border: 1px solid rgba(248, 113, 113, 0.8);
    color: #f97373;
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity .15s ease, transform .15s ease;
    pointer-events: none;
}

.eni-inline-block:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.eni-inline-panel {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 320px;
    max-width: 90vw;
    background: #020617;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.9);
    padding: 10px 12px 12px;
    font-size: 13px;
    color: #e5e7eb;
    z-index: 100;
    display: none;
}

.eni-inline-panel.is-open {
    display: block;
}

.eni-inline-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.eni-inline-panel-header strong {
    font-size: 13px;
}

.eni-inline-panel-header button {
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 18px;
    cursor: pointer;
}

.eni-inline-panel-body label {
    display: block;
    margin-bottom: 8px;
}

.eni-inline-panel-body select,
.eni-inline-panel-body textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: #020617;
    color: #e5e7eb;
    padding: 6px 8px;
    font-family: inherit;
    font-size: 13px;
}

.eni-inline-panel-body button[data-save] {
    margin-top: 4px;
    border: none;
    background: linear-gradient(135deg, var(--color-primary, #f97373), #b91c1c);
    color: #fff;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.eni-image-edit {
    position: relative;
    cursor: pointer;
    outline: 2px dashed transparent;
    outline-offset: 3px;
}

.eni-image-edit:hover {
    outline-color: rgba(248, 113, 113, 0.9);
}

/* CSS editor */
.eni-css-editor {
    position: fixed;
    bottom: 16px;
    left: 16px;
    width: 340px;
    max-height: 60vh;
    background: #020617;
    color: #f9fafb;
    border: 1px solid #1f2937;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,.6);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Poppins", sans-serif;
    font-size: 13px;
    z-index: 9999;
    display: none;
}

.eni-css-editor.is-open {
    display: block;
}

.eni-css-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: #111827;
    border-bottom: 1px solid #1f2937;
    font-weight: 600;
}

.eni-css-header button {
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 16px;
}

.eni-css-editor textarea {
    width: 100%;
    box-sizing: border-box;
    border: none;
    border-top: 1px solid #111827;
    border-bottom: 1px solid #111827;
    background: #020617;
    color: #e5e7eb;
    padding: 8px;
    resize: vertical;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 12px;
}

.eni-css-editor button[data-css-save] {
    width: 100%;
    border: none;
    padding: 8px 10px;
    background: #22c55e;
    color: #022c22;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0 0 8px 8px;
}

.eni-css-editor button[data-css-save]:hover {
    filter: brightness(1.05);
}

/* TOAST */
.eni-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: rgba(15,23,42,0.95);
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    border: 1px solid rgba(148,163,184,0.6);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    z-index: 99999;
}

.eni-toast.show {
    opacity: 1;
    transform: translateY(0);
}
/* ============================
   HEADER – MOBILNI HAMBURGER FIX
   ============================ */
@media (max-width: 768px) {
    .header-inner {
        padding: 14px 18px;
        gap: 10px;
    }

    .logo-wrap img {
        height: 44px;
    }

    /* KRUG dugme */
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.06);
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
        position: relative;
        cursor: pointer;
    }

    /* linije unutra – centrirane */
    .nav-toggle span {
        position: absolute;
        left: 50%;
        width: 20px;
        height: 2px;
        background: #0f172a;
        border-radius: 999px;
        transition: transform .18s ease, opacity .18s ease;
        transform-origin: center;
		        margin-top: 0px !important;
    }

    .nav-toggle span:nth-child(1) {
        top: 50%;
        transform: translate(-50%, -6px);
    }

    .nav-toggle span:nth-child(2) {
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .nav-toggle span:nth-child(3) {
        top: 50%;
        transform: translate(-50%, 4px);
    }

    /* kad je otvoreno – čist X u krugu */
    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    /* dropdown meni – beli kao i do sada */
    .nav-menu {
        position: absolute;
        top: 110%;
        right: 16px;
        min-width: 220px;
        flex-direction: column;
        background: #ffffff;
        border-radius: 16px;
        border: 1px solid rgba(148, 163, 184, 0.35);
        padding: 10px;
        box-shadow: 0 24px 55px rgba(15, 23, 42, 0.25);
        display: none;
        gap: 4px;
        z-index: 60;
    }

    .nav-menu--open {
        display: flex;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 8px 10px;
        border-radius: 10px;
        color: #0f172a;
        font-weight: 500;
    }

    .nav-menu a:hover {
        background: rgba(15, 23, 42, 0.04);
        text-decoration: none;
    }

    .nav-menu .btn-nav {
        width: 100%;
        margin-top: 4px;
        padding: 9px 16px;
        font-size: 14px;
    }
}
/* ==========================================
   DOSLEDNE DIMENZIJE SLIKA U SEKCIJAMA
   (Šatori, Pagode, Sajmovi, itd.)
   Samo desktop – izgleda savršeno!
========================================== */
@media (min-width: 992px) {
    .two-col-media img {
        width: 100%;
        height: 420px; /* <- promeni po želji: 380px, 450px, 500px... */
        object-fit: cover;
        object-position: center;
        border-radius: 16px;
    }
}
/* ==========================================
   DOSLEDNE KOLONE ZA SVE SEKCIJE
   (Šatori, Pagode, Sajmovi...)
   ========================================== */
@media (min-width: 992px) {
    /* Sve two-col sekcije imaju isti raspored */
    .two-col,
    .two-col.two-col-reverse {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); /* leva kolona malo šira, ali SVUDA isto */
        gap: 40px;
        align-items: center;
    }
}
@media (min-width: 992px) {
    .two-col-media img {
        width: 100%;
        height: 420px; /* promeni visinu po ukusu: 380, 450, 480... */
        object-fit: cover;
        object-position: center;
        border-radius: 20px;
    }
}
/* ===== CONFETTI – PRSKALICA IZ MODALA ===== */
.eni-confetti-piece {
    position: fixed;
    width: 8px;
    height: 14px;
    background: #f97316;
    opacity: 0.95;
    border-radius: 2px;
    pointer-events: none;
    z-index: 9999;
    /* start pozicija definisana u JS preko left/top */
    transform: translate3d(0, 0, 0) rotateZ(0deg);
    animation: eni-confetti-burst 0.75s ease-out forwards;
}

/* različite boje traka */
.eni-confetti-piece:nth-child(3n) {
    background: #fb923c;
}
.eni-confetti-piece:nth-child(4n) {
    background: #facc15;
}
.eni-confetti-piece:nth-child(5n) {
    background: #22c55e;
}

@keyframes eni-confetti-burst {
    0% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1) rotateZ(0deg);
    }
    100% {
        opacity: 0;
        transform:
            translate3d(
                var(--eni-confetti-x, 0px),
                var(--eni-confetti-y, 0px),
                0
            )
            scale(0.9)
            rotateZ(720deg);
    }
}


.eni-thankyou {
    text-align: center;
    padding: 24px 16px 8px;
}

.eni-thankyou h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.eni-thankyou p {
    margin-bottom: 4px;
    color: #6b7280;
}
/* =====================================
   CTA – dosledan raspored na mobilnom
   ===================================== */
@media (max-width: 960px) {
    .section-cta .cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .section-cta .cta-text {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .section-cta .cta-inner {
        align-items: stretch;
        text-align: left;
    }

    .section-cta .cta-text h2 {
        margin-bottom: 6px;
    }

    .section-cta .cta-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .section-cta .cta-actions .btn-primary,
    .section-cta .cta-actions .btn-ghost {
        width: 100%;
        justify-content: center;
    }
}
