/*
 * Custom styles for Bruce il Barboncino
 * These load AFTER Uncode's styles
 */

/* Contact page styles */
.contact-intro {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.contact-intro h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-prep-list {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.contact-prep-list ul {
    margin: 0;
    padding-left: 1.2rem;
}

.contact-prep-list li {
    margin-bottom: 0.5rem;
}

.contact-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form-wrapper label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-form-wrapper textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-wrapper input[type="submit"] {
    background: #333;
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    width: 100%;
}

.contact-form-wrapper input[type="submit"]:hover {
    background: #555;
}

.form-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
    text-align: center;
}

.bruce-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.bruce-stat {
    background: #f5f5f5;
    padding: 0.75rem 1.25rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.bruce-stat strong {
    margin-right: 0.3rem;
}

/* ===========================================
   FOOTER FIXES
   =========================================== */

/* Desktop: Reduce gap between content and footer */
.page-body,
#page-content,
.post-content {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Remove excessive spacing before footer */
.footer-wrapper,
#footer-container,
footer.footer {
    margin-top: 0 !important;
}

/* Target Uncode's specific row spacing if needed */
.vc_row:last-child {
    margin-bottom: 0 !important;
}

/* ===========================================
   MOBILE FIXES
   =========================================== */

@media screen and (max-width: 959px) {

    /* Force footer columns to stack vertically */
    footer .row,
    footer .vc_row,
    .footer-content .row,
    .uncol,
    footer [class*="col-"] {
        display: block !important;
        width: 100% !important;
        float: none !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* Add spacing between stacked footer sections */
    footer .uncol,
    footer [class*="col-"],
    footer .wpb_column {
        margin-bottom: 2rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Center footer content on mobile */
    footer .uncol,
    footer [class*="col-"] {
        text-align: center !important;
    }

    /* Fix footer logo centering */
    footer .logo-container,
    footer img {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Smaller phones */
@media screen and (max-width: 479px) {

    footer .uncol,
    footer [class*="col-"] {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}
