/*
Theme Name: Light by CMC Agency
Theme URI: https://cmc-agency.me
Author: CMC AGENCY
Author URI: https://cmc-agency.me
Description: Light est un thème sur-mesure ultra minimaliste.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: light
Tags: light, minimal, blog
*/
/* Styles généraux */
body {
    color: #333333;
    margin: 0 !important;
    transition: background-color 0.5s, color 0.5s;
}

.hide , .hidden {display:none!important}

/* Style de base pour les boutons (Néomorphisme sobre) */
.buttoninterface {
  display: flex;
  justify-content: center;
  padding: 6px;
  border-radius: 8px;
  background: #222; /* Couleur de fond sombre, comme dans l'image */
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3), -4px -4px 8px rgba(255, 255, 255, 0.2); /* Ombres discrètes */
  color: #fff; /* Texte ou icône en blanc */
   /* Taille ajustable de l'icône */
  width: 40px; /* Largeur ajustable selon vos préférences */
  height: 40px; /* Hauteur ajustable selon vos préférences */
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease; /* Transition fluide */
  border: none; /* Retirer les bordures par défaut */
}

/* ========================================== */
/* RUSTICO FRONT PAGE (moved from front-page.php) */
/* ========================================== */
/* 1. FONTS & VARIABLES */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@font-face {
    font-family: 'PlantinMTPro';
    src: url('font/PlantinMTProRg.TTF') format('truetype');
    font-weight: normal; font-style: normal;
}
@font-face {
    font-family: 'PlantinMTPro';
    src: url('font/PlantinMTProRgIt.TTF') format('truetype');
    font-weight: normal; font-style: italic;
}
@font-face {
    font-family: 'PinyonScript';
    src: url('font/PinyonScript-Regular.ttf') format('truetype');
    font-weight: normal; font-style: normal;
}
@font-face {
    font-family: 'PlantinMTProLight';
    src: url('font/PlantinMTProLight.TTF') format('truetype');
    font-weight: 300; font-style: normal;
}
@font-face {
    font-family: 'PlantinMTProLight';
    src: url('font/PlantinMTProLightIt.TTF') format('truetype');
    font-weight: 300; font-style: italic;
}

:root {
    --color-gold: #c3aa72;
    --color-dark-green: #141a12;
    --color-dark-green-light: #1c2419;
    --color-light-beige: #e5e0d5;
    --color-text-light: #fdfbf7;
    --color-text-dark: #1a1a1a;
    --font-main: 'PlantinMTProLight', serif;
    --font-cursive: 'PinyonScript', cursive;
    --font-sans: 'Poppins', sans-serif;
}

/* 2. RESET & BASICS */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-main); color: var(--color-text-light); background-color: var(--color-dark-green); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; }
.container-fluid { width: 100%; padding: 0 20px; }

/* Typography Utility */
.cursive { font-family: var(--font-cursive); font-weight: normal; }
.italic { font-style: italic; }
.accent-gold { color: var(--color-gold); }
.text-huge { font-size: clamp(3rem, 6vw, 6rem); line-height: 0.8; }
.text-large { font-size: clamp(2rem, 4vw, 4rem); }
.text-medium { font-size: clamp(1.5rem, 3vw, 2.5rem); }
.text-small { font-size: 1.2rem; }
.dark-text { color: var(--color-text-dark); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.bg-dark-green { background-color: var(--color-dark-green); }
.bg-light-beige { background-color: var(--color-light-beige); }

/* Spacing */
.mb-small { margin-bottom: 1rem; }
.mb-medium { margin-bottom: 2rem; }
.mb-large { margin-bottom: 4rem; }
.mt-large { margin-top: 4rem; }
.max-w-700 { max-width: 700px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 0.85rem;
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 30px;
    transition: all 0.4s ease;
    cursor: pointer;
}
.btn-outline { border: 1px solid var(--color-gold); color: var(--color-gold); }
.btn-outline:hover { background-color: var(--color-gold); color: var(--color-dark-green); }
.hero-action .btn-outline { color: #ffffff; }
.hero-action .btn-outline:hover { color: var(--color-dark-green); }
.building-section .btn-outline { color: #ffffff; }
.building-section .btn-outline:hover { color: var(--color-dark-green); }
/* Same button style on light background: dark text for contrast, same gold border & hover */
.apartments-section .btn-outline { color: var(--color-dark-green); border-color: var(--color-gold); }
.apartments-section .btn-outline:hover { background-color: var(--color-gold); color: var(--color-dark-green); }
.btn-solid { border: 1px solid var(--color-text-dark); background: transparent; color: var(--color-text-dark); }
.btn-solid:hover { background-color: var(--color-text-dark); color: var(--color-light-beige); }

/* 3. HEADER NAV – fixed on scroll, darker gradient */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 0;
    background: linear-gradient(to bottom, rgba(10,12,10,0.95) 0%, rgba(20,26,18,0.85) 50%, rgba(20,26,18,0.4) 100%);
    transition: background 0.3s ease;
}

/* Header inner: logo (hidden on desktop), nav, hamburger (hidden on desktop) */
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.header-logo {
    display: none;
}
.header-logo img {
    display: block;
    height: 36px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}
.header-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--color-gold);
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}
.header-toggle:hover {
    color: #fff;
    background: rgba(195, 170, 114, 0.2);
}
.header-toggle-close {
    display: none;
}
.header-toggle-open {
    display: block;
}
.site-header.is-open .header-toggle-open {
    display: none;
}
.site-header.is-open .header-toggle-close {
    display: block;
}

