/* --- CONTATTI.CSS --- */

/* Layout Principale Pagina Contatti */
.contact-page {
    padding: 120px 5% 80px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-container {
    background: #161616; /* Leggermente più chiaro del fondo per dare profondità */
    padding: 40px;
    border: 1px solid #222;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Titoli */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 40px;
}

/* Griglia Pulsanti Social */
.contact-socials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    text-decoration: none;
    border: 1px solid #333;
    background: #1A1A1A;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-btn .icon {
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 5px;
}

.social-btn .text {
    font-size: 0.75rem;
    color: var(--gray);
}

/* Hover Effects Social */
.social-btn:hover {
    transform: translateY(-3px);
}

.social-btn.whatsapp:hover {
    border-color: #25D366;
    background: rgba(37, 211, 102, 0.05);
}
.social-btn.whatsapp:hover .icon { color: #25D366; }

.social-btn.instagram:hover {
    border-color: #E1306C;
    background: rgba(225, 48, 108, 0.05);
}
.social-btn.instagram:hover .icon { color: #E1306C; }

/* Divisore "Oppure" */
.divider {
    text-align: center;
    border-bottom: 1px solid #333;
    line-height: 0.1em;
    margin: 40px 0;
}

.divider span {
    background: #161616; /* Deve corrispondere al fondo del container */
    padding: 0 15px;
    color: var(--gray);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Form di Contatto */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    width: 100%;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: #111;
    border: 1px solid #333;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    border-radius: 4px;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

/* Personalizzazione Tendina Select */
.form-group select {
    cursor: pointer;
    appearance: none; /* Rimuove lo stile di sistema */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23D4AF37' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
}

/* Pulsante Invia */
.btn-gold {
    background: var(--gold);
    color: var(--black);
    padding: 18px;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.4s;
    margin-top: 10px;
}

.btn-gold:hover {
    background: #e6c564; /* Oro più chiaro */
    transform: scale(1.01);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .contact-page {
        padding-top: 100px;
    }
    
    .contact-container {
        padding: 25px;
    }

    .contact-socials {
        grid-template-columns: 1fr; /* Incolonnati su mobile */
        gap: 10px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}