/* ============================================================
   ZMLC — Shared Components
   Reusable component styles used across multiple pages.
   Import AFTER responsive.css.
   ============================================================ */

/* ===== TOP BAR (Phone | Email | Address | Socials) ===== */
.site-topbar {
    background: #0a0a0f;
    border-bottom: 1px solid rgba(196, 165, 54, 0.2);
    color: #ffffff;
    padding: 8px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
}
.site-topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-topbar a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}
.site-topbar a:hover {
    color: #c4a536;
}

@media (max-width: 768px) {
    .site-topbar {
        font-size: 0.72rem;
        padding: 6px 12px;
    }
    .site-topbar .topbar-address {
        display: none;
    }
}

@media (max-width: 480px) {
    .site-topbar .topbar-email {
        display: none;
    }
}

/* ===== STICKY HEADER ===== */
.site-header {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}

/* ===== LOGO ===== */
.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
.site-logo .logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1a1a24, #2a2a38);
    color: #c4a536;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 12px;
    border: 1.5px solid rgba(196, 165, 54, 0.3);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}
.site-logo .logo-text h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a24;
    line-height: 1.2;
}
.site-logo .logo-text p {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    color: #6b7280;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
}

@media (max-width: 480px) {
    .site-logo .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-right: 8px;
    }
    .site-logo .logo-text h1 {
        font-size: 1rem;
    }
    .site-logo .logo-text p {
        font-size: 0.6rem;
    }
}

/* ===== DESKTOP NAVIGATION ===== */
.site-nav-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
}
.site-nav-desktop a {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1a1a24;
    text-decoration: none;
    padding: 8px 12px;
    position: relative;
    transition: color 0.25s ease;
}
.site-nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c4a536;
    transition: width 0.3s ease;
}
.site-nav-desktop a:hover::after,
.site-nav-desktop a.nav-active::after {
    width: 100%;
}
.site-nav-desktop a:hover {
    color: #c4a536;
}

@media (max-width: 768px) {
    .site-nav-desktop {
        display: none;
    }
}

/* ===== SECTION HEADING ===== */
.section-heading {
    text-align: center;
    margin-bottom: 48px;
}
.section-heading h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #1a1a24;
    margin-bottom: 8px;
}
.section-heading .gold-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #c4a536, rgba(196, 165, 54, 0.3));
    border-radius: 2px;
    margin: 12px auto 20px;
}
.section-heading p {
    max-width: 600px;
    margin: 0 auto;
    color: #6b7280;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===== FULL FOOTER ===== */
.site-footer {
    background: linear-gradient(180deg, #0f0f14 0%, #0a0a0f 100%);
    color: #ffffff;
    padding-top: 64px;
    padding-bottom: 32px;
    border-top: 1px solid rgba(196, 165, 54, 0.15);
}
.site-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}
.site-footer .footer-col h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}
.site-footer .footer-col ul {
    list-style: none;
    padding: 0;
}
.site-footer .footer-col ul li {
    margin-bottom: 10px;
}
.site-footer .footer-col a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.site-footer .footer-col a:hover {
    color: #c4a536;
}
.site-footer .footer-col p {
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.7;
}
.site-footer .footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.site-footer .footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.25s;
}
.site-footer .footer-socials a:hover {
    background: #c4a536;
    border-color: #c4a536;
    color: #0a0a0f;
}
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #6b7280;
}
.site-footer .footer-bottom a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}
.site-footer .footer-bottom a:hover {
    color: #c4a536;
}

@media (max-width: 1024px) {
    .site-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding-top: 40px;
    }
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .site-footer .footer-socials {
        justify-content: center;
    }
    .site-footer .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ===== COMPACT FOOTER (for portal pages) ===== */
.site-footer-compact {
    background: #0a0a0f;
    color: #6b7280;
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    border-top: 1px solid rgba(196, 165, 54, 0.1);
}

/* ===== BUTTON SYSTEM ===== */
.btn-gold-primary {
    background: linear-gradient(135deg, #c4a536, #d4b84a);
    color: #0a0a0f;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(196, 165, 54, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-gold-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 165, 54, 0.35);
    filter: brightness(1.05);
}

.btn-dark-primary {
    background: #1a1a24;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 8px;
    border: 1.5px solid rgba(196, 165, 54, 0.2);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-dark-primary:hover {
    background: #252535;
    border-color: rgba(196, 165, 54, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-outline-gold {
    background: transparent;
    border: 1.5px solid rgba(196, 165, 54, 0.4);
    color: #c4a536;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.btn-outline-gold:hover {
    background: rgba(196, 165, 54, 0.1);
    border-color: #c4a536;
}

/* ===== CARD BASE ===== */
.card-base {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.card-base:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: rgba(196, 165, 54, 0.2);
}
@media (hover: none) {
    .card-base:hover {
        transform: none;
    }
}

/* ===== GOLD ACCENT LINE ===== */
.gold-accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #c4a536, transparent);
    border-radius: 2px;
}

/* ===== PRECONNECT BANNER ===== */
/* Add these to <head> of every page:
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link rel="preconnect" href="https://cdnjs.cloudflare.com">
*/