/* WPML language switcher – modern popup with flags (SaaS-style) */
.header-lang {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 102;
}
.header-lang-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(195, 170, 114, 0.35);
    border-radius: 10px;
    background: rgba(20, 26, 18, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--color-gold);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.header-lang-trigger:hover {
    border-color: rgba(195, 170, 114, 0.6);
    background: rgba(28, 36, 25, 0.85);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.header-lang-trigger[aria-expanded="true"] {
    border-color: var(--color-gold);
    background: rgba(28, 36, 25, 0.95);
    color: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.header-lang-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 18px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}
.header-lang-flag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.header-lang-flag-placeholder {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--color-gold);
    background: rgba(195, 170, 114, 0.2);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-lang-label {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header-lang-chevron {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    opacity: 0.85;
}
.header-lang-trigger[aria-expanded="true"] .header-lang-chevron {
    transform: rotate(180deg);
}
.header-lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}
.header-lang-dropdown-inner {
    background: rgba(28, 36, 25, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(195, 170, 114, 0.25);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.header-lang.is-open .header-lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.header-lang.is-open .header-lang-dropdown[hidden] {
    display: block;
    visibility: visible;
    opacity: 1;
}
.header-lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--color-text-light);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: background 0.15s ease, color 0.15s ease;
    text-decoration: none;
}
.header-lang-option:hover {
    background: rgba(195, 170, 114, 0.15);
    color: var(--color-gold);
}
.header-lang-option.is-active {
    background: rgba(195, 170, 114, 0.2);
    color: var(--color-gold);
    font-weight: 500;
}
.header-lang-option-flag {
    width: 28px;
    height: 21px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-lang-option-flag .header-lang-flag-img {
    width: 100%;
    height: 100%;
}
.header-lang-option-flag .header-lang-flag-placeholder {
    font-size: 0.7rem;
    width: 100%;
    height: 100%;
}
.header-lang-option-name {
    flex: 1;
    text-align: left;
}

.main-nav ul { list-style: none; display: flex; justify-content: center; gap: 40px; margin: 0; padding: 0; }
.main-nav a { font-size: 0.95rem; letter-spacing: 2px; text-transform: uppercase; color: var(--color-gold); transition: color 0.3s; }
.main-nav a:hover, .main-nav a.active { color: #ffffff; }
.main-nav-connect { display: none; }

/* Mobile header: logo + hamburger, nav in overlay */
@media (max-width: 992px) {
    .header-inner {
        justify-content: space-between;
        padding: 0 20px;
        position: relative;
        z-index: 101;
    }
    .header-lang {
        right: 56px;
    }
    .header-lang-label {
        max-width: 70px;
    }
    .header-logo {
        display: block;
    }
    .header-toggle {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(20, 26, 18, 0.98);
        z-index: 99;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .site-header.is-open .main-nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .main-nav .main-nav-menu {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .main-nav .main-nav-menu a {
        font-size: 1.25rem;
        padding: 12px 24px;
        display: block;
    }
    .main-nav-connect {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        margin-top: 32px;
        padding-top: 24px;
        border-top: 1px solid rgba(195, 170, 114, 0.3);
        width: 100%;
        max-width: 280px;
    }
    .main-nav-connect-label {
        font-family: var(--font-sans);
        font-size: 0.65rem;
        font-weight: 600;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: var(--color-gold);
        opacity: 0.9;
        margin-top: 12px;
    }
    .main-nav-connect-label:first-of-type { margin-top: 0; }
    .main-nav-phone {
        font-size: 1.1rem;
        color: var(--color-text-light);
        margin-bottom: 4px;
    }
    .main-nav-phone:hover { color: var(--color-gold); }
    .main-nav-link {
        font-size: 0.95rem;
        color: var(--color-text-light);
        transition: color 0.2s;
    }
    .main-nav-link:hover { color: var(--color-gold); }
}
@media (max-width: 480px) {
    .header-inner { padding: 0 16px; }
    .header-lang { right: 52px; }
    .header-lang-trigger { padding: 6px 10px; font-size: 0.75rem; }
    .header-lang-label { max-width: 56px; }
    .header-logo img { height: 32px; max-width: 120px; }
    .header-toggle { width: 40px; height: 40px; }
}

/* 4. HERO SECTION */
.hero-section { position: relative; height: 100vh; min-height: 800px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 1; transform: scale(1.05); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20,26,18,0.35) 0%, rgba(20,26,18,0.2) 50%, rgba(20,26,18,0.5) 100%); z-index: 2; }
.hero-content { position: relative; z-index: 3; width: 100%; padding: 100px 20px 40px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.hero-logo { margin-bottom: 36px; }
.hero-logo img { max-width: 250px; }
.hero-text-container { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-subtitle { font-family: 'PlantinMTProLight', serif; font-size: 1.4rem; color: #ffffff; font-weight: 300; font-style: italic; letter-spacing: 1px; }
.hero-title { font-family: 'PlantinMTProLight', serif; font-size: clamp(1.9rem, 4vw, 3.2rem); letter-spacing: 0px; line-height: 0.8; font-weight: 300; margin-bottom: 18px; color: #ffffff; }
.hero-title span { color: #ffffff; }
.hero-title .hero-initial-script { font-family: 'PlantinMTProLight', serif; font-weight: 300; font-size: inherit; letter-spacing: 3px; text-transform: uppercase; position: relative; display: inline-block; }
.hero-title .hero-initial-script::first-letter { font-family: var(--font-cursive); font-size: 1.5em; }
.hero-divider { width: 100%; max-width: 400px; margin: 0 auto 40px auto; }
.hero-divider img { width: 100%; height: auto; display: block; }

/* 5. STORY SECTION */
.story-section { padding: 50px 0; }
/* Full-width dark green background (edge to edge) */
.story-section-fullwidth { width: 100%; max-width: 100vw; box-sizing: border-box; padding-left: 0; padding-right: 0; }

.story-block { position: relative; margin-bottom: 120px; }
.story-image-wrap { position: relative; border-radius: 40px; overflow: hidden; }
.story-image-wrap img { width: 100%; object-fit: cover; }
.block-right .story-image-wrap { width: 80%; margin-left: auto; border-top-left-radius: 100px; border-bottom-right-radius: 100px;}
.block-left .story-image-wrap { width: 80%; margin-right: auto; border-top-right-radius: 100px; border-bottom-left-radius: 100px;}

/* Mediterranean block (first section): stone centered, rounded top only, all text white */
.story-block-mediterranean { margin-bottom: 80px; }
.story-block-mediterranean .story-stone-wrap {
    width: 78%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
}
/* Inner wrapper: clips image to rounded corners only (text can overflow outside) */
.story-block-mediterranean .story-stone-bg {
    position: relative;
    border-radius: 40px 40px 0 0;
    overflow: hidden;
}
.story-block-mediterranean .story-stone-bg img {
    width: 100%;
    display: block;
}
/* Black gradient overlay on image only – top and bottom blend with dark green background */
.story-block-mediterranean .story-stone-bg::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(to bottom,
        rgba(0,0,0,0.55) 0%,
        transparent 22%,
        transparent 78%,
        rgba(0,0,0,0.55) 100%);
    pointer-events: none;
    z-index: 2;
}
.story-block-mediterranean .overlapping-title,
.story-block-mediterranean .story-text-on-stone { z-index: 5; }

/* Title: larger THE / AS IT SHOULD BE., smaller Mediterranean */
.story-block-mediterranean .story-title-white {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    letter-spacing: 2px;
}
.story-block-mediterranean .story-cursive-white {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem) !important;
    line-height: 0.9;
}

/* All text pure white and visible (shadow on stone) */
.story-block-mediterranean .story-title-white,
.story-block-mediterranean .story-cursive-white,
.story-block-mediterranean .story-text-on-stone p {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.7), 0 2px 8px rgba(0,0,0,0.5);
}
/* Same size as hero subtitle (On the shores of Tivat...) */
.story-block-mediterranean .story-text-on-stone {
    position: absolute;
    right: -5%;
    bottom: -15%;
    max-width: 42%;
    z-index: 5;
    text-align: right;
    font-size: 1.2rem;
    line-height: 1.6;
}
/* Mediterranean body: centered block, left-aligned for readability, modern spacing */
.story-body {
    width: 100%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    text-align: left;
}
.story-body-intro p,
.story-body .story-body-close {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.7), 0 2px 8px rgba(0,0,0,0.5);
}
.story-body-intro {
    font-size: 1.15rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}
.story-body-intro p { margin: 0 0 1rem 0; }
.story-body-intro p:last-child { margin-bottom: 0; }
/* Menu block: label + 2-column grid on desktop */
.story-menu-block {
    margin: 2rem 0;
    padding: 1.75rem 0;
    border-top: 1px solid rgba(195, 170, 114, 0.25);
    border-bottom: 1px solid rgba(195, 170, 114, 0.25);
}
.story-menu-label {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold) !important;
    margin: 0 0 1.25rem 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}
.story-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.7), 0 2px 8px rgba(0,0,0,0.5);
}
.story-menu-list li {
    position: relative;
    padding-left: 1rem;
}
.story-menu-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 4px;
    height: 4px;
    background: var(--color-gold);
    border-radius: 50%;
}
/* Closing sentence: emphasis, centered */
.story-body-close {
    font-family: var(--font-cursive);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    text-align: center;
    line-height: 1.4;
    margin: 0;
    color: #ffffff !important;
}

