/* Shared page styles for locations.html and the area landing pages
   (ano-korakiana.html, agni.html, dassia.html, skripero.html).
   Extracted verbatim from the former inline <style> block in locations.html. */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: #637885;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    position: relative;
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.brand-name {
    pointer-events: auto;
    text-decoration: none;
    display: inline-block;
    line-height: 0;
}

.brand-name img {
    height: 40px;
    width: auto;
    max-width: min(52vw, 220px);
    object-fit: contain;
    display: block;
}

.brand-name:hover img,
.brand-name:focus-visible img {
    opacity: 0.92;
}

.brand-name:focus-visible {
    outline: none;
}

.brand-name:focus-visible img {
    outline: 2px solid rgba(33, 201, 238, 0.85);
    outline-offset: 4px;
    border-radius: 4px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: min(33.333vw, 420px);
    min-width: 260px;
    max-width: 420px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.97);
    z-index: 20003;
    padding: 84px 24px 44px 28px;
    text-align: left;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow-y: auto;
}

.mobile-menu.active {
    display: flex;
}

.menu-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    color: #0f3b63;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.menu-close-btn:hover,
.menu-close-btn:focus-visible {
    background: rgba(15, 59, 99, 0.08);
    outline: none;
}

.mobile-menu a {
    text-decoration: none;
    color: #1f2937;
    font-size: 20px;
    font-weight: 500;
    padding: 14px 8px;
    border-radius: 12px;
    line-height: 1.45;
    min-height: 48px;
    border-bottom: 1px solid #eef2f6;
    display: block;
}

.mobile-menu a+a {
    margin-top: 4px;
}

.mobile-menu a:hover,
.mobile-menu a:focus {
    color: #0f3b63;
    text-decoration: underline;
}

.mobile-menu a[aria-current="page"],
.mobile-menu a.active {
    color: #0f3b63;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

#menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 20000;
}

body.mobile-menu-open {
    overflow: hidden;
}

.menu-logo {
    display: none;
    text-decoration: none;
}

.content {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(104px, 14vh, 128px) 24px 56px;
    position: relative;
    z-index: 3;
}

.locations-inner {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
}

.locations-inner p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.65;
    font-weight: 400;
    text-align: left;
    color: #ffffff;
}

.locations-inner p + p {
    margin-top: 16px;
}

.locations-inner a {
    color: #a8e6ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.locations-inner a:hover {
    color: #d4f2ff;
}

.location-block {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.location-block:first-of-type {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

.location-heading {
    margin: 0 0 14px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #ffffff;
}

h1.location-heading {
    font-size: 1.35rem;
}

.location-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 20px;
}

.location-photos figure {
    margin: 0;
}

.location-photos img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    vertical-align: middle;
}

.location-photos figcaption {
    margin-top: 8px;
    font-size: 0.84rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
}

.locations-cta {
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.98rem;
}

/* ---------------------------------------------------------------------------
   Area landing pages (generated by npm run area-pages): the list of houses in
   one village, plus the "good to know" practicalities.
   --------------------------------------------------------------------------- */

.area-stays {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}

.area-stay {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 18px;
    align-items: start;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    text-decoration: none;
    color: inherit;
}

.area-stay:hover,
.area-stay:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    outline: none;
}

.area-stay img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.15);
}

.area-stay__name {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
}

/* The whole card is one link, so the title should not look separately clickable. */
.locations-inner .area-stay,
.locations-inner .area-stay:hover {
    text-decoration: none;
}

.area-stay__meta {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.82);
}

.area-stay__meta span + span::before {
    content: " · ";
    color: rgba(255, 255, 255, 0.5);
}

.locations-inner .area-stay__desc {
    margin-top: 8px;
    font-size: 0.94rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.area-facts {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.area-facts li {
    position: relative;
    padding-left: 18px;
    font-size: 0.98rem;
    line-height: 1.6;
}

.area-facts li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
}

@media (max-width: 640px) {
    .area-stay {
        grid-template-columns: 1fr;
    }

    .area-stay img {
        height: 190px;
    }
}

@media (max-width: 900px) {
    .brand-name img {
        height: 34px;
    }

    .mobile-menu {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .locations-inner p {
        font-size: 0.98rem;
    }
}

@media (max-width: 640px) {
    .location-photos {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .content {
        padding: 104px 16px 40px;
    }
}
