/* ====================================================
   SKILLSWAP — FOOTER (Pure CSS, no framework)
   CSS Grid · Flexbox · Custom Properties
==================================================== */

:root {
    --foot-bg:      #071312;
    --foot-border:  rgba(212, 146, 42, 0.10);
    --foot-amber:   #D4922A;
    --foot-amber-h: #E8A63C;
    --foot-cream:   #F7F2E8;
    --foot-cream-4: rgba(247, 242, 232, 0.42);
    --foot-cream-3: rgba(247, 242, 232, 0.28);
    --font-serif:   'Cormorant Garamond', Georgia, serif;
    --font-sans:    'Outfit', system-ui, sans-serif;
    --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Base ─── */
.ss-footer {
    background: var(--foot-bg);
    border-top: 1px solid var(--foot-border);
    font-family: var(--font-sans);
}

.ss-footer-inner {
    max-width: 1200px;
    margin-inline: auto;
    padding: 4rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

/* ─── Logo + slogan ─── */
.ss-footer-brand {
    text-align: center;
}

.ss-footer-logo {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 0 0 0.6rem;
    color: var(--foot-cream);
}

.ss-footer-logo em {
    font-style: italic;
    color: var(--foot-cream);
}

.ss-footer-logo strong {
    color: var(--foot-amber);
    font-style: normal;
    font-weight: 600;
}

/* "Skill" italic, "Swap" amber — using em + strong inside template
   OR: just color the whole word differently via CSS :first-child split
   Since the template uses <em>Skill</em>Swap, we target em for italic
   and the text node "Swap" won't be targetable — use a wrapper approach */
.ss-footer-logo em + span,
.ss-footer-logo em ~ * {
    color: var(--foot-amber);
}

/* Simple override: em = italic cream, rest = amber */
.ss-footer-logo {
    color: var(--foot-amber);  /* Swap color */
}

.ss-footer-logo em {
    color: var(--foot-cream);  /* Skill color */
}

.ss-footer-slogan {
    font-size: 0.78rem;
    font-weight: 300;
    letter-spacing: 0.07em;
    color: rgba(247, 242, 232, 0.34);
    margin: 0;
}

/* ─── Social ─── */
.ss-footer-social {
    text-align: center;
}

.ss-footer-social-label {
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(247, 242, 232, 0.30);
    margin: 0 0 1rem;
}

.ss-footer-social-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
}

.ss-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(247, 242, 232, 0.04);
    border: 1px solid rgba(247, 242, 232, 0.07);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.22s var(--ease);
}

.ss-social-fa {
    font-size: 1rem;
    color: var(--foot-cream);
    opacity: 0.38;
    transition: opacity 0.22s var(--ease), color 0.22s var(--ease);
}

.ss-social-icon:hover {
    background: rgba(212, 146, 42, 0.10);
    border-color: rgba(212, 146, 42, 0.28);
    transform: translateY(-3px);
}

.ss-social-icon:hover .ss-social-fa {
    opacity: 1;
    color: var(--foot-amber);
}

/* ─── Link columns ─── */
.ss-footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 2.5rem;
    width: 100%;
    max-width: 700px;
    text-align: center;
}

.ss-footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    transition: transform 0.22s var(--ease);
}

.ss-footer-col:hover {
    transform: translateY(-2px);
}

.ss-footer-col-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(212, 146, 42, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--foot-amber);
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
}

.ss-footer-col-title {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--foot-amber);
    margin: 0 0 0.5rem;
}

.ss-footer-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: rgba(247, 242, 232, 0.42);
    text-decoration: none;
    padding: 0.25rem 0.4rem;
    transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}

.ss-footer-link i {
    font-size: 0.55rem;
    color: rgba(247, 242, 232, 0.18);
    transition: color 0.18s;
}

.ss-footer-link:hover {
    color: rgba(247, 242, 232, 0.82);
    transform: translateX(3px);
}

.ss-footer-link:hover i {
    color: var(--foot-amber);
}

/* ─── Separator ─── */
.ss-footer-sep {
    width: 100%;
    border: none;
    border-top: 1px solid;
    border-image: linear-gradient(90deg, transparent, rgba(212, 146, 42, 0.22), transparent) 1;
    margin: 0;
}

/* ─── Copyright ─── */
.ss-footer-copy {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: rgba(247, 242, 232, 0.26);
    margin: 0;
    text-align: center;
}

.ss-footer-copy strong {
    color: rgba(247, 242, 232, 0.42);
    font-weight: 500;
}

/* ─── Responsive ─── */
@media (max-width: 600px) {
    .ss-footer-cols {
        grid-template-columns: 1fr;
        max-width: 280px;
        gap: 1.5rem;
    }

    .ss-footer-logo {
        font-size: 2.25rem;
    }

    .ss-footer-inner {
        padding: 3rem 1.25rem 1.5rem;
        gap: 2rem;
    }
}
