/**
 * Erlandia Footer Styles
 */

/* =====================
   FOOTER
   ===================== */
.footer {
    background: var(--text-dark);
    color: var(--cream);
    padding: 60px 0 40px;
}

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

/* =====================
   FOOTER BRAND
   ===================== */
.footer-brand h4 {
    font-family: 'Abhaya Libre', serif;
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(254, 249, 240, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-brand .tagline {
    margin-top: 16px;
    font-size: 0.85rem;
}

/* Logo image variant */
.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 16px;
}

/* =====================
   FOOTER LINKS
   ===================== */
.footer-links h5 {
    font-family: 'Abhaya Libre', serif;
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(254, 249, 240, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-normal);
}

.footer-links a:hover {
    color: var(--gold);
}

/* =====================
   FOOTER SOCIAL
   ===================== */
.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(254, 249, 240, 0.1);
    color: var(--cream);
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--text-dark);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

/* =====================
   FOOTER NEWSLETTER
   ===================== */
.footer-newsletter {
    margin-top: 24px;
}

.footer-newsletter p {
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.footer-newsletter-form {
    display: flex;
    gap: 8px;
}

.footer-newsletter input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid rgba(254, 249, 240, 0.2);
    border-radius: 30px;
    background: rgba(254, 249, 240, 0.05);
    color: var(--cream);
    font-size: 0.9rem;
    font-family: inherit;
}

.footer-newsletter input::placeholder {
    color: rgba(254, 249, 240, 0.5);
}

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--gold);
}

.footer-newsletter button {
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    background: var(--gold);
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.footer-newsletter button:hover {
    background: var(--gold-light);
}

/* =====================
   FOOTER BOTTOM
   ===================== */
.footer-bottom {
    border-top: 1px solid rgba(254, 249, 240, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(254, 249, 240, 0.5);
}

.footer-bottom a {
    color: rgba(254, 249, 240, 0.5);
    transition: color var(--transition-normal);
}

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

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 12px;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 500px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-legal {
        flex-direction: column;
        gap: 8px;
    }
}

/* =====================
   ALTERNATE FOOTER CLASS
   (site-footer - used by some pages)
   ===================== */
.site-footer {
    background: var(--text-dark);
    color: var(--cream);
    padding: 60px 0 40px;
}

.site-footer .container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.site-footer .footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.site-footer .footer-brand {
    display: flex;
    flex-direction: column;
}

.site-footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 16px;
}

.site-footer .footer-logo img {
    height: 40px;
    width: auto;
}

.site-footer .footer-logo span {
    font-family: 'Abhaya Libre', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
}

.site-footer .footer-brand p {
    color: rgba(254, 249, 240, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.site-footer .footer-links h4 {
    font-family: 'Abhaya Libre', serif;
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 16px;
}

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

.site-footer .footer-links li {
    margin-bottom: 8px;
}

.site-footer .footer-links a {
    color: rgba(254, 249, 240, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-normal);
}

.site-footer .footer-links a:hover {
    color: var(--gold);
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(254, 249, 240, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(254, 249, 240, 0.5);
}

.site-footer .footer-bottom p {
    margin: 0;
}

/* Responsive for site-footer */
@media (max-width: 900px) {
    .site-footer .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 500px) {
    .site-footer .footer-content {
        grid-template-columns: 1fr;
    }

    .site-footer .footer-brand {
        grid-column: span 1;
    }
}
