/* ==========================================================================
   Looponia - Footer Component
   Site footer with wellness color accents
   ========================================================================== */

/* -------------------------------------------------------------------------
   Footer Container
   ------------------------------------------------------------------------- */
.footer {
    position: relative;
    padding: var(--space-16) 0 var(--space-8);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-secondary);
    overflow: hidden;
}

/* Wellness color accent bar at top */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
            var(--wellness-serenity) 0%,
            var(--wellness-sage) 8.33%,
            var(--wellness-lavender) 16.66%,
            var(--wellness-coral) 25%,
            var(--wellness-teal) 33.33%,
            var(--wellness-rose) 41.66%,
            var(--wellness-forest) 50%,
            var(--wellness-dusty-blue) 58.33%,
            var(--wellness-sand) 66.66%,
            var(--wellness-peach) 75%,
            var(--wellness-sage-gray) 83.33%,
            var(--wellness-mint) 100%);
}

.footer-inner {
    display: grid;
    gap: var(--space-12);
}

@media (min-width: 768px) {
    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: var(--space-8);
    }
}

/* -------------------------------------------------------------------------
   Footer Brand Section
   ------------------------------------------------------------------------- */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.footer-logo img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xl);
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--splash-purple);
    letter-spacing: var(--tracking-logo);
}

.footer-tagline {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

.footer-tagline em {
    color: var(--text-accent);
    font-style: italic;
}

/* Social links */
.footer-social {
    display: flex;
    gap: var(--space-2);
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-secondary);
    background: var(--bg-glass);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.footer-social-link:hover {
    color: var(--text-primary);
    background: var(--bg-glass-hover);
    transform: translateY(-2px);
}

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

/* -------------------------------------------------------------------------
   Footer Links Columns
   ------------------------------------------------------------------------- */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.footer-column-title {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-link {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary);
}

/* -------------------------------------------------------------------------
   Footer Bottom Bar
   ------------------------------------------------------------------------- */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding-top: var(--space-8);
    margin-top: var(--space-12);
    border-top: 1px solid var(--border-secondary);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

.footer-copyright {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-legal {
        justify-content: flex-end;
    }
}

.footer-legal-link {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    transition: color var(--transition-fast);
}

.footer-legal-link:hover {
    color: var(--text-secondary);
}

/* -------------------------------------------------------------------------
   Philosophy Quote Section
   ------------------------------------------------------------------------- */
.footer-philosophy {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-8) var(--space-4);
    margin-top: var(--space-8);
    background: var(--bg-glass);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-secondary);
}

.footer-philosophy-quote {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.footer-philosophy-subtext {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    font-style: italic;
}

/* -------------------------------------------------------------------------
   Mini Footer (for simple pages)
   ------------------------------------------------------------------------- */
.footer-mini {
    padding: var(--space-8) 0;
}

.footer-mini .footer-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-mini .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* -------------------------------------------------------------------------
   Wellness Colors Showcase (optional)
   ------------------------------------------------------------------------- */
.footer-wellness-colors {
    display: flex;
    gap: var(--space-1);
    justify-content: center;
    margin-top: var(--space-6);
}

.footer-wellness-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transition: transform var(--transition-fast);
}

.footer-wellness-dot:hover {
    transform: scale(1.5);
}

.footer-wellness-dot:nth-child(1) {
    background: var(--wellness-serenity);
}

.footer-wellness-dot:nth-child(2) {
    background: var(--wellness-sage);
}

.footer-wellness-dot:nth-child(3) {
    background: var(--wellness-lavender);
}

.footer-wellness-dot:nth-child(4) {
    background: var(--wellness-coral);
}

.footer-wellness-dot:nth-child(5) {
    background: var(--wellness-teal);
}

.footer-wellness-dot:nth-child(6) {
    background: var(--wellness-rose);
}

.footer-wellness-dot:nth-child(7) {
    background: var(--wellness-forest);
}

.footer-wellness-dot:nth-child(8) {
    background: var(--wellness-dusty-blue);
}

.footer-wellness-dot:nth-child(9) {
    background: var(--wellness-sand);
}

.footer-wellness-dot:nth-child(10) {
    background: var(--wellness-peach);
}

.footer-wellness-dot:nth-child(11) {
    background: var(--wellness-sage-gray);
}

.footer-wellness-dot:nth-child(12) {
    background: var(--wellness-mint);
}