/* ============================================================
   APARTMANI TOJO — style.css
   Čista verzija bez duplikata
   ============================================================ */

/* --- 1. RESET & OSNOVE --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* Fancybox treba slobodan overflow */
html.with-fancybox body {
    overflow-x: auto;
}

/* --- 2. NAVIGACIJA --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    text-decoration: none;
    color: #000;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
}

nav {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Svi direktni elementi u navu — isti razmak i visina */
nav > a,
nav > .nav-dropdown {
    margin-left: 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
    line-height: 1;
    height: 100%;
    display: inline-flex;
    align-items: center;
}

nav > a {
    text-decoration: none;
    color: #1a1a1a;
    transition: color 0.3s;
}

nav > a:hover {
    color: #c5a47e;
}

/* --- DROPDOWN --- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    margin-left: 0;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 100%;
    transition: color 0.3s;
}

.nav-dropdown > a:hover {
    color: #c5a47e;
}

.nav-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform 0.3s;
}

.nav-dropdown:hover > a::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1100;
    border-top: 2px solid #c5a47e;
}

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

.dropdown-menu a {
    display: block;
    margin: 0;
    padding: 13px 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 400;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s, color 0.2s;
}

.dropdown-menu a:last-child { border-bottom: none; }

.dropdown-menu a:hover {
    background: #f9f9f9;
    color: #c5a47e;
}

.dropdown-menu .dropdown-sub {
    font-size: 10px;
    color: #aaa;
    display: block;
    margin-top: 2px;
    letter-spacing: 0.5px;
    text-transform: none;
    font-weight: 300;
}

/* Mobilni dropdown */
@media (max-width: 768px) {
    .nav-dropdown {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
        width: 100%;
    }
    .nav-dropdown > a {
        margin: 12px 0 0;
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    /* Strelica na mobitelu — rotira kad je open */
    .nav-dropdown > a::after {
        display: inline-block;
        transition: transform 0.3s;
    }
    .nav-dropdown.open > a::after {
        transform: rotate(-135deg);
        margin-top: 3px;
    }
    /* Dropdown skriven po defaultu na mobitelu */
    .dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        border-top: none;
        border-left: 2px solid #c5a47e;
        width: 85%;
        margin: 8px auto 5px;
        text-align: center;
    }
    /* Prikaži kad ima klasu open */
    .nav-dropdown.open .dropdown-menu {
        display: block;
    }
    .dropdown-menu a { font-size: 13px; padding: 10px 15px; text-align: left; }
}

/* Hamburger gumb — skriven na desktopu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10000;
    width: 36px;
    height: 36px;
    gap: 0;
    position: relative;
}

.menu-toggle span {
    width: 22px;
    height: 1.5px;
    background-color: #1d1d1f;
    display: block;
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.32s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.2s ease,
                width 0.2s ease;
    margin: 3.5px 0;
}

/* Apple-stil X animacija */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    width: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* --- 3. HERO SEKCIJA --- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;
    background: #fff;
}

.hero-img-fade {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.9) contrast(1.1);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.hero-sidebar-content {
    z-index: 10;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 80vh;
    justify-content: center;
    position: relative;
}

.top-location-minimal {
    position: absolute;
    top: 30px;
    left: 0;
    font-size: 10px;
    letter-spacing: 6px;
    color: #c5a47e;
    font-weight: 500;
    text-transform: uppercase;
}

.main-title-side {
    margin-top: 150px;
    text-align: left;
}

.main-title-side h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3vw, 36px);
    color: #ffffff;
    line-height: 1.4;
    font-weight: 400;
    text-shadow: 1px 1px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.main-title-side h1 span {
    font-style: italic;
    display: block;
    margin-top: 10px;
    font-size: 0.85em;
    opacity: 0.8;
}

.btn-minimal-link {
    display: inline-block;
    margin-top: 50px;
    align-self: flex-start;
    text-decoration: none;
    color: #ffffff;
    font-size: 11px;
    letter-spacing: 4px;
    border-bottom: 1px solid rgba(197, 164, 126, 0.4);
    padding-bottom: 5px;
    transition: 0.4s;
}

