:root {
    --color-primary: #d7af86;
    --color-dark: #039acc;
    --color-text: #5a5f63;
    --color-bg: #faf8f4;
    --color-soft: #f2ede6;
    --font-heading: Georgia, "Times New Roman", serif;
    --font-body: Inter, Arial, Helvetica, sans-serif;
    --radius-lg: 22px;
    --radius-md: 16px;
    --shadow-soft: 0 20px 50px rgba(0, 0, 0, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    margin-top: 0 !important;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    padding-top: 80px;
    overflow-x: hidden;
    margin-top: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #1f2b33;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: .25s ease;
}

a:hover {
    color: #be7247;
}

.section {
    padding: 92px 0;
}

.eyebrow {
    color: var(--color-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: .8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
}

.section-lead {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.navbar-custom {
    background: rgba(250, 248, 244, .92);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
    --bs-navbar-active-color: var(--color-primary);
    --bs-navbar-brand-color: #1f2b33;
    --bs-navbar-brand-hover-color: #1f2b33;
    --bs-navbar-color: #2f3b42;
    --bs-navbar-hover-color: var(--color-primary);
}

.navbar-brand img {
    height: 54px;
    width: auto;
    display: block;
}

.navbar-custom .nav-link {
    font-weight: 600;
    color: #2f3b42;
    position: relative;
}

.navbar-custom .navbar-nav .nav-link.active,
.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link.show {
    color: var(--color-primary);
}

.navbar-custom .navbar-nav .nav-link.active::after,
.navbar-custom .navbar-nav .nav-link:hover::after,
.navbar-custom .navbar-nav .nav-link.show::after {
    content: "";
    position: absolute;
    left: .6rem;
    right: .6rem;
    bottom: .25rem;
    height: 2px;
    background: var(--color-primary);
}

.btn-theme {
    background: var(--color-primary);
    color: #fff;
    border: 0;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 15px 30px rgba(215, 175, 134, .22);
}

.btn-theme:hover {
    background: #c77950;
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-theme {
    border: 1px solid rgba(255, 255, 255, .6);
    color: #fff;
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 600;
}

.btn-outline-theme:hover {
    background: #fff;
    color: var(--color-dark);
}

.hero {
    min-height: calc(100vh - 86px);
    position: relative;
    display: flex;
    align-items: center;
}

.hero.small {
    min-height: 54vh;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(17, 32, 41, .18), rgba(17, 32, 41, .58));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 780px;
}

.hero .hero-content h1,
.hero-slider.hero-slider-perla .hero-content h1 {
    color: #fff;
    font-weight: 600;
    letter-spacing: .02em;
    text-shadow: 0 5px 25px rgba(0, 0, 0, .45);
    margin-bottom: 16px;
}

.hero .hero-content p,
.hero-slider.hero-slider-perla .hero-content p {
    color: rgba(255, 255, 255, .92);
    font-weight: 300;
    letter-spacing: .02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.7rem);
}

.hero p {
    font-size: clamp(1.02rem, 1.6vw, 1.22rem);
}

/* Hero homepage slider */
.hero-slider.hero-slider-perla .hero-content h1 {
    font-size: clamp(2.6rem, 5vw, 4.5rem);
}

.hero-slider.hero-slider-perla .hero-content p {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-slider.hero-slider-perla {
    position: relative;
    height: 95vh;
    min-height: 680px;
    overflow: hidden;
    animation: heroFade 1.4s ease forwards;
    opacity: 0;
}

@keyframes heroFade {
    to {
        opacity: 1;
    }
}

.hero-slider.hero-slider-perla .slides {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slider.hero-slider-perla .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.8s ease, transform 7s ease;
    will-change: transform, opacity;
}

.hero-slider.hero-slider-perla .slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slider.hero-slider-perla .overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .18), rgba(0, 0, 0, .55)),
    radial-gradient(circle at center, rgba(0, 0, 0, .10), rgba(0, 0, 0, .35));
}

