/* Metalik zlato iz loga – koristi se svuda */
:root {
    --vm-gold: #9b9478;
    --vm-dark: #3d3c34;
}

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

html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto !important;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

#about,
#gallery,
#contact {
    scroll-margin-top: 90px;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Signika', sans-serif;
    font-weight: 400;
    position: relative;
    background: #fff;
}

h1, h2, h3, h4 {
    color: var(--vm-gold);
    font-family: 'Signika', sans-serif;
    font-weight: 400;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus {
    background-color: transparent;
}

a:hover {
    text-decoration: none;
}

hr {
    border: 1px solid var(--vm-gold);
    width: 100px;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (min-width: 768px) {
    .container { width: 700px; }
}
@media (min-width: 992px) {
    .container { width: 900px; }
}
@media (min-width: 1200px) {
    .container { width: 1000px; }
}

.row {
    display: flex;
    justify-content: center;
}

.col-md-12 {
    width: 100%;
}


/* --------------------------------------------------------------------------
   2. NAVIGACIJA I LOGO
   -------------------------------------------------------------------------- */

  
.navbar-default {
    background: rgba(255, 255, 255, 0.95);
    border: none !important;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
    margin: 0;
    padding: 0;
    margin-bottom: 0 !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
}

.navbar-header {
    display: flex;
    align-items: center;
    height: 72px;
    flex-shrink: 0;
}

.navbar-default .navbar-header {
    height: 72px;
    display: flex;
    align-items: center;
}

.navbar-default .navbar-brand {
    color: transparent;
    font-size: 0;
    line-height: 0;
    display: flex;
    align-items: center;
    padding: 8px 0;
    margin-right: 40px;
}

.navbar-header .logo,
.navbar-brand .logo {
    display: block;
    height: 56px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    object-position: left center;
    transition: opacity 0.25s ease;
}

.navbar-brand:hover .logo {
    opacity: 0.9;
}

.navbar-default .navbar-nav li a {
    line-height: 35px;
    color: var(--vm-dark) !important;
    font-family: 'Playfair Display', serif;
}

.navbar-default .navbar-nav > li > a {
    line-height: 72px;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover {
    color: var(--vm-dark) !important;
    background-color: transparent;
    font-family: 'Playfair Display', serif;
}

.navbar-default .navbar-toggle {
    border: none;
    padding-top: 10px;
}

.navbar-default .navbar-toggle .icon-bar {
    background: var(--vm-dark);
    border-color: transparent;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: transparent;
}

.navbar-toggle {
    margin-top: 18px;
    margin-bottom: 18px;
}

/* Navigacija – desktop: flex, logo lijevo, linkovi desno */
@media (min-width: 768px) {
    .navbar .container {
        display: flex !important;
        align-items: center;
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    .navbar .container::before,
    .navbar .container::after {
        display: none !important;
    }
    .navbar-header {
        float: none !important;
        margin-right: 40px;
        flex-shrink: 0;
    }
    .navbar-collapse.collapse {
        display: flex !important;
        height: auto !important;
        visibility: visible !important;
    }
    .navbar-collapse {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        flex-grow: 1;
        flex-basis: 0;
        min-width: 0;
        margin-left: auto;
        float: none !important;
        width: auto !important;
        overflow: visible !important;
    }
    .navbar-nav {
        display: flex !important;
        align-items: center;
        flex-wrap: nowrap;
        float: none !important;
        margin-left: auto;
    }
    .navbar-nav > li {
        float: none !important;
    }
    .language-switcher-first {
        margin-left: auto;
    }
    .language-separator {
        list-style: none;
        padding: 0 8px;
        margin: 0;
        color: var(--vm-dark);
        font-size: 0.9rem;
        font-weight: 300;
        line-height: 72px;
        pointer-events: none;
        opacity: 0.7;
    }
    .language-dropdown .language-link {
        color: var(--vm-dark) !important;
        font-family: 'Playfair Display', serif;
        font-size: 0.95rem;
        font-weight: 400;
        letter-spacing: 0.02em;
        padding: 0 8px !important;
        text-decoration: none !important;
        background: none !important;
        border: none !important;
    }
    .language-dropdown .language-link:hover {
        color: var(--vm-dark) !important;
        opacity: 0.9;
    }
    .language-dropdown .caret {
        margin-left: 4px;
        border-top-color: var(--vm-dark);
    }
    .language-dropdown .dropdown-menu {
        min-width: 120px;
        padding: 8px 0;
        border: 1px solid rgba(155, 148, 120, 0.3);
        border-radius: 4px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }
    .language-dropdown .dropdown-menu li a {
        color: #333;
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    .language-dropdown .dropdown-menu li a:hover {
        background: rgba(155, 148, 120, 0.15);
        color: var(--vm-dark);
    }
    .language-dropdown:hover .dropdown-menu,
    .language-dropdown.open .dropdown-menu,
    .language-dropdown.language-open .dropdown-menu {
        display: block !important;
    }
}

.language-links-mobile {
    display: none !important;
}

.language-switcher-first {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.language-switcher-first .language-current {
    color: var(--vm-dark);
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 400;
}

.language-switcher-first .language-sep {
    color: rgba(155, 148, 120, 0.7);
    padding: 0 4px;
    font-size: 0.95rem;
}

.language-switcher-first .language-link {
    color: var(--vm-dark) !important;
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    text-decoration: none !important;
    padding: 0 4px;
}

.language-switcher-first .language-link:hover {
    color: var(--vm-dark) !important;
    text-decoration: underline !important;
}

@media (max-width: 991px) {
    .language-desktop-only {
        display: none !important;
    }
    .language-links-mobile {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        list-style: none;
        margin: 0;
        padding: 10px 15px;
    }
    .language-links-mobile .language-current,
    .language-links-mobile .language-sep,
    .language-links-mobile .language-link {
        font-family: 'Playfair Display', serif;
        font-size: 0.95rem;
        color: var(--vm-dark);
        display: inline;
    }
    .language-links-mobile .language-sep { padding: 0 4px; opacity: 0.8; }
    .language-links-mobile .language-link {
        text-decoration: none !important;
        padding: 10px 8px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        -webkit-tap-highlight-color: transparent;
    }
    .language-links-mobile .language-link:hover {
        color: var(--vm-dark);
        text-decoration: underline !important;
    }
    .language-switcher-first .language-link {
        padding: 10px 8px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        -webkit-tap-highlight-color: transparent;
    }
    .language-dropdown .dropdown-menu {
        min-width: 120px;
        padding: 8px 0;
        border: 1px solid rgba(155, 148, 120, 0.3);
        border-radius: 4px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        position: relative;
        z-index: 9999;
    }
    .language-dropdown .dropdown-menu li a {
        display: block;
        padding: 10px 20px;
        color: #333;
        font-size: 0.95rem;
    }
    .navbar-collapse .language-dropdown { position: relative; }
    body.language-dropdown-open .navbar-collapse,
    body.language-dropdown-open .navbar-collapse.collapse.in {
        overflow: visible !important;
    }
    .language-dropdown .dropdown-toggle {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: 12px 16px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .language-dropdown .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: auto !important;
        margin-top: 4px;
    }
}


/* --------------------------------------------------------------------------
   3. HERO / VIDEO SLIDER
   -------------------------------------------------------------------------- */
.flexslider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    max-height: 100vh;
    overflow: hidden;
    margin: 0 0 -60px 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 0;
    font-size: 0;
    display: block;
    z-index: 0;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: #0a0a0a;
}

.flexslider::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 8px;
    background: #0a0a0a;
    pointer-events: none;
    z-index: 2;
}

.video-background-container {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: none !important;
    outline: none !important;
}

.video-background {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    line-height: 0;
    font-size: 0;
    border: none !important;
    outline: none !important;
}

.video-background video,
.video-background .hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    display: block;
    transform: translate(-50%, -50%) scale(1.08);
    transform-origin: center center;
}

.video-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    margin: 0;
    padding: 0;
    border: none;
    display: block;
}

.flex-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 3;
    width: 90%;
    max-width: 1200px;
}

.caption-content {
    position: relative;
    padding: 40px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--vm-gold);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    line-height: 1.1;
}

