/* =========================================================
   ZVEKY VISUALS
   GLAVNI CSS
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: #0b0f19;
    color: #f4f4f4;
    font-family:
        "Segoe UI",
        Tahoma,
        Geneva,
        Verdana,
        sans-serif;
    overflow-x: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
}

img,
video {
    max-width: 100%;
}


/* =========================================================
   NAVIGACIJA
========================================================= */

header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 70px;

    z-index: 1000;

    background: rgba(11, 15, 25, 0.96);

    border-bottom:
        1px solid rgba(212, 175, 55, 0.2);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    height: 100%;

    margin: 0 auto;
    padding: 0 15px;

    display: flex;
    align-items: center;
    gap: 0;
}


/* =========================================================
   LOGO
========================================================= */

.nav-brand {
    display: flex;
    align-items: center;

    height: 100%;

    flex-shrink: 0;

    text-decoration: none;
}

.nav-brand img {
    display: block;

    width: auto;
    height: 40px;

    object-fit: contain;
}


/* =========================================================
   NAV LINKOVI
========================================================= */

nav {
    margin-left: auto;
}

.nav-links {
    display: flex;
    align-items: center;

    gap: 25px;

    list-style: none;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    position: relative;

    display: inline-block;

    color: #ccc;

    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    white-space: nowrap;

    transition:
        color 0.25s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0;
    height: 2px;

    background: #d4af37;

    transition:
        width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #d4af37;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.website-credit {
    margin-top: 6px;

    color: #555;

    font-size: 11px;
    line-height: 1.4;
}

.website-credit strong {
    color: #777;
    font-weight: 600;
}


/* =========================================================
   INSTAGRAM
========================================================= */

.instagram-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: 22px;

    width: 36px;
    height: 36px;

    color: #ccc;

    text-decoration: none;

    font-size: 20px;

    border-radius: 50%;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.instagram-btn:hover {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.08);

    transform: translateY(-2px);
}


/* =========================================================
   JEZIK
========================================================= */

.language-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-left: 12px;

    min-width: 68px;
    height: 36px;

    padding: 0 10px;

    background: rgba(255, 255, 255, 0.04);

    border:
        1px solid rgba(212, 175, 55, 0.25);

    border-radius: 6px;

    color: #ddd;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.5px;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.language-btn:hover {
    color: #d4af37;

    background:
        rgba(212, 175, 55, 0.08);

    border-color:
        rgba(212, 175, 55, 0.6);

    transform: translateY(-1px);
}

#languageFlag {
    width: 22px;
    height: 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    line-height: 0;
}

#languageFlag svg {
    display: block;

    width: 22px;
    height: 15px;

    overflow: visible;
}

#languageText {
    line-height: 1;
}


/* =========================================================
   CTA U NAVIGACIJI
========================================================= */

.cta-btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-left: 15px;

    min-height: 36px;

    padding: 8px 16px;

    background:
        linear-gradient(
            135deg,
            #d4af37,
            #aa8c2c
        );

    color: #0b0f19;

    border-radius: 5px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.25s ease;
}

.cta-btn-nav:hover {
    opacity: 0.95;

    transform: translateY(-2px);

    box-shadow:
        0 5px 15px rgba(212, 175, 55, 0.2);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    width: 100%;
    height: 100vh;
    min-height: 600px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;

    text-align: center;

    overflow: hidden;
}

.hero-video {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;
}

.mobile-video {
    display: none;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            rgba(11, 15, 25, 0.52),
            rgba(11, 15, 25, 0.88)
        );
}

.hero-content {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 820px;

    margin-top: 35px;
}

