/*
 * footer.css
 * Footer Castionese Softball
 * Struttura: wrapper → colonne (logo+social, menu, contatti, mappa) → bottom bar
 * ============================================================
 * PALETTE COLORI (cambia qui i valori per riflettere su tutto)
 *   Sfondo footer:     #111
 *   Testo chiaro:      #fff
 *   Accento (hover):   #d8302f
 *   Linea separatrice: #333
 *   Linea bottom bar:  #23c002
 * ============================================================
 */


/* ============================================================
   1. WRAPPER FOOTER
   ============================================================ */
footer#footer {
    float: left; 
    width: 100%;
    background: #111;                    /* sfondo principale footer */
    border-top: 1px solid #ddd;
    padding: 0;
    position: relative;
}


/* ============================================================
   2. COLONNE / WIDGET
   Ogni .col-md-* contiene un .footer-widget
   ============================================================ */
.footer-widget {
    float: left;                         /* ← RIMETTI QUESTO */
    width: 100%;
    padding: 50px 0 10px;
}

/* Titoli colonna: "Menu", "Contatti", ecc. */
.footer-widget h3 {
    color: #fff;                         /* colore titoli colonna */
    font-size: 20px;    /* dimensione titoli colonna */
    font-weight: 500;
    line-height: 20px;
    margin: 0 0 15px;
    padding: 7px 0 15px;
    border-bottom: 1px solid #23c002;       /* riga sotto il titolo */
    text-transform: none;
}

/* Paragrafi generici dentro un widget (se presenti) */
.footer-widget p {
    color: #fff;                         /* colore testo paragrafi */
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    margin: 20px 0 15px;
}

/* ============================================================
   3. COLONNA 1 — LOGO + SOCIAL
   ============================================================ */
.footer-logo {
    margin-bottom: 20px;
}
.footer-logo img {
    max-width: 180px;
    height: auto;
}

/* Icone social */
.social-icons {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}
.social-icons li {
    display: inline-block;
    margin-right: 8px;
}
.social-icons li a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    color: #fff;                         /* colore icone social */
    background: #222;                    /* sfondo bottoncino social */
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}
.social-icons li a:hover {
    background: #0734dd;                 /* hover bottoncino social */
    color: #fff;
}

.address-list li.contact-divider {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(35, 192, 2, 0.31);          /* riga sottile di separazione */
}
/* ============================================================
   4. COLONNA 2 — MENU
   ============================================================ */
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-menu li {
    line-height: 32px;  /* distanzia voci menu in footer */
    font-size: 15px;  /* dimensione carattere voci colonna MENU' */
    font-weight: 300;
}
.footer-menu li a {
    color: #fff;                         /* colore voci menu */
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-menu li a:hover {
    color: #f95119;                      /* hover voci menu */
}


/* ============================================================
   5. COLONNA 3 — CONTATTI
   ============================================================ */
.address-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.address-list li {
    color: #fff;                         /* colore testo contatti */
    font-size: 14px;
    font-weight: 300;                   /* dimensione caratteri voci colonna Contatti */
    line-height: 1.6;
    margin-bottom: 10px;
}
.address-list li i {
    color: #f95119;                      /* colore icone (mappa, busta) */
    margin-right: 10px;
    width: 16px;                         /* allinea il testo dopo l'icona */
    text-align: center;
}
/* Se in futuro userai link (email/tel) nei contatti */
.address-list li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}
.address-list li a:hover {
    color: #d8302f;
}


/* ============================================================
   6. COLONNA 4 — MAPPA
   ============================================================ */
.contact-footer {
    padding: 50px 0 10px;
}
.contact-footer iframe {
    width: 100%;
    height: 250px;
    border: 0;
    display: block;
}


.contact-footer .map-link {
    display: block;
    text-align: center;
    color: #fff;
    font-size: 13px;
    font-weight: 300;
    margin-top: 8px;
    text-decoration: none;
    transition: color 0.2s ease;
}
.contact-footer .map-link:hover {
    color: #d8302f;
}

/* ============================================================
   7. BOTTOM BAR (copyright)
   ============================================================ */
.footer-bottom {
    width: 100%;
    min-height: 45px;
    line-height: 45px;
    text-align: center;
    background: #111;                    /* sfondo barra copyright */
    color: #fff;
    border-top: 1px solid #23c002;       /* linea verde sopra copyright */
}
.footer-bottom p {
    margin: 0;
    color: #fff;                         /* colore testo copyright */
    font-size: 14px;
    font-weight: 300;
    line-height: 45px;
}


/* ============================================================
   8. BOTTONE "TORNA SU"
   ============================================================ */
.dmtop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #d8302f;                 /* sfondo bottone "torna su" */
    color: #fff;                         /* colore freccia */
    border-radius: 50%;
    z-index: 999;
    transition: background 0.2s ease;
}
.dmtop:hover {
    background: #fff;
    color: #d8302f;
}


/* ============================================================
   9. RESPONSIVE — mobile
   ============================================================ */
@media (max-width: 991px) {
    .footer-widget,
    .contact-footer {
        padding: 30px 0 10px;
        text-align: center;
    }
    .social-icons {
        display: inline-block;
        float: none;
    }
    .address-list li i {
        display: inline-block;
    }
}