@import url('https://fonts.googleapis.com/css2?family=Cardo:wght@400;700&family=Jost:wght@300;400;500;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ---------- Simplified & Optimized Styles ---------- */
:root {
    --primary: #213d59;
    --primary-color: var(--primary);
    --text: #213d59;
    --text-color: var(--text);
    --bg: #fff;
    --bg-soft: #f7f7f7;
    --container: 1200px;
    --ff-sans: "Jost", sans-serif;
    --ff-serif: "Cardo", serif;
    --font-main: var(--ff-sans);
    --font-heading: var(--ff-sans);
    --header-height: 100px;
    --muted: var(--text);
}

/* Utility to remove rounded borders */
.sharp-edges,
.sharp-edges * {
    border-radius: 0 !important;
}

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

html,
body {
    height: 100%
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background: var(--bg);
    line-height: 1.6;
    font-weight: 300;
    font-size: 16px;
    overflow-x: hidden;
    padding-top: var(--header-height);
    min-height: 100vh;
}

/* Enhanced Scroll Animation */
.fade-in,
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.2, 1, 0.3, 1), transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1.2s cubic-bezier(0.2, 1, 0.3, 1), transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1.2s cubic-bezier(0.2, 1, 0.3, 1), transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1.2s cubic-bezier(0.2, 1, 0.3, 1), transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.fade-in.visible,
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Staggered Delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .18s
}

a:hover {
    color: var(--primary)
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

ul {
    list-style: none
}

/* Layout */
.container {
    max-width: var(--container);
    margin: 0 auto;
}

.section {
    padding: 1rem 0
}

.grid {
    display: grid;
    gap: 1.25rem
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr)
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr)
}

.text-center {
    text-align: center
}

.text-left {
    text-align: left
}

.intro-title {
    font-family: 'Playfair Display', serif;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.accent {
    color: var(--primary)
}

/* Utilities */
.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.p-4 {
    padding: 1.5rem;
}

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

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    margin-bottom: .75rem;
    font-weight: 300;
}

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 1.75rem;
    color: var(--text-color)
}

h3 {
    font-size: 1.25rem
}

p {
    font-family: var(--font-main);
    color: var(--muted);
    font-weight: 300;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Buttons */
.btn {
    font-family: var(--font-main);
    display: inline-block;
    padding: .75rem 1.5rem;
    background: var(--primary);
    color: #fff;
    text-transform: uppercase;
    font-size: .85rem;
    letter-spacing: .8px;
    border: 1px solid var(--primary);
    transition: all .18s
}

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

.text-link {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 500;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.text-link:hover {
    opacity: 0.8;
}

.btn-hero {
    font-family: var(--font-main);
    font-size: 1rem;
    padding: 1.1rem 2.8rem;
    border-radius: 50px;
    background: #fff;
    color: var(--primary);
    border: none;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid #fff;
    color: #fff
}

/* Header / Nav */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    /* Transparent primary color */
    backdrop-filter: blur(10px);
    /* Glassmorphism effect */
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
    z-index: 1200;
    transition: transform 0.3s ease;
}

@media (max-width: 992px) {
    .site-header.header-hidden {
        transform: translateY(-100%);
    }
}

.site-header .container {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
    padding: 0 0.75rem;
    height: 100%
}

.logo img {
    height: 60px;
}

.logo a {
    display: inline-block;
}

.main-nav {
    display: flex;
    flex: 1;
    justify-content: center
}

.main-nav ul {
    display: flex;
    gap: 1.75rem;
    align-items: center
}

.main-nav a {
    font-family: var(--font-heading);
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: .35rem 0;
    position: relative;
    color: #213d59
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #213d59;
    transition: width .18s
}

.main-nav a:hover::after,
.main-nav a.accent::after {
    width: 100%
}

.menu-toggle {
    display: none;
    font-size: 1.3rem;
    cursor: pointer;
}

/* Mobile Nav (toggle via .main-nav.active) */
@media (max-width:992px) {
    .menu-toggle {
        display: block
    }

    .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--bg);
        padding: 1.25rem;
        display: none;
        box-shadow: 0 8px 26px rgba(0, 0, 0, .08)
    }

    .main-nav.active {
        display: block
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem
    }

    .main-nav a {
        color: var(--text-color);
        display: block;
        padding: 0.5rem 0;
    }
}