/* --- 4. SEKCIJA APARTMANA (SLIDER) --- */
.apartment-slider-section {
    background: #ffffff;
    padding: 80px 0 110px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.apt-card {
    display: flex;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    gap: 60px;
    padding: 20px;
}

.apt-card-image {
    flex: 1.4;
    height: 480px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.apt-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apt-card-info { flex: 1; }

.category {
    color: #c5a47e;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.apt-card-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    margin-bottom: 20px;
}

/* --- 5. GUMBI --- */
.btn-book {
    display: inline-block;
    padding: 18px 45px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
    border: none;
}

.btn-book:hover {
    background: #c5a47e;
    transform: translateY(-2px);
}

.btn-more {
    display: inline-block;
    padding: 12px 30px;
    margin: 12px 0;
    border: 1px solid #c5a47e;
    color: #c5a47e;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}

.btn-more:hover {
    background: #c5a47e;
    color: #fff;
}

.btn-line {
    display: inline-block;
    color: #1a1a1a;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 5px;
    transition: 0.3s;
}

.btn-line:hover {
    color: #c5a47e;
    border-color: #c5a47e;
}

/* Gumb u navigaciji */
.nav-cta-btn {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 12px 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 2px;
    border: 1px solid #1a1a1a;
    min-width: 140px;
    transition: 0.3s;
    margin-left: 30px;
}

.nav-cta-btn:hover {
    background-color: #c5a47e;
    border-color: #c5a47e;
    color: #fff;
}

/* --- 6. ZAJEDNIČKI LABEL --- */
.label {
    font-size: 11px;
    letter-spacing: 3px;
    color: #c5a47e;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

/* --- 7. O NAMA SEKCIJA --- */
.about-row {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 20px;
}

.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 400;
}

.about-title i {
    display: block;
    font-style: italic;
    color: #c5a47e;
    font-size: 32px;
    margin-top: 5px;
    font-family: 'Playfair Display', serif;
}

.lead-text {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 17px;
}

.about-gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.main-about-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.mini-grid img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: transform 0.3s, filter 0.3s;
}

.mini-grid img:hover {
    transform: translateY(-5px);
    filter: brightness(0.8);
}

/* --- 8. PROIZVODI SEKCIJA --- */
.products-section {
    width: 100%;
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #fdfaf5 15%, #fdfaf5 85%, #ffffff 100%);
    display: flex;
    justify-content: center;
}

.products-grid {
    max-width: 1100px;
    width: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.products-text { flex: 1.2; }

.products-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 400;
}

.products-text h2 i {
    display: block;
    font-size: 24px;
    color: #c5a47e;
    margin-top: 10px;
    font-weight: 400;
}

.products-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-top: 20px;
}

.products-icons {
    flex: 1;
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.product-item {
    text-align: center;
    flex: 1;
}

.product-circle {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    overflow: hidden;
}

.product-circle img {
    width: 180%;
    height: auto;
    object-fit: contain;
}

.product-item span {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    color: #1a1a1a;
}

/* --- 9. LOKACIJA SEKCIJA --- */
.location-map-section {
    width: 100%;
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #e3f2fd 15%, #e3f2fd 85%, #ffffff 100%);
    display: flex;
    justify-content: center;
}

.location-container {
    max-width: 1100px;
    width: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 80px;
}

.location-text { flex: 1; }

.location-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    line-height: 1.1;
    margin: 15px 0;
    color: #1a1a1a;
}

.location-text h2 i {
    display: block;
    color: #c5a47e;
    font-size: 30px;
    font-style: italic;
    font-weight: 400;
}

.location-text p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.location-image {
    flex: 1.3;
    text-align: right;
}

.map-illustration {
    max-width: 100%;
    height: auto;
    opacity: 0.7;
    filter: saturate(0.7);
    transition: all 0.6s ease;
    cursor: zoom-in;
}

.map-illustration:hover {
    opacity: 1;
    transform: scale(1.02);
    filter: saturate(1);
}

/* --- 10. LANDMARKS SEKCIJA --- */
.landmarks-section {
    width: 100%;
    height: 90vh;
    background: #000;
    overflow: hidden;
    position: relative;
}

.landmarksSwiper {
    width: 100%;
    height: 100%;
}

.landmark-item {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.landmark-content {
    max-width: 800px;
    padding: 20px;
    z-index: 2;
}

.landmark-content .label {
    color: #c5a47e;
    letter-spacing: 3px;
    font-size: 12px;
    text-transform: uppercase;
}

.landmark-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 6vw, 72px);
    margin: 20px 0;
}

.landmark-content p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 25px;
}

/* Landmarks strelice — vidljive NA DESKTOPU, skrivene na mobitelu */
.landmarks-next,
.landmarks-prev {
    display: flex;
}

/* --- 11. FOOTER --- */
.simple-footer {
    background: #fff;
    padding: 80px 20px 40px;
    border-top: 1px solid #eee;
    text-align: center;
}

