/* ===== VARIABILI CSS ===== */
:root {
    --primary-color: #005299;
    --primary-dark: #003d75;
    --accent-gold: #ffbe00;
    --accent-gold-dark: #e6a800;
    --dark: #1a1a1a;
    --white: #ffffff;
    --off-white: #f8f9fb;
    --light-gray: #eef2f7;
    --text-gray: #5a6472;
    --text-light: #8fa0b0;
    --border: rgba(0, 82, 153, 0.1);

    --font-heading: 'DM Serif Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 10px;
    --radius-pill: 4px;
    --radius-sm: 6px;
}

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

html {
    scroll-behavior: auto;
    scroll-padding-top: 0 !important;
    overflow-x: clip;
    max-width: 100%;
}

html, body {
    scroll-margin-top: 0 !important;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.85;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
    padding-top: 0 !important;
    margin-top: 0 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Rimuovi margin/padding dal primo elemento dopo body */
body > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#header-placeholder {
    margin-top: 0 !important;
    padding-top: 0 !important;
    max-width: 100%;
    overflow-x: clip;
}

#mainNav.navbar {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
}

#mainNav .navbar-inner {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    #mainNav .navbar-inner {
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }
}

.hero-fullscreen,
.page-header,
.room-hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Rimuovi margin/padding da tutte le sezioni */
section {
    margin-top: 0 !important;
}

section:first-of-type {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-style: italic;
    line-height: 1.15;
    color: var(--primary-color);
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 300;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 300;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 400;
}

h4 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 500;
}

p, li {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-gray);
}

/* ===== NAVIGATION - TRANSPARENT OVERLAY ===== */
.navbar-transparent {
    background: transparent !important;
    padding: 1.5rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0 !important;
}

/* Previeni padding-top automatico di Bootstrap per navbar fixed */
body {
    padding-top: 0 !important;
}

.navbar-transparent.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
    position: static;
    transform: none;
}

/* Desktop: wrapper trasparente al layout */
@media (min-width: 992px) {
    .navbar-top-bar {
        display: contents;
    }
}

/* Mobile / tablet: barra logo fissa, menu sotto */
@media (max-width: 991px) {
    #mainNav.navbar {
        overflow-x: clip;
    }

    #mainNav .navbar-inner,
    #mainNav .container-fluid {
        flex-wrap: wrap;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: clamp(0.85rem, 2.5vw, 1.15rem) !important;
        padding-right: clamp(0.85rem, 2.5vw, 1.15rem) !important;
        box-sizing: border-box;
    }

    .navbar-transparent {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .navbar-transparent.scrolled {
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }

    .navbar-logo {
        height: clamp(44px, 11vw, 56px);
        width: auto;
        max-width: min(200px, 46vw);
    }

    .navbar-top-bar {
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 100%;
        min-height: 64px;
        position: relative;
        flex-shrink: 0;
        z-index: 1032;
        box-sizing: border-box;
        overflow: visible;
    }

    .navbar-top-bar .btn-lang {
        flex-shrink: 0;
        position: relative;
        z-index: 2;
    }

    .navbar-top-bar .navbar-toggler {
        margin-left: auto;
        flex-shrink: 0;
        position: relative;
        z-index: 2;
    }

    .navbar-top-bar .navbar-brand {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0 !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .navbar-collapse {
        width: 100%;
        max-width: 100%;
        flex-basis: 100%;
        box-sizing: border-box;
        overflow-x: clip;
    }

    .navbar-collapse.show {
        position: relative;
        z-index: 1031;
    }

    /* Menu aperto: full width, testi grandi, allineati a sinistra */
    body.navbar-menu-open {
        overflow: hidden;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
    }

    body.navbar-menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        width: 100%;
        max-width: 100%;
        background: rgba(0, 61, 117, 0.92);
        z-index: 1030;
        pointer-events: none;
    }

    #mainNav .navbar-nav {
        align-items: flex-start !important;
        width: 100%;
        padding: 1.25rem 0 2rem;
        gap: 0.15rem;
        margin-left: 0 !important;
    }

    #mainNav .navbar-nav .nav-item {
        width: 100%;
    }

    #mainNav .navbar-nav .nav-link {
        font-size: 1.2rem;
        font-weight: 400;
        padding: 0.95rem 0;
        text-align: left;
        width: 100%;
        letter-spacing: 0.04em;
    }

    #mainNav .custom-dropdown-toggle {
        justify-content: flex-start;
        text-align: left;
        width: 100%;
    }

    #mainNav .custom-dropdown-menu {
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
        min-width: auto !important;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    #mainNav .custom-dropdown.active .custom-dropdown-menu {
        max-height: 500px;
        padding: 0.35rem 0 0.5rem 0;
    }

    #mainNav .custom-dropdown-item {
        font-size: 1.05rem;
        padding: 0.8rem 0 0.8rem 1.25rem;
        color: var(--white) !important;
        text-align: left;
    }

    #mainNav .custom-dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--white) !important;
    }

    #mainNav .navbar-transparent.scrolled .custom-dropdown-item {
        color: var(--dark) !important;
    }

    #mainNav .navbar-transparent.scrolled .custom-dropdown-item:hover {
        background: rgba(0, 0, 0, 0.08) !important;
        color: var(--dark) !important;
    }

    #mainNav .navbar-transparent.scrolled .custom-dropdown-toggle {
        color: var(--dark) !important;
    }

    #mainNav .btn-book {
        margin: 1.25rem 0 0;
        margin-left: 0 !important;
        display: inline-block;
        text-align: left;
        font-size: 1rem;
        padding: 0.8rem 1.85rem;
        width: auto;
    }

    body.navbar-menu-open #mainNav .navbar-nav .nav-link,
    body.navbar-menu-open #mainNav .custom-dropdown-toggle,
    body.navbar-menu-open #mainNav .custom-dropdown-item {
        color: var(--white) !important;
    }

    body.navbar-menu-open #mainNav .custom-dropdown-item:hover {
        background: rgba(255, 255, 255, 0.12) !important;
        color: var(--white) !important;
    }

    body.navbar-menu-open #mainNav .btn-book {
        border-color: rgba(255, 255, 255, 0.85);
        color: var(--white) !important;
    }
}

