/**
 * OGA Footer Styles
 * Shared footer component for all public pages
 * Uses oga-common.css variables when available, with fallbacks
 */

/* ===== FOOTER CONTAINER ===== */
.oga-footer {
    background: var(--oga-bg-dark, #2d2929);
    color: var(--oga-text-muted, #ccc);
    border-top: 4px solid var(--oga-primary, #FF8C00);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin-top: auto;
}

.oga-footer *,
.oga-footer *::before,
.oga-footer *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.oga-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem 1.5rem;
}

/* ===== LOGO ===== */
.oga-footer-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.oga-footer-logo img {
    height: 60px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.oga-footer-logo img:hover {
    opacity: 1;
}

/* ===== NAVIGATION ===== */
.oga-footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem 0;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.oga-footer-nav a {
    color: var(--oga-text-light, ghostwhite);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    transition: color 0.3s ease, background 0.3s ease;
}

.oga-footer-nav a:hover,
.oga-footer-nav a:focus-visible {
    color: var(--oga-primary, #FF8C00);
    background: rgba(255, 140, 0, 0.08);
}

/* ===== INFO COLUMNS ===== */
.oga-footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.oga-footer-col h3 {
    color: var(--oga-text-light, ghostwhite);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.oga-footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--oga-primary, #FF8C00);
    border-radius: 1px;
}

.oga-footer-col p {
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: var(--oga-text-muted, #ccc);
}

.oga-footer-col a {
    color: var(--oga-text-muted, #ccc);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    transition: color 0.3s ease;
}

.oga-footer-col a:hover,
.oga-footer-col a:focus-visible {
    color: var(--oga-primary, #FF8C00);
}

.oga-footer-col .oga-footer-address {
    display: block;
    line-height: 1.5;
    margin-bottom: 0.35rem;
}

.oga-footer-col .oga-footer-map-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.25rem;
}

.oga-footer-col .oga-footer-phone {
    display: block;
    margin-bottom: 0.35rem;
}

.oga-footer-col .oga-footer-email {
    display: block;
    word-break: break-word;
}

/* ===== SOCIAL ICONS ===== */
.oga-footer-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.oga-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--oga-text-light, ghostwhite);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.oga-footer-social a:hover,
.oga-footer-social a:focus-visible {
    background: var(--oga-primary, #FF8C00);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

/* ===== BOTTOM BAR ===== */
.oga-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    text-align: center;
}

.oga-footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 1100px;
    margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .oga-footer-inner {
        padding: 2rem 1.25rem 1.25rem;
    }

    .oga-footer-nav {
        gap: 0.15rem 0;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .oga-footer-nav a {
        font-size: 0.9rem;
        padding: 0.4rem 0.75rem;
    }

    .oga-footer-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .oga-footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .oga-footer-col .oga-footer-map-hint {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .oga-footer-logo img {
        height: 48px;
    }

    .oga-footer-nav a {
        font-size: 0.85rem;
        padding: 0.35rem 0.6rem;
    }

    .oga-footer-social a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
