h1 {
    font-family: 'Playfair Display', serif;
    color: #b8860b;
    font-size: 36px;
    position: relative;
}

h1::before, h1::after {
    content: "";
    margin: 10px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.services-container_1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 300px;
    margin: 0 auto;
}

.service::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.service {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
}

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

.service-content {
    padding: 20px;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50px;
    position: relative;
    color: white;
    z-index: 1;
}

.service h2 {
    font-size: 27px;
}

.service button {
    background-color: #b8860b;
    color: white;
    font-size: 16px;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 10px;
    border-radius: 5px;
    width: 80%;
    max-width: 600px;
    text-align: center;
    position: relative;
}

.modal img {
    width: 100%;
    border-radius: 5px;
}

.close, .prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    cursor: pointer;
    color: white;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    padding: 10px;
    border-radius: 5px;
    opacity: 0.9;
}

.close {
    top: 20px;
    right: 20px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

#carousel {
    overscroll-behavior: contain;
}

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

.carousel {
    width: 99vw;
    height: 100vh;
    display: flex;
    position: relative;
    overflow: hidden;
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel img.active {
    opacity: 1;
}

.carousel .text1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.home_link {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.btn-scopri {
    background-color: rgba(0, 0, 0, 0.4);
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    font-size: 27px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-variant: small-caps;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 5px rgba(0, 0, 0, 0.8);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 8px rgba(0, 0, 0, 0.8);
    z-index: 10;
    border-radius: 50px;
}

.btn-scopri:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.bottone-ordina {
    display: inline-block;
    padding: 12px 28px;
    border: 1.5px solid #333;
    border-radius: 50px;
    background-color: rgba(168, 135, 90, 1);
    color: #fff;
    text-transform: uppercase;
    font-family: 'Poiret One', sans-serif;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.bottone-ordina:hover {
    background-color: #333;
    color: #fff;
    cursor: pointer;
}

@font-face {
    font-family: 'MonteriaRegular';
    src: url('FONT/MonteriaRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'RalstedaBold';
    src: url('FONT/RalstedaBold.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Mondo-Black';
    src: url('FONT/Mondo-Black.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BauerBodoni';
    src: url('FONT/BauerBodoni.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Plaza_Regular';
    src: url('FONT/Plaza Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Plaza_Regular_lettera';
    src: url('FONT/PlazaEF-Regular Regular.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BauerBodoni';
    src: url('FONT/Bauer Bodoni Small Caps Oldst Roman.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'chiffon';
    src: url('FONT/Chifon/chiffon-trial-semibold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Macbeth Regular';
    src: url('FONT/Macbeth Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.avviso {
    display: flex;
    align-items: flex-end;
    height: 180px;
    border: 1px solid #ccc;
    background: rgba(128, 0, 1, 0.9);
    font-family: 'Poiret One';
    font-size: 119%;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 8px rgba(0, 0, 0, 0.8);
    width: 100%;
    padding: 20px 0 10px 0;
    border-radius: 10px;
}

@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&family=Montserrat:wght@900&family=Permanent+Marker&display=swap');

.parola1 {
    font-family: 'Rock Salt', cursive;
    font-size: 3.5rem;
    color: #d32f2f;
    display: inline-block;
    transform: rotate(-3deg) translateY(10px);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.parola2 { font-family: 'Oswald', serif; }
.parola3 { font-family: 'Mondo-Black', sans-serif; }
.parola4 { font-family: 'MonteriaRegular', cursive; }
.parola5 { font-family: 'Poiret One', sans-serif; }

.testo {
    font-size: 23px;
}

/* Preloader Style */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#preloader img {
    width: 80px;
    height: 80px;
}

body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

/* Stili base per la popup */
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.popup-content {
    background-color: rgba(141, 7, 7, 0.9);
    margin: 15% auto;
    padding: 30px 30px 30px 30px;
    border: 8px double #888;
    width: 50%;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    font-family: 'Poiret One';
    font-size: 159%;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 8px rgba(0, 0, 0, 0.8);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close {
    color: white;
    float: right;
    font-size: 80px;
    font-weight: bold;
    cursor: pointer;
    top: 50px;
}

.close:hover {
    color: black;
}

.fRMXcarousel-container {
    max-width: 900px;
    margin: 0;
    background: #fff;
    border: 10px double #ddd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 0 0 0px 0;
}

.outer-border {
    border: 6px solid green;
    padding: 4px;
    display: inline-block;
}

.inner-border {
    border: 6px solid black;
    padding: 20px;
    background-color: white;
}

.fRMXcarousel {
    display: flex;
    transition: transform 0.4s ease;
    cursor: grab;
}

.fRMXslide {
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
    user-select: none;
}

.fRMXslide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top left;
    cursor: pointer;
}

.description {
    padding: 10px 0px 10px 0px;
    line-height: 1.0;
    color: white;
    background: rgba(168, 135, 90, 1);
    font-family: Poiret One, sans-serif;
    font-size: 20px;
}

.fRMXdots {
    text-align: center;
    padding: 15px;
    background: #fff;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background-color: rgba(168, 135, 90, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: black;
}

/* fRMXmodal */
.fRMXmodal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.fRMXmodal-content {
    max-width: 90%;
    max-height: 90%;
}

.fRMXmodal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.fRMXmodal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

@media (max-width: 600px) {
    .fRMXslide img {
        height: 400px;
    }
}

/* RECENSIONI */
:root {
    --bg: #0b0e14;
    --card: #111623;
    --text: #e8ecf1;
    --muted: #a7b3c0;
    --accent: #6aa0ff;
}

.wrapper {
    width: 100%;
    display: grid;
    gap: 16px;
}

h1 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin: 0 0 4px;
    letter-spacing: 0.2px;
}

p.lead {
    color: var(--muted);
    margin: 0 0 8px;
}

.scroll-card {
    height: 70vh;
    overflow: auto;
    background: #d4cabe;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    padding: 18px;
    backdrop-filter: blur(6px);
}

.content {
    background: #f3f0ee;
    border-radius: 40px;
    display: grid;
    gap: 18px;
}

.block {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 14px;
}

.block h2 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

figure {
    margin: 0;
    display: grid;
    gap: 8px;
}

.img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #0e1320;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

figcaption {
    color: var(--muted);
    font-size: 0.92rem;
}

.scroll-card::-webkit-scrollbar {
    width: 12px;
}

.scroll-card::-webkit-scrollbar-track {
    background: transparent;
}

.scroll-card::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--card), #0d1424);
    border: 3px solid transparent;
    background-clip: padding-box;
    border-radius: 999px;
}

.scroll-card {
    scrollbar-width: thin;
    scrollbar-color: #28324a transparent;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

@media (max-width: 820px) {
    .scroll-card {
        height: 68vh;
        padding: 12px;
    }

    .block {
        padding: 12px;
    }
}

.whatsapp-button {
    position: fixed;
    bottom: 0px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    padding: 12px 10px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 16px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-button:hover {
    background-color: #1ebe5d;
    transform: scale(1.05);
}

.slider {
    width: 100%;
    overflow: hidden;
    background: transparent;
}

.slider-track {
    display: flex;
    gap: 0;
    animation: scroll 25s linear infinite;
}

.slider-track img {
    display: block;
    height: 120px;
    width: auto;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.concert-banner {
    text-align: center;
    padding: 40px;
    background: transparent;
    color: #1a1a1a;
    line-height: 1.2;
}

.line-1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: -10px;
}

.line-2 {
    font-family: 'Rock Salt', cursive;
    font-size: 3.5rem;
    color: #d32f2f;
    display: inline-block;
    transform: rotate(-3deg) translateY(10px);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.line-3 {
    font-family: 'Permanent Marker', cursive;
    font-size: 4.5rem;
    display: block;
    margin-top: 10px;
    transform: rotate(1deg);
    background: #000;
    color: #fff;
    padding: 0 20px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.concert-banner:hover .line-2 {
    transform: rotate(0deg) scale(1.1);
    transition: 0.3s;
}

/* Chi siamo */
.fRMX_container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding: 0 10px 10px 10px;
}

.card {
    position: relative;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: scale(1.05);
}

.card:nth-child(1),
.card:nth-child(2),
.card:nth-child(3) {
    grid-column: span 2;
}

.card:nth-child(4),
.card:nth-child(5) {
    grid-column: span 3;
    transform: none;
    height: auto;
}

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

    .card:nth-child(4),
    .card:nth-child(5) {
        grid-column: span 2;
    }
}

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

    .card {
        grid-column: span 1 !important;
    }
}

.scroll-section {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

.scroll-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contatore visite mensile affiancato con valore a capo sotto il mese */
.contatori-box {
    margin: 16px auto 10px auto;
    max-width: 100%;
    width: fit-content;
    color: #ffffff;
    font-family: 'Poiret One', sans-serif;
    font-size: 15px;
}

.contatori-griglia {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 6px;
    margin-top: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.contatore-mese-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 48px;
    padding: 5px 8px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 6px;
    white-space: nowrap;
}


/* Contatore visite settimanale affiancato con valore a capo sotto il giorno */
.contatori-giorni-griglia {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 6px;
    margin-top: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.contatore-giorno-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 48px;
    padding: 5px 8px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 6px;
    white-space: nowrap;
}