.navbar-logo {
    height: 64px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.navbar-transparent.scrolled .navbar-logo {
    height: 56px;
}

.navbar-nav {
    gap: 0.5rem;
    list-style: none;
}

.navbar-nav .nav-item {
    list-style: none;
}

.navbar-nav .nav-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--white) !important;
    padding: 0.5rem 1.1rem;
    transition: var(--transition);
    position: relative;
}

/* Custom Dropdown */
.nav-item.custom-dropdown {
    position: relative;
}

.custom-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.custom-dropdown-arrow {
    font-size: 0.6rem;
    margin-left: 3px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.custom-dropdown.active .custom-dropdown-arrow {
    transform: rotate(-180deg);
}

.custom-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    border-radius: var(--radius);
    margin-top: 0.5rem;
    min-width: 200px;
    list-style: none !important;
    margin-left: 0;
    padding-left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.custom-dropdown-menu li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.custom-dropdown.active .custom-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-dropdown-item {
    font-size: 0.85rem;
    padding: 0.4rem 2rem;
    color: var(--dark);
    transition: var(--transition);
    text-decoration: none;
    display: block;
    list-style: none !important;
}

.custom-dropdown-item:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

.navbar-transparent.scrolled .navbar-nav .nav-link {
    color: var(--dark) !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    opacity: 0.7;
}

.btn-book {
    display: inline-block;
    padding: 0.55rem 1.6rem;
    border: 1px solid rgba(255,255,255,0.75);
    border-radius: var(--radius-pill);
    color: var(--white) !important;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
    background: transparent;
    margin-left: 1.2rem;
}

.btn-book:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--dark) !important;
}

.navbar-transparent.scrolled .btn-book {
    border-color: var(--accent-gold);
    color: var(--dark) !important;
    background: var(--accent-gold);
}

.navbar-transparent.scrolled .btn-book:hover {
    background: var(--accent-gold-dark);
    border-color: var(--accent-gold-dark);
    color: var(--dark) !important;
}

.dropdown-menu {
    background: var(--white);
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    border-radius: 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    font-size: 0.85rem;
    padding: 0.75rem 1.5rem;
    color: var(--dark);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

/* Hamburger menu custom (no bordo/outline Bootstrap) — solo mobile */
@media (min-width: 992px) {
    .navbar-expand-lg .hamburger-btn.navbar-toggler {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .hamburger-btn.navbar-toggler {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

.hamburger-btn.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
    outline: none;
    background: transparent;
    padding: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    transition: background-color 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.hamburger-btn.navbar-toggler:focus,
.hamburger-btn.navbar-toggler:active {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.hamburger-btn.navbar-toggler:focus-visible {
    outline: 2px solid var(--accent-gold) !important;
    outline-offset: 3px;
    box-shadow: none !important;
}

.hamburger-btn:hover {
    background-color: rgba(255, 255, 255, 0.14);
}

.navbar-transparent.scrolled .hamburger-btn:hover {
    background-color: rgba(0, 61, 117, 0.08);
}

.hamburger-box {
    position: relative;
    display: block;
    width: 1.5rem;
    height: 1.125rem;
}

.hamburger-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition:
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.2s ease,
        top 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.3s ease;
}

.hamburger-line:nth-child(1) {
    top: 0;
}

.hamburger-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-line:nth-child(3) {
    bottom: 0;
}

.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%) scaleX(0);
}

.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.navbar-transparent.scrolled .hamburger-line {
    background-color: var(--dark);
}

body.navbar-menu-open .hamburger-line {
    background-color: #fff;
}

body.navbar-menu-open .hamburger-btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

/* ===== HERO FULL SCREEN ===== */
.hero-fullscreen {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130%;
    z-index: 1;
    will-change: transform;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 20, 60, 0.55) 0%, 
        rgba(0, 30, 80, 0.2) 45%, 
        rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.hero-fullscreen-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.hero-text h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 400;
    margin-bottom: 1.2rem;
    color: var(--white);
    font-style: normal;
    text-transform: uppercase;
}

.hero-text p {
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    font-weight: 300;
    text-transform: uppercase;
    opacity: 0.8;
    color: var(--white);
}

.scroll-down {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.25s ease, opacity 0.25s ease;
}

.scroll-down:hover {
    border-color: var(--accent-gold);
    opacity: 0.9;
}

.scroll-down span {
    width: 4px;
    height: 10px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll-animation 2s infinite;
}

@keyframes scroll-animation {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
    }
    80% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 0;
    }
}