.hero-slider.hero-slider-perla .hero-content-wrap {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-slider.hero-slider-perla .hero-content {
    position: relative;
    inset: auto;
    display: block;
    text-align: left;
    max-width: 820px;
    padding: 0;
    color: #fff;
}

.hero-slider.hero-slider-perla .hero-content h1 {
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: .02em;
    text-shadow: 0 5px 25px rgba(0, 0, 0, .45);
    opacity: 1;
    transform: translateY(0);
    transition: opacity .7s ease, transform .7s ease;
}

.hero-slider.hero-slider-perla .hero-content p {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: rgba(255, 255, 255, .92);
    font-weight: 300;
    letter-spacing: .02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
    max-width: 680px;
    margin: 0;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .7s ease, transform .7s ease;
}

.hero-slider.hero-slider-perla .hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-slider.hero-slider-perla .slider-dots {
    position: absolute;
    left: 50%;
    bottom: 110px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 12px;
}

.hero-slider.hero-slider-perla .dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, .75);
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.hero-slider.hero-slider-perla .dot::after {
    content: "";
    position: absolute;
    inset: -8px;
}

.hero-slider.hero-slider-perla .dot.active {
    background: #fff;
    transform: scale(1.12);
}

.hero-slider.hero-slider-perla .dot:hover {
    transform: scale(1.2);
    background: #fff;
}

@media (max-width: 991.98px) {
    .hero-slider.hero-slider-perla {
        height: 88vh;
        min-height: 620px;
    }
}

@media (max-width: 767.98px) {
    .hero-slider.hero-slider-perla {
        height: 82vh;
        min-height: 560px;
    }

    .hero-slider.hero-slider-perla .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-slider.hero-slider-perla .hero-content p {
        margin: 0 auto;
    }

    .hero-slider.hero-slider-perla .hero-actions {
        justify-content: center;
    }

    .hero-slider.hero-slider-perla .slider-dots {
        bottom: 58px;
    }
}

.booking-box {
    margin-top: -70px;
    background: white;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
    position: relative;
    z-index: 5;
}

.booking-box label {
    font-size: .8rem;
    margin-bottom: 4px;
    color: #777;
}

.info-strip {
    margin-top: -44px;
    position: relative;
    z-index: 5;
}

.info-strip-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 28px;
}

.info-pill {
    background: var(--color-soft);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 600;
    color: #415058;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.image-soft {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    width: 100%;
    display: block;
}

.card-custom,
.rate-card,
.gallery-card,
.contact-card,
.feature-box {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    height: 100%;
}

.card-custom img,
.gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.card-custom-body,
.rate-card-body,
.contact-card-body,
.feature-box-body {
    padding: 24px;
}

.card-custom h5,
.rate-card h5,
.gallery-card h5,
.feature-box h5 {
    margin-bottom: 10px;
}


.gallery-card {
    position: relative;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
}

.gallery-card h5 {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
}

.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    transition: background .3s ease;
}

.gallery-card:hover::after {
    background: rgba(0, 0, 0, .5);
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .15);
}

.link-arrow {
    font-weight: 700;
}

.fullwidth-feature {
    background: linear-gradient(180deg, #ffffff 0%, #f6f1ea 100%);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.feature-item {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 18px 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .05);
    font-weight: 600;
    color: #36444c;
}

.cta {
    padding: 120px 0;
    position: relative;
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 36, 43, .58);
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2,
.cta p {
    color: white;
}

.rate-card .price {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-dark);
}

.rate-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.rate-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ece7df;
}

.gallery-grid .gallery-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    margin-bottom: 12px;
}

.contact-form .form-control,
.contact-form .form-select {
    min-height: 52px;
    border-radius: 14px;
    border-color: #e3ddd4;
    padding: 14px 16px;
}

.contact-form textarea.form-control {
    min-height: 160px;
}

.map-frame {
    width: 100%;
    min-height: 420px;
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.footer {
    background: var(--color-dark);
    color: #f3f8fa;
    padding: 56px 0 34px;
    margin-top: 0;
}

.footer a {
    color: #fff;
}

.footer h5,
.footer h6 {
    color: white;
}

.footer-line {
    margin: 8px 0;
    opacity: .95;
}

.footer-credits {
    text-align: center;
    max-width: 980px;
    margin: 24px auto 0;
    line-height: 1.65;
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding-top: 24px;
}

.badge-soft {
    display: inline-block;
    background: rgba(15, 126, 155, .08);
    color: var(--color-dark);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: .88rem;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 78px;
    }

    .hero {
        min-height: 78vh;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 74px 0;
    }

    .info-strip {
        margin-top: -28px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Nasconde barra superiore Google */
.skiptranslate {
    display: none !important;
}

/* Rimuove highlight blu */
.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

/* Nasconde logo Google nel widget */
.goog-logo-link,
.goog-te-gadget span {
    display: none !important;
}