/* Stile base e sfondo */
body {
    /* Impostazioni sfondo immagine */
    background: url('tex.jpg') no-repeat center center fixed;
    background-size: cover; 
    background-position: center center; 
    
    color: white; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    display: flex;
    justify-content: center; /* Centra orizzontalmente */
    align-items: center;     /* Centra verticalmente */
    min-height: 100vh;
    margin: 0;
    position: relative;
}

/* Contenitore per centrare il testo e il pulsante */
.content-wrapper {
    text-align: center;
    /* *** STILE RIPRISTINATO: Ombra del testo per farlo risaltare (valore originale) *** */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
    /* ****************************************************************************** */
    z-index: 10; 
    padding: 20px;
}

/* Stile comune per il font morbido */
.soft-text {
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1.2;
}

/* Stile per la riga principale (www.surftex.it) */
.main-title {
    font-size: 2.5em;
    margin: 0 0 5px 0; 
}

/* Stile per la riga dello slogan (Live with passion...) */
.slogan {
    font-size: 1.5em; 
    margin-top: 0;
    margin-bottom: 200px; 
}

/* --- STILI PULSANTI SOCIAL --- */

.social-links {
    display: flex;
    gap: 20px; 
    justify-content: center;
}

.social-btn {
    display: inline-flex; 
    align-items: center;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    /* *** STILE RIPRISTINATO: Ombra del pulsante (valore originale) *** */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); 
    /* *************************************************************** */
}

.social-btn:hover {
    transform: translateY(-2px); 
}

.social-btn i {
    margin-right: 8px; 
}

.facebook-btn {
    background-color: #4267B2; 
}

.facebook-btn:hover {
    background-color: #365899; 
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
}

.instagram-btn:hover {
    filter: brightness(1.1); 
}


/* --- MEDIA QUERIES (ADATTAMENTO PER DISPOSITIVI MOBILI) --- */

@media (max-width: 600px) {
    
    body {
        background-position: center top; 
        background-attachment: scroll; 
    }

    .main-title {
        font-size: 1.5em; 
    }
    
    .slogan {
        font-size: 0.9em;
        margin-bottom: 400px; 
    }
    
    .social-links {
        flex-direction: column; 
        gap: 15px; 
    }

    .social-btn {
        width: 40%; 
        max-width: 250px; 
        margin: 0 auto; 
        justify-content: center; 
    }
}