/* =================================
   FOOTER STYLES
   ================================= */

.footer {
    background: linear-gradient(135deg, #2a5861 0%, #1e444c 100%);
    color: white;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.8fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

/* Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    margin-bottom: 0.5rem;
}

.brand-logo {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: 1px;
}

.brand-description {
    color: #b8d4d8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    max-width: 280px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.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: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: #35707e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(53, 112, 126, 0.4);
}

.social-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Quick Links */
.footer-links h4,
.footer-contact h4,
.footer-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-info h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #35707e;
}

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

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    color: #b8d4d8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.footer-nav a:hover {
    color: white;
    padding-left: 0.5rem;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #b8d4d8;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-icon {
    width: 18px;
    height: 18px;
    color: #35707e;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Hours & Newsletter */
.footer-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-hours h4,
.footer-newsletter h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.hours-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    padding: 0.25rem 0;
}

.days {
    color: white;
    font-weight: 500;
}

.time {
    color: #b8d4d8;
    text-align: right;
}

/* Newsletter */
.newsletter-desc {
    color: #b8d4d8;
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.email-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.9rem;
    outline: none;
}

.email-input::placeholder {
    color: #b8d4d8;
}

.email-submit {
    background: #35707e;
    border: none;
    padding: 0.75rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
}

.email-submit:hover:not(:disabled) {
    background: #2a5861;
}

.email-submit:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.email-submit.success {
    background: #28a745;
    animation: successPulse 0.6s ease-out;
}

.email-submit.error {
    background: #dc3545;
    animation: errorShake 0.6s ease-out;
}

.loading-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

.success-icon,
.error-icon {
    width: 18px;
    height: 18px;
}

/* Subscribed state styles */
.input-group.subscribed {
    background: rgba(40, 167, 69, 0.2);
    border-color: rgba(40, 167, 69, 0.4);
}

.input-group.subscribed .email-input {
    color: #28a745;
    font-weight: 600;
    text-align: center;
}

.input-group.subscribed .email-input:disabled {
    background: transparent;
    cursor: not-allowed;
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.submit-icon {
    width: 18px;
    height: 18px;
}

.footer-newsletter .success-message,
.footer-newsletter .error-message {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    display: none !important;
}

.footer-newsletter .success-message {
    background: rgba(72, 187, 120, 0.2);
    color: #68d391;
    border: 1px solid rgba(72, 187, 120, 0.3);
}

.footer-newsletter .error-message {
    background: rgba(245, 101, 101, 0.2);
    color: #fc8181;
    border: 1px solid rgba(245, 101, 101, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

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

.copyright {
    margin: 0;
    color: #b8d4d8;
    font-size: 0.9rem;
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b8d4d8;
    font-size: 0.85rem;
}

.voovode-logo {
    display: flex;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.voovode-logo:hover {
    opacity: 1;
}

.credit-logo {
    height: 20px;
    width: auto;
}

/* =================================
   RESPONSIVE DESIGN
   ================================= */

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        padding: 3rem 2rem 2rem;
    }
    
    .footer-info {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .footer-info {
        grid-column: auto;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    /* Brand section - centered */
    .footer-brand {
        text-align: center;
        align-items: center;
    }
    
    .brand-description {
        max-width: none;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
        gap: 1.5rem;
        flex-direction: row;
    }
    
    /* Only center section titles (h4) */
    .footer-links h4,
    .footer-contact h4,
    .footer-hours h4,
    .footer-newsletter h4 {
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .footer {
        font-size: 0.9rem;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-icon {
        width: 18px;
        height: 18px;
    }
}