/* Footer Styles for Ink & Aura */

.footer {
    background: linear-gradient(135deg, #2c2419 0%, #1a1611 100%);
    color: #e8e3d8;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #b8956a 50%, transparent 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #b8956a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo::before {
    content: '🕯️';
    font-size: 1.5rem;
}

.footer-description {
    color: #c4b8a8;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(184, 149, 106, 0.1);
    border: 1px solid rgba(184, 149, 106, 0.2);
    border-radius: 8px;
    color: #b8956a;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: #b8956a;
    color: #1a1611;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 149, 106, 0.3);
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #e8e3d8;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #b8956a;
    border-radius: 1px;
}

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

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

.footer-link {
    color: #c4b8a8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-link:hover {
    color: #b8956a;
    transform: translateX(5px);
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: #b8956a;
    transition: width 0.3s ease;
}

.footer-link:hover::before {
    width: 10px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #c4b8a8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-icon {
    color: #b8956a;
    font-size: 1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.newsletter-signup {
    margin-top: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(232, 227, 216, 0.1);
    border: 1px solid rgba(184, 149, 106, 0.3);
    border-radius: 6px;
    color: #e8e3d8;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: #a0845c;
}

.newsletter-input:focus {
    outline: none;
    border-color: #b8956a;
    background: rgba(232, 227, 216, 0.15);
    box-shadow: 0 0 0 2px rgba(184, 149, 106, 0.2);
}

.newsletter-btn {
    padding: 0.75rem 1.5rem;
    background: #b8956a;
    color: #1a1611;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #a0845c;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(184, 149, 106, 0.3);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(184, 149, 106, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: #a0845c;
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

.footer-legal a:hover {
    color: #b8956a;
}

.footer-certification {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #a0845c;
    font-size: 0.8rem;
}

.certification-badge {
    width: 20px;
    height: 20px;
    background: #b8956a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #1a1611;
    font-weight: bold;
}

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

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-btn {
        align-self: flex-start;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-logo {
        font-size: 1.75rem;
        justify-content: center;
    }
    
    .footer-description {
        text-align: center;
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-link::before {
        display: none;
    }
    
    .footer-link:hover {
        transform: none;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .footer {
        background: linear-gradient(135deg, #0f0d0a 0%, #1a1611 100%);
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .footer {
        background: #000;
        color: #fff;
    }
    
    .footer-logo,
    .social-link,
    .newsletter-btn {
        color: #fff;
        background: #000;
        border-color: #fff;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .social-link,
    .footer-link,
    .newsletter-btn {
        transition: none;
    }
    
    .social-link:hover,
    .footer-link:hover,
    .newsletter-btn:hover {
        transform: none;
    }
}