/* Theme Custom Styles for NBA Ikirun Branch Lawyers Directory Theme */

/* Import Google Fonts for fallback or icons if needed (Inter, Playfair Display) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400..700;1,400..700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --font-sans: "Times New Roman", Times, Baskerville, Georgia, serif;
    --font-serif: "Times New Roman", Times, Baskerville, Georgia, serif;
    --font-display: "Times New Roman", Times, Baskerville, Georgia, serif;

    --color-legal-navy-50: #f4f6f9;
    --color-legal-navy-100: #e2e8f0;
    --color-legal-navy-500: #0A1D37;
    --color-legal-navy-600: #08172c;
    --color-legal-navy-700: #061121;
    --color-legal-navy-800: #040b16;
    --color-legal-navy-900: #02060b;

    --color-legal-gold-100: #fcf8e9;
    --color-legal-gold-500: #D4AF37;
    --color-legal-gold-600: #c29e2e;
    --color-legal-gold-700: #a3821f;

    --color-legal-green-100: #e6f2ed;
    --color-legal-green-500: #047857;
    --color-legal-green-600: #036348;
    --color-legal-green-700: #024f39;
}

body {
    font-family: var(--font-sans);
    background: linear-gradient(135deg, #f3f6f9 0%, #eef5f2 50%, #fcf9ee 100%);
    background-attachment: fixed;
    color: #000000;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

/* Enforce Times New Roman globally */
body, h1, h2, h3, h4, h5, h6, p, span, label, input, select, textarea, button, a {
    font-family: "Times New Roman", Times, Baskerville, Georgia, serif !important;
}

/* Ensure text visibility against raw background video overlay */
h1, h2, h3, h4, h5, h6, p, span, label, button, a {
    text-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.95), 0 3px 10px rgba(0, 0, 0, 0.85);
}

/* Force dark text classes to pure black (#000000) for visibility */
.text-slate-950, .text-slate-900, .text-slate-800, .text-slate-700, .text-slate-600,
.text-gray-950, .text-gray-900, .text-gray-800, .text-gray-700, .text-gray-600,
.text-zinc-950, .text-zinc-900, .text-zinc-800, .text-zinc-700, .text-zinc-600,
.text-neutral-950, .text-neutral-900, .text-neutral-800, .text-neutral-700, .text-neutral-600,
.text-black {
    color: #000000 !important;
}

/* Fixed Background Video Container */
.fixed-bg-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.fixed-bg-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fixed-bg-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 11, 22, 0.5); /* dark screen overlay */
    z-index: 1;
}

/* Relative wrapper for main content */
.nba-theme-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    min-h: 100vh;
    justify-content: space-between;
}

/* Liquid Glass Utilities */
.liquid-glass {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 8px 32px 0 rgba(10, 29, 55, 0.05), inset 0 1px 1px 0 rgba(255, 255, 255, 0.5);
}

.liquid-glass-dark {
    background: rgba(10, 29, 55, 0.65);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25), inset 0 1px 1px 0 rgba(255, 255, 255, 0.15);
}

.liquid-glass-input {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 1.5px 3px 0 rgba(0, 0, 0, 0.03);
}

.liquid-glass-card {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.03), 0 8px 16px -6px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.liquid-glass-card:hover {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.65);
    box-shadow: 0 20px 40px -15px rgba(10, 29, 55, 0.08), inset 0 1px 2px 0 rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.dark-glass-card {
    background: rgba(10, 29, 55, 0.65);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25), 0 8px 16px -6px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark-glass-card:hover {
    background: rgba(10, 29, 55, 0.8);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.45), inset 0 1px 2px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.menu-liquid-glass {
    background: 
      radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 50%),
      linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%),
      rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
      0 4px 30px rgba(0, 0, 0, 0.3), 
      inset 0 1px 1px rgba(255, 255, 255, 0.15),
      inset 0 -1px 1px rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Fade in animations */
.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Styling */
.wp-form-control {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    width: 100% !important;
    transition: border-color 0.2s;
}
.wp-form-control:focus {
    border-color: #D4AF37 !important;
    outline: none !important;
}

/* WordPress Core Alignment Classes */
.aligncenter {
    display: block;
    margin: 1.5em auto;
}
.alignleft {
    float: left;
    margin: 0.5em 1.5em 1.5em 0;
}
.alignright {
    float: right;
    margin: 0.5em 0 1.5em 1.5em;
}
.wp-caption {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 5px;
    color: #eee;
}

/* Custom navigation styling */
.nav-menu-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
}

.nav-menu-container a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.nav-menu-container a:hover,
.nav-menu-container .current-menu-item a {
    color: #D4AF37 !important;
}

/* Print CSS adjustments */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }
    .fixed-bg-video-container,
    .nba-navbar,
    footer,
    button,
    .wa-button,
    #profile-back-button {
        display: none !important;
    }
    .dark-glass-card,
    .liquid-glass-card {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: #000000 !important;
    }
    h1, h2, h3, h4, h5, h6, p, span, a {
        text-shadow: none !important;
        color: #000000 !important;
    }
}
