/* Footer Styles - Amora Eternal Light */

/* Footer Base */
.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #5a3921 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.03)" d="M0,0 L100,0 L100,100 L0,100 Z M0,0 C30,10 70,10 100,0 L100,100 C70,90 30,90 0,100 Z"></path></svg>');
    background-size: cover;
    pointer-events: none;
}

/* Footer Upper Section */
.footer-upper {
    padding: var(--section-pad-md) 0 var(--section-pad-sm);
    position: relative;
    z-index: 1;
}

.footer-about .footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 0.8rem;
}

.footer-about .footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius);
    object-fit: cover;
    border: 2px solid var(--primary-soft);
    box-shadow: var(--shadow);
}

.footer-about .footer-logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.footer-about p {
    margin-bottom: 1.8rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 1.05rem;
}

.footer-about .social-links {
    display: flex;
    gap: 0.8rem;
}

.footer-about .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--white);
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-about .social-links a:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

/* Footer Links Section */
.footer-links h3,
.footer-contact h3 {
    font-size: 1.4rem;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
    color: var(--primary-light);
    font-family: var(--font-heading);
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.footer-links ul li:hover {
    transform: translateX(5px);
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: block;
    padding: 0.3rem 0;
    font-weight: 400;
    position: relative;
    padding-left: 1rem;
}

.footer-links ul li a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.footer-links ul li a:hover::before {
    transform: translateX(3px);
}

/* Footer Contact Form */
.footer-contact {
    position: relative;
}

.footer-form .form-control {
    background-color: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-radius: var(--border-radius);
    padding: 0.85rem 1.2rem;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.footer-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 213, 30, 0.2);
    outline: none;
    color: var(--white);
}

.footer-form .btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-dark);
    border: none;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-family: var(--font-primary);
    box-shadow: var(--shadow);
}

.footer-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

/* Footer Lower Section */
.footer-lower {
    padding: 2.5rem 0 2rem;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text {
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

.copyright-text a {
    color: var(--primary-color);
    transition: var(--transition);
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.copyright-text a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.copyright-text a:hover {
    color: var(--primary-light);
}

.copyright-text a:hover::after {
    width: 100%;
}

.footer-links-bottom {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
    font-weight: 400;
    position: relative;
    padding: 0.3rem 0;
}

.footer-links-bottom a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: var(--transition);
}

.footer-links-bottom a:hover {
    color: var(--primary-color);
}

.footer-links-bottom a:hover::after {
    width: 100%;
}

.footer-links-bottom a:not(:last-child)::before {
    content: '•';
    position: absolute;
    right: -1.4rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive Footer */
@media (max-width: 991.98px) {
    .footer-upper {
        padding: var(--space-2-5) 0 var(--space-2-5);
    }
    
    .footer-about {
        margin-bottom: 2.5rem;
        text-align: center;
    }
    
    .footer-about .footer-logo {
        justify-content: center;
    }
    
    .footer-about .social-links {
        justify-content: center;
    }
    
    .footer-links,
    .footer-contact {
        margin-bottom: 2.5rem;
        text-align: center;
    }
    
    .footer-links h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links ul li a {
        padding-left: 0;
        justify-content: center;
    }
    
    .footer-links ul li a::before {
        display: none;
    }
    
    .footer-links ul li:hover {
        transform: none;
    }
}

@media (max-width: 767.98px) {
    .footer-upper {
        padding: var(--section-pad-sm) 0 var(--space-2);
    }
    
    .footer-lower {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-links-bottom {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.2rem;
    }
    
    .footer-links-bottom a:not(:last-child)::before {
        display: none;
    }
    
    .footer-about .footer-logo span {
        font-size: 1.4rem;
    }
    
    .footer-about .footer-logo img {
        width: 45px;
        height: 45px;
    }
    
    .footer-links h3,
    .footer-contact h3 {
        font-size: 1.3rem;
    }
    
    .copyright-text {
        font-size: 0.95rem;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .footer-upper {
        padding: var(--space-2-5) 0 var(--space-2);
    }
    
    .footer-lower {
        padding: 1.8rem 0 1.2rem;
    }
    
    .footer-about .footer-logo span {
        font-size: 1.3rem;
    }
    
    .footer-about .footer-logo img {
        width: 40px;
        height: 40px;
    }
    
    .footer-about p {
        font-size: 1rem;
    }
    
    .footer-links h3,
    .footer-contact h3 {
        font-size: 1.2rem;
    }
    
    .footer-form .btn {
        padding: 0.8rem 1.5rem;
    }
}

/* Animation for footer elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-upper .row > div {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.footer-upper .row > div:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-upper .row > div:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-upper .row > div:nth-child(3) {
    animation-delay: 0.3s;
}

/* Focus styles for accessibility */
.footer-form .form-control:focus,
.footer-links a:focus,
.footer-links-bottom a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}