.slider-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* --------------------------------------------------------------------------
   4. ABOUT SECTION
   -------------------------------------------------------------------------- */
#main-content {
    display: block;
    position: relative;
    width: 100%;
    margin-top: 0px;
    z-index: 1;
}

.about-section {
    padding: 100px 0 0 0;
    background: #fff;
    position: relative;
    z-index: 1;
    font-family: 'Georgia', serif;
    color: #333;
    display: block;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.main-title {
    font-family: 'Georgia', serif;
    font-size: 42px;
    font-weight: normal;
    letter-spacing: 2px;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.decoration-line {
    width: 80px;
    height: 1px;
    background: var(--vm-gold);
}

.decoration-star {
    color: var(--vm-gold);
    font-size: 14px;
}

.location-subtitle {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    letter-spacing: 3px;
    color: #666;
    text-transform: uppercase;
    margin-top: 10px;
}

.general-description {
    margin-bottom: 50px;
    text-align: center;
}

.description-title {
    font-family: 'Georgia', serif;
    font-size: 28px;
    font-weight: normal;
    color: #333;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.description-content {
    max-width: 800px;
    margin: 0 auto;
}

.description-content p {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}


/* --------------------------------------------------------------------------
   5. USLUGE (SERVICES)
   -------------------------------------------------------------------------- */
.services-section {
    margin-bottom: 28px;
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-title {
    font-family: 'Georgia', serif;
    font-size: 24px;
    font-weight: normal;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
}

.service-item {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    color: var(--vm-gold);
}

.service-name {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-description {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}


/* --------------------------------------------------------------------------
   6. CTA GUMB (Kontaktirajte nas)
   -------------------------------------------------------------------------- */
.gumb-section {
    padding: 30px 0 !important;
    background: transparent !important;
    margin-top: 0 !important;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gumb-section .container {
    width: auto;
    max-width: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--vm-gold);
    color: white;
    text-decoration: none;
    padding: 10px 20px !important;
    font-family: 'Arial', sans-serif;
    font-size: 12px !important;
    font-weight: normal;
    letter-spacing: 0.8px !important;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    border-radius: 4px;
}

.cta-button i {
    font-size: 12px;
}

.cta-button:hover {
    background: var(--vm-gold);
    gap: 12px;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(122, 111, 82, 0.3);
}

.cta-button:hover i {
    transform: translateX(3px);
}


/* --------------------------------------------------------------------------
   7. GALERIJA (sekcija + grid za .gallery-item)
   -------------------------------------------------------------------------- */
.templatemo-section,
#gallery {
    padding-top: 32px;
    padding-bottom: 80px;
    position: relative;
    display: block;
    visibility: visible;
}

.templatemo-light-gray-bg {
    background: #f8f9fa;
}

#gallery.templatemo-light-gray-bg {
    background: #fff;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-header h1 {
    font-family: 'Georgia', serif !important;
    font-size: 24px !important;
    color: #333 !important;
    font-weight: normal !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 20px !important;
}

.gallery-header .title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0 40px 0;
}

.gallery-header .decoration-line {
    width: 80px;
    height: 1px;
    background: var(--vm-gold);
}

.gallery-header .decoration-star {
    color: var(--vm-gold);
    font-size: 14px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}


/* --------------------------------------------------------------------------
   8. APARTMANI (kartice s naslovom i slikom)
   -------------------------------------------------------------------------- */
.apartments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.apartment-card {
    cursor: default;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.apartment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: var(--vm-gold);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card-header h3 {
    font-size: 1.2rem;
    margin: 0;
    color: white !important;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.rating {
    background: rgba(255, 255, 255, 0.25);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.rating i {
    color: var(--vm-gold);
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.apartment-card:hover .card-image img {
    transform: scale(1.05);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 180px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--vm-gold);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Montserrat', sans-serif;
}

.gallery-btn:hover {
    background: var(--vm-gold);
    transform: translateY(-2px);
}

.card-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
}

.card-details i {
    color: var(--vm-gold);
    width: 20px;
}

.card-details strong {
    color: #333;
    font-size: 1.1rem;
}

.amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.amenities span {
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.amenities i {
    font-size: 0.9rem;
}


/* --------------------------------------------------------------------------
   9. LIGHTBOX (pregled slika)
   -------------------------------------------------------------------------- */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 5px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 10002;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.22);
    color: var(--vm-gold);
    border-color: var(--vm-gold);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.lightbox-prev, .lightbox-next {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 1rem;
}


/* --------------------------------------------------------------------------
   10. MAPA
   -------------------------------------------------------------------------- */
.map-section {
    width: 100%;
    background: #f5f5f5;
    display: block;
    visibility: visible;
}

.full-width-map {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.full-width-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(20%) contrast(1.1);
}


/* --------------------------------------------------------------------------
   11. KONTAKT
   -------------------------------------------------------------------------- */
.contact-section,
#contact {
    padding: 80px 0;
    background: var(--vm-dark);
    display: block;
    visibility: visible;
    font-family: 'Open Sans', sans-serif;
}

.contact-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.form-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-header h2 i {
    color: var(--vm-gold);
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--vm-gold);
    box-shadow: 0 0 0 3px rgba(155, 148, 120, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.submit-btn {
    background: var(--vm-gold);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: var(--vm-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(155, 148, 120, 0.3);
}

.form-message {
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.form-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.info-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.info-header {
    margin-bottom: 30px;
    text-align: center;
}

.info-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.info-header h3 i {
    color: var(--vm-gold);
}

.location {
    color: #666;
    font-size: 16px;
    font-style: italic;
}

.info-details {
    flex: 1;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--vm-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.info-text h4 {
    color: #333;
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.info-text p {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
    margin: 2px 0;
}

.directions-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #333;
    color: white;
    text-decoration: none;
    padding: 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 30px;
    text-align: center;
}

.directions-btn:hover {
    background: var(--vm-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.directions-btn i {
    font-size: 18px;
}


/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
footer {
    background: var(--vm-dark);
    color: white;
    padding: 20px 0;
    font-family: 'Open Sans', sans-serif;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

footer .social-section {
    grid-column: 2;
    justify-self: center;
    margin-right: 75px;
}

footer .social-content,
footer .social-icons-wrapper {
    text-align: center;
}

.social-icon {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-icon li {
    margin-right: 0;
}

.whatsapp-icon,
.instagram-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--vm-gold);
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    background: white;
    border: 2px solid var(--vm-gold);
}

.whatsapp-icon:hover,
.instagram-icon:hover {
    background: var(--vm-gold);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 15px rgba(155, 148, 120, 0.3);
}


/* --------------------------------------------------------------------------
   13. WHATSAPP FLOAT GUMB
   -------------------------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1) translateY(-5px);
}

.whatsapp-float i {
    transition: transform 0.3s ease;
}

.whatsapp-float:hover i {
    transform: scale(1.2);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.whatsapp-float.pulse {
    animation: float 3s ease-in-out infinite, pulse 2s infinite;
}


/* --------------------------------------------------------------------------
   15. RESPONSIVE – svi breakpointi po redu
   -------------------------------------------------------------------------- */

/* Slider */
@media (max-width: 1024px) {
    .slider-title { font-size: 3.5rem; }
    .slider-subtitle { font-size: 1.2rem; }
    .caption-content { padding: 30px; }
}

@media (max-width: 768px) {
    .flexslider {
        height: 80vh;
        min-height: 320px;
        margin-bottom: -40px;
        background: #0a0a0a;
        overflow: visible;
    }
    .video-background-container {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        overflow: visible;
    }
    .video-background {
        position: absolute;
        top: 0; left: 0;
        width: 100vw;
        height: 100%;
        min-height: 320px;
        overflow: visible;
    }
    /* Video na mobitelu: bez transforma, eksplicitne dimenzije – da se vidi na iOS/Android */
    .video-background video,
    .video-background .hero-video {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100% !important;
        min-height: 320px !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        -webkit-transform: none !important;
        object-fit: cover !important;
        -webkit-object-fit: cover !important;
    }
    #main-content { margin-top: 0px; }
    .slider-title { font-size: 2.8rem; }
    .slider-subtitle { font-size: 1.1rem; letter-spacing: 2px; }
    .caption-content { padding: 20px; background: rgba(0, 0, 0, 0.5); }
}

@media (max-width: 480px) {
    .flexslider {
        height: 70vh;
        min-height: 280px;
        margin-bottom: -40px;
        background: #0a0a0a;
        overflow: visible;
    }
    .video-background {
        min-height: 280px;
    }
    .video-background video,
    .video-background .hero-video {
        min-height: 280px !important;
    }
    #main-content { margin-top: -40px; }
    .slider-title { font-size: 2.2rem; }
    .slider-subtitle { font-size: 1rem; letter-spacing: 1px; }
    .caption-content { padding: 15px; }
}

/* Opći layout i about */
@media (max-width: 1024px) {
    .container { padding: 0 30px; }
    .services-grid { gap: 30px 20px; }
    .main-title { font-size: 36px; }
    .description-title { font-size: 24px; }
}

@media (max-width: 768px) {
    .about-section { padding: 70px 0; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .main-title { font-size: 32px; }
    .services-title { font-size: 20px; }
    .description-title { font-size: 22px; }
    .container { padding: 0 20px; }
    .service-item { padding: 25px 15px; }
    .contact-content { flex-direction: column; gap: 30px; }
    .form-row { flex-direction: column; gap: 15px; }
    .full-width-map { height: 350px; }
    .contact-form, .info-card { padding: 30px; }
    .gumb-section { padding: 30px 0 !important; }
    .navbar-nav > li > a { padding: 10px 15px; }
}

@media (max-width: 480px) {
    .about-section { padding: 50px 0; }
    .services-grid { grid-template-columns: 1fr; gap: 30px; }
    .main-title { font-size: 28px; }
    .description-title { font-size: 20px; }
    .services-title { font-size: 18px; }
    .description-content p { font-size: 15px; }
    .cta-button { padding: 15px 25px; font-size: 12px; }
    .title-decoration .decoration-line { width: 50px; }
    .container { padding: 0 15px; }
    .full-width-map { height: 300px; }
    .form-header h2, .info-header h3 { font-size: 24px; }
    .contact-form, .info-card { padding: 25px 20px; }
    .gumb-section { padding: 20px 0 !important; }
}

/* Galerija grid */
@media (max-width: 992px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .gallery-grid { grid-template-columns: 1fr; gap: 15px; }
    .gallery-container { padding: 0 15px 40px 15px; }
    .gallery-header h1 { font-size: 2.2rem; }
}

/* Apartmani */
@media (max-width: 1200px) {
    .apartments-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .apartments-grid { grid-template-columns: 1fr; gap: 25px; }
    .card-image { height: 200px; }
}

@media (max-width: 480px) {
    .card-header { padding: 15px; }
    .card-header h3 { font-size: 1rem; }
    .rating { padding: 4px 10px; font-size: 0.8rem; }
    .gallery-btn { padding: 8px 15px; font-size: 0.8rem; }
    .card-details p { font-size: 0.9rem; }
}

/* Footer */
@media (max-width: 768px) {
    footer { padding: 30px 0; }
    footer .social-section { justify-self: center; margin-right: 0; }
    .whatsapp-icon, .instagram-icon {
        width: 38px; height: 38px; font-size: 19px; border-width: 1.5px;
    }
    .social-icon { gap: 15px; }
}

@media (max-width: 480px) {
    .whatsapp-icon, .instagram-icon {
        width: 36px; height: 36px; font-size: 18px;
    }
    .social-icon { gap: 12px; }
}

/* WhatsApp float */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px; height: 55px;
        bottom: 20px; right: 20px;
        font-size: 26px;
    }
    .whatsapp-tooltip { display: none; }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px; height: 50px;
        bottom: 15px; right: 15px;
        font-size: 24px;
    }
}

/* Navigacija i logo – mobilni */
@media (max-width: 991px) {
    .navbar-header .logo, .navbar-brand .logo {
        height: 48px;
        max-width: 180px;
    }
    .navbar-header, .navbar-default .navbar-header {
        height: 64px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .navbar-header .navbar-toggle {
        order: 2;
        margin-left: auto;
        margin-right: 0;
    }
    .navbar-header .navbar-brand {
        order: 1;
        margin-right: 0;
    }
    .navbar-default .navbar-nav > li > a {
        line-height: normal;
        padding: 10px 15px;
    }
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    .navbar-collapse .navbar-nav {
        text-align: center;
        display: block;
        margin-left: 0;
        margin-right: 0;
    }
    .navbar-collapse .navbar-nav > li {
        display: block;
        float: none;
    }
    .navbar-collapse .navbar-nav > li > a {
        text-align: center;
        display: block;
    }
    .language-separator { line-height: normal; padding: 10px 8px; }
    .language-link { padding: 10px 4px !important; }
}

@media (max-width: 767px) {
    .navbar-header .logo, .navbar-brand .logo {
        height: 42px;
        max-width: 160px;
    }
    .navbar-header, .navbar-default .navbar-header { height: 56px; }
    .navbar-toggle {
        margin-top: 10px;
        margin-bottom: 10px;
        padding: 6px 10px;
    }
    .navbar-default .navbar-toggle .icon-bar {
        width: 18px;
        height: 2px;
    }
    .navbar-default .navbar-toggle .icon-bar + .icon-bar { margin-top: 3px; }
}

#home,
#about,
#gallery,
#contact {
    scroll-margin-top: 90px;
}