/* Oven block (Block 2): centered, wider, white text, overflow visible, gradient */
.story-block-oven .story-oven-wrap {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
}
.story-block-oven .story-oven-bg {
    position: relative;
    border-radius: 40px 40px 0 0;
    overflow: hidden;
    height: 42vh;
}
.story-block-oven .story-oven-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.story-block-oven .story-oven-bg::after {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    border-radius: inherit;
    background: linear-gradient(to bottom,
        rgba(0,0,0,0.55) 0%,
        transparent 22%,
        transparent 78%,
        rgba(0,0,0,0.55) 100%);
    pointer-events: none;
    z-index: 2;
}
.story-block-oven .overlapping-text-box,
.story-block-oven .overlapping-title { z-index: 5; }
/* All text white and visible */
.story-block-oven .oven-text-white p,
.story-block-oven .oven-title-white,
.story-block-oven .oven-cursive-white {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.7), 0 2px 8px rgba(0,0,0,0.5);
}
.story-block-oven .oven-cursive-white { color: #ffffff !important; }

/* Same font sizes as Mediterranean section above */
.story-block-oven .oven-text-white p {
    font-size: 1.2rem;
    line-height: 1.1;
}
.story-block-oven .oven-title-white {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    letter-spacing: 2px;
}
.story-block-oven .oven-title-white .text-small {
    font-size: inherit;
}
.story-block-oven .oven-cursive-white {
    font-size: 2.5rem !important;
    line-height: 0.9;
}

/* Position text so it is not clipped (slightly inside so overflow visible is enough) */
.story-block-oven .overlapping-text-box.box-left {
    left: -3%;
    top: 22%;
    max-width: 100%;
}
.story-block-oven .title-bottom {
    bottom: -11%;
    left: 13%;
}

.overlapping-title { position: absolute; z-index: 5; font-weight: normal; line-height: 1.1; letter-spacing: 2px;}
.title-left { top: 20%; left: -10%; text-align: left; }
.title-bottom { bottom: 10%; left: 10%; }
.overlapping-text-box { position: absolute; top: 30%; left: -10%; z-index: 5; background: transparent; letter-spacing: 1px; line-height: 1.8;}

.mt-offset { margin-top: -50px; padding-right: 10%; }

/* 6. MARQUEE */
.marquee-section { padding: 15px 0; overflow: hidden; white-space: nowrap; border-top: 1px solid rgba(195,170,114,0.2); border-bottom: 1px solid rgba(195,170,114,0.2); }
.marquee-content { display: inline-block; animation: marquee 30s linear infinite; font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; color: var(--color-gold); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 7. BUILDING & MARINA */
.building-section { padding: 120px 0 200px 0; }
.building-section .building-desc { font-size: 1.2rem; }
/* Buttons stacked: one above the other on all screen sizes */
.button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}
.button-group .btn {
    min-width: 220px;
    text-align: center;
}
.marina-section { position: relative; z-index: 10; margin-top: -150px; margin-bottom: -100px; pointer-events: none;}
/* Marina image: smaller on PC for a more balanced look; responsive overrides below */
.full-width-overlap-img { width: 68%; max-width: 900px; margin: 0 auto; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,0.2); pointer-events: auto;}

