/* footer-style.css - Samra Theme Footer Styles */

/* Footer Base Styles */
.site-footer {
    background: var(--samra-footer-bg, #1a1a1a);
    color: var(--samra-footer-text, #ffffff);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--samra-primary-color, #007cba), transparent);
}

/* Footer Top Section */
.footer-top {
    padding: 4rem 0 3rem;
    background: var(--samra-footer-top-bg, #1a1a1a);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

/* Footer Brand Column */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo-image {
    max-height: 85px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-logo:hover .footer-logo-image {
    transform: scale(1.05);
}

.footer-site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--samra-footer-heading, #ffffff);
    margin: 0 0 0.5rem;
}

.footer-description {
    color: var(--samra-footer-text, #a0a0a0);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Social Links */
.footer-social {
    margin-top: 1rem;
}

.social-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--samra-footer-heading, #ffffff);
    margin: 0 0 1rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--samra-footer-text, #ffffff);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--samra-primary-color, #007cba);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

/* Footer Columns */
.footer-column-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--samra-footer-heading, #ffffff);
    margin: 0 0 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--samra-primary-color, #007cba);
    border-radius: 2px;
}

/* Footer Menu */
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: var(--samra-footer-text, #a0a0a0);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    display: block;
    position: relative;
    padding-left: 1rem;
}

.footer-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--samra-primary-color, #007cba);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-menu a:hover {
    color: var(--samra-primary-color, #007cba);
    padding-left: 1.5rem;
}

.footer-menu a:hover::before {
    opacity: 1;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--samra-footer-text, #a0a0a0);
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--samra-primary-color, #007cba);
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--samra-primary-color, #007cba);
}

/* Newsletter */
.newsletter-description {
    color: var(--samra-footer-text, #a0a0a0);
    margin: 0 0 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.newsletter-form {
    margin-top: 1rem;
}

.newsletter-input-group {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.newsletter-input-group:focus-within {
    border-color: var(--samra-primary-color, #007cba);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.875rem 1rem;
    color: var(--samra-footer-text, #ffffff);
    font-size: 0.95rem;
    outline: none;
}

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

.newsletter-button {
    background: var(--samra-primary-color, #007cba);
    border: none;
    padding: 0.875rem 1rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-button:hover {
    background: var(--samra-primary-hover, #0056b3);
    transform: translateX(2px);
}

/* Footer Bottom */
.footer-bottom {
    background: var(--samra-footer-bottom-bg, #0f0f0f);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.site-info p {
    margin: 0;
    color: var(--samra-footer-text, #a0a0a0);
    font-size: 0.9rem;
}

.footer-legal-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

.footer-legal-menu a {
    color: var(--samra-footer-text, #a0a0a0);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal-menu a:hover {
    color: var(--samra-primary-color, #007cba);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-widgets {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 3rem 0 2rem;
    }
    
    .footer-container {
        padding: 0 1.5rem;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal-menu {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-top {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-legal-menu {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-button {
        padding: 0.75rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .site-footer {
        border-top: 3px solid #000;
    }
    
    .footer-menu a,
    .footer-legal-menu a {
        font-weight: 600;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .social-link,
    .footer-menu a,
    .newsletter-button {
        transition: none;
    }
}