/**
 * Oceania Footer — Frontend Styles
 * Matches the Oceania yacht-club theme aesthetic
 * v1.0.0
 */

/* ─── Reset & Variables ──────────────────────── */
:root {
    --ocf-accent: #d0a249;
    --ocf-bg: #0b1a2e;
    --ocf-copyright-bg: #091525;
    --ocf-heading: #ffffff;
    --ocf-text: #c0c8d4;
}

.ocf-footer,
.ocf-footer *,
.ocf-footer *::before,
.ocf-footer *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ─── Main Footer Area ───────────────────────── */
.ocf-footer {
    font-family: var(--font-main, 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
    width: 100%;
    position: relative;
    z-index: 10;
}

.ocf-footer-main {
    background-color: var(--ocf-bg);
    background-size: auto;
    background-position: center center;
    background-repeat: repeat;
    position: relative;
    padding: 70px 0 0;
}

/* ─── Container ──────────────────────────────── */
.ocf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ─── Grid Layout ────────────────────────────── */
.ocf-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
    gap: 40px;
    align-items: start;
}

/* ─── Column: About (Logo + Description + Social) */
.ocf-col-about {
    padding-right: 30px;
}

.ocf-logo-wrap {
    margin-bottom: 24px;
}

.ocf-logo-link {
    display: inline-block;
    text-decoration: none;
}

.ocf-logo {
    max-height: 50px;
    width: auto;
    display: block;
}

.ocf-site-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--ocf-heading);
    text-decoration: none;
    font-family: var(--font-headers, 'Outfit', serif);
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.ocf-site-title:hover {
    color: var(--ocf-accent);
}

.ocf-description {
    font-size: 15px;
    line-height: 1.75;
    color: var(--ocf-text);
    margin-bottom: 28px;
    max-width: 340px;
    font-style: italic;
}

/* ─── Social Icons ───────────────────────────── */
.ocf-social {
    display: flex;
    gap: 12px;
    align-items: center;
}

.ocf-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--ocf-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.ocf-social-icon:hover {
    background: var(--ocf-accent);
    border-color: var(--ocf-accent);
    color: var(--ocf-bg);
    transform: translateY(-2px);
}

.ocf-social-icon svg {
    flex-shrink: 0;
}

/* ─── Column: Menus ──────────────────────────── */
.ocf-col-heading {
    font-family: var(--font-headers, 'Outfit', serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--ocf-heading);
    margin-bottom: 24px;
    letter-spacing: -0.3px;
    font-style: normal;
    position: relative;
}

.ocf-nav {
    /* wrapper */
}

.ocf-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ocf-menu-item {
    margin-bottom: 0;
}

.ocf-menu-item a {
    display: block;
    padding: 7px 0;
    font-size: 15px;
    color: var(--ocf-text);
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.ocf-menu-item a:hover {
    color: var(--ocf-accent);
    padding-left: 4px;
}

.ocf-arrow {
    color: var(--ocf-accent);
    margin-right: 6px;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    transition: transform 0.25s ease;
}

.ocf-menu-item a:hover .ocf-arrow {
    transform: translateX(3px);
}

.ocf-menu-placeholder {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    font-style: italic;
    padding: 20px 0;
}

/* ─── Column: Contact ────────────────────────── */
.ocf-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

.ocf-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: var(--ocf-accent);
    color: var(--ocf-bg);
    flex-shrink: 0;
    margin-top: 2px;
}

.ocf-contact-icon svg {
    flex-shrink: 0;
}

.ocf-contact-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ocf-contact-text strong {
    font-size: 15px;
    font-weight: 500;
    color: var(--ocf-heading);
    display: block;
    margin-bottom: 2px;
}

.ocf-contact-text span,
.ocf-contact-text a {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ocf-text);
    text-decoration: none;
    transition: color 0.25s ease;
}

.ocf-contact-text a:hover {
    color: var(--ocf-accent);
}

/* ─── Copyright Bar (inside footer bg) ───────── */
.ocf-copyright {
    background-color: transparent;
    padding: 22px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ocf-copyright p {
    font-size: 14px;
    color: var(--ocf-text);
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

.ocf-copyright a {
    color: var(--ocf-accent);
    text-decoration: none;
    transition: color 0.25s ease;
}

.ocf-copyright a:hover {
    color: var(--ocf-heading);
}

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 1024px) {
    .ocf-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }

    .ocf-col-about {
        padding-right: 0;
        grid-column: 1 / -1;
    }

    .ocf-col-contact {
        grid-column: 1 / -1;
    }

    .ocf-description {
        max-width: 500px;
    }
}

@media (max-width: 767px) {
    .ocf-footer-main {
        padding: 50px 0 0;
    }

    .ocf-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 30px;
    }

    .ocf-col-about {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .ocf-col-contact {
        grid-column: 1 / -1;
    }

    .ocf-description {
        max-width: 100%;
        text-align: center;
    }

    .ocf-social {
        justify-content: center;
    }

    .ocf-copyright {
        margin-top: 40px;
    }

    .ocf-copyright p {
        font-size: 13px;
    }
}

@media (max-width: 320px) {
    .ocf-footer-main {
        padding: 40px 0 0;
    }

    .ocf-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ocf-col-about {
        text-align: center;
    }

    .ocf-col-menu {
        text-align: center;
    }

    .ocf-col-heading {
        text-align: center;
        font-size: 20px;
    }

    .ocf-menu-item a {
        justify-content: center;
    }

    .ocf-contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ocf-contact-text {
        align-items: center;
    }

    .ocf-copyright {
        margin-top: 30px;
    }

    .ocf-copyright p {
        font-size: 12px;
    }
}