/* 8. APARTMENTS */
.apartments-section { padding: 180px 0 100px 0; text-align: left; }
.apartments-section .apt-desc-1,
.apartments-section .apt-desc-2 { font-size: 1.2rem; }
.section-title { font-size: 2.5rem; letter-spacing: 3px; }
.apartments-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.gallery-item { overflow: hidden; border-radius: 6px; }
.gallery-item img { width: 100%; height: 350px; object-fit: cover; transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.gallery-item:hover img { transform: scale(1.05); }

/* 8a. BREAKFAST BY THE SEA SECTION */
.breakfast-section { padding: 100px 0 120px 0; }
.breakfast-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.breakfast-content { padding-right: 1rem; }
.breakfast-section .section-title { margin-bottom: 1.5rem; }
.breakfast-image-wrap {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.breakfast-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 8b. TEXT UTILITY (light text on dark sections) */
.text-light { color: var(--color-text-light); }

/* 8c. ABOUT PAGE – hero, quote, philosophy, closing (smaller height for all inner pages) */
.about-hero,
.contact-hero { height: 50vh; min-height: 380px; }
.about-hero .hero-content,
.contact-hero .hero-content { padding-top: 100px; }
.about-quote-section { padding: 80px 0; }
.about-quote-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.about-quote-lead { font-size: 1.4rem; color: var(--color-text-light); margin-bottom: 12px; letter-spacing: 1px; }
.about-quote-cursive { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.2; margin: 0; }
.about-philosophy-section { padding: 40px 0 80px; }
.about-philosophy-inner { margin: 0 auto; text-align: center; }
.about-philosophy-text { font-size: 1.25rem; line-height: 1.8; color: var(--color-text-light); margin: 0; }

/* About split layout: image + text side by side */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.about-split__image {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.about-split__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-split__content { padding: 0 0.5rem; }
.about-split--image-left .about-split__content { text-align: left; }
.about-split--image-left .about-quote-inner { margin: 0; }
.about-split--image-right .about-split__content { text-align: right; }
.about-split--image-right .about-philosophy-inner { margin: 0; }

/* Closing section: full-width background image with overlay */
.about-closing-section {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    padding: 60px 0 100px;
}
.about-closing-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 26, 18, 0.75);
    z-index: 1;
}
.about-closing-section .container {
    position: relative;
    z-index: 2;
    padding-left: 20px;
    padding-right: 20px;
}
.about-closing { margin: 0; line-height: 1.3; }
.about-closing-section .about-closing { color: #fff; }

/* 8d. PRIVATE EVENTS PAGE */
.private-events-main .story-block-events { margin-bottom: 60px; }
.events-offers-list {
    max-width: 800px;
    margin: 120px auto 0;
    padding: 0 20px 60px;
    text-align: center;
}
.events-offers-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 40px;
    justify-items: center;
    font-size: 1.15rem;
    color: var(--color-text-light);
    letter-spacing: 0.5px;
}
.events-offers-grid li {
    position: relative;
    padding-left: 24px;
}
.events-offers-grid li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 50%;
}
.events-tagline-section { padding: 80px 0 100px; }
.events-tagline {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.4;
    margin: 0;
    letter-spacing: 2px;
}
.events-tagline-word { display: inline-block; margin: 0 0.2em; }
.events-cta-section .btn-outline { color: #ffffff; }
.events-cta-section .btn-outline:hover { background-color: var(--color-gold); color: var(--color-dark-green); }

/* 8e. CONTACT PAGE V2 – compact hero, form + info single section */
.contact-page-v2 .contact-hero-compact { height: 35vh; min-height: 260px; }
.contact-page-v2 .contact-hero-compact .hero-content { padding-top: 70px; }
.contact-page-v2 .contact-hero-compact .hero-title br { display: none; }
.contact-page-v2 .contact-hero-compact .hero-initial-script { display: none; }
/* Full word "page" in calligraphy (cursive) in contact hero */
.hero-title .hero-title-cursive { font-family: var(--font-cursive); font-size: inherit; font-weight: normal; color: inherit; }

.contact-v2-section { padding: 56px 0 72px; }
.container--contact { max-width: 1000px; margin: 0 auto; padding: 0 24px; }

.contact-v2-alert {
    margin-bottom: 24px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}
.contact-v2-alert--success { background: rgba(195, 170, 114, 0.2); color: var(--color-light-beige); border: 1px solid rgba(195, 170, 114, 0.4); }
.contact-v2-alert--error { background: rgba(180, 80, 80, 0.2); color: #f5c6c6; border: 1px solid rgba(180, 80, 80, 0.4); }

.contact-v2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 56px;
    align-items: start;
}
.contact-v2-heading {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin: 0 0 20px 0;
}
.contact-v2-form .contact-v2-field {
    margin: 0 0 18px 0;
}
.contact-v2-form label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(253, 251, 247, 0.85);
    margin-bottom: 6px;
}
.contact-v2-form .required { color: var(--color-gold); }
.contact-v2-form input[type="text"],
.contact-v2-form input[type="email"],
.contact-v2-form textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--color-text-light);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(195, 170, 114, 0.35);
    border-radius: 10px;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
}
.contact-v2-form input::placeholder,
.contact-v2-form textarea::placeholder { color: rgba(253, 251, 247, 0.45); }
.contact-v2-form input:focus,
.contact-v2-form textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.08);
}
.contact-v2-form textarea { resize: vertical; min-height: 100px; }
.contact-v2-field--message { margin-bottom: 22px; }
.contact-v2-submit { margin: 0; }
/* Contact form submit: gold outline on dark green, filled on hover (matches site CTAs) */
.contact-v2-btn {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    cursor: pointer;
    min-width: 200px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
.contact-v2-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-dark-green);
    border-color: var(--color-gold);
    transform: translateY(-1px);
}
.contact-v2-btn:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
}

