/* ===== HEADER RESET (NEZAVISAN OD GLOBAL) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.site-header {
    
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    display: block;
    z-index: 999;
    padding: 20px 0;
    transition: all 0.4s ease;
    border-radius: 40px;
/* max-width: 1400px; */
backdrop-filter: blur(10px);
box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    
}

/* SCROLL EFFECT */
.site-header.scrolled {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* CONTAINER */
.site-header .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

/* INNER */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img {
    width: 150px;
}



/* NAV */
.main-nav {}

.nav-list {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-list li {
    list-style: none;
}

.nav-list a {
    text-decoration: none;
    color: #0A2E4D;
    font-weight: 500;
    position: relative;
    font-size: 14px;
}

/* UNDERLINE ANIMATION */
.nav-list a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -6px;
    background: #0A2E4D;
    transition: 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

/* ACTIONS */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* SEARCH BUTTON */
.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

/* BUTTON */
.btn-nav {
    padding: 10px 20px;
    border-radius: 30px;
    background: #0A2E4D;
    color: white;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}

.btn-nav:hover {
    background: #123d66;
}

/* INLINE SEARCH */

.search-inline {
    display: flex;
    align-items: center;
    position: relative;
}

/* INPUT (po defaultu skriven) */
.search-input {
    width: 0;
    opacity: 0;
    padding: 10px 0;
    border-radius: 30px;
    border: 1px solid transparent;
    outline: none;
    font-size: 14px;
    transition: all 0.4s ease;
    background: rgba(255,255,255,0.9);
    margin-right: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* AKTIVAN */
.search-inline.active .search-input {
    width: 180px;
    opacity: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
}

/* FOCUS */
.search-input:focus {
    border-color: #0A2E4D;
}

/* MOBILE */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 20px;
    position: relative;
    padding: 0;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #0A2E4D;
    border-radius: 2px;
    position: absolute;
    left: 1px;
    transition: all 0.3s ease;
}

.hamburger-line:nth-child(1) { top: 2px; }
.hamburger-line:nth-child(2) { top: 9px; }
.hamburger-line:nth-child(3) { top: 16px; }

/* X animation */
.nav-toggle.active .hamburger-line:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

.mobile-search {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* MOBILE NAV */
@media (max-width: 900px) {

    /* HEADER ostaje floating */
    .site-header {
        width: 95%;
        padding: 15px 0;
        border-radius: 20px;
    }

    .logo img {
        width: 120px;
    }

    .nav-toggle {
        display: block;
        z-index: 1002;
    }

    /* OVERLAY */
    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        backdrop-filter: blur(6px);
        opacity: 0;
        pointer-events: none;
        transition: 0.3s;
        z-index: 1000;
    }

    .mobile-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    /* 🚨 KLJUČNI FIX */
    .main-nav {
        position: static;
    }

    .nav-list {
        position: fixed;
        top: -10px;
        left: -10px;
        right: 0;
        width: 110vw;
        height: 110vh;

        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        padding: 120px 30px;
        gap: 30px;

        transform: translateX(100%);
        transition: 0.4s ease;
        z-index: 1001;
    }

    .nav-list.active {
        transform: translateX(0);
    }

    /* LINKS */
    .nav-list a {
        font-size: 22px;
        font-weight: 500;
    }

    /* HIDE LOGIN BUTTON */
    .header-actions .btn-nav {
        display: none;
    }

    /* ===== MOBILE SEARCH ===== */

    .mobile-search {
        display: block;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;

        transform: translateY(-120%);
        opacity: 0;

        transition: 0.4s ease;
        z-index: 998;
    }

    .mobile-search.active {
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-search-inner {
        width: 95%;
        margin: 10px auto;

        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(20px);

        border-radius: 20px;
        padding: 15px;

        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .mobile-search input {
        width: 100%;
        padding: 14px 20px;
        border-radius: 30px;
        border: 1px solid #ddd;
        font-size: 14px;
        outline: none;
    }

    .mobile-search input:focus {
        border-color: #0A2E4D;
    }
}

/* ===== SEARCH BAR ===== */

.search-bar {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 998;
}

.search-bar.active {
    transform: translateY(0);
    opacity: 1;
}

.search-bar .container {
    max-width: 1300px;
    margin: auto;
}

.search-form {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: auto;
}

.search-form input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 30px;
    border: 1px solid #ddd;
    font-size: 14px;
    outline: none;
}

.search-form input:focus {
    border-color: #0A2E4D;
}

.search-form button {
    padding: 14px 25px;
    border-radius: 30px;
    border: none;
    background: #0A2E4D;
    color: white;
    cursor: pointer;
}

.search-form button:hover {
    background: #123d66;
}

/* FLASH (LUXURY TOAST) */

.flash-wrapper {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 1000;
}

.flash {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    animation: slideIn 0.4s ease;
}

/* COLORS */

.alert-success {
    background: #ECFDF5;
    color: #065F46;
}

.alert-error,
.alert-danger {
    background: #FEF2F2;
    color: #991B1B;
}

.alert-warning {
    background: #FFFBEB;
    color: #92400E;
}

/* ICON */

.flash-icon {
    font-size: 16px;
    font-weight: bold;
}

/* TEXT */

.flash-text {
    flex: 1;
}

/* CLOSE */

.flash-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.6;
}

.flash-close:hover {
    opacity: 1;
}

/* ANIMATION */

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ABOUT UPGRADE */

.about-main {
    margin: 20px 0 30px;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.about-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.about-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(10,46,77,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-icon svg {
    width: 20px;
    stroke: #0A2E4D;
    fill: none;
    stroke-width: 2;
}

.about-item h4 {
    margin: 0;
    font-size: 15px;
}

.about-item p {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

/* CONTACT SECTION COPY FROM CONTACT PAGE */

.contact-section {
    padding: 120px 0;
}

.contact-box {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.contact-bg {
    position: absolute;
    inset: 0;
    background: url('/public/images/contact-bg.jpg') center/cover;
}

.contact-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,46,77,0.9), rgba(10,46,77,0.4));
}

.contact-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 50px;
    color: white;
}

.contact-form-card {
    background: white;
    color: #111;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.contact-form-card button {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #0A2E4D;
    color: white;
}

/* sakriveno na desktopu */
.mobile-only {
    display: none;
}

/* vidljivo samo na mobilnom */
@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
}