/* Simple Footer CSS - Clean SEO-Optimized Design */

/* Footer Container */
.site-footer {
    background-color: #ffffff;
    border-top: 4px solid var(--secondary-color, #FFD700);
    margin-top: 4rem;
    position: relative;
}

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

/* Main Footer Content */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 0 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.footer-content > :first-child {
  grid-column: 1 / -1;
}


/* Footer Rows */
.footer-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.footer-row h3 {
    font-family: 'Anton', sans-serif;
    color: var(--primary-color, #006400);
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-color, #a4cf05);
    padding-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

/* Business Highlight Row */
.footer-row.business-highlight {
    background: linear-gradient(135deg, rgba(164, 207, 5, 0.05), rgba(255, 215, 0, 0.05));
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(164, 207, 5, 0.2);
    position: relative;
}

.footer-row.business-highlight::before {
    content: '💼';
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 1.5rem;
    background: white;
    padding: 0 0.5rem;
}

.footer-row.business-highlight h3 {
    color: var(--primary-color, #006400);
    border-bottom-color: var(--secondary-color, #FFD700);
}


/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    font-family: 'Anton', sans-serif;
    color: var(--primary-color, #006400);
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-color, #a4cf05);
    padding-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

/* Business Highlight Column */
.footer-column.business-highlight {
    background: linear-gradient(135deg, rgba(164, 207, 5, 0.05), rgba(255, 215, 0, 0.05));
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(164, 207, 5, 0.2);
    position: relative;
}

.footer-column.business-highlight::before {
    content: '💼';
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 1.5rem;
    background: white;
    padding: 0 0.5rem;
}

.footer-column.business-highlight h3 {
    color: var(--primary-color, #006400);
    border-bottom-color: var(--secondary-color, #FFD700);
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    gap: 0.8rem;
}

.footer-link {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 0.3rem 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: var(--accent-color, #a4cf05);
    border-bottom-color: var(--accent-color, #a4cf05);
    text-decoration: none;
    padding-left: 21px;
    background: var(--primary-color, #006400);
    padding: 0.4rem 0.7rem 0.4rem 1.5rem;
    border-radius: 4px;
}

.footer-link:hover::before {
    content: '→';
    position: absolute;
    left: 3.5px;
    color: var(--accent-color, #a4cf05);
    font-weight: bold;
}

/* Primary Link Styling for Hubs */
.footer-link.primary {
    font-weight: 600;
    color: var(--primary-color, #006400);
    background: rgba(164, 207, 5, 0.1);
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(164, 207, 5, 0.3);
}

.footer-link.primary:hover {
    background: var(--accent-color, #a4cf05);
    color: white;
    border-color: var(--accent-color, #a4cf05);
    padding-left: 0.5rem;
}

.footer-link.primary:hover::before {
    display: none;
}

/* Total Plan Featured Link */
.footer-link.total-primary {
    font-weight: 600;
    color: #110534; /* Deep purple */
    background: rgba(75, 0, 130, 0.08); /* Light indigo background */
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(75, 0, 130, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
}

.footer-link.total-primary:hover {
    background: #ff8000;
    color: white;
    border-color: #ff8000;
    padding-left: 0.5rem;
}

.footer-link.total-primary:hover::before {
    display: none;
}


/* Total Plan Sub-Links */
.footer-link.total {
    color: #4b0082; /* Indigo text */
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 0.3rem 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link.total:hover {
    color: #ff8000;
    border-bottom-color: #ff8000;
    padding-left: 21px;
    background: #4b0082;
    padding: 0.4rem 0.7rem 0.4rem 1.5rem;
}

.footer-link.total:hover::before {
    content: '→';
    position: absolute;
    left: 3.5px;
    color: #ff8000;
    font-weight: bold;
}


/* Hub Page Highlighting */
.footer-link.hub-page {
    font-weight: 600;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(164, 207, 5, 0.15));
    padding: 0.5rem 0.8rem 0.5rem 0.6rem;
    border-radius: 6px;
    border-left: 3px solid var(--secondary-color, #FFD700);
    margin: 0.3rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.footer-link.hub-page::after {
    content: '🏛️';
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
}

.footer-link.hub-page:hover {
    background: linear-gradient(135deg, var(--secondary-color, #FFD700), var(--accent-color, #a4cf05));
    color: var(--primary-color, #006400);
    border-left-color: var(--primary-color, #006400);
    padding-left: 0.8rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.footer-link.hub-page:hover::before {
    display: none;
}

.footer-link.hub-page:hover::after {
    content: '📂';
    animation: bounce 0.3s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.1); }
}

/* Footer Bottom Section */
.footer-bottom {
    min-height: 100vh;
    background: var(--primary-color);
    padding: 2rem 0 1rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 1.5rem auto;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    padding: 0 20px;
}

/* Footer Brand */

.footer-brand .logo {
    font-family: 'Anton', sans-serif;
    font-size: 1.8rem;
    color: var(--secondary-color, #ffcc00);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.brand-tagline {
    color: var(--white);
    font-style: italic;
    font-size: 0.9rem;
    margin: 0;
    max-width: 250px;
    text-align: left;
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

.contact-info {
    text-align: right;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.phone-link:hover {
    color: var(--accent-color, #a4cf05);
    text-decoration: none;
}

.phone-link i {
    color: var(--secondary-color, #FFD700);
    font-size: 1.2rem;
}

.contact-note {
    color: var(--white);
    font-size: 0.8rem;
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
}

.gtranslate_wrapper {
    font-size: 0.9rem;
}

.gtranslate_wrapper a {
    color: #666 !important;
    text-decoration: none;
    margin: 0 0.3rem;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.gtranslate_wrapper a:hover {
    background: var(--accent-color, #a4cf05);
    color: white !important;
}

/* Footer Legal Section */
.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid #e0e0e0;
    max-width: 1200px;
    margin: 1rem auto;
}

.copyright {
    flex: 1;
}

.copyright p {
    margin: 0 0 0.3rem 0;
    color: var(--white);
    font-size: 0.8rem;
}

.company-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.8rem;
}

.company-address address {
    font-style: normal;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.company-address i {
    color: var(--accent-color, #a4cf05);
}

.partner-info {
    display: flex;
    align-items: center;
}

.partner-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.3s ease;
}

.partner-link:hover {
    color: var(--accent-color, #a4cf05);
    text-decoration: none;
}

.partner-link i {
    font-size: 0.7rem;
}

/* Footer Disclaimer */
.footer-disclaimer {
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    max-width: 1200px;
    margin: 1rem auto;
}

.footer-disclaimer details {
    background: rgba(255, 215, 0, 0.1);
    padding: 0.8rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.footer-disclaimer summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.footer-disclaimer summary i {
    color: var(--secondary-color, #FFD700);
}

.footer-disclaimer p {
    margin-top: 0.8rem;
    margin-bottom: 0;
    color: var(--white);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-column {
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 1.5rem;
    }
    
    .footer-column:last-child {
        border-bottom: none;
    }

    .footer-column.business-highlight {
        padding: 1.5rem 0 0;
    }
    
    
    /* Improved Footer Bottom Mobile Layout */
    .footer-bottom {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
        margin: 0 auto 2rem;
        padding: 0 1.5rem;
        max-width: 100%;
        width: calc(100% - 3rem);
    }
    
    .footer-contact {
        width: 100%;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    
    .contact-info {
        width: 100%;
        text-align: center;
        margin-bottom: 0;
    }
    
    .phone-link {
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .language-selector {
        width: 100%;
        justify-content: center;
        margin-top: 0;
    }
    
    .footer-legal {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        margin: 0 auto;
        padding: 1.5rem 1.5rem 1rem;
        max-width: 100%;
        width: calc(100% - 3rem);
        border-top: 1px solid #e0e0e0;
    }
    
    .footer-legal > * {
        margin-bottom: 0.8rem;
    }
    
    /* Better spacing for footer disclaimer on mobile */
    .footer-disclaimer {
        margin: 1rem auto 0;
        padding: 0 1rem;
        max-width: 100%;
        width: 100%;
    }
    
    /* Mobile Navigation Enhancement */
    .footer-column h3 {
        position: relative;
        cursor: pointer;
        /*padding-right: 2rem;*/
        padding: 0 2rem;
    }
    
    .footer-column h3::after {
        content: '+';
        position: absolute;
        right: 0;
        top: 0;
        font-size: 1.2rem;
        color: var(--accent-color, #a4cf05);
        transition: transform 0.3s ease;
    }
    
    .footer-column.expanded h3::after {
        content: '−';
        transform: rotate(180deg);
    }
    
    .footer-nav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .footer-column.expanded .footer-nav {
        max-height: 500px;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-content {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-column {
        padding-bottom: 1rem;
    }
    
    .footer-brand .logo {
        font-size: 1.5rem;
    }
    
    .phone-link {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .site-footer {
        background: white !important;
        color: black !important;
        border-top: 2px solid #333 !important;
    }
    
    .footer-link {
        color: black !important;
    }
    
    .footer-column.business-highlight {
        background: transparent !important;
        border: 1px solid #333 !important;
    }
    
    .footer-disclaimer details {
        background: transparent !important;
        border: 1px solid #333 !important;
    }
}

/* Accessibility Enhancements */
.footer-link:focus {
    outline: 2px solid var(--accent-color, #a4cf05);
    outline-offset: 2px;
}

.phone-link:focus {
    outline: 2px solid var(--secondary-color, #FFD700);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .footer-link {
        color: #000;
    }
    
    .footer-link:hover {
        color: #000;
        background: #FFD700;
    }
    
    .footer-column.business-highlight {
        background: #f0f0f0;
        border: 2px solid #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .footer-link,
    .footer-nav,
    .footer-column h3::after {
        transition: none;
    }
}