/* ============================================================
   SCHEDULING MULTITENANT APP — FOOTER CSS
   File:   footer-scheduling.css
   Prefix: schf-  (Scheduling Footer)

   Design language:
     Dark charcoal background matching the site header/navbar
     (#1c1c1c range) with a gold/amber accent system that
     mirrors the site's "Get Started" button colour.
     Minimalist editorial grid layout. Social icons as square
     icon-only tiles that fill with platform brand colour on
     hover — clean and corporate.

   Colour palette derived from the live site screenshot:
     Background  → dark charcoal  #1c1f24
     Accent      → gold/amber     #d4a017  (matches nav button)
     Top bar     → gold gradient  fades right to transparent

   Zero-collision guarantee:
     schf- is used NOWHERE else in this project.
     Safe alongside: sft-  ft-  auth-  sc-  ud-  pf-  pp-

   Requires Google Fonts loaded in the layout <head>:
     DM Sans 300/400/500/600  +  Syne 700/800
   ============================================================ */


/* ══════════════════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES
   Only edit this block to retheme the footer.
══════════════════════════════════════════════════════════════ */
:root {
    /* ── Palette ──
       Background matches the site's dark charcoal header.
       Accent matches the gold "Get Started" button in the nav. */
    --schf-bg:            #1c1f24;       /* dark charcoal — matches site header */
    --schf-bg-mid:        #1c1f24;       /* same shade throughout columns area */
    --schf-bg-bottom:     #13151a;       /* slightly deeper for copyright strip */
    --schf-accent:        #d4a017;       /* gold — matches nav CTA button */
    --schf-accent-dark:   #b8880f;       /* darker gold for hover / gradients */
    --schf-accent-glow:   rgba(212,160,23,0.18);

    /* ── Text ── */
    --schf-text:          #9ca3af;       /* neutral grey body text */
    --schf-text-bright:   #f3f4f6;       /* near-white — headings, brand name */
    --schf-text-muted:    #4b5563;       /* very faint — copyright line */
    --schf-link:          #9ca3af;
    --schf-link-hover:    #f3f4f6;

    /* ── Borders / dividers ──
       Use a faint gold tint so dividers feel on-brand
       without overpowering the dark background. */
    --schf-border:        rgba(212,160,23,0.12);   /* faint gold tint */
    --schf-border-rule:   rgba(255,255,255,0.06);

    /* ── Social icon tiles ── */
    --schf-social-size:   42px;
    --schf-social-radius: 10px;
    --schf-social-bg:     rgba(255,255,255,0.05);
    --schf-social-border: rgba(255,255,255,0.10);

    /* ── Shape / spacing ── */
    --schf-padding-v:     60px;
    --schf-padding-h:     36px;
    --schf-col-gap:       60px;

    /* ── Typography ── */
    --schf-font-body:     'DM Sans', Arial, sans-serif;
    --schf-font-display:  'Syne', Arial, sans-serif;
}


/* ══════════════════════════════════════════════════════════════
   FOOTER SHELL
══════════════════════════════════════════════════════════════ */
.schf-footer {
    background-color: var(--schf-bg);
    color: var(--schf-text);
    font-family: var(--schf-font-body);
    font-size: 14px;
    line-height: 1.75;
    margin-top: auto;
    position: relative;
}

/* Gold accent bar across the very top — mirrors the gold nav button */
.schf-footer::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg,
        var(--schf-accent)      0%,
        var(--schf-accent-dark) 50%,
        transparent             100%);
}


/* ══════════════════════════════════════════════════════════════
   INNER GRID
   Four-column layout on desktop: Brand (2fr) + 3 equal cols.
   Collapses to 2-col on tablet, 1-col on mobile.
══════════════════════════════════════════════════════════════ */
.schf-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--schf-padding-v) var(--schf-padding-h);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--schf-col-gap);
    align-items: start;
}

.schf-col {
    display: flex;
    flex-direction: column;
}


/* ══════════════════════════════════════════════════════════════
   BRAND COLUMN
══════════════════════════════════════════════════════════════ */
.schf-brand-name {
    font-family: var(--schf-font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--schf-text-bright);
    text-decoration: none;
    letter-spacing: -0.2px;
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.schf-brand-name:hover { color: var(--schf-accent); }  /* glows gold on hover */

/* Emerald accent dot/line rather than a full gradient rule */
.schf-brand-rule {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 14px;
}

.schf-brand-rule::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--schf-accent);                      /* gold dot */
    box-shadow: 0 0 8px var(--schf-accent-glow);         /* soft gold glow */
    flex-shrink: 0;
}