.footer-wrap {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-box { flex: 1; min-width: 200px; }

.f-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #1a1a1a;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-box p,
.footer-box a {
    font-size: 13px;
    color: #888;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.f-social { display: flex; gap: 15px; flex-wrap: wrap; }

.f-bottom {
    margin-top: 50px;
    font-size: 10px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 2px;
}

footer {
    scroll-snap-align: end;
}

/* --- 12. ANIMACIJE --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-reveal {
    animation: fadeInUp 2.0s ease-out forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- 13. MODAL (BOOKING) --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    padding: 20px 0;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 30px;
    width: 90%;
    max-width: 450px;
    border-radius: 4px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    right: 20px; top: 10px;
    font-size: 30px;
    cursor: pointer;
    color: #1a1a1a;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
    text-align: left;
}

.booking-form select,
.booking-form input {
    padding: 12px;
    border: 1px solid #ddd;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
}

.section-label {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 8px;
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.input-group { margin-bottom: 10px; }
.input-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apt-checkbox-grid {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.apt-check { flex: 1; cursor: pointer; }
.apt-check input { display: none; }

.box-label {
    display: block;
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 12px;
    border-radius: 4px;
    transition: 0.3s;
}

.apt-check input:checked + .box-label {
    background: #c5a47e;
    color: white;
    border-color: #c5a47e;
}

.result-box {
    background: #f9f9f9;
    padding: 20px;
    padding-bottom: 10px;
    border-left: 4px solid #c5a47e;
    margin-top: 15px;
}

.send-options { margin-top: 15px; padding-bottom: 10px; }

.send-btn {
    width: 100%;
    padding: 15px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    margin-top: 10px;
    transition: 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.send-btn.wa  { background: #25D366; color: white; }
.send-btn.mail { background: #1a1a1a; color: white; }

/* --- 14. FANCYBOX MODAL (GALERIJA) --- */
/* fancybox__content - ne override-aj, Fancybox sam upravlja */

.custom-modal {
    max-width: 1000px;
    width: 95%;
    background: #fff;
    padding: 0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.modal-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-height: 90vh;
}

.modal-left {
    flex: 1.2;
    padding: 30px;
    min-width: 350px;
    background: #fff;
}

.modalMainSwiper {
    width: 100%;
    height: 400px;
    margin-bottom: 15px;
}

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

.modalThumbSwiper { height: 80px; margin-top: 10px; }

.modalThumbSwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.3s;
}

.modalThumbSwiper .swiper-slide-thumb-active { opacity: 1; }

.modalThumbSwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.modal-right {
    flex: 0.8;
    padding: 50px 40px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.modal-right h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: #1a1a1a;
    border-bottom: 1px solid #c5a47e;
    padding-bottom: 10px;
    display: inline-block;
}

.modal-text { font-size: 15px; line-height: 1.8; color: #555; }
.modal-text p { margin-bottom: 20px; }

.modal-close {
    position: absolute;
    top: 15px; right: 20px;
    background: none;
    border: none;
    font-size: 35px;
    color: #bbb;
    cursor: pointer;
    z-index: 100;
    transition: color 0.3s;
}

.modal-close:hover { color: #1a1a1a; }

/* --- 15. RESPONZIVNOST --- */
@media (max-width: 1024px) {
    .about-row {
        flex-direction: column;
    }
    .apt-row {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .location-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .location-image { text-align: center; }
    .location-text h2 { font-size: 36px; }

    .products-grid {
        flex-direction: column;
        text-align: center;
    }
    .products-icons {
        width: 100%;
        margin-top: 40px;
    }
}

@media (max-width: 850px) {
    .modal-wrapper { flex-direction: column; }
    .modal-right { padding: 30px; }
}

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

    /* Mobilni meni */
    .menu-toggle { display: flex; }

    /* ── APPLE-STIL FULLSCREEN NAV ── */
    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100% !important;
        height: 100dvh !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(30px) saturate(200%) !important;
        -webkit-backdrop-filter: blur(30px) saturate(200%) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
        padding: 90px 40px 80px !important;
        gap: 0 !important;
        transition: opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                    transform 0.35s cubic-bezier(0.23, 1, 0.32, 1) !important;
        z-index: 9998;
        overflow-y: auto;
        opacity: 0;
        pointer-events: none;
        transform: scale(1.02) !important;
        box-shadow: none !important;
    }

    nav.active {
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: scale(1) !important;
        right: auto !important;
    }

    /* Stavke — velika slova, Apple tipografija */
    nav > a,
    nav > .nav-dropdown {
        margin: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
        text-align: left !important;
        justify-content: flex-start !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
        padding: 16px 0 !important;
        height: auto !important;
        position: relative !important;
    }
    
    /* Dropdown wrapper — ne koristi absolute pozicioniranje */
    nav > .nav-dropdown {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    /* Kad je dropdown otvoren — dodaj padding na dnu za sadržaj */
    nav > .nav-dropdown.open {
        border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
        padding-bottom: 10px !important;
    }

    nav a {
        margin: 0 !important;
        margin-left: 0 !important;
        height: auto !important;
        text-align: left !important;
    }

    nav > a:not(.nav-cta-btn),
    nav .nav-dropdown > a {
        font-size: 28px !important;
        letter-spacing: -0.5px !important;
        font-weight: 300 !important;
        color: #1d1d1f !important;
        text-transform: none !important;
        font-family: 'Playfair Display', serif !important;
        opacity: 0.9;
        transition: opacity 0.2s ease !important;
    }

    nav > a:not(.nav-cta-btn):hover,
    nav .nav-dropdown > a:hover {
        opacity: 1 !important;
    }

    /* Dropdown na mobitelu */
    nav > .nav-dropdown {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    nav .nav-dropdown.open > a {
        opacity: 1 !important;
    }

    nav .dropdown-menu {
        display: none;
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        border-top: none !important;
        padding: 6px 0 10px 20px !important;
        width: 100% !important;
        margin: 0 !important;
        border-left: 2px solid rgba(197, 164, 126, 0.35) !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

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

    nav .dropdown-menu a {
        font-size: 15px !important;
        color: #666 !important;
        letter-spacing: 0.2px !important;
        font-family: 'Montserrat', sans-serif !important;
        text-transform: none !important;
        padding: 9px 0 !important;
        border: none !important;
        font-weight: 300 !important;
        display: block !important;
        margin: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    nav .dropdown-menu a:hover {
        color: #c5a47e !important;
        background: transparent !important;
    }
    
    nav .dropdown-sub {
        font-size: 10px !important;
        color: #aaa !important;
        margin-top: 1px !important;
    }

    /* Rezerviraj SAD gumb */
    .nav-cta-btn {
        margin-top: 30px !important;
        width: auto !important;
        padding: 14px 32px !important;
        font-size: 13px !important;
        min-width: unset !important;
        text-align: center !important;
        justify-content: center !important;
        letter-spacing: 1px !important;
        border-radius: 50px !important;
    }

    /* Stagger animacija stavki */
    nav > a,
    nav > .nav-dropdown {
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 0.35s ease, transform 0.35s ease, color 0.2s !important;
    }

    nav.active > a:nth-child(1)           { opacity: 1 !important; transform: none !important; transition-delay: 0.05s !important; }
    nav.active > .nav-dropdown:nth-child(2),
    nav.active > a:nth-child(2)           { opacity: 1 !important; transform: none !important; transition-delay: 0.1s !important; }
    nav.active > a:nth-child(3)           { opacity: 1 !important; transform: none !important; transition-delay: 0.15s !important; }
    nav.active > .nav-cta-btn             { opacity: 1 !important; transform: none !important; transition-delay: 0.2s !important; }

    /* Hero */
    .hero-sidebar-content {
        padding-left: 5%;
        height: auto;
        margin-top: 280px;
    }

    .top-location-minimal {
        position: relative;
        top: -100px;
    }

    .main-title-side { margin-top: 0; }

    .main-title-side h1 {
        font-size: 24px;
        max-width: 300px;
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    }

    /* Apartman kartice */
    .apt-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .apt-card-image {
        width: 100%;
        height: 250px;
    }

    /* Landmarks strelice — SKRIVENE na mobitelu (swipe gesta dovoljna) */
    .landmarks-next,
    .landmarks-prev {
        display: none;
    }

    /* Fancybox modal */


    .modal-wrapper {
        flex-direction: column;
        height: auto;
    }

    .modal-left {
        width: 100%;
        height: 250px;
        flex: none;
        padding: 0;
    }

    .modalMainSwiper { height: 100%; margin-bottom: 0; }
    .modalThumbSwiper { display: none; }

    .modal-right {
        width: 100%;
        padding: 25px 20px;
        background: #fff;
    }

    .modal-right h3 { font-size: 22px; margin-bottom: 15px; }
    .modal-text p { font-size: 14px; line-height: 1.6; }
}


/* ============================================================
   EFFECTS — Page transitions, Parallax, Cursor, WA, Sticky
   ============================================================ */

/* --- PAGE TRANSITIONS --- */
body {
    opacity: 1;
}
body.page-leaving {
    opacity: 0;
    transition: opacity 0.35s ease;
}

/* --- SCROLL PROGRESS BAR --- */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(to right, #c5a47e, #e8c99a);
    z-index: 9999;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* --- HEADER SCROLLED --- */
header {
    transition: padding 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}
header.header-scrolled {
    padding: 12px 10%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* --- HERO PARALLAX --- */
.hero-img-fade {
    will-change: transform;
    transform-origin: center top;
}

/* --- REVEAL ANIMACIJE --- */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
    opacity: 1;
    transform: none;
}

/* --- CUSTOM CURSOR --- */
#custom-cursor {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid #c5a47e;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    mix-blend-mode: normal;
}
#custom-cursor.cursor-hover {
    width: 56px;
    height: 56px;
    background: rgba(197, 164, 126, 0.08);
    border-color: #c5a47e;
}
/* --- WHATSAPP FLOATING BUTTON --- */
#wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
    text-decoration: none;
}
#wa-float.wa-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
#wa-float:hover {
    background: #1ebe5b;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
    transform: translateY(-3px) scale(1.05);
}
#wa-float svg {
    width: 28px;
    height: 28px;
}
.wa-tooltip {
    position: absolute;
    right: 68px;
    background: #1a1a1a;
    color: #fff;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 2px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.wa-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #1a1a1a;
}
#wa-float:hover .wa-tooltip {
    opacity: 1;
}

/* Na mobitelu WA btn malo viši zbog sticky btn-a */
@media (max-width: 768px) {
    #wa-float {
        bottom: 90px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    #wa-float svg { width: 24px; height: 24px; }
    .wa-tooltip { display: none; }
}

/* --- STICKY REZERVIRAJ (mobitel) --- */
#sticky-reserve {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 4000;
    padding: 12px 16px;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
    backdrop-filter: blur(8px);
}
#sticky-reserve .sticky-book-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
    background: #1a1a1a;
    color: #fff;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.3s;
}
#sticky-reserve .sticky-book-btn:hover {
    background: #c5a47e;
}