/* ===== SECTIONS - FULL WIDTH STYLE ===== */
section {
    padding: 0;
    margin: 0;
}

/* Previeni scroll automatico da anchor */
section[id],
div[id],
a[id] {
    scroll-margin-top: 0 !important;
}

.stay-section,
.restaurant-section,
.spa-section {
    min-height: 100vh;
    margin-bottom: 0.5rem;
}

.stay-image,
.restaurant-image,
.spa-image {
    height: 100vh;
    overflow: hidden;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.col-lg-6.order-lg-2 .restaurant-image {
    border-radius: var(--radius) 0 0 var(--radius);
}

.stay-image img,
.restaurant-image img,
.spa-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.stay-image:hover img,
.restaurant-image:hover img,
.spa-image:hover img {
    transform: scale(1.05);
}

.stay-content,
.restaurant-content,
.spa-content {
    padding: 8rem 6rem;
}

.stay-content h2,
.restaurant-content h2,
.spa-content h2 {
    margin-bottom: 2rem;
}

.stay-description,
.restaurant-description,
.spa-description {
    font-family: var(--font-body);
    line-height: 2;
    color: var(--text-gray);
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 480px;
}

/* ===== BUTTONS ===== */
.btn-outline-dark {
    display: inline-block;
    padding: 0.9rem 2.8rem;
    border: 1px solid var(--primary-color);
    border-radius: var(--radius-pill);
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-light-outline {
    display: inline-block;
    padding: 0.9rem 2.8rem;
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: var(--radius-pill);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
    background: transparent;
}

.btn-light-outline:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--dark);
}

/* ===== POOL SECTION ===== */
.pool-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pool-fullwidth-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.pool-fullwidth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pool-content-overlay {
    position: relative;
    z-index: 2;
    padding: 5rem 2rem;
    background: rgba(0, 30, 70, 0.35);
    backdrop-filter: blur(2px);
}

.pool-content-overlay h2 {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--white);
}

.pool-content-overlay p {
    font-weight: 300;
    line-height: 2;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--white);
    opacity: 0.9;
}

/* ===== GALLERY PREVIEW ===== */
.gallery-preview {
    padding: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    background: var(--off-white);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== CONCIERGE SECTION ===== */
.concierge-section {
    padding: 8rem 2rem;
    background: var(--light-gray);
}

.concierge-section h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 300;
}

.concierge-section .lead {
        font-size: 1.1rem;
    color: var(--text-gray);
}

.concierge-item {
    text-align: center;
    padding: 4rem 2rem;
}

.concierge-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.concierge-item p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===== CONTACT CTA ===== */
.contact-cta {
    padding: 8rem 2rem;
    background: var(--primary-color);
    text-align: center;
}

.contact-cta h2 {
    color: var(--white);
}

.contact-cta .lead {
    color: rgba(255, 255, 255, 0.75);
}

.cta-phone,
.cta-email {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 300;
    margin-bottom: 0.75rem;
}

.cta-phone a,
.cta-email a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.cta-phone a:hover,
.cta-email a:hover {
    color: var(--accent-gold);
}

.btn-contact {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.9rem 3rem;
    border: none;
    border-radius: var(--radius-pill);
    background: var(--accent-gold);
    color: var(--dark);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
}

.btn-contact:hover {
    background: var(--accent-gold-dark);
    color: var(--dark);
}

/* ===== FOOTER MAIN ===== */
.footer-main {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.75);
    font-family: var(--font-body);
}

.footer-top {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    height: 52px;
    width: auto;
    display: block;
}

.footer-tagline {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--dark);
}

.footer-col-title {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1.4rem;
    font-style: normal;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

.footer-contact-list i {
    color: var(--accent-gold);
    font-size: 0.8rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-contact-list a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-list a:hover { color: var(--accent-gold); }

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-nav-list a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav-list a:hover { color: var(--accent-gold); }

.footer-cta-text {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.footer-cta-btn {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    background: var(--accent-gold);
    color: var(--dark);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.footer-cta-btn:hover {
    background: var(--accent-gold-dark);
    color: var(--dark);
}

.footer-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 0;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
}

.footer-bottom-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.footer-copyright {
    margin: 0;
    line-height: 1.6;
}

.footer-credit {
    margin: 0;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
}

.footer-credit a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-credit a:hover {
    color: var(--accent-gold);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ===== ROOMS PAGE STYLES ===== */
.rooms-intro {
    padding: 6rem 0;
}

.room-showcase {
    min-height: 0;
    margin-bottom: 0.5rem;
}

.room-showcase-image {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.col-lg-6.order-lg-2 .room-showcase-image {
    border-radius: var(--radius) 0 0 var(--radius);
}

.room-showcase-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.room-showcase-image:hover img {
    transform: scale(1.05);
}

.room-showcase-content {
    padding: 3.5rem 4rem;
}

.room-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 0.6rem;
}

.room-showcase h2 {
    margin-bottom: 0.9rem;
}

.room-showcase-description {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-gray);
    margin-bottom: 1.2rem;
    max-width: 480px;
}

.room-features-list {
    margin-bottom: 1.2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-item:last-child,
.feature-item:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 0.95rem;
    width: 18px;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.82rem;
    color: var(--text-gray);
}

.room-price-display {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 2rem 0;
}

.price-from {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.price-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 400;
}

.price-period {
    font-size: 0.95rem;
    color: var(--text-gray);
}

.amenities-section {
    padding: 10rem 0;
}

.amenity-box {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.amenity-box:hover {
    transform: translateY(-5px);
}

.amenity-box i {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 1.4rem;
    display: block;
}

.amenity-box h5 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    color: var(--primary-color);
}

.amenity-box p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-gray);
    margin: 0;
}

.bg-light-custom {
    background-color: var(--light-gray);
}

/* ===== PAGE HEADER (per altre pagine) ===== */
.page-header {
    height: 72vh;
    min-height: 560px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 20, 60, 0.4) 0%,
        rgba(0, 30, 80, 0.55) 50%,
        rgba(0, 20, 60, 0.4) 100%
    );
}