/* Hero */
/* Hero */
.hero {
    min-height: 30vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-top: calc(var(--header-height) * -1);
    padding-top: var(--header-height);
}

.hero:not(.hero-home)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.hero>* {
    position: relative;
    z-index: 2;
}

.hero .container {
    width: 100%;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-left {
    padding-left: 2rem;
}

.hero-right {
    display: flex;
    justify-content: flex-end;
}

.hero-right img {
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Hero Image Entrance Animation */
@keyframes heroEntrance {
    0% {
        opacity: 0;
        transform: translateX(80px) scale(1.15);
        /* Start zoomed in and shifted */
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        /* End normal */
    }
}

.hero-img-entrance {
    animation: heroEntrance 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-left {
        padding-left: 0;
        order: 2;
        margin-bottom: 2rem;
    }

    .hero-right {
        justify-content: center;
        order: 1;
    }
}

/* Full Width Hero for Home Page */
.hero.hero-home {
    background: none;
    padding: 0;
    display: block;
    overflow: hidden;
    margin-top: calc(var(--header-height) * -1);
    /* Pull up behind header */
}

.hero-home .hero-inner {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
}

.hero-home .hero-img-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-home .hero-overlay-content {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    z-index: 10;
    padding: 2rem;
}

@media (max-width: 768px) {
    .hero-home .hero-inner {
        height: 60vh;
        min-height: 400px;
    }

    .hero-home .hero-overlay-content {
        left: 0;
        right: 0;
        text-align: center;
    }
}

/* Call to Action Bar below Hero */
.hero-cta-section {
    padding: 3rem 0;
    text-align: center;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-book-now {
    font-family: var(--font-main);
    font-size: 1rem;
    padding: 0.8rem 2rem;
    background: var(--primary);
    /* Primary color */
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(33, 61, 89, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-book-now.btn-sm {
    font-size: 0.85rem;
    padding: 0.6rem 1.4rem;
}

.btn-book-now:hover {
    background: #1a3148;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(33, 61, 89, 0.4);
    color: #fff !important;
}

/* .hero::after removed to clear filters */
.hero-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.2rem 1.8rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
    animation: fadeInScale 1.2s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hero h1 {
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    margin-bottom: 0.75rem;
    color: #fff;
    font-family: var(--font-heading);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 1.5px;
}

.hero p {
    font-size: 1.05rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-main);
    font-weight: 300;
}

/* Rooms */
.room-card {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .04);
    transition: transform .18s
}

.room-card:hover {
    transform: translateY(-6px)
}

.room-image {
    height: 260px;
    overflow: hidden
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s
}

.room-card:hover .room-image img {
    transform: scale(1.04)
}

.room-details {
    padding: 1.25rem;
    text-align: center
}

.room-title {
    font-size: 0.95rem;
    margin-bottom: .4rem;
    font-weight: bold
}

.room-price {
    color: var(--primary);
    font-weight: 700
}

/* Single Room Preview */
.room-single-preview {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-single-preview:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.room-preview-link {
    display: block;
    position: relative;
    text-decoration: none;
}

.room-preview-link .room-image {
    height: 500px;
    overflow: hidden;
}

.room-preview-link .room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.room-preview-footer {
    padding: 1.5rem 1rem;
    text-align: center;
    background: #fff;
}

@media (max-width: 768px) {
    .room-preview-link .room-image {
        height: 350px;
    }


}

@media (max-width: 480px) {
    .room-preview-link .room-image {
        height: 250px;
    }
}

/* Footer */
.site-footer {
    background: var(--primary);
    color: #aaa;
    padding: 3.5rem 0
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem
}

.footer-column {
    text-align: center;
}

.footer-column h4 {
    font-size: .9rem;
    color: #aaa;
    margin-bottom: .75rem;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.site-footer p {
    color: #aaa;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: .75rem;
    margin-top: 1rem
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cfcfcf;
    transition: all .18s
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-4px)
}

.footer-bottom {
    text-align: center;
    margin-top: 1.5rem;
    font-size: .9rem
}

/* Room page details consolidated later in the file */

/* Accessibility */
.skip-link {
    position: absolute;
    left: 0;
    top: -48px;
    background: var(--primary);
    color: #fff;
    padding: .5rem .75rem;
    z-index: 999
}

.skip-link:focus {
    top: 0
}

a:focus,
.btn:focus {
    outline: 3px solid rgba(16, 168, 205, .18);
    outline-offset: 3px
}

/* Consolidated Responsive Rules */
@media (max-width:992px) {

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .room-detail-layout {
        grid-template-columns: 1fr
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:768px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    h1 {
        font-size: 2rem
    }

    .hero-content {
        padding: 1.5rem 1rem;
        width: 100%;
        border-radius: 0;
    }

    /* .hero{min-height:55vh} removed */
    .logo img {
        height: 44px
    }

    :root {
        --header-height: 60px
    }

    body {
        padding-top: var(--header-height)
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .gallery-grid {
        grid-template-columns: 1fr
    }

    .menu-toggle {
        display: block
    }

    .main-nav {
        display: none
    }

    .main-nav.active {
        display: block
    }
}

/* Small view tweaks */
@media (max-width:480px) {
    .hero h1 {
        font-size: 1.6rem
    }

    .room-image {
        height: 150px
    }

    :root {
        --header-height: 56px
    }

    body {
        padding-top: var(--header-height)
    }
}

/* End simplified stylesheet */

/* ------------------ Enhancements: Buttons & Services ------------------ */
/* Improve button visibility and focus, keep accessible contrast */
.btn {
    padding: 0.9rem 1.6rem;
    box-shadow: 0 8px 20px rgba(16, 168, 205, 0.12);
}

.btn:focus {
    box-shadow: 0 0 0 4px rgba(16, 168, 205, 0.15);
}

.btn:active {
    transform: translateY(1px)
}

/* Accent variations often used in templates */
.btn-prenota {
    background: linear-gradient(90deg, var(--primary), #0b8fb0);
    border: none;
    color: #fff
}

.btn-prenota:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(16, 168, 205, 0.18)
}

.btn-private {
    background: #111;
    color: #fff;
    border: 1px solid #111
}

.btn-private:hover {
    background: #000
}

/* Service items: use a modern font, larger icon and clearer card */
.service-item {
    font-family: var(--font-main);
    padding: 1.2rem;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff, #fbfdfe);
    box-shadow: 0 10px 28px rgba(13, 13, 13, 0.06);
    border: 1px solid rgba(16, 168, 205, 0.06);
    transition: transform .18s, box-shadow .18s
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(16, 168, 205, 0.12)
}

.service-item h4 {
    margin: 0 0 .5rem;
    font-family: var(--font-main);
    font-weight: 600;
    color: var(--text-color)
}

.service-item p {
    color: var(--muted);
    margin: 0;
    font-size: 0.98rem
}

.service-item .icon {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(16, 168, 205, 0.12), rgba(16, 168, 205, 0.06));
    color: var(--primary);
    font-size: 1.3rem;
    margin-right: 0.85rem
}

/* Services grid tweak */
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem
}

@media (max-width:768px) {
    .btn {
        padding: .9rem;
    }

    .service-item {
        padding: 1rem
    }

    .service-item .icon {
        width: 48px;
        height: 48px
    }
}

/* End enhancements */

/* Rooms Section */
.room-card {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    overflow: hidden;
}

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

.room-image {
    height: 260px;
    overflow: hidden;
}

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

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

.room-details {
    padding: 2rem;
    text-align: center;
}

.room-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.room-price {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: bold;
}

/* Footer */
.site-footer {
    color: #c4c4c4;
    padding: 5rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #222;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer-logo img {
    height: 70px;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-col h3 {
    font-size: 0.75rem;
    margin-bottom: 2rem;
    color: #999;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-main);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: #c4c4c4;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    font-weight: 300;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-col p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.footer-col.footer-info p {
    margin-bottom: 0.5rem;
}

.footer-col.footer-prenotazioni {
    text-align: left;
}

.footer-col.footer-prenotazioni .btn-footer {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.footer-col.footer-prenotazioni .btn-footer:hover {
    background: var(--primary-color);
    color: white;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    font-size: 1.2rem;
    color: #c4c4c4;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-signature {
    font-family: var(--ff-serif);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 300;
    color: #666;
}

.footer-links {
    display: flex;
    gap: 2rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a {
    color: #666;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    font-size: 0.75rem;
    color: #555;
    letter-spacing: 0.5px;
    margin-top: 1rem;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-logo {
        grid-column: 1 / -1;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h3 {
        text-align: center;
    }

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

    .footer-bottom-content {
        flex-direction: column;
    }
}

/* Clear duplicate/trapped rules */

/* Room Detail Layout - Consolidato e Coerente */
.room-details-section {
    background-color: var(--bg-soft);
    padding: 4rem 0;
}

.room-page-container {
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    max-width: 1200px;
    margin: 0 auto;
}

.room-detail-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    align-items: start;
    width: 100%;
}

.room-gallery {
    width: 100%;
    position: relative;
}

/* Gallery - Soluzione Professionale */
.room-gallery .main-image {
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16 / 9;
    background: #f0f0f0;
    width: 100%;
    max-height: 500px;
}

.room-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
    opacity: 1 !important;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0.7;
}

.gallery-grid img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.gallery-grid img.active {
    opacity: 1;
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .room-page-container {
        padding: 2rem;
        margin: 0 1rem;
    }

    .room-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .room-details-section {
        padding: 2rem 0;
    }

    .room-page-container {
        padding: 1.5rem;
        border-radius: 0;
        margin: 0;
        box-shadow: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .room-gallery .main-image {
        aspect-ratio: 4 / 3;
    }
}

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

    .room-page-container {
        padding: 1rem;
    }

    .room-detail-layout {
        gap: 1.5rem;
    }
}


/* ========================================
       ROOM PAGE IMPROVEMENTS - Grafica e Accessibilità
       ======================================== */

/* Amenities List con Stile Migliorato */
.amenities-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.amenities-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    background: rgba(16, 168, 205, 0.05);
    transition: all 0.3s ease;
    border-left: 3px solid var(--primary-color);
}

.amenities-list li:hover {
    background: rgba(16, 168, 205, 0.12);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(16, 168, 205, 0.15);
}

.amenities-list i {
    color: var(--primary-color);
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
}

/* Room Features Section */
.room-features {
    margin: 2rem 0;
}

.room-features h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.room-features h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), transparent);
}

/* Room Rules*/


/* Room Rules Styling */
.room-rules {
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(16, 168, 205, 0.05) 0%, rgba(16, 168, 205, 0.02) 100%);
}

.room-rules h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.room-rules .no-style {
    list-style: none;
}

.room-rules .no-style li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
    line-height: 1.6;
}