/* --- TOAST NOTIFIKACIJA --- */
#tojo-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1a1a1a;
    color: #fff;
    padding: 12px 24px;
    font-size: 12px;
    letter-spacing: 1px;
    border-radius: 2px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
    white-space: nowrap;
    pointer-events: none;
}
#tojo-toast.toast-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    #tojo-toast { bottom: 100px; }
}


/* ── MOBILNI FIKSEVI ZA STRANICE APARTMANA ── */
@media (max-width: 768px) {

    /* Slike u galeriji apartmana — ne izduži horizontalno */
    .apt-main-swiper .swiper-slide img,
    .apt-main-swiper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* Swiper strelice — sakrij na mobitelu na stranicama apartmana */
    .apt-main-swiper .swiper-button-next,
    .apt-main-swiper .swiper-button-prev,
    .n1, .p1, .n2, .p2, .n3, .p3 {
        display: none !important;
    }
}
/* ============================================================
   DROPDOWN NAVIGACIJA
   ============================================================ */

/* Desktop hover dropdown */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 30px;
}

.nav-dropdown > a {
    margin-left: 0;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown > a:hover { color: #c5a47e; }

/* Mala strelica */
.nav-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform 0.3s;
}

.nav-dropdown:hover > a::after {
    transform: rotate(-135deg);
    margin-top: 2px;
}

/* Dropdown panel */
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 20px);
    left: 0;
    background: #fff;
    min-width: 210px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1100;
    border-top: 2px solid #c5a47e;
}

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

.dropdown-menu a {
    display: block;
    margin: 0;
    padding: 13px 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 400;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s, color 0.2s;
    line-height: 1.4;
}

.dropdown-menu a:last-child { border-bottom: none; }

.dropdown-menu a:hover {
    background: #f9f9f9;
    color: #c5a47e;
}

