@import url('variables.css');

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img  { display: block; max-width: 100%; height: auto; }
ul   { list-style: none; }
a    { color: inherit; text-decoration: none; }
body {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #222222;
    background: #fff;
    overscroll-behavior-y: none;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    text-rendering: optimizeLegibility;
}

/* ─── Colours ────────────────────────────────────────────── */
:root {
    --blue:       #2A9EBF;
    --blue-dark:  #023e8a;
    --blue-light: #e8f4fd;
    --text:       #1a1a2e;
    --muted:      #666;
    --border:     #e8e8e8;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn-primary {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    padding: 0.85rem 2.2rem;
    border-radius: 4px;
    font-size: 0.95rem;
    
    letter-spacing: 0.04em;
    transition: background 0.2s;
}
.btn-primary:hover { background: var(--blue-dark); }

.btn-primary.btn-large {
    padding: 1rem 2.8rem;
    font-size: 1.05rem;
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--blue);
    color: var(--blue);
    padding: 0.75rem 1.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    
    letter-spacing: 0.03em;
    transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
    background: var(--blue);
    color: #fff;
}

/* ─── Navbar ─────────────────────────────────────────────── */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 2.5rem;
    background: #0f2942;
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar-transparent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
}
.home-main {
    position: relative;
}

.navbar-solid {
    background: #0f2942;
}
.navbar-with-bg {
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
                url('/assets/images/hero/nav-image.jpg') center/cover no-repeat;
}

.navbar-logo {
    font-family: 'Niconne', cursive;
    font-size: 2.3rem;
    font-weight: normal;
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}
.navbar-logo-sub {
    font-family: 'Josefin Slab', serif;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #fff;
}
.navbar-logo-img {
    height: 42px;
    width: auto;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-links > li > a {
    font-family: 'Raleway', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #fff;
    transition: color 0.2s;
}
.navbar-links > li > a:hover,
.navbar-links > li > a.active { color: #fff; }

/* Dropdown */
.navbar-dropdown { position: relative; }

.navbar-dropdown-trigger {
    font-family: 'Raleway', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #fff;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
    line-height: inherit;
}
.navbar-dropdown:hover .navbar-dropdown-trigger,
.navbar-dropdown.active .navbar-dropdown-trigger { color: #fff; }

.navbar-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    min-width: 210px;
    padding: 0.4rem 0;
    padding-top: 1rem;
    margin-top: 0.75rem;
    z-index: 200;
}
.navbar-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -0.75rem;
    left: 0;
    right: 0;
    height: 0.75rem;
}
.navbar-dropdown:hover .navbar-dropdown-menu,
.navbar-dropdown.dropdown-open .navbar-dropdown-menu { display: block; }

.navbar-dropdown-menu li a {
    display: flex;
    flex-direction: column;
    padding: 0.65rem 1.25rem;
    transition: background 0.15s;
}
.navbar-dropdown-menu li a:hover { background: var(--blue-light); }
.navbar-dropdown-menu li a strong { font-size: 0.9rem; color: var(--text); }
.navbar-dropdown-menu li a small  { font-size: 0.78rem; color: var(--muted); margin-top: 0.1rem; }

/* ─── Language switcher ──────────────────────────────────── */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-left: 1px solid rgba(255,255,255,0.35);
    padding-left: 1.5rem;
    margin-left: 0.5rem;
}
.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s;
    opacity: 0.5;
}
.lang-btn img {
    display: block;
    width: 22px;
    height: 16px;
    object-fit: cover;
}
.lang-btn:hover  { opacity: 0.85; transform: scale(1.1); }
.lang-active     { opacity: 1; transform: scale(1.4); }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(2, 62, 138, 0.82) 0%,
        rgba(2, 62, 138, 0.55) 55%,
        rgba(2, 62, 138, 0.15) 100%
    );
    display: flex;
    align-items: center;
    padding: 0 6vw;
}

.hero-content {
    max-width: 560px;
    color: #fff;
}

.hero-eyebrow {
    
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #90e0ef;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: normal;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: #fff;
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    line-height: 1.65;
    max-width: 460px;
}

/* ─── Section shared ─────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-header h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}
.section-header p {
    font-size: 1rem;
    color: var(--muted);
}
.section-eyebrow {
    
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.75rem;
}

/* ─── Apartments section ─────────────────────────────────── */
.apartments-section {
    padding: 5rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.apartments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.apartment-card {
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.apartment-card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.13);
    transform: translateY(-5px);
}
.apartment-card a { display: block; }