.hero-content h1 {
    margin-bottom: 18px;

    color: #fff;

    font-size: clamp(30px, 5vw, 48px);

    line-height: 1.15;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.hero-content p {
    max-width: 720px;

    margin: 0 auto 28px;

    color: #bdbdbd;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   GLAVNO DUGME
========================================================= */

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 12px 26px;

    background:
        linear-gradient(
            135deg,
            #d4af37,
            #aa8c2c
        );

    color: #0b0f19;

    border: none;
    border-radius: 5px;

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.25s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(212, 175, 55, 0.25);
}


/* =========================================================
   USLUGE
========================================================= */

.services {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 80px 15px;

    text-align: center;
}

.services h2 {
    margin-bottom: 38px;

    color: #fff;

    font-size: 32px;
}

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(280px, 1fr)
        );

    gap: 20px;
}

.service-card {
    padding: 32px 22px;

    background:
        rgba(255, 255, 255, 0.03);

    border:
        1px solid rgba(212, 175, 55, 0.1);

    border-radius: 10px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);

    border-color: #d4af37;

    background:
        rgba(255, 255, 255, 0.045);
}

.service-card i {
    display: block;

    margin-bottom: 18px;

    color: #d4af37;

    font-size: 36px;
}

.service-card h3 {
    margin-bottom: 10px;

    color: #fff;

    font-size: 20px;
}

.service-card p {
    color: #8f8f8f;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   LOCATION
========================================================= */

.location {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;

    padding: 80px 20px;

    text-align: center;

    background:
        rgba(255, 255, 255, 0.01);

    border-top:
        1px solid rgba(212, 175, 55, 0.1);

    border-bottom:
        1px solid rgba(212, 175, 55, 0.1);
}

.location h2 {
    margin-bottom: 20px;

    color: #fff;

    font-size: 30px;

    line-height: 1.3;
}

.location p {
    max-width: 800px;

    margin: 0 auto;

    color: #aaa;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   PORTFOLIO
========================================================= */

.portfolio-page {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding:
        120px 15px 60px;

    text-align: center;
}

.portfolio-page h1 {
    margin-bottom: 10px;

    color: #fff;

    font-size: 34px;

    line-height: 1.2;
}

.portfolio-subtitle {
    max-width: 760px;

    margin: 0 auto 38px;

    color: #888;

    font-size: 15px;

    line-height: 1.6;
}

.portfolio-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(260px, 1fr)
        );

    gap: 20px;

    margin-bottom: 40px;
}

.portfolio-loading {
    width: 100%;

    grid-column: 1 / -1;

    color: #888;

    padding: 30px 10px;
}

.portfolio-cta {
    margin-top: 20px;
}


/* =========================================================
   PORTFOLIO ITEM
========================================================= */

.portfolio-item {
    position: relative;

    height: 300px;

    overflow: hidden;

    display: flex;
    align-items: flex-end;

    background: #1a2238;

    border:
        1px solid rgba(255, 255, 255, 0.06);

    border-radius: 8px;

    isolation: isolate;
}

.portfolio-item img,
.portfolio-item video {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}

.portfolio-item:hover img,
.portfolio-item:hover video {
    transform: scale(1.04);
}

.portfolio-overlay {
    position: relative;

    z-index: 2;

    width: 100%;

    padding: 45px 20px 20px;

    background:
        linear-gradient(
            transparent,
            rgba(11, 15, 25, 0.96)
        );
}

.portfolio-overlay h3 {
    margin-bottom: 10px;

    color: #fff;

    font-size: 18px;

    text-align: left;
}


/* =========================================================
   PORTFOLIO DUGME
========================================================= */