.schf-brand-rule::after {
    content: '';
    flex: 1;
    max-width: 48px;
    height: 1px;
    background: var(--schf-accent);
    opacity: 0.35;
}

.schf-brand-address {
    font-size: 13px;
    color: var(--schf-text);
    margin: 0;
    line-height: 1.7;
}

/* App descriptor badge — gold tint matches nav accent */
.schf-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    background: rgba(212,160,23,0.10);
    border: 1px solid rgba(212,160,23,0.22);
    color: var(--schf-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    width: fit-content;
}


/* ══════════════════════════════════════════════════════════════
   COLUMN HEADINGS
══════════════════════════════════════════════════════════════ */
.schf-col-heading {
    font-family: var(--schf-font-display);
    font-size: 11px;
    font-weight: 700;
    color: var(--schf-accent);        /* gold — matches nav CTA button */
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--schf-border);
}


/* ══════════════════════════════════════════════════════════════
   LINK LIST
══════════════════════════════════════════════════════════════ */
.schf-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schf-list li {
    margin-bottom: 9px;
}

.schf-list a {
    color: var(--schf-link);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    display: inline-block;
    position: relative;
}

/* Thin emerald underline slides in from left on hover */
.schf-list a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--schf-accent);
    transition: width 0.25s ease;
}

.schf-list a:hover {
    color: var(--schf-link-hover);
}

.schf-list a:hover::after {
    width: 100%;
}


/* ══════════════════════════════════════════════════════════════
   SOCIAL ICONS
   Square icon-tile grid.  Transparent background that fills
   with the platform's brand colour on hover.
   More corporate / minimal than the subscription pill buttons.
══════════════════════════════════════════════════════════════ */
.schf-social-heading {
    font-family: var(--schf-font-display);
    font-size: 11px;
    font-weight: 700;
    color: var(--schf-accent);        /* gold — consistent with column headings */
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--schf-border);
}

.schf-social-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Individual icon tile */
.schf-social-tile {
    width: var(--schf-social-size);
    height: var(--schf-social-size);
    border-radius: var(--schf-social-radius);
    background: var(--schf-social-bg);
    border: 1px solid var(--schf-social-border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.22s ease, border-color 0.22s ease,
                transform 0.22s ease, box-shadow 0.22s ease;
    position: relative;
    overflow: hidden;
}

.schf-social-tile img {
    width: 20px;
    height: 20px;
    display: block;
    filter: brightness(0) invert(0.55);
    transition: filter 0.22s ease;
}

/* Hover: platform-specific fill + icon goes white */
.schf-social-tile:hover {
    transform: translateY(-3px);
}

.schf-social-tile:hover img {
    filter: brightness(0) invert(1);
}

.schf-social-tile--facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 4px 14px rgba(24,119,242,0.35);
}

.schf-social-tile--twitter:hover {
    background: #14171a;
    border-color: rgba(255,255,255,0.20);
    box-shadow: 0 4px 14px rgba(0,0,0,0.40);
}

.schf-social-tile--instagram:hover {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(188,24,136,0.35);
}


/* ══════════════════════════════════════════════════════════════
   BOTTOM COPYRIGHT BAR
══════════════════════════════════════════════════════════════ */
.schf-bottom {
    background-color: var(--schf-bg-bottom);
    border-top: 1px solid var(--schf-border-rule);
    padding: 16px var(--schf-padding-h);
    text-align: center;
}

.schf-bottom p,
.schf-bottom span {
    font-size: 13px;
    color: var(--schf-text-muted);
    margin: 0;
}

/* Authenticated dashboard link */
.schf-bottom-dash-link {
    color: var(--schf-text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}
.schf-bottom-dash-link:hover { color: var(--schf-accent); }  /* gold on hover */

/* Barely-visible admin entry link */
.schf-hidden-link {
    color: rgba(255,255,255,0.06);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}
.schf-hidden-link:hover { color: rgba(255,255,255,0.22); }


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .schf-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .schf-col:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .schf-inner {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        text-align: center;
        gap: 30px;
    }
    .schf-brand-rule { justify-content: center; }
    .schf-brand-badge { margin-left: auto; margin-right: auto; }
    .schf-social-row  { justify-content: center; }
    .schf-list a:hover::after { width: 0; }  /* remove underline anim on touch */
    .schf-bottom { padding: 14px 20px; }
}
