/* Unified Footer Styles for UnitedSets Tennis */

footer {
    background: linear-gradient(135deg, #0a5566 0%, #1a7d94 100%);
    background-color: #0a5566; /* Fallback */
    color: #ffffff;
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 10;
    
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 60px !important;
    margin-bottom: 1rem !important;
    display: block !important;
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    z-index: 100 !important;
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

.footer-logo h3, 
.footer-links h4, 
.footer-contact h4, 
.footer-newsletter h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
}

.footer-logo p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-green);
    color: #1a2a36;
    transform: translateY(-3px);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.footer-links a:hover {
    color: var(--primary-green);
    opacity: 1;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-contact i {
    margin-right: 10px;
    font-size: 1rem;
    color: var(--primary-green);
}

.footer-newsletter p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-newsletter form {
    display: flex;
    height: 40px;
}

.footer-newsletter input {
    flex: 1;
    padding: 0 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter button {
    width: 40px;
    border: none;
    border-radius: 0 4px 4px 0;
    background-color: var(--primary-green);
    color: #1a2a36;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-newsletter button:hover {
    background-color: #a2dd89;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-legal {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-legal a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.9;
    transition: color 0.3s ease, opacity 0.3s ease;
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: var(--primary-green);
    opacity: 1;
}

.legal-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.5rem;
    font-size: 0.85rem;
}

@media (max-width: 576px) {
    .footer-legal {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .legal-separator {
        display: none;
    }
    
    .footer-legal a {
        display: block;
        padding: 0.25rem 0;
    }
}

/* Override for any site-footer classes to ensure consistency */
.site-footer {
    background: linear-gradient(135deg, #0a5566 0%, #1a7d94 100%);
    background-color: #0a5566; /* Fallback */
    color: #ffffff;
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 10;
}

.site-footer .footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .site-footer .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .site-footer .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
} 