.apartment-card-image {
    position: relative;
    overflow: hidden;
}
.apartment-card-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.apartment-card:hover .apartment-card-image img {
    transform: scale(1.04);
}
.apartment-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem 1.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}
.apartment-card:hover .apartment-card-img-overlay {
    opacity: 1;
}
.apartment-card-cta-overlay {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.apartment-card-rating {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 0.25rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
}
.apartment-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
}
.apartment-card-body h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text);
}
.apartment-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
}
.apt-badge {
    background: #f4f6f8;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.78rem;
    color: #555;
    font-weight: 500;
}
.apartment-card-desc {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── Location section (homepage) ───────────────────────── */
.location-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #eaf6fb 0%, #f0f8ff 100%);
    border-top: 1px solid #d0eaf5;
    border-bottom: 1px solid #d0eaf5;
}

.location-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.location-header {
    text-align: center;
    margin-bottom: 2rem;
}
.location-header .section-eyebrow {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
.location-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.75rem;
}
.location-directions {
    font-size: 0.88rem;
    color: var(--blue);
    transition: color 0.15s;
}
.location-directions:hover { color: var(--blue-dark); }

.location-map {
    position: relative;
}
.location-map iframe {
    width: 100%;
    height: 460px;
    border: 0;
    border-radius: 16px;
    display: block;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}
.location-pin-card {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: #fff;
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    font-size: 0.88rem;
    max-width: 320px;
}
.location-pin-icon { font-size: 1.4rem; flex-shrink: 0; }
.location-pin-card div { display: flex; flex-direction: column; flex: 1; }
.location-pin-card strong { font-size: 0.9rem; color: var(--text); }
.location-pin-card span { font-size: 0.8rem; color: var(--muted); margin-top: 0.1rem; }
.location-pin-btn {
    background: var(--blue);
    color: #fff;
    border-radius: 8px;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s;
}
.location-pin-btn:hover { background: var(--blue-dark); }

/* ─── Zadar section ──────────────────────────────────────── */
.zadar-section {
    background: #fff;
    padding: 7rem 2rem;
}

.zadar-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.zadar-text .section-eyebrow {
    margin-bottom: 0.75rem;
}

.zadar-text h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.zadar-text p {
    font-size: 0.98rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.1rem;
}

.zadar-quote {
    font-style: italic;
    color: var(--blue) !important;
    font-size: 1.05rem !important;
    font-weight: 500;
    border-left: 3px solid var(--blue);
    padding-left: 1rem;
    margin-top: 1.5rem !important;
}

.zadar-text .btn-outline { margin-top: 1.25rem; }

.zadar-image {
    position: relative;
}

.zadar-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    display: block;
}

.zadar-image-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(6px);
    border-radius: 50px;
    padding: 0.5rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* ─── Bottom CTA ─────────────────────────────────────────── */
.bottom-cta {
    background: url('/assets/images/zadar/pozdrav-suncu.jpeg') center/cover no-repeat;
    padding: 6rem 2rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.bottom-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.52);
    pointer-events: none;
}

.bottom-cta-inner {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

.bottom-cta-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.bottom-cta h2 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.bottom-cta p {
    font-size: 1.05rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.bottom-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: #fff;
    color: #0f2942;
    padding: 0.9rem 2.4rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

.btn-cta-outline {
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    padding: 0.9rem 2.4rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: border-color 0.2s, background 0.2s;
}
.btn-cta-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
}

/* ─── Apartment detail page ──────────────────────────────── */

/* Gallery */
/* Gallery */
.apt-gallery {
    padding: 2rem 2rem 0;
}
.apt-gallery-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    height: 460px;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
}
.apt-gallery-cell--main {
    grid-row: 1;
}
.apt-gallery-grid2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    height: 100%;
}
.apt-gallery-grid2x2 .apt-gallery-cell {
    height: calc((460px - 6px) / 2);
}
.apt-gallery-cell--empty {
    background: #f0eeeb;
    cursor: default;
}
.apt-gallery-cell {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.apt-gallery-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.apt-gallery-cell:hover img { transform: scale(1.04); }
.apt-gallery-more {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.apt-gallery-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: box-shadow 0.2s;
}
.apt-gallery-btn:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.18); }

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.gallery-lightbox.is-open {
    opacity: 1;
    pointer-events: all;
}
.gallery-lb-img-wrap {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-lb-img-wrap img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    transition: opacity 0.2s;
}
.gallery-lb-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.15s;
}
.gallery-lb-close:hover { opacity: 1; }
.gallery-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    font-size: 3rem;
    line-height: 1;
    width: 3.5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s;
}
.gallery-lb-nav:hover { background: rgba(255,255,255,0.22); }
.gallery-lb-prev { left: 1rem; }
.gallery-lb-next { right: 1rem; }
.gallery-lb-counter {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
}

