﻿:root {
    --sidebar-width: 250px;
    --accent: #cba332;
    --dark: #0d2b35;
    --primary: #cba332;
    --primary-hover: #b5902b; /* tamnija za hover */
    --primary-light: rgba(203,163,50,0.1);
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #f9fafb;
}

.navbar {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Hero section - seasonal backgrounds */
.hero {
    color: white;
    text-align: center;
    padding: 120px 20px;
    border-radius: 0 0 2rem 2rem;
    background-size: cover;
    background-position: center;
}

.hero-spring {
    background-image: url("/media/hero/summer.webp");
}

.hero-summer {
    background-image: url("/media/hero/summer.webp");
}

.hero-autumn {
    background-image: url("/media/hero/autumn.webp");
}

.hero-winter {
    background-image: url("/media/hero/winter.webp");
}

.hero-bg {
    background-image: url("/media/hero/hero-1600.webp");
}

@media (max-width: 768px) {
    .hero-bg {
        background-image: url("/media/hero/hero-800.webp");
    }
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
}

/* Search input responsiveness */
.hero .search-bar {
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .hero .search-bar .form-control {
        margin-bottom: 10px;
        width: 100% !important;
    }
}

/* Property cards */
.card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.card-img-top {
    /*height: 220px;*/ /* or replace with aspect-ratio: 16 / 9; */
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.card-body {
    flex-grow: 1;
}

.card-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-location {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #cba332;
    color: #fff;
    padding: 6px 12px;
    border-radius: 0.5rem;
    font-weight: 600;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.featured-symbol {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #cba332;
    color: white;
    padding: 5px;
    font-size: small;
}

.verified-symbol {
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 5px;
}

@media (max-width: 576px) {

    .featured-symbol {
        padding: 4px;
        font-size: x-small;
    }

/*    .card-img-top {
        height: 130px;
    }*/

    .price-tag {
       /* top: 105px;*/
        padding: 4px;
        font-size: small;
        border-top-left-radius: 7px;
        border-top-right-radius:0px;
        border-bottom-right-radius:0px;
        border-bottom-left-radius:0px;
        font-weight: 500;
        bottom:120px;
    }
}

/* APP Popup prozor */
.app-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.app-popup {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 90%;
    max-width: 350px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.app-popup-title {
    margin-bottom: 10px;
    font-size: 18px;
}

.app-popup-text {
    font-size: 14px;
    margin-bottom: 15px;
}

.app-popup-button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.app-download-button {
    background: #cba332;
    color: white;
}

.app-stay-button {
    background: #ccc;
    color: black;
}

/* Prikazuje se samo na mobilnim ure?ajima */
@media (max-width: 768px) {
    .app-popup-overlay.mobile-visible {
        display: flex;
    }
}

/* END APP Popup prozor */

/* Colors */

.bg-resort-color {
    background-color: #cba332;
    color: white;
}

.text-resort-color {
    color: #cba332;
}

.border-resort-color {
    border-color: #cba332;
}

.btn-outline-resort-color {
    color: #cba332;
    border-color: #cba332;
}

.bg-resort-secondary {
    background-color: #0D2B35
}

/* END Colors */

/* Pagination */
.pagination .page-link {
    color: var(--primary);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff; /* bijeli tekst */
}

/* End pagination */

/* Navbar */
.navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

    .navbar .nav-link {
        font-weight: 500;
        color: #0d2b35;
        transition: color 0.2s ease-in-out;
    }

        .navbar .nav-link:hover,
        .navbar .nav-link:focus {
            color: #cba332;
        }

    .navbar .dropdown-menu {
        border: none;
        border-radius: 0.75rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    /* Aktivna stavka */
    .navbar .dropdown-item.active,
    .navbar .dropdown-item:active {
        background-color: #cba332;
        color: #fff;
    }

    /* Okrugle zastavice */
    .navbar .fi {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        display: inline-block;
        background-size: cover;
    }

/* Mobilni prikaz: manji razmaci, tekst lijevo */
@media (max-width: 991px) {
    .navbar-collapse {
        text-align: left;
    }

    .navbar-nav {
        gap: 0.25rem;
        padding-top: 0.5rem;
    }

    .navbar .nav-link {
        padding-left: 0;
    }
}

/* End navbar */

/* Contact page */

.contact-form input,
.contact-form textarea {
    border-radius: 0.75rem;
    border: 1px solid #dee2e6;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

    .contact-form input:focus,
    .contact-form textarea:focus {
        border-color: #cba332;
        box-shadow: 0 0 0 0.2rem rgba(203, 163, 50, 0.25);
    }

.contact-card {
    background-color: #fff;
}

    .contact-card h4 {
        font-weight: 600;
    }

    .contact-card .bi {
        vertical-align: middle;
    }

/* End contact page */

/* Footer */
footer a {
    color: #fff;
}
/* End footer */

/* Details page */

.property-hero img {
    border-radius: 1rem;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    cursor:pointer;
}

.property-gallery img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0.75rem;
    cursor: pointer;
}

.badge-custom {
    background-color: var(--primary);
    color: #fff;
}

.price-box {
    background: white;
    border-radius: 1rem;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.btn-book {
    background-color: var(--primary);
    color: white;
    border: none;
}

.amenities-list i {
    color: var(--primary);
    margin-right: 6px;
}

/* DETAILS CARD */
.property-info .card {
    background-color: #fff;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.property-info i {
    color: var(--primary);
    min-width: 32px;
    text-align: center;
}

.guest-counter {
    border: 1px solid #dee2e6;
}

    .guest-counter button {
        width: 32px;
        height: 32px;
        line-height: 1;
        font-size: 18px;
        padding: 0;
    }

    .guest-counter span {
        min-width: 24px;
        text-align: center;
    }

    .guest-counter button:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

#propertyMap {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.unit-list-group-item-action:hover {
    background-color: #fff8e1;
    transform: translateY(-2px);
    transition: all 0.2s ease;
}


/* End details page */