/* Footer Styling */

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Cormorant:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

.footer {
    background: #d4c5bd;
    margin-top: auto;
    padding: 3rem 0 0;
}

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

/* Main Content */
.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    padding-bottom: 2.5rem;
}

/* Brand Column */
.footer-brand-col {
    flex: 1;
}

.footer-logo {
    font-family: 'Cormorant', serif;
    font-size: 2.5rem;
    max-width: 250px;
    font-weight: 700;
    color: #B96D5F;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.footer-desc {
    color: #7E6761;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 2px solid #B96D5F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B96D5F;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: #B96D5F;
    color: #fff;
    transform: scale(1.1);
}

/* Other Columns */
.footer-col {
    flex: 1;
}

.footer-col h4 {
    font-family: 'Cormorant', serif;
    font-size: 1.5rem;
    color: #7E6761;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #7E6761;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.footer-links a i {
    font-size: 0.9rem;
    width: 16px;
    color: #B96D5F;
}

.footer-links a:hover {
    color: #B96D5F;
    transform: translateX(3px);
}

/* Footer Bottom Bar - Completely Redesigned */
.footer-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(126, 103, 97, 0.2);
    color: #7E6761;
}

.footer-bar p {
    font-size: 0.875rem;
}

.footer-copyright {
    justify-self: start;
}

.footer-credits {
    font-style: italic;
    text-align: center;
    font-size: 0.875rem;
}

.footer-legal {
    justify-self: end;
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #7E6761;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #B96D5F;
    transition: width 0.3s ease;
}

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

.footer-legal a:hover::after {
    width: 100%;
}

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

/* Tablet */
@media (max-width: 968px) {
    .footer-bar {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .footer-copyright {
        justify-self: center;
    }

    .footer-legal {
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 0 0;
    }

    .footer-wrapper {
        padding: 0 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
        padding-bottom: 2rem;
    }

    .footer-logo {
        font-size: 2rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 0;
    }

    .footer-wrapper {
        padding: 0 1rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-logo {
        font-size: 1.75rem;
    }

    .footer-desc {
        font-size: 0.9rem;
    }

    .footer-col h4 {
        font-size: 1.15rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-social a {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .footer-bar {
        gap: 0.875rem;
        padding: 1.25rem 0;
    }

    .footer-bar p,
    .footer-credits,
    .footer-legal a {
        font-size: 0.8rem;
    }

    .footer-legal {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
}