/* Layout */
.apt-content-wrap {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 2rem 4rem;
    align-items: start;
}
.apt-main { min-width: 0; }

.apt-main h1 {
    font-size: 1.9rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
}
.apt-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}
.apt-rating-line {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.25rem;
}
.apt-meta {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.apt-meta .apt-card-icon {
    width: 16px;
    height: 16px;
}
.apt-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

/* Highlights */
.apt-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.apt-highlight {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.apt-highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 2rem;
    text-align: center;
}
.apt-highlight strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}
.apt-highlight p {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0;
}

/* Description */
.apt-desc h2,
.apt-amenities-section h2,
.apt-calendar-section h2 {
    font-size: 1.3rem;
    font-weight: normal;
    margin-bottom: 1rem;
}
.apt-desc p {
    font-size: 1rem;
    color: #444;
    line-height: 1.75;
}

/* Amenities */
.apt-amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
    list-style: none;
}
.apt-amenities-grid li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.92rem;
    color: #444;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.apt-amenity-icon {
    flex-shrink: 0;
    color: rgb(0, 119, 182);
    display: flex;
}
.apt-amenity-on-request {
    font-size: 0.72rem;
    color: #999;
    margin-left: 4px;
}

/* Calendar */
.apt-calendar-hint {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1.25rem;
    
}
.cal-wrap { user-select: none; }
.cal-header {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.cal-nav-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.2rem;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 0.25rem;
    transition: background 0.15s;
}
.cal-nav-btn:hover { background: var(--blue-light); }
.cal-months-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    flex: 1;
}
.cal-month-label {
    
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--text);
}
.cal-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.cal-day-name {
    
    font-size: 0.72rem;
    color: var(--muted);
    text-align: center;
    padding: 0.2rem 0 0.4rem;
}
.cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    border-radius: 50%;
    cursor: default;
    gap: 1px;
}
.cal-day-num { line-height: 1; }
.cal-day-price {
    font-size: 0.55rem;
    color: var(--muted);
    line-height: 1;
    font-weight: 500;
}
.cal-sel .cal-day-price,
.cal-checkin .cal-day-price,
.cal-checkout .cal-day-price { color: rgba(255,255,255,0.8); }
.cal-avail {
    cursor: pointer;
    color: var(--text);
}
.cal-avail:hover { background: var(--blue-light); }
.cal-unavail {
    color: #ccc;
    text-decoration: line-through;
    background: repeating-linear-gradient(
        135deg, transparent, transparent 3px, #f5f5f5 3px, #f5f5f5 4px
    );
    border-radius: 50%;
}
.cal-sel {
    background: var(--blue) !important;
    color: #fff !important;
    font-weight: bold;
}
.cal-range { background: var(--blue-light); border-radius: 0; }
.cal-checkin  { border-radius: 50% 0 0 50%; }
.cal-checkout { border-radius: 0 50% 50% 0; }
.cal-today { font-weight: bold; text-decoration: underline; }
.cal-legend {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    
    color: var(--muted);
}
.cal-legend-item { display: flex; align-items: center; gap: 0.4rem; }
.cal-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.cal-dot-avail  { background: var(--blue); }
.cal-dot-booked { background: #ddd; border: 1px solid #ccc; }

/* Contact box (after date selection) */
.cal-contact-box {
    display: none;
    margin-top: 0.75rem;
}
.cal-section-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--muted);
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}
.cal-booking-card {
    background: #eaf3ff;
    border: 1.5px solid #b6d4f7;
    border-radius: 14px;
    padding: 1rem 1.1rem 0.5rem;
    margin-bottom: 0.25rem;
}
.cal-dates-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.cal-date-label {
    display: block;
    font-size: 0.72rem;
    
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0.2rem;
}
.cal-date-item strong { font-size: 0.95rem; }
.cal-date-arrow { color: var(--muted); }
.cal-nights-badge {
    margin-left: auto;
    background: var(--blue);
    color: #fff;
    border-radius: 20px;
    padding: 0.25rem 0.8rem;
    font-size: 0.82rem;
    
}
.cal-cta-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}
.cal-cta-row a { flex: 1; justify-content: center; }
.cal-clear-btn {
    background: none;
    border: none;
    font-size: 0.82rem;
    color: var(--muted);
    cursor: pointer;
    text-decoration: underline;
    display: block;
    margin-bottom: 0.75rem;
}
.cal-price-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    margin-bottom: 0.5rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}
.cal-price-amount {
    font-size: 1.1rem;
    font-weight: 700;
}
.cal-price-toggle {
    background: none;
    border: none;
    font-size: 0.8rem;
    color: var(--blue);
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    font-family: inherit;
}
.cal-price-breakdown {
    display: none;
    background: rgba(255,255,255,0.65);
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.84rem;
}
.cal-price-breakdown.is-open { display: block; }
.cal-bd-row {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
}
.cal-bd-row + .cal-bd-row { border-top: 1px solid #f0f0f0; }
.cal-bd-surcharge { color: var(--blue); }
.cal-bd-total {
    font-weight: 700;
    border-top: 1px solid #ddd !important;
    margin-top: 0.2rem;
    padding-top: 0.4rem;
}

/* WhatsApp / Email buttons */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #25d366;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    
    font-size: 0.9rem;
    font-weight: bold;
    transition: background 0.2s;
}
.btn-whatsapp:hover { background: #1ebe5d; }
.btn-whatsapp-full { width: 100%; justify-content: center; }

.btn-email-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    color: var(--blue);
    border: 2px solid var(--blue);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    
    font-size: 0.9rem;
    font-weight: bold;
    transition: background 0.2s, color 0.2s;
}
.btn-email-cta:hover { background: var(--blue); color: #fff; }
.btn-email-full { width: 100%; justify-content: center; }

.btn-airbnb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #FF5A5F;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-airbnb:hover { background: #e04f54; }
.btn-airbnb-full { width: 100%; justify-content: center; }

.btn-booking {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #003580;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-booking:hover { background: #002a66; }
.btn-booking-full { width: 100%; justify-content: center; }

/* Sidebar contact card */
.apt-sidebar { position: sticky; top: 5rem; }
.apt-contact-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
.apt-contact-card-header { margin-bottom: 1.25rem; }
.apt-contact-rating {
    
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}
.apt-contact-rating strong { color: var(--text); }
.apt-reviews-link {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.8rem;
    color: var(--blue);
    text-decoration: underline;
    white-space: nowrap;
}
.apt-contact-card h3 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.35rem;
}
.apt-contact-card p {
    font-size: 0.88rem;
    color: var(--muted);
    
}
.apt-contact-rating {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}
.apt-sidebar-booking-fields {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.apt-sidebar-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}
.apt-sidebar-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.apt-sidebar-field label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
}
.sb-date-input {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    background: #fafafa;
    cursor: pointer;
    color: var(--text);
    box-sizing: border-box;
}
.sb-date-input::placeholder { color: #aaa; font-size: 0.82rem; }
.sb-date-input:focus {
    outline: none;
    border-color: var(--blue);
}
#sb-price-summary {
    border-top: 1px solid var(--border);
    padding-top: 0.9rem;
    margin-top: 0.25rem;
}
.sb-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}
.sb-price-row #sb-price-nights {
    color: var(--muted);
}
.sb-price-row #sb-price-total {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.sb-guests-row {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
}
.sb-guests-btn {
    width: 2.5rem;
    height: 2.4rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text);
    flex-shrink: 0;
}
.sb-guests-btn:hover { background: #f0f0f0; }
#sb-guests-val {
    flex: 1;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
}