.cta-btn-sm {
    padding: 7px 13px;

    background: #d4af37;

    color: #0b0f19;

    border: none;
    border-radius: 4px;

    font-size: 13px;
    font-weight: 700;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.cta-btn-sm:hover {
    opacity: 0.85;

    transform: translateY(-1px);
}


/* =========================================================
   KONTAKT
========================================================= */

.contact-page {
    width: 100%;
    max-width: 950px;

    margin: 0 auto;

    padding:
        120px 15px 60px;

    text-align: center;
}

.contact-page h1 {
    margin-bottom: 10px;

    color: #fff;

    font-size: 34px;
}

.contact-subtitle {
    margin-bottom: 35px;

    color: #888;

    font-size: 15px;

    line-height: 1.6;
}

.contact-container {
    display: grid;

    grid-template-columns:
        1fr 1.5fr;

    gap: 30px;

    padding: 28px;

    text-align: left;

    background:
        rgba(255, 255, 255, 0.025);

    border:
        1px solid rgba(212, 175, 55, 0.1);

    border-radius: 10px;
}

.contact-info {
    display: flex;

    flex-direction: column;

    gap: 22px;
}

.contact-right-side {
    display: flex;

    flex-direction: column;

    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;

    gap: 12px;
}

.info-item i {
    flex-shrink: 0;

    width: 20px;

    color: #d4af37;

    font-size: 18px;

    text-align: center;
}

.info-item p {
    color: #ddd;

    font-size: 14px;

    overflow-wrap: anywhere;
}


/* =========================================================
   FORMA
========================================================= */

.contact-form {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;

    padding: 13px;

    background:
        rgba(255, 255, 255, 0.05);

    color: #fff;

    border:
        1px solid rgba(255, 255, 255, 0.1);

    border-radius: 5px;

    font-size: 14px;

    transition:
        border-color 0.25s ease,
        background 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #777;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;

    background:
        rgba(255, 255, 255, 0.07);

    border-color: #d4af37;

    box-shadow:
        0 0 0 2px rgba(212, 175, 55, 0.08);
}

.contact-form textarea {
    min-height: 130px;

    resize: vertical;
}

.contact-form select {
    cursor: pointer;
}

.contact-form select option {
    background: #0b0f19;
    color: #fff;
}

.contact-form button:disabled {
    opacity: 0.6;

    cursor: wait;

    transform: none;
}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-box {
    padding-top: 18px;

    text-align: center;

    border-top:
        1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-box p {
    margin-bottom: 9px;

    color: #888;

    font-size: 13px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 100%;

    padding: 12px 15px;

    background: #25d366;

    color: #fff;

    border-radius: 5px;

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.whatsapp-btn:hover {
    opacity: 0.9;

    transform: translateY(-2px);
}

.whatsapp-btn i {
    font-size: 20px;
}


/* =========================================================
   MODAL
========================================================= */

.modal-overlay {
    position: fixed;

    inset: 0;

    z-index: 3000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 15px;

    background:
        rgba(11, 15, 25, 0.94);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;

    width: 100%;
    max-width: 750px;

    max-height: 85vh;

    overflow-y: auto;

    padding: 25px;

    background: #101726;

    border:
        1px solid rgba(212, 175, 55, 0.3);

    border-radius: 10px;

    text-align: left;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-content h2 {
    padding-right: 30px;

    color: #fff;
}

.close-modal {
    position: absolute;

    top: 10px;
    right: 15px;

    color: #fff;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    transition:
        color 0.2s ease;
}

.close-modal:hover {
    color: #d4af37;
}

.modal-desc {
    margin: 12px 0 20px;

    color: #aaa;

    font-size: 14px;

    line-height: 1.6;
}

.modal-gallery {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(280px, 1fr)
        );

    gap: 15px;

    align-items: start;
}

.modal-gallery img,
.modal-gallery video {
    display: block;

    width: 100%;
    height: auto;

    max-height: 70vh;

    object-fit: contain;

    background: #0b0f19;

    border:
        1px solid rgba(255, 255, 255, 0.1);

    border-radius: 6px;
}


/* =========================================================
   SUCCESS OVERLAY
========================================================= */

.success-overlay {
    position: fixed;

    inset: 0;

    z-index: 5000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(11, 15, 25, 0.94);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.success-box {
    width: 100%;
    max-width: 450px;

    padding: 40px 30px;

    text-align: center;

    background: #101726;

    border:
        1px solid rgba(212, 175, 55, 0.35);

    border-radius: 12px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5);

    animation:
        successAppear 0.25s ease;
}

@keyframes successAppear {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #d4af37;

    color: #0b0f19;

    border-radius: 50%;

    font-size: 28px;
}

.success-box h2 {
    margin-bottom: 12px;

    color: #fff;

    font-size: 24px;
}

.success-box p {
    margin-bottom: 25px;

    color: #aaa;

    line-height: 1.6;
}

.success-box button {
    padding: 12px 25px;

    background:
        linear-gradient(
            135deg,
            #d4af37,
            #aa8c2c
        );

    color: #0b0f19;

    border: none;
    border-radius: 5px;

    font-size: 15px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.success-box button:hover {
    opacity: 0.9;

    transform: translateY(-2px);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    padding: 25px 15px;

    background: #070a12;

    color: #666;

    border-top:
        1px solid rgba(255, 255, 255, 0.05);

    text-align: center;

    font-size: 13px;
}


/* =========================================================
   MOBILNI UREĐAJI
========================================================= */

@media (max-width: 768px) {

    header {
        height: 65px;
    }

    .nav-container {
        padding: 0 12px;
    }

    .nav-brand img {
        height: 36px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .instagram-btn {
        margin-left: 10px;

        width: 32px;
        height: 32px;

        font-size: 18px;
    }

    .language-btn {
        margin-left: 6px;

        min-width: 60px;
        height: 32px;

        padding: 0 7px;

        gap: 5px;

        font-size: 11px;
    }

    #languageFlag {
    width: 21px;
    height: 14px;
}

#languageFlag svg {
    width: 21px;
    height: 14px;
}

    .cta-btn-nav {
        display: none;
    }


    /* HERO */

    .desktop-video {
        display: none;
    }

    .mobile-video {
        display: block;
    }

    .hero {
        min-height: 650px;
    }

    .hero-content {
        margin-top: 30px;
    }

    .hero-content h1 {
        font-size: 28px;

        line-height: 1.2;
    }

    .hero-content p {
        font-size: 14px;

        line-height: 1.6;
    }


    /* SEKCIJE */

    .services {
        padding:
            65px 15px;
    }

    .services h2 {
        font-size: 28px;
    }

    .portfolio-page,
    .contact-page {
        padding-top: 95px;
    }


    /* PORTFOLIO */

    .portfolio-page h1,
    .contact-page h1 {
        font-size: 28px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item {
        height: 270px;
    }


    /* KONTAKT */

    .contact-container {
        grid-template-columns: 1fr;

        padding: 20px 15px;

        gap: 25px;
    }


    /* MODAL */

    .modal-content {
        max-height: 90vh;

        padding: 18px;
    }

    .modal-gallery {
        grid-template-columns: 1fr;
    }


    /* LOCATION */

    .location {
        padding: 55px 15px;
    }

    .location h2 {
        font-size: 24px;
    }

    .location p {
        font-size: 14px;
    }
}


/* =========================================================
   VRLO USKI TELEFONI
========================================================= */

@media (max-width: 430px) {

    .nav-container {
        padding: 0 8px;
    }

    .nav-brand img {
        height: 32px;
    }

    .nav-links {
        gap: 7px;
    }

    .nav-links a {
        font-size: 11px;
    }

    .instagram-btn {
        margin-left: 5px;

        width: 28px;
        height: 28px;

        font-size: 16px;
    }

    .language-btn {
        margin-left: 4px;

        min-width: 54px;
        height: 30px;

        padding: 0 5px;

        gap: 4px;

        font-size: 10px;
    }

    #languageFlag {
    width: 20px;
    height: 13px;
}

#languageFlag svg {
    width: 20px;
    height: 13px;
}

    .hero-content h1 {
        font-size: 25px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .cta-btn {
        width: 100%;

        max-width: 280px;
    }

    .contact-page,
    .portfolio-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .contact-container {
        padding: 18px 12px;
    }

    .success-box {
        padding: 32px 20px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}