/**
 * Footer Base Styles
 * Synergy Health Theme
 */

/* Footer Container */
.site-footer {
    width: 100%;
}

/* CTA Section - 480px tall with gradient top, solid bottom */
.footer-cta-section {
    height: 480px;
    background: 
        linear-gradient(to left, var(--gradient-start, #E8D5C4) 0%, var(--gradient-end, #B8D4CE) 100%) top / 100% 50% no-repeat,
        var(--teal-primary, #62A498) bottom / 100% 50% no-repeat;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Blue Card Container - 320px tall with 20px border radius */
.footer-cta-card {
    background: var(--blue-primary, #4464AD);
    height: 320px;
    border-radius: var(--radius-lg);
    width: 1440px;
    margin: 0 20px;
    padding: 60px 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* CTA Content */
.footer-cta-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
    flex: 1;
    padding-left: 40px;
}

.footer-cta-title {
    color: var(--white, #FFFFFF);
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

.footer-cta-subtitle {
    color: var(--white, #FFFFFF);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    max-width: 800px;
    margin: 0;
}

/* CTA Buttons */
.footer-cta-buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    flex-shrink: 0;
}

.footer-cta-button {
    padding: var(--btn-padding-md);
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    white-space: nowrap;
    text-align: center;
    transition: all var(--transition-base);
    border: 3px solid transparent;
}

.footer-cta-button-primary {
    background: var(--button-red, #CE4A57);
    color: var(--white, #FFFFFF);
    border: 3px solid var(--button-red, #CE4A57);
}

.footer-cta-button-primary:hover {
    background: #B93D48;
    color: var(--white, #FFFFFF);
    border-color: #B93D48;
    transform: translateY(-2px);
    box-shadow: var(--shadow-button);
}

.footer-cta-button-primary:active {
    transform: translateY(0);
}

.footer-cta-button-primary:focus {
    outline: 3px solid var(--button-red);
    outline-offset: 2px;
}

.footer-cta-button-secondary {
    background: transparent;
    color: var(--white, #FFFFFF);
    border-color: var(--white, #FFFFFF);
}

.footer-cta-button-secondary:hover {
    background: var(--white, #FFFFFF);
    color: var(--blue-primary, #4464AD);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.footer-cta-button-secondary:active {
    transform: translateY(0);
}

.footer-cta-button-secondary:focus {
    outline: 3px solid var(--white);
    outline-offset: 2px;
}

/* Footer Main Content - Teal background */
.footer-main {
    background: var(--teal-primary, #62A498);
    padding-bottom: 40px;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer Top Section - Logo, Address, Contact, Social */
.footer-top {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer Brand */
.footer-brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.footer-logo {
    max-width: 200px;
}

/* Footer Contact Info - All elements in one row */
.footer-contact {
    display: flex;
    gap: 30px;
    align-items: end;
    flex: 1;
    justify-content: space-evenly;
}

.footer-address,
.footer-phone,
.footer-email,
.footer-locations-link {
    color: var(--white, #FFFFFF);
    font-size: 16px;
    line-height: 1.6;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s ease;
}

.footer-locations-link,
.footer-phone,
.footer-email {
    cursor: pointer;
}

/* Add chevron after contact links */
.footer-locations-link::after,
.footer-phone::after,
.footer-email::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: var(--text-xs);
    margin-left: var(--spacing-xs);
    transition: transform var(--transition-base);
}

.footer-phone:hover,
.footer-email:hover,
.footer-locations-link:hover {
    opacity: 0.8;
}

/* Move chevron on hover */
.footer-locations-link:hover::after,
.footer-phone:hover::after,
.footer-email:hover::after {
    transform: translateX(var(--spacing-xs));
}

.footer-contact i,
.footer-address i {
    font-size: 18px;
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white, #FFFFFF);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--teal-primary, #62A498);
    text-decoration: none;
    opacity: 0.5;
}

.footer-social-link:hover {
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-social-link i {
    font-size: 20px;
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 0;
}

.footer-nav-column {
    flex: 1;
}

/* What Hurts Section - First Column */
.footer-nav-column:first-child {
    padding: 0;
}

.footer-nav-column .widget {
    margin-bottom: 0;
}

.footer-nav-column .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-column .widget ul li {
    margin-bottom: 12px;
}

.footer-nav-column .widget ul a {
    color: var(--white, #FFFFFF);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-nav-column .widget ul a:hover {
    text-decoration: underline;
}

.footer-nav-title {
    color: var(--white, #FFFFFF);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

/* Desktop - ensure menus are always visible */
@media (min-width: 769px) {
    .footer-nav-title {
        cursor: default;
    }
    
    .footer-nav-menu,
    .footer-nav-column .widget {
        max-height: none !important;
        overflow: visible !important;
        padding: 0 !important;
    }
}

.footer-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-menu li {
    margin-bottom: 12px;
}

.footer-nav-menu a {
    color: var(--white, #FFFFFF);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-nav-menu a:hover {
    text-decoration: underline;
}

/* Footer Bottom - Copyright and Legal */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-legal {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    order: 1;
}

.footer-copyright {
    color: var(--white, #FFFFFF);
    font-size: 14px;
    margin: 0;
    order: 2;
}

.footer-legal a {
    color: var(--white, #FFFFFF);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    text-decoration: underline;
}
