/* Footer Styles - Via Italia Tours Style */

.via-footer {
    margin-top: auto;
}

/* Quote Section - Matches original site behavior */
.footer-quote-band {
    background-color: #1E0E3A;
    padding: 2rem 0;
    text-align: center;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    font-family: 'Work Sans', sans-serif;
    line-height: 1.3;
    font-weight: normal;
}

.footer-cta {
    background-color: white;
    color: #1E0E3A;
    padding: 0.6rem 1.2rem;
    border: none;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-cta a {
    color: #1E0E3A !important;
    text-decoration: none !important;
}

/* Contacts Section - Matches original site behavior */
.footer-contacts-band {
    background-color: #131332;
    padding: 2rem 0;
    min-height: 200px;
    display: flex;
    align-items: center;
}

.footer-heading {
    color: white;
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 2rem;
    font-family: 'Work Sans', sans-serif;
    text-align: left !important;
}

.footer-contact-block {
    text-align: left !important;
    background-color: transparent !important;
    padding: 0 !important;
    border: none !important;
}

.company-name {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.6;
    text-align: left !important;
}

.footer-contact-details {
    text-align: left !important;
    background-color: transparent !important;
    padding: 0 !important;
    border: none !important;
}

.contact-item {
    color: white;
    margin-bottom: .8rem !important; 
    font-size: 0.65rem;
    line-height: 1.2;
    text-align: left !important;
    background-color: transparent !important;
    padding: 0 !important;
    border: none !important;
}

.contact-item a {
    color: white;
    text-decoration: none;
}

.contact-item a:hover {
    color: #f0f0f0;
    text-decoration: underline;
}

.footer-contact-block a {
    color: white;
    text-decoration: none;
}

.footer-contact-block a:hover {
    color: #f0f0f0;
    text-decoration: underline;
}

.footer-copy {
    color: white;
    font-size: 0.6rem;
    line-height: 1.2;
    margin-top: 1.5rem;
    text-align: left !important;
}

.footer-copy a {
    color: white;
    text-decoration: none;
}

.footer-copy a:hover {
    color: #f0f0f0;
    text-decoration: underline;
}

/* Force left alignment for all screen sizes and zoom levels */
.footer-contacts-band .col-12,
.footer-contacts-band .col-6 {
    text-align: left !important;
    background-color: transparent !important;
}

.footer-contacts-band .col-12 *,
.footer-contacts-band .col-6 * {
    text-align: left !important;
    background-color: transparent !important;
}

/* Ensure no white background on contact information */
.footer-contacts-band p,
.footer-contacts-band .contact-item,
.footer-contacts-band .company-name,
.footer-contacts-band .footer-contact-details,
.footer-contacts-band .footer-contact-block {
    background-color: transparent !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 15px;
    line-height: 1.5;
}

/* Ensure contacts heading stays left-aligned */
.footer-heading {
    text-align: left !important;
}

/* Ensure all contact content stays left-aligned */
.footer-contact-block,
.footer-contact-details,
.company-name,
.contact-item,
.footer-copy {
    text-align: left !important;
}

/* Social icons should be right-aligned */
.footer-social {
    text-align: right !important;
}

/* Social Media Icons */
.footer-social {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 0.8rem;
    margin-top: 0;
    text-align: right !important;
    width: 100% !important;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.social-btn:hover {
    background-color: white;
    color: #131332;
    text-decoration: none;
}

/* Override default link colors in footer */
.via-footer a,
.via-footer a:link,
.via-footer a:visited,
.via-footer a:hover,
.via-footer a:active {
    color: #1E0E3A !important;
    text-decoration: none !important;
}

/* Specific styling for footer links */
.footer-contacts-band a,
.footer-contacts-band a:link,
.footer-contacts-band a:visited,
.footer-contacts-band a:hover,
.footer-contacts-band a:active {
    color: white !important;
    text-decoration: none !important;
}

/* Social media links should maintain their styling */
.footer-social a,
.footer-social a:link,
.footer-social a:visited,
.footer-social a:hover,
.footer-social a:active {
    color: white !important;
    text-decoration: none !important;
}

/* CTA button links */
.footer-cta,
.footer-cta:link,
.footer-cta:visited {
    color: #1E0E3A !important;
    text-decoration: none !important;
}

.footer-cta:hover,
.footer-cta:active {
    color: #131332 !important;
    text-decoration: none !important;
}

/* Specific footer links styling */
.footer-contact-details a,
.footer-contact-details a:link,
.footer-contact-details a:visited,
.footer-contact-details a:hover,
.footer-contact-details a:active {
    color: white !important;
    text-decoration: none !important;
}

.footer-copy a,
.footer-copy a:link,
.footer-copy a:visited,
    line-height: 1.4 !important; /* prevent overlapping when wrapping */
.footer-copy a:active {
    color: white !important;
    white-space: normal;
    word-break: break-word;
    text-decoration: none !important;
}

/* Email link specific styling */
.contact-item a {
    color: white !important;
    text-decoration: none !important;
}

.contact-item a:hover {
    color: #cccccc !important;
    text-decoration: underline !important;
}

/* Force the layout to work properly - HIGH SPECIFICITY */
.via-footer .footer-contacts-band .row:first-child {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

.via-footer .footer-contacts-band .col-6:first-child {
    text-align: left !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

.via-footer .footer-contacts-band .col-6:last-child {
    text-align: right !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

/* Override any Bootstrap or other CSS */
.footer-contacts-band .row .col-6:first-child h3 {
    text-align: left !important;
    margin: 0 !important;
}

.footer-contacts-band .row .col-6:last-child .footer-social {
    justify-content: flex-end !important;
    text-align: right !important;
    margin: 0 !important;
    width: 100% !important;
    display: flex !important;
}

/* Ensure the social icons container takes full width and aligns content to the right */
.via-footer .footer-contacts-band .col-6:last-child {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

/* Mobile responsive behavior */
@media (max-width: 767px) {
    .footer-contacts-band .col-6 {
        text-align: center !important;
    }
    
    .footer-social {
        justify-content: center !important;
        text-align: center !important;
        margin-top: 1rem;
    }
    
    .footer-heading {
        text-align: center !important;
    }
}

/* Responsive scaling - matches original site zoom behavior */
@media (min-width: 768px) {
    .footer-quote-band {
        padding: 2.5rem 0;
        min-height: 140px;
    }
    
    .quote-title {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }
    
    .footer-cta {
        padding: 0.7rem 1.4rem;
        font-size: 1rem;
    }
    
    .footer-contacts-band {
        padding: 2.5rem 0;
        min-height: 220px;
    }
    
    .footer-heading {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        text-align: left !important;
    }
    
    .footer-contact-block {
        text-align: left !important;
    }
    
    .company-name {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
        text-align: left !important;
    }
    
    .contact-item {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
        text-align: left !important;
    }
    
    .footer-copy {
        font-size: 0.65rem;
        margin-top: 1.2rem;
        text-align: left !important;
    }
    
    .social-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

@media (min-width: 1024px) {
    .footer-quote-band {
        padding: 3rem 0;
        min-height: 160px;
    }
    
    .quote-title {
        font-size: 1.6rem;
        margin-bottom: 1.4rem;
    }
    
    .footer-cta {
        padding: 0.8rem 1.6rem;
        font-size: 1.1rem;
    }
    
    .footer-contacts-band {
        padding: 3rem 0;
        min-height: 240px;
    }
    
    .footer-heading {
        font-size: 1.4rem;
        margin-bottom: 1.8rem;
        text-align: left !important;
    }
    
    .footer-contact-block {
        text-align: left !important;
    }
    
    .company-name {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
        text-align: left !important;
    }
    
    .contact-item {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
        text-align: left !important;
    }
    
    .footer-copy {
        font-size: 0.65rem;
        margin-top: 1.4rem;
        text-align: left !important;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (min-width: 1200px) {
    .footer-quote-band {
        padding: 3.5rem 0;
        min-height: 180px;
    }
    
    .quote-title {
        font-size: 1.8rem;
        margin-bottom: 1.6rem;
    }
    
    .footer-cta {
        padding: 0.9rem 1.8rem;
        font-size: 1.2rem;
    }
    
    .footer-contacts-band {
        padding: 3.5rem 0;
        min-height: 260px;
    }
    
    .footer-heading {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        text-align: left !important;
    }
    
    .footer-contact-block {
        text-align: left !important;
    }
    
    .company-name {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
        text-align: left !important;
    }
    
    .contact-item {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
        text-align: left !important;
    }
    
    .footer-copy {
        font-size: 0.65rem;
        margin-top: 1.6rem;
        text-align: left !important;
    }
    
    .social-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}
