/* Stile generale */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Sfondo generale */
body::before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: var(--dynamic-height, calc(100vh - 60px));
    background-image: url('img/51.Landscape.png');
    background-size: 100vh;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
}

/* Media query per dispositivi mobili */
@media (max-width: 768px) {
    body::before {
        background-image: url('img/pixelcut-export.png');
        background-size: 100vh;
        height: var(--dynamic-height, calc(100vh - 60px));
    }
}

/* Stile per landscape sui dispositivi mobili */
body.landscape::before {
    background-image: url('img/filyimpianti PROFESSIONAL_Portrait_121.png');
    background-size: 100vh;
    height: var(--dynamic-height, calc(100vh - 60px));
    background-repeat: no-repeat;
    background-position: center;
}

/* Contenuto principale */
.content {
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    margin-top: 100px;
}

/* Stili per le intestazioni personalizzabili */
.custom-h1 {
    font-size: 2.5rem;
    color: black;
    text-align: left;
    margin-bottom: 20px;
}

.custom-h2 {
    font-size: 2rem;
    color: #FFD700;
    text-align: left;
    margin-bottom: 20px;
    margin-left: 20px;
}

.custom-h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    color: white;
    text-align: left;
    margin-bottom: 20px;
    padding: 15px 25px;
    background: radial-gradient(
        circle,
        #1E90FF,
        #87CEFA 50%,
        transparent 100%
    );
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

.custom-h6 {
    font-size: 1.5rem;
    color: #696969;
    text-align: left;
    margin-bottom: 0px;
}

.custom-h7 {
    font-size: 1.5rem;
    color: #696969;
    text-align: left;
    margin-bottom: 0px;
}

/* Stile per il nuovo titolo (h5) */
.content h5.testimonial-title {
    font-size: 2rem;
    color: #FFD700;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* Testimonial immagini */
.testimonial-images {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.testimonial-images-wrapper {
    display: flex;
    will-change: transform;
}

.testimonial-images-wrapper img {
    width: 180px;
    height: auto;
    flex-shrink: 0;
    margin-right: 10px;
}

/* Campo di input */
.form-container input {
    width: 100%;
    max-width: 300px;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #ccc;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-container input:focus {
    border-color: #4caf50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

.form-container {
    margin-top: 30px;
    max-width: 400px;
}

/* Pulsante appuntamento */
.appointment-button-container {
    display: inline-block;
    margin-bottom: 0px;
    margin-left: 55px;
}

.appointment-button {
    padding: 12px 25px;
    font-size: 1rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.appointment-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Media query per dispositivi mobili */
@media (max-width: 768px) {
    .testimonial-images-wrapper img {
        max-width: 120px;
        margin-right: 8px;
    }
    
    .custom-h1 {
        font-size: 2rem;
    }
    .custom-h2 {
        font-size: 1.8rem;
    }
    .custom-h3 {
        font-family: 'Orbitron', sans-serif;
        font-size: 1.5rem;
    }
    .custom-h6, .custom-h7 {
        font-size: 1.2rem;
    }
    .content h5.testimonial-title {
        font-size: 1.5rem;
    }
    .form-container {
        max-width: 90%;
        margin: 0 auto;
        padding: 10px;
    }
    .form-container input {
        width: 100%;
        font-size: 0.9rem;
        padding: 10px;
    }
    .appointment-button-container {
        margin-left: 0;
        text-align: center;
    }
    .appointment-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .testimonial-images-wrapper img {
        max-width: 80px;
        margin-right: 5px;
    }
    
    .custom-h1 {
        font-size: 1.8rem;
    }
    .custom-h2 {
        font-size: 1.5rem;
    }
    .custom-h3 {
        font-size: 1.2rem;
    }
    .custom-h6, .custom-h7 {
        font-size: 1rem;
    }
    .content h5.testimonial-title {
        font-size: 1.2rem;
    }
    .form-container {
        padding: 5px;
    }
    .form-container input {
        font-size: 0.8rem;
        padding: 8px;
    }
    .appointment-button {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}