/* Legal pages: Legal notice, CGU, Privacy policy */
.legal-content-section { padding: 56px 0 72px; }
.container--legal { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.legal-content { font-size: 1rem; line-height: 1.7; }
.legal-block { margin-bottom: 2rem; }
.legal-block:last-child { margin-bottom: 0; }
.legal-heading {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin: 0 0 12px 0;
}
.legal-content p { margin: 0 0 8px 0; }
.legal-link { color: var(--color-gold); text-decoration: underline; transition: color 0.2s, opacity 0.2s; }
.legal-link:hover { color: var(--color-text-light); opacity: 0.95; }
.legal-content--page h2 { font-size: 1.25rem; margin: 1.5rem 0 0.5rem; color: var(--color-text-light); }
.legal-content--page h3 { font-size: 1.1rem; margin: 1.25rem 0 0.4rem; }
.legal-content--page ul, .legal-content--page ol { margin: 0.5rem 0 1rem; padding-left: 1.5rem; }
.legal-placeholder { margin: 0; opacity: 0.85; font-style: italic; }

.footer-bottom-left { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.footer-bottom-left .footer-copyright { margin: 0; }
.footer-legal-links { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.footer-legal-link { color: var(--color-text-light); opacity: 0.85; font-size: 0.9rem; transition: color 0.2s, opacity 0.2s; }
.footer-legal-link:hover { color: var(--color-gold); opacity: 1; }
.footer-legal-sep { color: rgba(253, 251, 247, 0.5); font-size: 0.85rem; }

.contact-v2-info { padding-top: 2px; }
.contact-v2-venue { font-size: clamp(1.35rem, 2.5vw, 1.75rem); margin-bottom: 14px; line-height: 1.3; }
.contact-v2-address { font-style: normal; font-size: 1.05rem; line-height: 1.6; margin: 0 0 28px 0; }
.contact-v2-address-detail { display: block; margin-top: 4px; opacity: 0.9; }
.contact-v2-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.contact-v2-links li {
    margin-bottom: 18px;
}
.contact-v2-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    opacity: 0.95;
    margin-bottom: 4px;
}
.contact-v2-value {
    font-size: 1rem;
    opacity: 0.95;
    transition: color 0.2s, opacity 0.2s;
    text-decoration: none;
}
.contact-v2-value:hover { color: var(--color-gold); opacity: 1; }
.contact-v2-links li a.contact-v2-value + a.contact-v2-value { margin-left: 12px; }

/* Legacy contact classes (e.g. other templates) */
.contact-details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; max-width: 900px; margin: 0 auto; text-align: center; }
.contact-detail-block { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.contact-detail-label { font-family: var(--font-sans); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-gold); opacity: 0.9; }
.contact-detail-value { font-size: 1rem; color: var(--color-text-light); opacity: 0.95; transition: color 0.2s, opacity 0.2s; }
.contact-detail-value:hover { color: var(--color-gold); opacity: 1; }

@media (max-width: 768px) {
    .contact-v2-grid { grid-template-columns: 1fr; gap: 36px; }
    .contact-v2-section { padding: 40px 0 56px; }
    .contact-details-grid { grid-template-columns: 1fr; gap: 32px; }
    .events-offers-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        font-size: 1.05rem;
        justify-items: start;
    }
    .events-tagline { font-size: clamp(1.75rem, 6vw, 2.5rem); }
}

