/* --- CONTINGUT PRINCIPAL --- */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    
    /* La capsalera sticky ja ocupa el seu espai: no cal compensacio */
    margin-top: 0; 
}

.mirall-container {
    position: relative;
    display: inline-block;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}
/* Reflex esquerre i dret comparteixen estil base */

.main-photo {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 450px;
    position: relative;
    z-index: 2;
    -webkit-box-reflect: right 5px linear-gradient(to right, transparent 10%, rgba(0, 0, 0, 0.3));
}

.mirall-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/im/mainphoto.png') no-repeat center/cover;
    z-index: 1;
    pointer-events: none;
	transform: scaleX(-1);
    -webkit-box-reflect: right 5px linear-gradient(to right, transparent 10%, rgba(0, 0, 0, 0.3));
}

.titol-foto {
    position: absolute;
    top: 50%;
    left: 4%;
    transform: translateY(-50%);
    width: 40%;
    z-index: 10;
    margin: 0;
    text-align: left;
    color: #fff;
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    line-height: 1.4;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.titol-foto em {
    font-style: italic;
    color: var(--metall-or);
    display: block;
    margin-top: 5px;
}

/* --- SECCIÓ SEPARADOR ELEGANT --- */
.separador-elegant {
    width: 100%;
    max-width: 800px;
    margin: 60px auto 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.linia-decorativa {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--metall-or), transparent);
    margin-bottom: 20px;
}

.linia-decorativa.espai-inferior {
    margin-top: 40px;
    width: 150px;
}



.separador-elegant .descripcio-empresa {
    color: #ffffff !important;
    font-family: 'Georgia', serif;
    font-size: 2rem;
    font-weight: 400;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
}

.text-experiencia {
    color: #cccccc !important;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 0 30px 0;
    font-weight: 300;
}

.btn-reserva-cos {
    padding: 12px 35px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
.badge-historic {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(212, 175, 55, 0.03); /* Fons subtil transparent fosc */
    border: 1px solid rgba(212, 175, 55, 0.3); /* Vora suau de color daurat */
    padding: 12px 25px;
    border-radius: 12px;
    margin-bottom: 35px; /* Espai abans del botó reservar */
    max-width: 100%;
    box-sizing: border-box;
    backdrop-filter: blur(5px); /* Efecte vidre esmerilat modern */
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: rgba(212, 175, 55, 0.1); /* Cercle de l'estrella */
    border-radius: 50%;
    color: var(--metall-or); /* Color daurat de la teva web */
    flex-shrink: 0;
}

.badge-icon svg {
    width: 22px;
    height: 22px;
}

.badge-text {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.badge-titol {
    font-family: 'Georgia', serif;
    color: var(--metall-or);
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.2;
}

.badge-subtitol {
    color: #cccccc;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-top: 2px;
}
@media (max-width: 768px) {
    /* 1. Eliminem l'espaiat lateral del contenidor principal per permetre l'ample complet */
    .content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
.mirall-container::before,
.mirall-container::after {
    display: none;
}
    /* 2. Forcem que el contenidor de la imatge ocupi el 100% de la pantalla */
    .mirall-container {
        width: 100%;
        margin-bottom: 30px;
        box-shadow: none; /* Eliminem l'ombra gran que no s'ajusta bé a l'ample complet */
    }

    /* 3. Desactivem completament l'efecte mirall (reflexos) */
    .main-photo {
        width: 100%;
        max-height: none !important; /* Permetem que s'adapti de forma fluida */
        -webkit-box-reflect: none !important; /* Elimina el reflex de la imatge nativa */
    }

    .mirall-container::before {
        display: none !important; /* Elimina la imatge duplicada i girada de fons */
    }

    /* 4. Ajustem el títol que hi ha a sobre de la foto perquè quedi ben centrat o adaptat */
    .titol-foto {
        position: absolute;
        top: 50%;
        left: 5%;
        width: 90%; /* Ampliem la caixa de text perquè no quedi tallada en pantalles estretes */
        transform: translateY(-50%);
        font-size: 1.4rem; /* Mida ideal per a telèfons */
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9); /* Reforç de lectura */
    }
    
    /* 5. Retornem l'espaiat de seguretat al text inferior (separador elegant) perquè no enganxi a les vores */
    .separador-elegant {
        padding: 0 20px;
        box-sizing: border-box;
    }
}
@media (max-width: 480px) {
    .badge-historic {
        padding: 10px 18px;
        gap: 12px;
    }
    .badge-titol {
        font-size: 1rem;
    }
    .badge-subtitol {
        font-size: 0.75rem;
    }
}