.page-header-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: 0 1.5rem;
}

.page-header-content h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: var(--white);
    margin-bottom: 1.2rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.1;
}

/* Linea decorativa tra titolo e sottotitolo */
.page-header-content h1::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
    margin: 1.2rem auto 0;
}

/* Hero pagina Camere: solo titolo e sottotitolo, senza linea dorata */
.page-header--camere .page-header-content h1::after {
    display: none;
}

.page-header--camere .page-header-content h1 {
    margin-bottom: 0;
}

.page-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 300;
    text-transform: uppercase;
    color: var(--white) !important;
    opacity: 0.85;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* ===== BEACH, SPORT & LOCATION SECTIONS ===== */
.beach-section,
.location-section {
    min-height: 100vh;
    margin-bottom: 3rem;
}

.beach-image,
.location-image {
    height: 100vh;
    overflow: hidden;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.col-lg-6.order-lg-2 .location-image {
    border-radius: var(--radius) 0 0 var(--radius);
}

.beach-image img,
.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.beach-image:hover img,
.location-image:hover img {
    transform: scale(1.05);
}

.beach-content,
.location-content {
    padding: 8rem 6rem;
}

.beach-content h2,
.location-content h2 {
    margin-bottom: 2rem;
}

.beach-description,
.location-description {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 2;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 480px;
}

.sport-section {
    padding: 8rem 2rem;
    background: var(--light-gray);
}

.sport-section h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 300;
}

.sport-section .lead {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-gray);
}

.sport-item {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    transition: var(--transition);
    border-top: 3px solid transparent;
    height: 100%;
}

.sport-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 82, 153, 0.1);
    border-top-color: var(--accent-gold);
}

.sport-item i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

.sport-item h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.sport-item p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-gray);
    line-height: 1.8;
    margin: 0;
}

/* ===== ROOM DETAIL PAGE ===== */
.room-hero {
    height: 72vh;
    min-height: 560px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.room-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 20, 60, 0.4) 0%,
        rgba(0, 30, 80, 0.55) 50%,
        rgba(0, 20, 60, 0.4) 100%
    );
}

.room-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: 0 1.5rem;
}

.room-category {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    color: var(--accent-gold);
}

.room-hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: var(--white);
    margin-bottom: 0;
    font-weight: 400;
    font-style: italic;
    line-height: 1.1;
}

/* Linea decorativa */
.room-hero-content h1::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
    margin: 1.2rem auto 0;
}

/* Hero pagine camera: solo titolo e sottotitolo */
.room-hero .room-hero-content h1::after {
    display: none;
}

.room-hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 300;
    text-transform: uppercase;
    color: var(--white) !important;
    opacity: 0.8;
    margin-top: 1rem;
    margin-bottom: 0;
}

