/*==============================================
   PREMIUM FOOTER COMPONENT
==============================================*/
.footer {
    background: linear-gradient(180deg, var(--primary-dark) 0%, #0a261c 100%);
    color: var(--earth-cream);
    padding: 5rem 0 2rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
    opacity: 0.3;
}

/* Container - supports both .container and .footer-container */
.footer > .container,
.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

/* First column - Brand section */
.footer-grid > div:first-child p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 300px;
    margin: 0;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    text-decoration: none;
}

.footer-brand i {
    color: var(--primary-accent);
    font-size: 1.5rem;
}

.footer-brand:hover {
    color: var(--secondary-light);
}

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

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: var(--transition-bounce);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-link:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(188, 108, 37, 0.3);
    color: white;
}

/* Column headings - target h4 within footer grid columns (except first) */
.footer-grid > div:not(:first-child) h4 {
    font-family: 'Inter', sans-serif;
    color: white;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.footer-link::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: var(--transition);
    flex-shrink: 0;
}

.footer-link:hover {
    color: var(--secondary-light);
    padding-left: 0.5rem;
}

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

/* Contact info icons */
.footer-link i {
    color: var(--primary-accent);
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--secondary-light);
}

/* Made with love */
.footer-love {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.footer-love i {
    color: var(--danger);
    animation: heartbeat 1.5s ease-in-out infinite;
}

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

/* Responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
    .footer-grid > div:first-child p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-brand {
        font-size: 1.5rem;
    }
    .footer-bottom {
        padding-top: 1.5rem;
    }
}