.room-rules i {
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

/* CTA Container */
.cta-container {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-container .btn {
    flex: 1;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-container .btn:hover,
.cta-container .btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 168, 205, 0.3);
}

.cta-container .btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Extra Services Styling */
.extra-services {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 2px solid #eee;
}

.extra-services h3 {
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.extra-services h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), transparent, var(--primary-color));
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    text-align: center;
}

.service-item {
    background: linear-gradient(135deg, rgba(16, 168, 205, 0.05) 0%, rgba(16, 168, 205, 0.02) 100%);
    padding: 2rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(16, 168, 205, 0.1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transition: left 0.3s ease;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(16, 168, 205, 0.2);
    border-color: rgba(16, 168, 205, 0.3);
}

.service-item:hover::before {
    left: 0;
}

.service-item h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

/* Room Info Heading */
.room-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.room-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), transparent);
    border-radius: 2px;
}

.room-description {
    color: var(--text-light);
    line-height: 1.8;
}

.room-description p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

/* Focus State per Accessibilità */
.btn:focus,
button:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip Link per Accessibilità */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 100;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* Heading Font Class */
.heading-font {
    font-family: var(--font-heading);
    font-weight: 400;
}

/* Responsive per Extra Services */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

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

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

    .extra-services h3 {
        font-size: 1.5rem;
    }

    .room-info h2 {
        font-size: 1.8rem;
    }

    .cta-container {
        flex-direction: column;
    }

    .cta-container .btn {
        width: 100%;
    }
}

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

    .room-detail-layout {
        gap: 2rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50% !important;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #FFF;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* Feedback Section */
.feedback-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.feedback-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feedback-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.feedback-icon.google {
    color: #DB4437;
}

.feedback-icon.ta-brand {
    color: #00AF87;
}

.feedback-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.stars {
    color: #FFD700;
    /* Gold color for stars */
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.feedback-icon.ta-brand+.feedback-content .stars {
    color: #00AF87;
    /* TripAdvisor circles are usually green */
}

.btn-outline-dark {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--text-color);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-outline-dark:hover {
    background: var(--text-color);
    color: #fff;
}

#feedback.section {
    padding: 1.5rem 0;
}

/* Unified Feedback Section */
.feedback-unified {
    display: flex;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-width: 290px;
    margin: 0 auto;
}

.feedback-col {
    flex: 1;
    padding: 1.5rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feedback-col.border-right {
    border-right: 1px solid #eee;
}

.feedback-col h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    color: var(--primary);
}

.feedback-col .logo-img {
    max-width: 110px;
    height: auto;
    margin-bottom: 0.75rem;
    display: block;
}


.feedback-col .stars {
    margin-bottom: 1rem;
    color: #f1c40f;
    /* star yellow */
    font-size: 1.1rem;
}

.feedback-col p {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .feedback-unified {
        flex-direction: column;
    }

    .feedback-col {
        padding: 2.5rem 1.5rem;
    }

    .feedback-col.border-right {
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .feedback-col h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .feedback-col .stars {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .feedback-col p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .feedback-col .btn {
        width: auto;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.language-switcher a {
    color: #213d59;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.language-switcher a:hover,
.language-switcher a.active {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 992px) {
    .language-switcher {
        margin-left: 0;
        margin-top: 10px;
        justify-content: center;
    }

    .language-switcher a {
        color: var(--text-color);
    }
}

/* ---------- Contact Form Section ---------- */
.contact-form-section {
    padding: 4rem 0;
    background: var(--bg-soft);
}

.contact-form-section .container {
    padding: 0 1.25rem;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper h2 {
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-color);
}

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

.contact-form-wrapper label {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    display: block;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-color);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(33, 47, 116, 0.1);
}

.contact-form-wrapper textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-wrapper button[type="submit"] {
    padding: 0.6rem 1.2rem;
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    font-family: var(--font-main);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(33, 47, 116, 0.15);
    width: fit-content;
    align-self: center;
}

.contact-form-wrapper button[type="submit"]:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(33, 47, 116, 0.2);
}

.contact-form-wrapper button[type="submit"]:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .contact-form-wrapper h2 {
        font-size: 1.5rem;
    }

    .contact-form-wrapper form {
        gap: 1.2rem;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 1.5rem 1rem;
    }

    .contact-form-wrapper button[type="submit"] {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }
}

/* ---------- About Us Page Styles ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

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

.about-text h2 {
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.about-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.about-list-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.about-list-item i {
    color: var(--primary);
    font-size: 1.4rem;
    margin-top: 0.2rem;
    width: 30px;
    text-align: center;
}

.about-list-text h4 {
    font-family: var(--font-heading);
    margin-bottom: 0.4rem;
    color: var(--primary);
    font-size: 1.2rem;
}

.about-list-text p {
    font-size: 1rem;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }

    .about-text h2 {
        text-align: center;
    }

    .about-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ---------- Contact Page Styles ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-details-box {
    background: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

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

.contact-info-item i {
    width: 50px;
    height: 50px;
    background: var(--bg-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-item:hover i {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.contact-info-content h4 {
    font-family: var(--font-main);
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.contact-info-content p,
.contact-info-content a {
    font-family: var(--font-main);
    font-size: 1.05rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 300;
}

.contact-map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 450px;
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-map-container {
        min-height: 350px;
    }
}