.room-details-section {
    padding: 5rem 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    background-size: 50%;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.room-gallery {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
}

.room-gallery .carousel-inner,
.room-gallery [data-gallery-item] {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.room-gallery .carousel-item {
    position: relative;
    height: 100%;
    min-height: 100%;
}

.room-gallery .carousel-item img,
.room-gallery [data-gallery-item] img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.carousel-image-clickable {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.carousel-image-clickable:hover {
    transform: scale(1.02);
}

.carousel-item {
    position: relative;
}

.gallery-hint {
    color: var(--text-gray);
    font-style: italic;
    margin-top: 1rem;
}

.gallery-hint i {
    color: var(--primary-color);
}

.room-description {
    margin-top: 3rem;
}

.room-description h2,
.room-amenities-detailed h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.room-description p,
.room-description .lead {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.amenity-detailed {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.1rem 1.25rem;
    background: var(--light-gray);
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.amenity-detailed:hover {
    background: #e8e8e8;
}

.amenity-detailed i {
    font-size: 1.5rem;
    color: var(--accent-gold);
    min-width: 26px;
}

.amenity-detailed h5 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.amenity-detailed p {
    font-size: 0.88rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

.booking-sidebar {
    top: 120px;
}

.booking-card {
    background: var(--white);
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #e8e8e8;
    border-radius: var(--radius);
}

.room-price-large {
    text-align: center;
    padding: 2rem 0;
}

.price-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.price-amount {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary-color);
    font-weight: 400;
    line-height: 1;
}

.price-period {
    display: block;
    font-size: 1rem;
    color: var(--text-gray);
    margin-top: 0.25rem;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e8e8e8;
}

.quick-info-item:last-child {
    border-bottom: none;
}

.quick-info-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
}

.quick-info-item span {
    font-size: 0.95rem;
}

.room-card-horizontal {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-radius: var(--radius);
    transition: var(--transition);
    overflow: hidden;
}

.room-card-horizontal .row > [class*="col-"]:first-child {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    min-height: 0;
}

.room-card-horizontal .row > [class*="col-"]:first-child img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.room-card-horizontal:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.room-card-horizontal .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.room-card-horizontal .card-body h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.room-card-horizontal .card-body p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.room-price-small {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.room-price-small .price {
    font-size: 2rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.room-price-small .period {
    color: var(--text-gray);
}

/* ===== SERVICE DETAIL SECTIONS ===== */
.service-detail-section {
    min-height: 100vh;
    margin-bottom: 0.5rem;
}

.service-image {
    height: 100vh;
    overflow: hidden;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.col-lg-6.order-lg-2 .service-image {
    border-radius: var(--radius) 0 0 var(--radius);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

.service-content-detail {
    padding: 6rem 5rem;
}

.service-content-detail h2 {
    margin-bottom: 2.5rem;
}

.service-description-detail {
    line-height: 2;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.service-features-list {
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.service-feature:last-child {
    border-bottom: none;
}

.service-feature i {
    color: var(--accent-gold);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.service-feature span {
    font-size: 0.88rem;
    color: var(--text-gray);
}

.service-hours-box {
    background: var(--light-gray);
    padding: 1.5rem;
    border-left: 3px solid var(--accent-gold);
}

.service-hours-box h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* ===== SPORT & ANIMATION ===== */
.sport-activities {
    padding: 10rem 0;
}

.sport-card {
    text-align: center;
    padding: 3.5rem 2rem;
    background: var(--white);
    border-radius: var(--radius);
    transition: var(--transition);
    height: 100%;
    border-bottom: 1px solid var(--border);
}

.sport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 82, 153, 0.08);
}

.sport-card i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.4rem;
    display: block;
}

.sport-card h4 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: var(--primary-color);
}

.sport-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.sport-card li {
    padding: 0.55rem 0.25rem;
    color: var(--text-gray);
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.sport-card li:nth-last-child(-n+2):not(:nth-last-child(-n+2) ~ li) {
    border-bottom: none;
}

.sport-card li:last-child {
    border-bottom: none;
}

.animation-section {
    padding: 10rem 0;
}

.animation-item {
    margin-bottom: 0;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--border);
}

.animation-item:last-child {
    border-bottom: none;
}

.animation-item h5 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: var(--primary-color);
}

.animation-item h5 i {
    color: var(--accent-gold);
}

.animation-item p {
    color: var(--text-gray);
    font-size: 0.88rem;
    line-height: 1.75;
    margin: 0;
}

.animation-image img {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* ===== OFFERS PAGE ===== */
.offers-intro {
    padding: 6rem 0;
}

.offer-detail {
    min-height: 100vh;
    margin-bottom: 0.5rem;
}

.offer-image {
    position: relative;
    height: 100vh;
    overflow: hidden;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.col-lg-6.order-lg-2 .offer-image {
    border-radius: var(--radius) 0 0 var(--radius);
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.offer-image:hover img {
    transform: scale(1.05);
}

.offer-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--accent-gold);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.offer-content-detail {
    padding: 6rem 5rem;
}

.offer-label {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.offer-content-detail h2 {
    margin-bottom: 2rem;
}

.offer-description-detail {
    line-height: 2;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.offer-includes h5 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.offer-includes ul {
    list-style: none;
    padding: 0;
}

.offer-includes li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.offer-includes i {
    color: var(--primary-color);
}

.offer-validity {
    background: var(--light-gray);
    padding: 1.5rem;
    margin-top: 2rem;
}

.offer-validity p {
    margin-bottom: 0.5rem;
}

.offers-info {
    padding: 8rem 0;
}

.offers-info h3 {
    font-size: 2rem;
}

.terms-section {
    padding: 6rem 0;
}

.terms-section h4 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.terms-list {
    list-style: disc;
    padding-left: 2rem;
}

.terms-list li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===== CONTACT PAGE ===== */
.contact-main-section {
    padding: 8rem 0;
}

.contact-main-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.contact-intro-lead {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-gray);
}

/* Form nascosto — ripristino futuro */
.contact-form-archive {
    display: none !important;
}

.contact-cards-grid {
    margin-top: 0;
}

.contact-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.contact-card {
    height: 100%;
    padding: 2rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
}

.contact-card-link:hover .contact-card,
.contact-card-link:focus-visible .contact-card {
    border-color: var(--accent-gold);
    box-shadow: 0 8px 28px rgba(0, 82, 153, 0.1);
    transform: translateY(-3px);
}

.contact-card-link:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
    border-radius: var(--radius);
}

.contact-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    transition: background 0.25s ease;
}

.contact-card-link:hover .contact-card-icon {
    background: var(--accent-gold);
    color: var(--dark);
}

.contact-card h5 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.contact-card p {
    margin: 0 0 1.25rem;
    color: var(--text-gray);
    line-height: 1.75;
    font-size: 0.9rem;
    flex-grow: 1;
}

.contact-card-highlight {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-card-link:hover .contact-card-highlight {
    color: var(--primary-dark);
}

.contact-card-action {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
}

.contact-card-action i {
    font-size: 0.65rem;
    transition: transform 0.25s ease;
}

.contact-card-link:hover .contact-card-action i {
    transform: translateX(3px);
}

.contact-card--static {
    cursor: default;
}

.contact-card-social {
    display: flex;
    gap: 0.65rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.contact-card-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--primary-color);
    background: var(--light-gray);
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.contact-card-social a:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--dark);
}

.reach-section .text-center.mb-5 {
    margin-bottom: 4rem !important;
}

.contact-main-section > .container > .row > div > p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 2rem;
}

.contact-info-box h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.contact-details-detail h5 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.contact-info-item-detail {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon-detail {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}


.contact-details-detail p {
    margin: 0;
    color: var(--text-gray);
    line-height: 1.8;
}

.contact-details-detail a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details-detail a:hover {
    color: var(--primary-dark);
}

.social-links-contact {
    display: flex;
    gap: 1rem;
}

.social-links-contact a {
    width: 45px;
    height: 45px;
        background: var(--light-gray);
    color: var(--primary-color);
    border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    font-size: 1.2rem;
        text-decoration: none;
    transition: var(--transition);
    }
    
.social-links-contact a:hover {
        background: var(--primary-color);
        color: var(--white);
    transform: translateY(-3px);
}

.map-container iframe {
    width: 100%;
    height: 500px;
    border: 0;
}

.reach-section {
    padding: 10rem 0;
}

.reach-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.reach-section .lead {
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.reach-card-detail {
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: var(--radius);
    transition: var(--transition);
}

.reach-card-detail:hover {
    transform: translateY(-5px);
}

.reach-icon-detail {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
        font-size: 2rem;
    }
    
.reach-card-detail h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.reach-card-detail p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===== FORM STYLES ===== */
.form-floating > .form-control,
.form-floating > .form-select {
    border: none;
    border-bottom: 1px solid #d1d1d1;
    border-radius: 0;
    padding: 1.2rem 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    background: transparent;
    color: var(--dark);
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: none;
    background: transparent;
}

.form-floating > label {
    padding: 1.2rem 0;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-gray);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    color: var(--primary-color);
}

/* Select con label sopra (fix sovrappossizione Bootstrap floating) */
.form-group-clean {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label-clean {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-gray);
    margin: 0;
}

.form-select-clean {
    border: none;
    border-bottom: 1px solid #d1d1d1;
    border-radius: 0;
    padding: 0.6rem 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--dark);
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236b6b6b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.2rem center;
    background-size: 14px 10px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
    min-height: 42px;
}

.form-select-clean:focus {
    border-color: var(--primary-color);
    box-shadow: none;
    outline: none;
    background-color: transparent;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary-custom {
    background-color: var(--accent-gold);
    color: var(--dark);
    border: 1px solid var(--accent-gold);
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background-color: var(--accent-gold-dark);
    border-color: var(--accent-gold-dark);
    color: var(--dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--radius-pill);
    padding: 0.75rem 2rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 3rem;
    font-size: 0.9rem;
}

.rounded-custom {
    border-radius: 0;
}

.object-cover {
    object-fit: cover;
}

.other-rooms {
    padding: 5rem 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .stay-content,
    .restaurant-content,
    .beach-content,
    .location-content {
        padding: 2.5rem clamp(1rem, 4vw, 1.5rem) 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .concierge-section {
        padding: 5rem 2rem;
    }
    
    .contact-cta {
        padding: 5rem 2rem;
    }
}

@media (max-width: 767px) {
    h2 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
    h3 { font-size: clamp(1.3rem, 5vw, 1.8rem); }

    #mainNav .container-fluid {
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
    }

    .navbar-transparent {
        background: transparent !important;
    }

    #mainNav .navbar-nav .nav-link {
        font-size: 1.28rem;
        padding: 1rem 0;
    }

    #mainNav .custom-dropdown-item {
        font-size: 1.1rem;
        padding-left: 1.35rem;
    }

    #mainNav .btn-book {
        font-size: 1.05rem;
        padding: 0.85rem 2rem;
    }

    .nav-item.custom-dropdown {
        position: static;
    }

    .custom-dropdown-arrow {
        margin-top: -3px;
    }

    .hero-text h1 {
    }
    
    .stay-image,
    .restaurant-image,
    .beach-image,
    .location-image {
        height: 56vw;
        min-height: 240px;
        max-height: 360px;
    }
    
    .stay-content,
    .restaurant-content,
    .beach-content,
    .location-content {
        padding: 2.5rem 1.5rem 3rem;
    }
    
    .sport-section {
        padding: 5rem 2rem;
    }
    
    .service-content-detail,
    .offer-content-detail {
        padding: 2.5rem 1.5rem 3rem;
    }
    
    .service-image,
    .offer-image {
        height: 56vw;
        min-height: 240px;
        max-height: 360px;
    }
    
    .room-showcase-content {
        padding: 2.5rem 1.5rem 3rem;
    }
    
    .room-showcase-image {
        height: 55vw;
        min-height: 280px;
        max-height: 480px;
    }
    
    .booking-sidebar {
        position: static;
        margin-top: 3rem;
    }
    
    .sport-activities {
        padding: 5rem 2rem;
    }
    
    .animation-section {
        padding: 5rem 2rem;
    }

    .sport-card ul {
        grid-template-columns: 1fr;
    }

    .service-features-list {
        grid-template-columns: 1fr;
    }
    
    .service-image,
    .offer-image {
        height: 50vh;
    }
    
    .room-hero {
        height: 55vw;
        min-height: 260px;
        max-height: 400px;
    }
    
    
    .offers-info {
        padding: 5rem 2rem;
    }
    
    .terms-section {
        padding: 4rem 2rem;
    }
    
    .contact-main-section {
        padding: 4rem 2rem;
    }
    
    .reach-section {
        padding: 5rem 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    #mainNav .navbar-nav .nav-link {
        font-size: 1.32rem;
    }

    #mainNav .custom-dropdown-item {
        font-size: 1.12rem;
    }
}

/* ===== TEXT UTILITIES ===== */
.text-muted {
    color: var(--text-gray) !important;
}

/* ===== STICKY TOP FIX ===== */
.sticky-top {
    position: sticky;
}

/* ===== CONTAINER UTILITIES ===== */
.container-fluid {
    width: 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

/* ===== UTILITY CLASSES ===== */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.w-100 {
    width: 100%;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ===== MOBILE ACTION BAR ===== */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    z-index: 9999;
    background: var(--primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.mobile-action-bar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.25rem 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.52rem;
    font-weight: 400;
    text-transform: uppercase;
    gap: 0.3rem;
    transition: background 0.18s ease, color 0.18s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.mobile-action-bar a:last-child {
    border-right: none;
    background: var(--accent-gold);
    color: var(--dark);
}

.mobile-action-bar a:not(:last-child):active {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.mobile-action-bar a:last-child:active {
    background: var(--accent-gold-dark);
    color: var(--dark);
}

.mobile-action-bar i {
    font-size: 1rem;
    line-height: 1;
}

/* ===== LANGUAGE BUTTON & MODAL ===== */
.btn-lang {
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.4rem 0.6rem;
    opacity: 0.85;
    transition: opacity 0.3s, color 0.3s;
    text-transform: uppercase;
}

.btn-lang:hover { opacity: 1; }

.navbar-transparent.scrolled .btn-lang {
    color: var(--dark);
}

.btn-lang i { font-size: 0.9rem; }

.lang-current {
    font-size: 0.65rem;
    font-weight: 600;
}

.lang-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
    backdrop-filter: blur(2px);
}

.lang-modal-backdrop.active { display: block; }

.lang-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem 2rem 2rem;
    z-index: 9999;
    min-width: 260px;
    max-width: calc(100vw - 2rem);
    width: min(320px, calc(100vw - 2rem));
    box-sizing: border-box;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0;
}

.lang-modal.active {
    display: block;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.lang-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 0.9rem;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
}

.lang-modal-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.lang-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--dark);
    text-align: left;
    text-decoration: none;
    transition: background 0.2s;
}

.lang-option:hover { background: var(--light-gray); }

.lang-option.active {
    background: var(--light-gray);
    color: var(--primary-color);
    font-weight: 500;
}

.lang-flag { font-size: 1.2rem; }

/* ===== MOBILE LAYOUT IMPROVEMENTS ===== */
@media (max-width: 991px) {
    /* Anti-overflow globale su tablet e mobile */
    main,
    section,
    .container,
    .container-fluid,
    .row,
    [class*="col-"] {
        max-width: 100%;
    }

    .row {
        max-width: 100%;
        --bs-gutter-x: 1.25rem;
    }

    .container-fluid.px-0 > .row {
        --bs-gutter-x: 0;
    }

    img,
    video,
    iframe,
    svg,
    .hero-image,
    .navbar-logo,
    .footer-logo {
        max-width: 100%;
    }

    .hero-fullscreen,
    .page-header,
    .room-hero,
    .pool-section,
    .gallery-preview,
    .gallery-grid,
    .map-container,
    .map-container iframe {
        max-width: 100%;
        overflow-x: clip;
    }

    .service-content-detail,
    .room-showcase-content,
    .offer-content-detail,
    .contact-main-section .container,
    .rooms-intro .container {
        box-sizing: border-box;
    }

    .footer-main .container-fluid {
        padding-left: clamp(0.85rem, 2.5vw, 1.15rem) !important;
        padding-right: clamp(0.85rem, 2.5vw, 1.15rem) !important;
    }

    /* Mostra la barra mobile e aggiungi spazio sotto */
    .mobile-action-bar {
        display: flex;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    body {
        padding-bottom: 62px !important;
    }

    /* Sezioni full-height: riduci su tablet */
    .stay-section,
    .restaurant-section,
    .beach-section,
    .location-section,
    .service-detail-section,
    .offer-detail,
    .room-showcase {
        min-height: auto;
    }

    .stay-image, .restaurant-image, .beach-image, .location-image,
    .service-image, .offer-image, .room-showcase-image,
    .col-lg-6.order-lg-2 .restaurant-image,
    .col-lg-6.order-lg-2 .location-image,
    .col-lg-6.order-lg-2 .service-image,
    .col-lg-6.order-lg-2 .offer-image,
    .col-lg-6.order-lg-2 .room-showcase-image {
        border-radius: 0;
    }

    .stay-image,
    .restaurant-image,
    .beach-image,
    .location-image {
        height: 55vw;
        min-height: 280px;
        max-height: 480px;
    }

    /* Pool section */
    .pool-section {
        min-height: 70vw;
    }
}

@media (max-width: 767px) {
    /* Reset min-height su tutte le sezioni stacked */
    .stay-section,
    .restaurant-section,
    .beach-section,
    .location-section,
    .service-detail-section,
    .offer-detail,
    .room-showcase {
        min-height: auto;
    }

    .stay-image,
    .restaurant-image,
    .beach-image,
    .location-image {
        height: 56vw;
        min-height: 240px;
        max-height: 360px;
    }

    /* Contenuto sezioni */
    .stay-content,
    .restaurant-content,
    .beach-content,
    .location-content {
        padding: 2.5rem 1.5rem 3rem;
    }

    .stay-content h2,
    .restaurant-content h2,
    .beach-content h2,
    .location-content h2 {
        margin-bottom: 1rem;
    }

    .stay-description,
    .restaurant-description,
    .beach-description,
    .location-description {
        line-height: 1.75;
        margin-bottom: 1.8rem;
    }

    /* Pool section */
    .pool-section {
        min-height: 70vw;
    }

    .pool-content-overlay {
        padding: 2.5rem 1.5rem;
    }

    .pool-content-overlay h2 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .pool-content-overlay p {
        font-size: 0.88rem;
        line-height: 1.7;
        margin-bottom: 2rem;
    }

    /* Hero homepage */
    .hero-text h1 {
        font-size: clamp(2rem, 9vw, 3.5rem);
    }

    .hero-text p {
        font-size: 0.68rem;
    }

    /* Page hero interno */
    .page-header {
        height: 55vw;
        min-height: 280px;
        max-height: 420px;
        background-attachment: scroll;
    }

    .page-header-content h1 {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }

    .page-subtitle {
        font-size: 0.65rem;
    }

    /* Sport section */
    .sport-section {
        padding: 3.5rem 1.5rem;
    }

    .sport-item {
        padding: 1.5rem 1rem;
    }

    .sport-item h4 {
        font-size: 0.85rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
    }

    /* Room showcase */
    .room-showcase-content {
        padding: 2.5rem 1.5rem 3rem;
    }

    .room-showcase-content h2 {
        margin-bottom: 0.75rem;
    }

    .room-features-list {
        grid-template-columns: 1fr;
    }

    .room-showcase-image {
        height: 56vw;
        min-height: 240px;
        max-height: 360px;
    }

    /* Room hero */
    .room-hero {
        height: 55vw;
        min-height: 260px;
        max-height: 400px;
        background-attachment: scroll;
    }

    .room-hero-content h1 {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }

    /* Servizi */
    .service-image,
    .offer-image {
        height: 56vw;
        min-height: 240px;
        max-height: 360px;
    }

    .service-content-detail,
    .offer-content-detail {
        padding: 2.5rem 1.5rem 3rem;
    }

    .service-content-detail h2,
    .offer-content-detail h2 {
        margin-bottom: 0.8rem;
    }

    .service-description-detail,
    .offer-description-detail {
        line-height: 1.75;
    }

    /* Animation section */
    .animation-section {
        padding: 3rem 1.5rem;
    }

    .animation-image {
        margin-top: 2rem;
    }

    /* CTA contatti */
    .contact-cta {
        padding: 3.5rem 1.5rem;
    }

    .cta-phone,
    .cta-email {
        font-size: 1rem;
    }

    /* Contatti page */
    .contact-main-section {
        padding: 2.5rem 1.5rem;
    }

    /* Offerte intro */
    .offers-intro,
    .offers-info {
        padding: 3rem 1.5rem;
    }

    /* Camera details */
    .room-details-section {
        padding: 2.5rem 0;
    }

    .room-details-section .container {
        padding: 0 1.25rem;
    }

    .booking-sidebar {
        margin-top: 2rem;
    }

    .booking-card {
        padding: 1.5rem;
    }

    /* Footer */
    .footer-main .container-fluid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-text h1 {
        font-size: clamp(1.8rem, 9vw, 2.8rem);
    }

    .stay-image,
    .restaurant-image,
    .beach-image,
    .location-image {
        height: 60vw;
        min-height: 200px;
    }

    .service-image,
    .offer-image {
        height: 60vw;
        min-height: 220px;
    }

    .room-showcase-image {
        height: 60vw;
        min-height: 200px;
    }

    .mobile-action-bar a {
        font-size: 0.48rem;
        gap: 0.22rem;
    }

    .mobile-action-bar i {
        font-size: 0.9rem;
    }
}
