/* ============================================================================
FLORIST STARTER THEME - FOOTER STYLES (2-ROW ARCHITECTURE)
Path: /assets/css/02-layout/footer.css
Version: 2.1.0
Layout:
  - Row 1: 3 Columns (Brand & Sosmed | Navigasi Hub 2-Row | Workshop & Buka 24 Jam)
  - Row 2: Copyright bar
============================================================================ */

/* ==========================================================================
   1. MAIN SITE FOOTER (DARK LUXE ATELIER THEME)
   ========================================================================== */
.st-footer,
.site-footer,
.st-footer-luxe {
    background-color: #111827;
    color: #e2e8f0;
    position: relative;
    padding-top: clamp(2.5rem, 5vw, 3.75rem);
    padding-bottom: 1.5rem;
    border-top: 1px solid #1f2937;
    font-family: var(--st-font-family, 'Plus Jakarta Sans', sans-serif);
}

.st-footer-container,
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ==========================================================================
   2. ROW 1: 3 COLUMNS MAIN GRID
   ========================================================================== */
.footer-row-main,
.st-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: clamp(2rem, 4vw, 3rem);
    border-bottom: 1px solid #1f2937;
}

@media (min-width: 640px) {
    .footer-row-main,
    .st-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .footer-row-main,
    .st-footer-grid {
        grid-template-columns: 1.15fr 1.65fr 1.2fr;
        gap: 40px;
    }
}

/* ----------------------------------------------------
   COLUMN 1: BRAND IDENTITY, DESKRIPSI & 4 SOSIAL MEDIA
   ---------------------------------------------------- */
.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
}

.footer-logo-mark {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #be0038, #9f1239);
    border-radius: var(--st-radius-md, 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--st-font-heading, 'Playfair Display', serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(190, 0, 56, 0.35);
}

.footer-brand-name {
    font-family: var(--st-font-heading, 'Playfair Display', serif);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.footer-brand-name span {
    color: #fb7185;
    font-style: italic;
}

.footer-brand-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
    max-width: 340px;
}

.footer-social-wrap {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-social-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #64748b;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-link-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--st-radius-md, 10px);
    background: #1e293b;
    border: 1px solid #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-link-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.social-link-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(214, 36, 159, 0.4);
}

.social-link-btn.tiktok:hover {
    background: #000000;
    border-color: #25F4EE;
    box-shadow: 0 4px 14px rgba(37, 244, 238, 0.35);
}

.social-link-btn.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.4);
}

.social-link-btn.youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.4);
}

/* ----------------------------------------------------
   COLUMN 2: NAVIGATION HUB
   Sub-Row 1 (Horizontal Rangkaian Bunga)
   Sub-Row 2 (2 Sub-Columns Grid)
   ---------------------------------------------------- */
.footer-col-navhub {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Sub-Row 1: Rangkaian Bunga Model Ke Samping */
.navhub-row-top {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(51, 65, 85, 0.6);
    padding: 14px 16px;
    border-radius: var(--st-radius-lg, 14px);
}

.navhub-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #fb7185;
    margin-bottom: 10px;
}

.navhub-section-label::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fb7185;
}

.horizontal-nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.horizontal-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1e293b;
    border: 1px solid #334155;
    color: #f1f5f9;
    padding: 6px 14px;
    border-radius: var(--st-radius-full, 9999px);
    font-size: 0.825rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.horizontal-nav-link:hover {
    background: var(--st-brand-700, #be0038);
    border-color: var(--st-brand-600, #e11d48);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(190, 0, 56, 0.35);
}

/* Sub-Row 2: 2 Sub-Columns Grid (Momen Spesial & Produk Populer) */
.navhub-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nav-subcol-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 8px;
    display: inline-block;
}

.nav-subcol-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 2px;
    background: #e11d48;
    border-radius: 2px;
}

.navhub-vertical-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 0;
    margin: 0;
}

.navhub-item-link {
    color: #94a3b8;
    font-size: 0.825rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.35;
}

.navhub-item-link::before {
    content: "•";
    color: #475569;
    font-size: 0.75rem;
    transition: color 0.2s;
}

.navhub-item-link:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.navhub-item-link:hover::before {
    color: #fb7185;
}

/* ----------------------------------------------------
   COLUMN 3: WORKSHOP & BUKA 24 JAM
   ---------------------------------------------------- */
.footer-col-workshop {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.workshop-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: var(--st-radius-lg, 14px);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-badge-24h {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 4px 12px;
    border-radius: var(--st-radius-full, 9999px);
    font-size: 0.75rem;
    font-weight: 700;
    width: fit-content;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: #10b981;
    opacity: 0.6;
    animation: pulseWave 1.8s ease-out infinite;
}

.status-badge-24h.status-badge-busy {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.4);
}
.status-badge-24h.status-badge-busy .pulse-dot {
    background: #f59e0b;
}
.status-badge-24h.status-badge-busy .pulse-dot::after {
    background: #f59e0b;
}

.status-badge-24h.status-badge-closed {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.4);
}
.status-badge-24h.status-badge-closed .pulse-dot {
    background: #ef4444;
}
.status-badge-24h.status-badge-closed .pulse-dot::after {
    background: #ef4444;
}

@keyframes pulseWave {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

.workshop-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8rem;
    color: #cbd5e1;
    line-height: 1.45;
}

.workshop-meta-row svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #fb7185;
    margin-top: 2px;
}

.btn-wa-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #0b2e13;
    padding: 10px 16px;
    border-radius: var(--st-radius-md, 10px);
    font-size: 0.825rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 4px;
}

.btn-wa-action:hover {
    background: #20ba5a;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    transform: translateY(-1px);
}

/* ==========================================================================
   3. ROW 2: COPYRIGHT BAR
   ========================================================================== */
.footer-row-bottom {
    padding-top: 1.25rem;
    text-align: center;
}

.copyright-text {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.2px;
    margin: 0;
}

.copyright-text strong {
    color: #94a3b8;
    font-weight: 600;
}

/* ==========================================================================
   4. MOBILE ERGONOMICS & SAFE AREA (NO OVERLAP WITH .st-bottom-nav)
   ========================================================================== */
@media (max-width: 767px) {
    .st-footer,
    .site-footer,
    .st-footer-luxe {
        display: block !important;
        position: relative !important;
        padding-top: 2.5rem;
        /* Safe space so fixed mobile bottom navigation (.st-bottom-nav) never overlaps footer text */
        padding-bottom: clamp(5.5rem, 12vh, 6.5rem) !important;
    }

    .footer-row-main,
    .st-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .horizontal-nav-list {
        gap: 6px;
    }

    .horizontal-nav-link {
        font-size: 0.775rem;
        padding: 5px 11px;
    }

    .navhub-subgrid {
        gap: 16px;
    }
}

/* ==========================================================================
   5. FLOATING WHATSAPP BUTTON (DESKTOP ONLY)
   ========================================================================== */
.st-floating-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25d366;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: all 0.25s ease;
}

.st-floating-wa:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    color: #ffffff;
}

@media (max-width: 1023px) {
    .st-floating-wa.desktop-only {
        display: none !important;
    }
}