.dropdown-sub {
    font-size: 10px;
    color: #aaa;
    display: block;
    margin-top: 2px;
    letter-spacing: 0.5px;
    text-transform: none;
    font-weight: 300;
}

/* ── MOBILNI DROPDOWN ── */
@media (max-width: 768px) {
    .nav-dropdown {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
        width: 100%;
    }

    .nav-dropdown > a {
        margin: 18px 0 0;
        font-size: 15px !important;
        color: #1a1a1a !important;
        letter-spacing: 3px !important;
        font-weight: 400 !important;
    }

    /* Strelica vidljiva i na mobitelu */
    .nav-dropdown > a::after {
        display: inline-block;
        transition: transform 0.3s;
    }

    .nav-dropdown.open > a::after {
        transform: rotate(-135deg);
        margin-top: 2px;
    }

    /* Sakri po defaultu, prikaži kad open */
    .dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        border-top: none;
        border-left: 2px solid #c5a47e;
        width: 80%;
        margin: 8px 0 5px;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    /* Na desktopu hover — na mobitelu hover ne radi, koristimo JS open klasu */
    .nav-dropdown:hover .dropdown-menu {
        display: none;
    }
    .nav-dropdown.open .dropdown-menu,
    .nav-dropdown:hover .dropdown-menu {
        display: none;
    }
    .nav-dropdown.open .dropdown-menu {
        display: block !important;
    }

    .dropdown-menu a {
        font-size: 13px;
        padding: 10px 15px;
        text-align: left;
    }
}

/* ── FOOTER MOBILNI FIX ── */
@media (max-width: 768px) {
    .simple-footer {
        padding: 50px 20px 30px;
        text-align: center;
    }
    .footer-wrap {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }
    .footer-box {
        width: 100%;
        text-align: center;
        min-width: unset;
        flex: none;
    }
    .footer-box p,
    .footer-box a {
        text-align: center;
    }
    .f-social {
        justify-content: center;
    }
    .f-bottom {
        margin-top: 30px;
        text-align: center;
    }
}

/* ── BOOKING MODAL MOBILNI FIX ── */
@media (max-width: 768px) {
    .modal-content {
        padding: 25px 20px;
        width: 95%;
        margin: 10px auto;
    }
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .form-row .input-group {
        width: 100%;
    }
    .form-row input[type="date"],
    .form-row select {
        width: 100%;
        text-align: center;
        font-size: 14px;
        padding: 12px 8px;
    }
    .apt-checkbox-grid {
        gap: 6px;
    }
    .box-label {
        padding: 8px 4px;
        font-size: 11px;
    }
}

/* Sakrij dupli X — Fancybox već ima vlastiti gumb za zatvaranje */
.custom-modal .modal-close {
    display: none !important;
}

/* Fancybox X gumb — vidljiv i na desktopu */
.fancybox__button--close {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 9999 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(0,0,0,0.6) !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
}

.fancybox__button--close svg {
    width: 16px !important;
    height: 16px !important;
}


/* ============================================================
   POPRAVCI I WOW EFEKTI
   ============================================================ */

/* ── 1. FANCYBOX MODAL — centriran, ne pobjegne doli ── */
.fancybox__container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.fancybox__backdrop {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(6px) !important;
}

/* Fancybox — RESET za photo galerije, ne diraj Fancybox layout */
.fancybox__content {
    position: relative !important;
}

/* Bijela pozadina samo za custom-modal unutar Fancybox */
.fancybox__content > .custom-modal {
    background: #fff !important;
    max-width: 1000px;
    width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 4px;
    margin: auto;
}

/* ── 2. JEDAN X GUMB — sakrij naš, ostavi Fancybox ── */
.custom-modal .modal-close {
    display: none !important;
}

/* Fancybox close gumb — uvijek vidljiv, okrugao, crn */
.fancybox__button--close,
[data-fancybox-close] {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 99999 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.7) !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    transition: background 0.2s, transform 0.2s !important;
    padding: 0 !important;
}

.fancybox__button--close:hover,
[data-fancybox-close]:hover {
    background: rgba(0, 0, 0, 0.95) !important;
    transform: scale(1.1) !important;
}

/* ── 3. MAKNUTI STRELICE NA MOBILNOJ VERZIJI GLAVNIH SLIDERA ── */
@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev,
    .landmarks-next,
    .landmarks-prev {
        display: none !important;
    }
}

/* ── 4. WOW EFEKTI — Luxury & Professional ── */

/* Zlatna dekorativna linija ispod logotipa */
.logo::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: #c5a47e;
    transition: width 0.4s ease;
    position: absolute;
    bottom: -3px;
    left: 0;
}

.logo:hover::after {
    width: 100%;
}

.logo {
    position: relative;
}

/* Zlatna hover linija na nav linkovima */
nav > a::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: #c5a47e;
    transition: width 0.3s ease;
    position: absolute;
    bottom: -4px;
    left: 0;
}

nav > a:hover::after {
    width: 100%;
}

nav > a {
    position: relative;
}

/* Parallax hint na hero slici */
.hero-img-fade {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* Shimmer efekt na zlatnom gumbu */
.btn-book, .btn-more, .nav-cta-btn {
    position: relative;
    overflow: hidden;
}

.btn-book::before,
.nav-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-book:hover::before,
.nav-cta-btn:hover::before {
    left: 150%;
}

/* Smooth reveal za slike u apt-card */
.apt-card-image {
    overflow: hidden;
}

.apt-card-image img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
    filter: brightness(0.95);
}

.apt-card-image:hover img {
    transform: scale(1.04);
    filter: brightness(1.05);
}

