/* ===== Blog i News parallax pozadine ===== */
.bg-blog      { background-image: url(../images/bg-blog.jpg); }
.bg-news-warm { background-image: url(../images/bg-news-warm.jpg); background-position: center top; }
.bg-news-cold { background-image: url(../images/bg-news-cold.jpg); background-position: center center; }

/* ===== Oglas mapa — sakrij Google Maps header bar (~56px) ===== */
#google_map2_wrapper {
    overflow: hidden;
    height: 230px;
}

#google_map2_wrapper iframe {
    margin-top: -56px;
    height: calc(100% + 56px) !important;
}

/* ===== Popular smeštaji — uniformne slike ===== */
.popular .popular_inner figure {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.popular .popular_inner figure img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ===== Trending Destinations ===== */
#trending_destinations {
    padding: 60px 0 40px;
    background: #f8f8f8;
}

#trending_destinations h2 {
    text-align: center;
}

#trending_destinations .title1 {
    text-align: center;
}

.td-row {
    margin-bottom: 10px;
}

.td-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 10px;
    text-decoration: none;
}

.td-row-top .td-card {
    height: 280px;
}

.td-row-bottom .td-card {
    height: 200px;
}

.td-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.td-card:hover .td-img {
    transform: scale(1.06);
}

.td-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.1) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: background 0.3s ease;
}

.td-card:hover .td-overlay {
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.25) 60%);
}

.td-name {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

.td-row-bottom .td-name {
    font-size: 18px;
}

.td-sub {
    color: rgba(255,255,255,.85);
    font-size: 13px;
    margin-top: 4px;
    text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

@media (max-width: 767px) {
    .td-row-top .td-card  { height: 200px; }
    .td-row-bottom .td-card { height: 160px; }
}

/* ===== Zadovoljni gosti (#happy1) — čitljiv tekst na svetloj pozadini ===== */
#happy1 {
    color: #2c2c2c;
}

#happy1 .content .txt1,
#happy1 .content .txt2,
#happy1 .content .txt3,
#happy1 .content .txt3 p {
    color: #2c2c2c;
}

#happy1 .distance1 .txt {
    color: #2c2c2c;
}

#happy1 .distance1 .bg .animated-distance span {
    color: #148f89;
}

/* Footer — drugi telefon ispod prvog */
.footer_phones .phone2_second {
    padding-top: 8px;
}

/* Top bar — oba telefona, jedna ikonica levo */
.top1_wrapper .phone1.header_phones {
    background-position: left 2px;
    line-height: 1.35;
}

.top1_wrapper .phone1.header_phones > div {
    font-size: 13px;
}

.top1_wrapper .phone1.header_phones a {
    color: #acacac;
    text-decoration: none;
}

.top1_wrapper .phone1.header_phones a:hover {
    color: #1cbbb4;
}