.apt-contact-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.apt-booking-platforms {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.apt-platforms-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--muted);
    margin-bottom: 0.25rem;
}
.apt-sidebar-facts {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.88rem;
    
    color: #555;
}

/* ─── About page ─────────────────────────────────────────── */
.about {
    max-width: 760px;
    margin: 4rem auto;
    padding: 0 2rem;
}
.about h1 {
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 1rem;
}

/* ─── Contact page ───────────────────────────────────────── */
/* legacy – kept for safety */
.contact-hero { display: none; }

.contact-hero-new {
    background: url('/assets/images/hero/nav-image.jpg') center/cover no-repeat;
    padding: 6rem 2rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.contact-hero-new::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.52);
    pointer-events: none;
}
.contact-hero-new-inner { position: relative; max-width: 600px; margin: 0 auto; }
.contact-hero-new h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.15;
}
.contact-hero-new p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
}

.contact-bar { display: none; } /* legacy */

.contact-cards-bar {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 2.5rem 2rem;
    background: #f8fafc;
    flex-wrap: wrap;
}
.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem 2.5rem;
    min-width: 200px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    color: var(--text);
}
.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}
.contact-card-icon { font-size: 2rem; margin-bottom: 0.25rem; }
.contact-card-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    font-weight: 600;
}
.contact-card strong {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 600;
}
.contact-card-wa {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}
.contact-card-wa:hover { background: #1ebe5d; box-shadow: 0 8px 28px rgba(37,211,102,0.3); }
.contact-card-wa .contact-card-label,
.contact-card-wa strong { color: #fff; }

.contact-wrap { display: none; } /* legacy */

.contact-form-section {
    padding: 4rem 2rem 6rem;
    background: #fff;
}
.contact-form-header {
    margin-bottom: 2rem;
}
.contact-form-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
}
.contact-form-header p {
    font-size: 0.95rem;
    color: var(--muted);
}

.contact-wrap-centered {
    grid-template-columns: 1fr;
    max-width: 680px;
}

/* Info column */
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-info-block {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-info-icon { font-size: 1.3rem; flex-shrink: 0; width: 1.8rem; }
.contact-info-block strong { display: block; font-size: 0.9rem; margin-bottom: 0.2rem; }
.contact-info-block p { font-size: 0.88rem; color: var(--muted);  margin: 0; }

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.contact-map iframe {
    width: 100%;
    height: 220px;
    border: 0;
    display: block;
}
.contact-map-link {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    
    color: var(--muted);
    padding: 0.5rem;
    background: #fafafa;
    border-top: 1px solid var(--border);
    transition: color 0.15s;
}
.contact-map-link:hover { color: var(--blue); }

.contact-apartments { margin-top: 1rem; }
.contact-apts-label {
    font-size: 0.78rem;
    
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 0.75rem;
}
.contact-apt-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    transition: color 0.15s;
}
.contact-apt-link:hover { color: var(--blue); }
.contact-apt-link span { font-size: 0.8rem; color: var(--muted);  }

/* Form */
.contact-form-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    max-width: 720px;
    margin: 0 auto;
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row { display: flex; gap: 1rem; }
.form-row-2 > * { flex: 1; }
.form-row-3 > * { flex: 1; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }

.form-group label {
    font-size: 0.82rem;
    font-family: inherit;
    font-weight: bold;
    color: var(--text);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.7rem 0.9rem;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--text);
    background: #fff;
    transition: border-color 0.2s;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0,119,182,0.1);
}
.form-group textarea { resize: vertical; }

.form-gdpr label {
    font-size: 0.82rem;
    
    color: var(--muted);
    font-weight: normal;
}
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
}
.form-checkbox input { width: auto; margin-top: 0.15rem; flex-shrink: 0; }

.btn-submit { align-self: center; border: 2px solid #fff; }
.btn-contact-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #0f2942, #2A9EBF);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: opacity 0.2s, transform 0.2s;
    margin-top: 0.5rem;
}
.btn-contact-submit:hover { opacity: 0.9; transform: translateY(-1px); }

.contact-errors {
    background: #fff5f5;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}
.contact-errors p {
    font-size: 0.88rem;
    
    color: #dc2626;
    margin: 0.2rem 0;
}

.contact-success {
    text-align: center;
    padding: 2rem;
}
.contact-success span { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.contact-success h2 { font-size: 1.5rem; font-weight: normal; margin-bottom: 0.5rem; }
.contact-success p { color: var(--muted);  margin-bottom: 1.5rem; }

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.85rem;
    background: #299ebf;
    color: rgba(255,255,255,0.75);
    border-top: none;
    margin-top: 0;
}
.footer-logo {
    display: block;
    margin: 0 auto 0.75rem;
    height: 240px;
    width: auto;
}