/* 8e. APARTMENTS ARCHIVE – hero, intro, tagline, cards with gallery, CTA (SaaS-style) */
.apartments-archive-main .apartments-page-hero .hero-subtitle { max-width: 720px; margin-left: auto; margin-right: auto; }
.apartments-intro { padding: 60px 0 80px; }
.apartments-features-list { max-width: 600px; margin: 0; justify-items: start; }
.apartments-tagline { padding: 60px 0 80px; }
.apartments-cards-section {
    padding: 80px 0 100px;
    font-family: var(--font-sans);
}
.apartment-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
/* Card: ultra-modern SaaS look – Poppins, soft shadow, hover lift, thumbnails on hover */
.apartment-card {
    font-family: var(--font-sans);
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}
.apartment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: rgba(195, 170, 114, 0.25);
}
.apartment-card-gallery {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--color-dark-green);
}
.apartment-card-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    height: 100%;
    scrollbar-width: none;
}
.apartment-card-track::-webkit-scrollbar { display: none; }
.apartment-card-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    min-width: 0;
}
.apartment-card-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.apartment-card:hover .apartment-card-slide img {
    transform: scale(1.03);
}
.apartment-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    opacity: 0.6;
    font-size: 0.9rem;
    font-family: var(--font-sans);
}
/* Thumbnails strip: visible on card hover, bottom overlay */
.apartment-card-thumbnails {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 3;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.apartment-card:hover .apartment-card-thumbnails {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.apartment-card-thumb {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    background: transparent;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.apartment-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.apartment-card-thumb:hover {
    border-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.05);
}
.apartment-card-thumb.is-active {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 1px var(--color-gold);
}
/* Nav arrows: minimal, visible on hover */
.apartment-card-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-dark-green);
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 2;
    transition: opacity 0.25s ease, background 0.2s, color 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    opacity: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.apartment-card:hover .apartment-card-nav {
    opacity: 1;
}
.apartment-card-nav:hover {
    background: var(--color-gold);
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}
.apartment-card-prev { left: 14px; }
.apartment-card-next { right: 14px; }
.apartment-card-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 2;
    opacity: 0.9;
}
.apartment-card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.apartment-card-dot:hover { background: rgba(255, 255, 255, 0.85); }
.apartment-card-dot.is-active { background: var(--color-gold); transform: scale(1.2); }
/* Card header: title left, booking link right */
.apartment-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px 26px;
}
/* Card title: Poppins, clean SaaS typography */
.apartment-card-title {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-text-dark);
    margin: 0;
    text-align: left;
    line-height: 1.35;
    transition: color 0.2s ease;
    flex: 1;
    min-width: 0;
}
.apartment-card:hover .apartment-card-title {
    color: var(--color-dark-green);
}
/* Book link: right of title, opens reservation URL (custom or default Booking.com) */
.apartment-card-book {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gold);
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--color-gold);
    transition: background 0.2s ease, color 0.2s ease;
}
.apartment-card-book:hover {
    background: var(--color-gold);
    color: var(--color-dark-green);
}
.apartments-cta { padding: 80px 0 120px; }
.apartments-cta .btn-outline { color: #ffffff; }
.apartments-cta .btn-outline:hover { background-color: var(--color-gold); color: var(--color-dark-green); }

@media (max-width: 992px) {
    .apartment-cards { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .apartment-card-thumbnails { padding: 12px; gap: 6px; }
    .apartment-card-thumb { width: 42px; height: 42px; }
}
@media (max-width: 768px) {
    .apartment-cards { grid-template-columns: 1fr; gap: 28px; }
    .apartment-card-gallery { aspect-ratio: 16 / 10; }
    .apartment-card-nav {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        opacity: 1;
    }
    .apartment-card-prev { left: 10px; }
    .apartment-card-next { right: 10px; }
    .apartment-card-thumbnails {
        opacity: 1;
        transform: none;
        pointer-events: auto;
        padding: 10px 12px;
    }
    .apartment-card-thumb { width: 40px; height: 40px; border-radius: 8px; }
    .apartment-card-header { padding: 18px 20px 22px; gap: 12px; }
    .apartment-card-title { font-size: 1.1rem; }
    .apartment-card-book { font-size: 0.75rem; padding: 6px 12px; }
}

/* 9. FOOTER – SaaS-style, clean grid */
.site-footer {
    font-family: var(--font-sans);
    border-top: 1px solid rgba(195, 170, 114, 0.2);
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 48px 40px;
    align-items: start;
    padding-bottom: 48px;
}
.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold);
    opacity: 0.9;
    margin-bottom: 4px;
}
.footer-brand .footer-logo-link {
    display: inline-block;
    margin-bottom: 4px;
}
.footer-brand .footer-logo-link img {
    max-width: 160px;
    height: auto;
}
.footer-logo-text {
    display: none;
    font-size: 1.75rem;
    font-family: var(--font-sans);
}
.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text-light);
    opacity: 0.85;
    max-width: 240px;
}
.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-nav a {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-light);
    opacity: 0.9;
    transition: color 0.2s, opacity 0.2s;
}
.footer-nav a:hover {
    color: var(--color-gold);
    opacity: 1;
}
.footer-address {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-light);
    opacity: 0.9;
    margin: 0;
}
.footer-phone {
    font-size: 0.95rem;
    color: var(--color-text-light);
    opacity: 0.9;
    transition: color 0.2s, opacity 0.2s;
}
.footer-phone:hover {
    color: var(--color-gold);
    opacity: 1;
}
.footer-link-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-link-group + .footer-link-group {
    margin-top: 20px;
}
.footer-link-group-label {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    opacity: 0.75;
}
.footer-link-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-text-light);
    opacity: 0.9;
    transition: color 0.2s, opacity 0.2s;
}
.footer-link-item:hover {
    color: var(--color-gold);
    opacity: 1;
}
.footer-link-icon {
    flex-shrink: 0;
    color: var(--color-gold);
    opacity: 0.9;
}
.footer-link-item:hover .footer-link-icon {
    opacity: 1;
}
.footer-bottom {
    padding: 24px 0 32px;
    border-top: 1px solid rgba(195, 170, 114, 0.12);
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 24px;
}
.footer-copyright,
.footer-rights {
    font-size: 0.8rem;
    color: var(--color-text-light);
    opacity: 0.7;
    margin: 0;
}