/* Zlatni accent na product-circle hover */
.product-circle {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-circle:hover {
    box-shadow: 0 0 0 3px #c5a47e, 0 15px 30px rgba(0,0,0,0.1) !important;
    transform: translateY(-5px);
}

/* Elegant landmark hover overlay */
.landmark-item {
    position: relative;
    overflow: hidden;
}

.landmark-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.landmark-content {
    position: relative;
    z-index: 2;
    transform: translateY(8px);
    transition: transform 0.4s ease;
}

.landmark-item:hover .landmark-content {
    transform: translateY(0);
}

.landmark-item:hover::after {
    opacity: 0.95;
}

/* Scroll progress bar — zlatna linija na vrhu */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #c5a47e, #e8c99a, #c5a47e);
    z-index: 10000;
    width: 0%;
    transition: width 0.1s linear;
}



/* Floating WhatsApp gumb */
#wa-float {
    position: fixed;
    bottom: 30px;
    right: 25px;
    width: 52px;
    height: 52px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: #fff;
    font-size: 24px;
}

#wa-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

#wa-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.7; }
    70% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* About section — hover na mini slikama */
.mini-grid a {
    overflow: hidden;
    display: block;
    position: relative;
}

.mini-grid a::after {
    content: '+';
    position: absolute;
    inset: 0;
    background: rgba(197, 164, 126, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mini-grid a:hover::after {
    opacity: 1;
}

/* Smooth scroll indicator na hero */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.7;
}

.scroll-indicator span {
    font-size: 9px;
    letter-spacing: 3px;
    color: #fff;
    text-transform: uppercase;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #fff, transparent);
    animation: scroll-line 1.8s ease-in-out infinite;
}

@keyframes scroll-line {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 768px) {
    .scroll-indicator { display: none; }
}

/* ── LANDMARK MODAL OVERLAY ── */
#landmark-overlay .modal-wrapper {
    display: flex;
    flex-wrap: wrap;
}

#landmark-overlay .modal-left {
    flex: 1.2;
    min-width: 300px;
    padding: 0;
    background: #000;
}

#landmark-overlay .modalMainSwiper {
    width: 100%;
    height: 400px;
}

#landmark-overlay .modalMainSwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#landmark-overlay .modal-right {
    flex: 0.8;
    padding: 40px 35px;
    min-width: 280px;
    background: #fff;
    overflow-y: auto;
}

#landmark-overlay .modal-right h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #1a1a1a;
    border-bottom: 1px solid #c5a47e;
    padding-bottom: 10px;
}

#landmark-overlay .modal-text p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

#landmark-overlay .modal-text strong {
    color: #1a1a1a;
}

#landmark-overlay .swiper-button-next,
#landmark-overlay .swiper-button-prev {
    color: #fff !important;
}

@media (max-width: 768px) {
    #landmark-overlay .modal-wrapper {
        flex-direction: column;
    }
    #landmark-overlay .modal-left {
        width: 100%;
        min-width: unset;
    }
    #landmark-overlay .modalMainSwiper {
        height: 250px;
    }
    #landmark-overlay .modal-right {
        width: 100%;
        min-width: unset;
        padding: 25px 20px;
        max-height: 50vh;
        overflow-y: auto;
    }
}

/* ── FANCYBOX PHOTO GALERIJA FIX ── */
html.with-fancybox body {
    overflow-x: auto !important;
}

.fancybox__slide {
    padding: 0 !important;
}

.fancybox__slide .fancybox__content {
    background: transparent !important;
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
    overflow: visible !important;
}

.fancybox__image {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

/* Osiguraj vidljivost thumbailova */
.fancybox__thumbs .fancybox__thumb {
    opacity: 0.6;
}
.fancybox__thumbs .fancybox__thumb.is-selected {
    opacity: 1;
}

/* ── LANDMARK OVERLAY — Desktop layout fix ── */
#landmark-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0,0,0,0.88);
    overflow-y: auto;
    padding: 30px 20px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}

#landmark-overlay.open {
    display: flex !important;
}

#landmark-overlay > .custom-modal {
    display: flex !important;
    flex-direction: row;
    max-width: 1000px;
    width: 100%;
    max-height: 88vh;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    margin: auto;
}

#landmark-overlay .modal-left {
    flex: 1.2;
    min-width: 0;
    background: #000;
    display: flex;
    flex-direction: column;
}

#landmark-overlay .modal-left .modalMainSwiper {
    flex: 1;
    height: 100%;
    min-height: 350px;
}

#landmark-overlay .modal-left .modalMainSwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#landmark-overlay .modal-right {
    flex: 1;
    min-width: 280px;
    padding: 45px 40px;
    overflow-y: auto;
    background: #fff;
}

#landmark-overlay .modal-right h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #c5a47e;
}

#landmark-overlay .modal-text p {
    font-size: 14px;
    line-height: 1.85;
    color: #555;
    margin-bottom: 14px;
}

#landmark-overlay .modal-text strong {
    color: #1a1a1a;
    font-weight: 600;
}

#landmark-overlay .swiper-button-next,
#landmark-overlay .swiper-button-prev {
    color: #fff !important;
    background: rgba(0,0,0,0.35);
    width: 36px !important;
    height: 36px !important;
    border-radius: 50%;
}

#landmark-overlay .swiper-button-next::after,
#landmark-overlay .swiper-button-prev::after {
    font-size: 14px !important;
}

