body {
    font-family: 'Montserrat Alternates', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', sans-serif;
}

p,
ul {
    font-family: 'Montserrat Alternates', sans-serif;
}

#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #E2C17D;
    border-color: #F0EDE9;
}

/* --- SERVIZI --- */
/* --- SEZIONE PRINCIPALE --- */
.floating-services-section {
    position: relative;
    overflow: hidden;

    /* Taglia le parti di immagini che escono dai bordi */
    padding: 100px 0;
    background-color: var(--bg-color);
    min-height: 800px;

    /* Assicura altezza sufficiente per le immagini */
}

/* --- LAYER DELLE IMMAGINI FLUTTUANTI --- */
.floating-decor-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;

    /* Sta DIETRO al contenuto */
    pointer-events: none;

    /* Le immagini non bloccano i click sul testo */
}

.floating-img {
    position: absolute;
    opacity: 0.5;

    /* Bassa opacità per non disturbare il testo */
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    filter: grayscale(20%);

    /* Un po' desaturate per eleganza */
    /* Animazione opzionale "respiro" */
    animation: floatAnimation 8s ease-in-out infinite alternate;
}

/* Posizionamento specifico delle 3 immagini */
.img-pos-1 {
    top: 5%;
    left: -5%;
    width: 350px;
    transform: rotate(-10deg);
}

.img-pos-2 {
    top: 45%;
    right: -8%;
    width: 400px;
    transform: rotate(5deg);
    animation-delay: 2s;

    /* Ritardo per sfasare l'animazione */
}

.img-pos-3 {
    bottom: -5%;
    left: 15%;
    width: 300px;
    transform: rotate(8deg);
    animation-delay: 4s;
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0px) rotate(var(--rotation, 0deg));
    }

    100% {
        transform: translateY(-20px) rotate(var(--rotation, 0deg));
    }
}

/* --- LAYER DEL CONTENUTO (SERVIZI) --- */
.content-layer {
    position: relative;
    z-index: 2;

    /* Sta DAVANTI alle immagini */
}

.service-card {
    background: rgba(255, 255, 255, 0.9);

    /* Sfondo bianco semi-trasparente per leggibilità */
    backdrop-filter: blur(5px);

    /* Effetto sfocatura moderno */
    border: none;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.service-card:hover {
    border-left-color: rgba(226,193,125,1);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(226,193,125,1);
}

.btn-link-anfaleon {
    color: var(--anfaleon-accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.btn-link-anfaleon:hover {
    text-decoration: underline;
    color: #333;
}

/* Adattamenti Mobile */
@media (max-width: 768px) {
    .floating-img {
        opacity: 0.15;
    }

    /* Ancora più trasparenti su mobile */
    .img-pos-1 {
        width: 200px;
        left: -20%;
    }

    .img-pos-2 {
        width: 250px;
        right: -20%;
        top: 30%;
    }

    .img-pos-3 {
        width: 180px;
        bottom: 0%;
    }
}

/* ------------------------ */
/* --- GALLERY LIGHTBOX --- */
.gallery-container {
    padding: 60px 0;
    background-color: var(--silk);
}

.gallery-title {
    margin-bottom: 40px;
}

.gallery-item {
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(226, 193, 125, 0.2);

    /* Bordo sottile oro */
    transition: all 0.4s ease;
}

.gallery-item img {
    transition: transform 0.6s ease;
    width: 100%;
    height: 400px;

    /* Altezza fissa per uniformità */
    object-fit: cover;
    display: block;
}

/* Effetto Hover Elegante */
.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold);
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}