/* Footer responsive: tablet – 2 columns */
@media (max-width: 992px) {
    .footer-inner {
        padding: 48px 24px 0;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 32px;
        padding-bottom: 40px;
    }
    .footer-col-address {
        grid-column: 1;
    }
    .footer-col-connect {
        grid-column: 2;
    }
}

/* Footer responsive: mobile – single column, centered */
@media (max-width: 768px) {
    .footer-inner {
        padding: 40px 20px 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-bottom: 36px;
        text-align: center;
    }
    .footer-col {
        align-items: center;
    }
    .footer-tagline {
        max-width: none;
        text-align: center;
    }
    .footer-nav ul {
        align-items: center;
    }
    .footer-address {
        text-align: center;
    }
    .footer-link-group {
        align-items: center;
    }
    .footer-link-item {
        justify-content: center;
    }
    .footer-logo-link img {
        max-width: 140px;
    }
    .footer-bottom-inner {
        justify-content: center;
        text-align: center;
    }
}

/* Footer responsive: very small screens */
@media (max-width: 480px) {
    .footer-inner {
        padding: 32px 16px 0;
    }
    .footer-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 20px;
    }
    .footer-copyright,
    .footer-rights {
        font-size: 0.75rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .main-nav ul { gap: 20px; flex-wrap: wrap; }
    .title-left, .overlapping-text-box { left: 5%; position: relative; top: 0; padding: 20px 0; text-shadow: 1px 1px 5px rgba(0,0,0,0.8);}
    .block-right .story-image-wrap, .block-left .story-image-wrap { width: 100%; border-radius: 20px; }
    .mt-offset { margin-top: 20px; padding-right: 0; text-align: center; }
    .apartments-gallery { grid-template-columns: 1fr; }
    /* Mediterranean block: stone full width on small screens, text stacked */
    .story-block-mediterranean .story-stone-wrap { width: 92%; }
    .story-block-mediterranean .story-stone-bg { border-radius: 24px 24px 0 0; }
    .story-block-mediterranean .title-left { left: 8%; }
    .story-block-mediterranean .story-text-on-stone {
        position: relative; right: auto; bottom: auto; max-width: none;
        padding: 20px 8% 24px; text-align: center;
    }
    /* Oven block: full width on small screens, keep text over image */
    .story-block-oven .story-oven-wrap { width: 92%; }
    .story-block-oven .story-oven-bg { border-radius: 24px 24px 0 0; }
    .story-block-oven .overlapping-text-box.box-left {
        position: absolute;
        left: 8%;
        max-width: 85%;
    }
    .story-block-oven .title-bottom {
        position: absolute;
        left: 8%;
    }
    /* About page: split sections stack on smaller screens */
    .about-split {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .about-split__image { aspect-ratio: 16/10; }
    .about-split--image-left .about-split__content,
    .about-split--image-right .about-split__content { text-align: center; }
}

/* ========================================== */
/* RESPONSIVE: TABLET (768px) – all page templates */
/* ========================================== */
@media (max-width: 768px) {
    .site-header { padding: 20px 0; }
    .main-nav a { font-size: 1.2rem; }
    .container { padding: 0 20px; }
    .container-fluid { padding: 0 20px; }

    /* Hero: front page and inner pages */
    .hero-section { min-height: 600px; height: 100vh; }
    .hero-content { padding: 80px 16px 32px; }
    .hero-logo img { max-width: 200px; }
    .hero-title { font-size: clamp(1.5rem, 5vw, 2.5rem); margin-bottom: 14px; }
    .hero-subtitle { font-size: 1.15rem; }
    .hero-divider { max-width: 280px; margin-bottom: 28px; }
    .about-hero,
    .contact-hero { min-height: 320px; height: 45vh; }
    .about-hero .hero-content,
    .contact-hero .hero-content { padding-top: 80px; padding-left: 16px; padding-right: 16px; }

    /* Story blocks: already adjusted in 992px; tighten on tablet */
    .story-block { margin-bottom: 80px; }
    .story-block-mediterranean { margin-bottom: 50px; }
    .story-block-mediterranean .story-stone-wrap,
    .story-block-oven .story-oven-wrap { width: 92%; }
    .story-block-mediterranean .story-text-on-stone { font-size: 1.05rem; }
    .story-body { max-width: 100%; padding: 0 16px; }
    .story-body-intro { font-size: 1.05rem; }
    .story-menu-list { grid-template-columns: 1fr; gap: 0.25rem 0; }

    /* Building section */
    .building-section { padding: 80px 0 120px; }
    .building-section .building-desc br { display: none; }
    .button-group { margin-top: 28px; gap: 12px; }
    .button-group .btn { min-width: 200px; padding: 10px 24px; font-size: 0.8rem; }

    /* Marina overlap section */
    .marina-section { margin-top: -100px; margin-bottom: -60px; }
    .full-width-overlap-img { width: 95%; }

    /* Apartments section (front page) */
    .apartments-section { padding: 100px 0 60px; }
    .apartments-section .apt-desc-2 br { display: none; }
    .section-title { font-size: clamp(1.75rem, 4vw, 2.25rem); }
    .apartments-gallery { gap: 16px; margin-top: 32px; }

    /* Breakfast section */
    .breakfast-section { padding: 60px 0 80px; }
    .breakfast-inner { grid-template-columns: 1fr; gap: 2rem; }
    .breakfast-content { padding-right: 0; }

    /* About page */
    .about-quote-section { padding: 50px 0; }
    .about-philosophy-section { padding: 30px 0 50px; }
    .about-closing-section { min-height: 40vh; padding: 40px 0 60px; }
    .about-closing { font-size: clamp(1.5rem, 4vw, 2.25rem); }

    /* Contact page */
    .contact-visit-section { padding: 60px 0 50px; }
    .contact-venue-name { font-size: clamp(1.6rem, 5vw, 2.5rem); }
    .contact-address,
    .contact-address-detail { font-size: 1.05rem; }
    .contact-intro { font-size: 1rem; padding: 0 10px; }
    .contact-details-section { padding: 40px 0 50px; }

    /* Private Events page */
    .events-offers-list { margin-top: 60px; padding: 0 16px 40px; }
    .events-tagline-section { padding: 50px 0 60px; }

    /* Apartments archive/page template */
    .apartments-intro { padding: 40px 0 50px; }
    .apartments-tagline { padding: 40px 0 50px; }
    .apartments-cards-section { padding: 50px 0 70px; }
    .apartments-cta { padding: 50px 0 80px; }
}

/* ========================================== */
/* RESPONSIVE: MOBILE (480px) – all page templates */
/* ========================================== */
@media (max-width: 480px) {
    .site-header { padding: 16px 0; }
    .main-nav ul { gap: 8px; }
    .main-nav a { font-size: 1.1rem; letter-spacing: 1px; }
    .container { padding: 0 16px; }
    .container-fluid { padding: 0 16px; }

    .hero-section { min-height: 500px; }
    .hero-content { padding: 70px 12px 24px; }
    .hero-logo img { max-width: 160px; }
    .hero-title { font-size: clamp(1.25rem, 6vw, 1.9rem); margin-bottom: 12px; }
    .hero-subtitle { font-size: 1rem; }
    .hero-divider { max-width: 220px; margin-bottom: 20px; }
    .about-hero,
    .contact-hero { min-height: 280px; height: 40vh; }
    .about-hero .hero-content,
    .contact-hero .hero-content { padding-top: 70px; padding-left: 12px; padding-right: 12px; }
    .contact-page-v2 .contact-hero-compact { min-height: 220px; height: 32vh; }
    .contact-page-v2 .contact-hero-compact .hero-content { padding-top: 56px; padding-left: 12px; padding-right: 12px; }
    .contact-v2-section { padding: 32px 0 48px; }
    .container--contact { padding: 0 16px; }

    .story-block { margin-bottom: 60px; }
    .story-block-mediterranean { margin-bottom: 40px; }
    .building-section { padding: 60px 0 80px; }
    .button-group .btn { min-width: 180px; padding: 10px 20px; font-size: 0.75rem; }
    .marina-section { margin-top: -60px; margin-bottom: -40px; }

    .apartments-section { padding: 70px 0 50px; }
    .apartments-gallery { gap: 12px; margin-top: 24px; }
    .apartments-intro { padding: 30px 0 40px; }
    .breakfast-section { padding: 50px 0 60px; }
    .breakfast-inner { gap: 1.5rem; }
    .apartments-tagline { padding: 30px 0 40px; }
    .apartments-cards-section { padding: 40px 0 50px; }
    .apartments-cta { padding: 40px 0 60px; }

    .about-quote-section { padding: 40px 0; }
    .about-closing-section { padding: 30px 0 40px; }
    .contact-visit-section { padding: 40px 0 36px; }
    .contact-details-section { padding: 30px 0 40px; }
    .events-offers-list { margin-top: 40px; padding: 0 12px 30px; }
    .events-tagline-section { padding: 40px 0 50px; }

    .marquee-content { font-size: 0.8rem; }
}

/* Default main content (single, index, generic pages): responsive container */
main:not(.home-main) {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    box-sizing: border-box;
}
main:not(.home-main) img { max-width: 100%; height: auto; }
@media (max-width: 768px) {
    main:not(.home-main) { padding: 28px 20px 40px; }
}
@media (max-width: 480px) {
    main:not(.home-main) { padding: 20px 16px 32px; }
}

/* 404 page – message and back-to-home link in hero */
.page-404 .hero-404-message {
    margin: 1em 0 1.25em;
    font-size: 1.1rem;
}
.page-404 .hero-404-link {
    margin-top: 0.5em;
}
.page-404 .hero-text-container .btn-outline { color: #ffffff; }
.page-404 .hero-text-container .btn-outline:hover { color: var(--color-dark-green); }



