/* ===========================================================
   Property page styles (Mykonos / Paros)
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg: #faf8f5;
    --fg: #1a1a1a;
    --fg-muted: #6b6b6b;
    --accent: #c9a96e;
    --border: #e5e0d8;
    --serif: 'Cormorant Garamond', 'Georgia', serif;
    --sans: 'Inter', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--fg);
    background: var(--bg);
    line-height: 1.6;
    font-weight: 300;
}

/* === Top navigation bar === */
.topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(250, 248, 245, 0);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.topnav.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--border);
}

.topnav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.topnav.scrolled a { color: var(--fg); }
.topnav a:hover { color: var(--accent); }

/* === Hero === */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.bg-slideshow {
    position: absolute;
    inset: 0;
}

.bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    transform: scale(1.05);
    animation: kenburns 22s ease-in-out infinite alternate;
}

.bg-slide.active { opacity: 1; }

@keyframes kenburns {
    from { transform: scale(1.05); }
    to   { transform: scale(1.18); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.55) 100%
    );
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: #fff;
}

.hero-location {
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 1.2s 0.3s ease-out forwards;
}

.hero h1 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 1.2s 0.6s ease-out forwards;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent);
}

.hero-tagline {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    max-width: 560px;
    line-height: 1.6;
    opacity: 0;
    animation: fadeUp 1.2s 0.9s ease-out forwards;
}

.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 1.2s 1.5s ease-out forwards, bounce 2s 2.5s ease-in-out infinite;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}

/* === Sections === */
section.block {
    max-width: 1280px;
    margin: 0 auto;
    padding: 7rem 2.5rem;
}

.section-label {
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent);
    text-align: center;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 4rem;
    line-height: 1.1;
}

.section-title em {
    font-style: italic;
    color: var(--accent);
}

/* === Intro text === */
.intro-text {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--fg);
}

/* === Gallery === */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.gallery-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: zoom-in;
    background: var(--border);
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.4s ease;
    opacity: 0;
}

.gallery-item img.loaded { opacity: 1; }

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

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

@media (max-width: 560px) {
    .gallery { grid-template-columns: 1fr; }
    section.block { padding: 4rem 1.25rem; }
}

/* === Lightbox === */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.lightbox.open { display: flex; }

.lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 2rem;
    padding: 1rem;
    transition: color 0.2s ease;
    font-family: var(--sans);
    font-weight: 200;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--accent); }

.lightbox-close { top: 1rem; right: 1.5rem; font-size: 2.2rem; }
.lightbox-prev  { left: 1rem; top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lightbox-next  { right: 1rem; top: 50%; transform: translateY(-50%); font-size: 3rem; }

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
}

/* === Documents section === */
.docs-section {
    background: #f3efe8;
}

.docs-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.doc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--fg);
    transition: all 0.3s ease;
}

.doc-item:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}

.doc-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.doc-title {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 400;
}

.doc-meta {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--fg-muted);
    text-transform: uppercase;
}

.doc-icon {
    width: 28px;
    height: 28px;
    color: var(--accent);
    flex-shrink: 0;
    margin-left: 1.5rem;
}

/* === Footer === */
footer.site-footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
    color: var(--fg-muted);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

footer.site-footer a {
    color: var(--fg-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer.site-footer a:hover { color: var(--accent); }
/* ===========================================================
   APPEND TO mykonos/css/style.css AND paros/css/style.css
   Contact section + nav contact link
   =========================================================== */

/* Contact section - sits at the very bottom, before site-footer */
.contact-section {
    background: var(--bg);
    text-align: center;
}

.contact-section .section-title {
    margin-bottom: 1.5rem;
}

.contact-intro {
    max-width: 560px;
    margin: 0 auto 3rem auto;
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--fg);
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.1rem 2.75rem;
    background: var(--fg);
    color: var(--bg);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 400;
    border: 1px solid var(--fg);
    transition: all 0.35s ease;
}

.contact-button:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

.contact-button svg {
    width: 16px;
    height: 16px;
}

.contact-hint {
    margin-top: 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--fg-muted);
    text-transform: uppercase;
}

/* Nav: ensure right-side links sit nicely when there are multiple */
.topnav .nav-right {
    display: flex;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 560px) {
    .topnav { padding: 1rem 1.25rem; }
    .topnav .nav-right { gap: 1.25rem; }
    .contact-button {
        padding: 1rem 2rem;
        font-size: 0.7rem;
    }
}
/* ===========================================================
   APPEND TO mykonos/css/style.css AND paros/css/style.css
   Key Facts block (between property intro and gallery)
   =========================================================== */

.facts-section {
    background: var(--bg);
}

.facts-grid {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.fact {
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
}

/* Thin vertical dividers between facts */
.fact:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    height: 70%;
    width: 1px;
    background: var(--border);
}

.fact-value {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1;
    color: var(--accent);
}

.fact-unit {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--accent);
    margin-left: 0.15em;
}

.fact-label {
    margin-top: 0.85rem;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--fg-muted);
}

@media (max-width: 760px) {
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
    /* On 2-column layout, remove the divider after the 2nd item
       and add horizontal dividers instead */
    .fact:nth-child(2)::after { display: none; }
    .fact:nth-child(1),
    .fact:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }
    .fact { padding: 2rem 1rem; }
}

@media (max-width: 400px) {
    .facts-grid { grid-template-columns: 1fr; }
    .fact::after { display: none !important; }
    .fact:not(:last-child) {
        border-bottom: 1px solid var(--border);
    }
}