/* Mobilni */
@media (max-width: 768px) {
    #landmark-overlay > .custom-modal {
        flex-direction: column;
        max-height: none;
        height: auto;
    }
    #landmark-overlay .modal-left .modalMainSwiper {
        min-height: 240px;
        height: 240px;
    }
    #landmark-overlay .modal-right {
        min-width: unset;
        padding: 25px 20px;
        max-height: 55vh;
    }
}

/* ============================================================
   TOJO VLASTITI MODAL SUSTAV
   ============================================================ */

/* Overlay */
#tojo-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}
#tojo-overlay.open {
    display: flex;
}

#tojo-modal {
    position: relative;
    max-width: 1100px;
    width: 100%;
    margin: auto;
}

/* Zatvori gumb */
.tojo-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0,0,0,0.65);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.tojo-close:hover { background: rgba(0,0,0,0.95); }

/* ── PHOTO GALERIJA ── */
.pg-wrap {
    background: #111;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    padding-bottom: 16px;
}

.pg-counter {
    position: absolute;
    top: 14px;
    left: 16px;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    letter-spacing: 1px;
    z-index: 5;
}

.pg-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    max-height: 70vh;
    background: #000;
}

.pg-img {
    display: block;
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    margin: 0 auto;
}

.pg-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.2s;
    line-height: 1;
    padding: 0;
}
.pg-nav:hover { background: rgba(0,0,0,0.85); }
.pg-prev { left: 12px; }
.pg-next { right: 12px; }

.pg-caption {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    text-align: center;
    padding: 10px 20px 0;
    letter-spacing: 1px;
}

.pg-thumbs {
    display: flex;
    gap: 6px;
    padding: 12px 16px 0;
    overflow-x: auto;
    justify-content: center;
    flex-wrap: wrap;
}
.pg-thumbs::-webkit-scrollbar { height: 3px; }
.pg-thumbs::-webkit-scrollbar-thumb { background: #444; }

.pg-thumb {
    width: 60px;
    height: 44px;
    object-fit: cover;
    border-radius: 3px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s, outline 0.2s;
    flex-shrink: 0;
}
.pg-thumb.active,
.pg-thumb:hover {
    opacity: 1;
    outline: 2px solid #c5a47e;
}

/* ── LANDMARK MODAL ── */
.lm-wrap {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    max-height: 88vh;
}

.lm-left {
    flex: 1.3;
    min-width: 0;
    background: #000;
    display: flex;
    flex-direction: column;
}

.lm-main {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    max-height: 60vh;
    overflow: hidden;
}

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

.lm-right {
    flex: 1;
    min-width: 260px;
    padding: 45px 38px;
    overflow-y: auto;
    background: #fff;
}

.lm-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #c5a47e;
}

.lm-text p {
    font-size: 14px;
    line-height: 1.85;
    color: #555;
    margin-bottom: 14px;
}
.lm-text strong { color: #1a1a1a; font-weight: 600; }

/* Mobilni */
@media (max-width: 768px) {
    .lm-wrap {
        flex-direction: column;
        max-height: none;
    }
    .lm-main {
        min-height: 220px;
        max-height: 260px;
    }
    .lm-right {
        min-width: unset;
        padding: 22px 18px;
        max-height: 50vh;
    }
    .pg-main {
        min-height: 220px;
    }
    .pg-nav {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}

/* ============================================================
   ČIŠĆENJE I UNAPREĐENJA
   ============================================================ */

/* ── SWIPER TOČKICE — lijepe, animirane ── */
.swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: rgba(255,255,255,0.5) !important;
    opacity: 1 !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
    background: #fff !important;
    width: 24px !important;
    border-radius: 4px !important;
    transform: none !important;
}

/* Na tamnim slajderima (landmarks) */
.landmarksSwiper .swiper-pagination-bullet {
    background: rgba(255,255,255,0.4) !important;
}
.landmarksSwiper .swiper-pagination-bullet-active {
    background: #c5a47e !important;
    width: 24px !important;
    border-radius: 4px !important;
}

/* Na stranicama apartmana */
.apt-main-swiper .swiper-pagination-bullet {
    background: rgba(255,255,255,0.6) !important;
}
.apt-main-swiper .swiper-pagination-bullet-active {
    background: #fff !important;
    width: 22px !important;
    border-radius: 4px !important;
}

/* ── THUMBNAIL SWIPER — poboljšan ── */
.apt-thumb-swiper {
    height: 80px !important;
    margin-top: 8px !important;
}

.apt-thumb-swiper .swiper-slide {
    opacity: 0.55;
    cursor: pointer;
    transition: opacity 0.3s ease;
    border-radius: 2px;
    overflow: hidden;
}

.apt-thumb-swiper .swiper-slide-thumb-active {
    opacity: 1 !important;
    outline: 2px solid #c5a47e;
    outline-offset: -2px;
}

.apt-thumb-swiper .swiper-slide:hover {
    opacity: 0.85;
}

/* ── SMOOTH PAGE TRANSITIONS ── */
body {
    animation: pageIn 0.4s ease;
}

@keyframes pageIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── LAZY LOADING BLUR ── */
img[loading="lazy"] {
    transition: filter 0.4s ease;
}

/* ── SMOOTH SCROLL GLOBALNO ── */
html {
    scroll-behavior: smooth;
}

/* ── BOOKING MODAL — bolji focus stilovi ── */
.booking-form input:focus,
.booking-form select:focus {
    outline: none;
    border-color: #c5a47e;
    box-shadow: 0 0 0 2px rgba(197, 164, 126, 0.15);
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* ── APT-CARD HOVER efekt ── */
.apt-row {
    transition: none;
}

/* ── FOOTER LINK HOVER ── */
.footer-box a {
    transition: color 0.2s ease;
}
.footer-box a:hover {
    color: #c5a47e;
}

/* ── SEND GUMBI — bolji hover ── */
.send-btn {
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.send-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* ── LANDMARKS SWIPER — sakrij strelice na mobitelu ── */
@media (max-width: 768px) {
    .landmarks-next,
    .landmarks-prev {
        display: none !important;
    }
}

/* ============================================================
   FINALNI POPRAVCI
   ============================================================ */

/* ── NAV DROPDOWN — ostaje otvoren na hover ── */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-top: 2px solid #c5a47e;
    z-index: 200;
    padding: 8px 0;
}

/* Otvori na hover — ne na klik (desktop) */
@media (min-width: 769px) {
    .nav-dropdown:hover .dropdown-menu {
        display: block !important;
    }
    /* Pseudo-element produžuje hover zonu da ne nestane meni */
    .nav-dropdown::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 12px;
    }
}

/* ── MAINSWIPER PAGINATION ── */
.main-apt-pagination {
    position: absolute !important;
    z-index: 10;
    width: 100%;
    text-align: center;
}

.main-apt-pagination .swiper-pagination-bullet {
    background: rgba(26, 26, 26, 0.25) !important;
    width: 8px !important;
    height: 8px !important;
    opacity: 1 !important;
    transition: all 0.3s !important;
    margin: 0 4px !important;
}

.main-apt-pagination .swiper-pagination-bullet-active {
    background: #c5a47e !important;
    width: 24px !important;
    border-radius: 4px !important;
}

/* ── iOS SCROLL GLITCH FIX ── */
body {
    -webkit-overflow-scrolling: touch;
}

.hero-section {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    overflow: hidden;
}

.hero-img-fade {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: auto;
}

@media (max-width: 768px) {
    .hero-img-fade {
        transform: none !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .hero-section {
        height: 100svh !important;
        min-height: 600px !important;
        overflow: hidden !important;
    }

    .hero-sidebar-content {
        padding-left: 6% !important;
        padding-right: 6% !important;
    }
}

/* ── APT GALLERY COL — sakrij HTML prikaz ── */
.apt-gallery-col,
.apt-hero-top {
    /* Osiguraj da nema vidljivih debug tekst prikaza */
    font-size: inherit;
}

/* ── APT SWIPER — slike se vide cijele ── */
.apt-main-swiper {
    width: 100%;
    height: auto !important;
    aspect-ratio: 16/10;
    border-radius: 2px;
    overflow: hidden;
    cursor: zoom-in;
}

.apt-main-swiper .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* ── SWIPER PAGINATION TOČKICE ── */
.swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: rgba(255,255,255,0.5) !important;
    opacity: 1 !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
    background: #c5a47e !important;
    width: 24px !important;
    border-radius: 4px !important;
}

.apt-main-swiper .swiper-pagination {
    bottom: 12px !important;
}

.apt-main-swiper .swiper-pagination-bullet {
    background: rgba(255,255,255,0.6) !important;
}

.apt-main-swiper .swiper-pagination-bullet-active {
    background: #fff !important;
    width: 22px !important;
    border-radius: 4px !important;
}

/* ── HEADER + NAV — uniformna boja ── */
header {
    background: rgba(255,255,255,0.97) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06) !important;
    border-bottom: none !important;
}

@media (max-width: 768px) {
    nav {
        background: #ffffff !important;
        box-shadow: -6px 0 25px rgba(0,0,0,0.1) !important;
    }
}

/* ── SMOOTH REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s cubic-bezier(0.16,1,0.3,1), transform 0.85s cubic-bezier(0.16,1,0.3,1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ── MAINSWIPER STRELICE — vidljive samo na desktopu ── */
.main-apt-next,
.main-apt-prev {
    color: #1a1a1a !important;
    background: rgba(255,255,255,0.9);
    width: 46px !important;
    height: 46px !important;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    transition: background 0.2s, transform 0.2s;
}

.main-apt-next:hover,
.main-apt-prev:hover {
    background: #fff;
    transform: scale(1.08);
}

.main-apt-next::after,
.main-apt-prev::after {
    font-size: 16px !important;
    font-weight: 700;
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .main-apt-next,
    .main-apt-prev {
        display: none !important;
    }
}

/* ── APPLE NAV — FULLSCREEN OVERLAY DETALJI ── */

/* Overlay iza nav-a — taman blur */
body.menu-open::before {
    display: none !important; /* Nav je fullscreen, overlay nije potreban */
}

/* Header kad je meni otvoren — hamburger ostaje vidljiv */
body.menu-open header {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

/* Nav footer — kontakt info na dnu */
nav::after {
    position: absolute;
    bottom: 30px;
    left: 40px;
    font-size: 11px;
    color: rgba(0,0,0,0.3);
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}

/* Dekorativna zlatna linija na dnu nav-a */
nav::before {
    content: '';
    position: absolute;
    bottom: 70px;
    left: 40px;
    right: 40px;
    height: 1px;
    background: rgba(197, 164, 126, 0.2);
}

@media (max-width: 768px) {
    /* Hamburger gumb vidljiv, pozicioniran u headeru */
    .menu-toggle {
        display: flex;
        position: relative;
        right: auto;
    }

    /* Kad je meni otvoren — X gumb ima veći z-index od nav overlayu */
    body.menu-open .menu-toggle {
        z-index: 10001;
    }
}