/*
Theme Name: Broadband Fabric Partners - Master Edition
Theme URI: https://broadbandfabric.net
Author: Broadband Fabric Team
Author URI: https://broadbandfabric.net
Description: Professional telecom consulting theme
Version: 2.0.0
License: GPL v2 or later
Text Domain: broadbandfabric
*/

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --telecom-primary: #00d4ff;
    --telecom-primary-purple: #8b5cf6;
    --telecom-dark: #0a0a1a;
    --telecom-dark-purple: #1a0a2a;
    --telecom-light: #e2e8f0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a1a 0%, #0f172a 100%);
    background-color: #0f172a;
    color: var(--telecom-light);
    line-height: 1.6;
    padding-top: 80px;
}

/* Metallic shimmer animation */
@keyframes shimmer {
    0%, 100% { background-position: 0% 0; }
    50% { background-position: 200% 0; }
}

/* ==========================================================================
   HEADER - SIMPLE METALLIC (Blocksy Compatible)
   ========================================================================== */
/* ==========================================================================
   BF - PREMIUM HEADER (BADASS EDITION)
   ========================================================================== */
.site-header.bf-premium-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
    padding: 0;
    transition: all 0.3s ease;
}

.header-glow-line {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, 
        rgba(0,0,0,0) 0%, 
        #00d4ff 40%, 
        #8b5cf6 50%, 
        #00d4ff 60%, 
        rgba(0,0,0,0) 100%);
    box-shadow: 0 0 10px #00d4ff, 0 0 20px #8b5cf6;
}

.bf-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Top Row: Centered Identity */
.header-top-row {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-branding-centered {
    text-align: center;
}

.site-title-premium {
    margin: 0;
    line-height: 1;
}

.site-title-premium a {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Metallic Text Effect */
    background: linear-gradient(180deg, #ffffff 20%, #a0a0a0 50%, #ffffff 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.site-title-premium a:hover {
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transform: scale(1.02);
}

.partners-text {
    color: #00d4ff;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
    margin-left: 0.5rem;
}

.site-tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #8b5cf6;
    margin: 0.5rem 0 0;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.9;
    text-shadow: 0 0 5px rgba(139, 92, 246, 0.4);
}

/* Nav Row: Navigation + Action */
.header-nav-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.premium-navigation {
    display: flex;
    justify-content: center;
}

.premium-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 3rem;
}

.premium-menu a {
    font-family: 'Inter', sans-serif;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.premium-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #00d4ff;
    box-shadow: 0 0 8px #00d4ff;
    transition: width 0.3s ease;
}

.premium-menu a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}

.premium-menu a:hover::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.btn-neon {
    font-family: 'Orbitron', sans-serif;
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.5);
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 212, 255, 0.2);
}

.btn-neon:hover {
    background: rgba(0, 212, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    text-shadow: 0 0 5px #00d4ff;
    border-color: #00d4ff;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .site-title-premium a {
        font-size: 1.8rem;
    }
    
    .partners-text {
        display: block;
        margin: 0;
        font-size: 1.2rem;
    }
    
    .header-nav-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-actions {
        position: static;
        transform: none;
        margin-top: 1rem;
    }
    
    .premium-menu {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.header-inner-3d {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-metallic {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text-metallic {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #c0c0c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-metallic-3d {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-menu-metallic {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu-metallic a {
    color: var(--telecom-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-menu-metallic a:hover {
    color: var(--telecom-primary);
    background: rgba(0, 212, 255, 0.1);
}

.header-contact-metallic {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.phone-link-metallic {
    color: var(--telecom-primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-metallic {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-metallic-primary {
    background: linear-gradient(135deg, var(--telecom-primary), #0ea5e9);
    color: white;
}

.btn-metallic-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.mobile-toggle-metallic {
    display: none;
    background: none;
    border: none;
    color: var(--telecom-light);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-metallic-3d {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 1rem;
    }
    
    .nav-metallic-3d.active {
        display: flex;
    }
    
    .mobile-toggle-metallic {
        display: block;
    }
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */
.site-main {
    padding-top: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--telecom-light);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--telecom-primary), #0ea5e9);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: var(--telecom-light);
}

.section-subtitle {
    font-size: 1.125rem;
    opacity: 0.8;
}

/* Grids */
.clients-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.client-card,
.service-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.client-card:hover,
.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--telecom-primary);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.client-icon,
.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.client-card h3,
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--telecom-light);
}

/* Footer - SUPER COMPACT */
.site-footer {
    background: linear-gradient(135deg, #0a0a1a 0%, #0f172a 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding: 1rem 0 0.5rem !important;
    margin-top: 2rem !important;
    min-height: auto !important;
    max-height: 200px !important;
    height: auto !important;
    backdrop-filter: blur(10px);
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-section {
    padding: 0;
}

.footer-section h3 {
    color: #00d4ff;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Orbitron', sans-serif;
}

.footer-section p {
    color: #e2e8f0;
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.3rem;
}

.footer-section a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.75rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #00d4ff;
    opacity: 1;
}

.footer-section .contact-info {
    margin-top: 0.3rem;
}

.footer-section .contact-info p {
    margin-bottom: 0.3rem;
}

.footer-section .contact-info strong {
    color: #33dfff;
    font-size: 0.75rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #00d4ff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.3rem;
}

.footer-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.75rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: #00d4ff;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    padding-top: 0.5rem;
    text-align: center;
    font-size: 0.7rem;
    color: #e2e8f0;
    opacity: 0.7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-copyright {
    flex: 1;
    text-align: left;
}

.footer-copyright p {
    margin: 0.15rem 0;
    font-size: 0.7rem;
    color: #e2e8f0;
    opacity: 0.7;
}

.footer-bottom .footer-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-bottom .footer-links a {
    color: #e2e8f0;
    opacity: 0.7;
    font-size: 0.7rem;
}

.footer-bottom .footer-links a:hover {
    color: #00d4ff;
    opacity: 1;
}

/* Override Blocksy footer styles - SUPER COMPACT */
.ct-footer,
[data-footer*="type-1"] .ct-footer {
    background: linear-gradient(135deg, #0a0a1a 0%, #0f172a 100%) !important;
    padding: 1rem 0 0.5rem !important;
    min-height: auto !important;
    max-height: 200px !important;
    height: auto !important;
    backdrop-filter: blur(10px);
}

[data-footer*="type-1"] .ct-footer [data-row*="bottom"] {
    padding: 0.5rem 0 !important;
    min-height: auto !important;
    max-height: 80px !important;
}

[data-footer*="type-1"] .ct-footer [data-row*="bottom"] > div {
    padding: 0 !important;
    margin: 0 !important;
}

[data-footer*="type-1"] .ct-footer [data-row*="bottom"] .widget-title,
[data-footer*="type-1"] .ct-footer h3,
[data-footer*="type-1"] .ct-footer h2 {
    font-size: 0.875rem !important;
    margin-bottom: 0.5rem !important;
}

[data-footer*="type-1"] .ct-footer [data-row*="bottom"] p,
[data-footer*="type-1"] .ct-footer [data-row*="bottom"] li,
[data-footer*="type-1"] .ct-footer [data-row*="bottom"] a {
    font-size: 0.75rem !important;
    margin-bottom: 0.3rem !important;
    line-height: 1.4 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner-3d {
        flex-direction: column;
        padding: 1rem;
    }
    
    .nav-metallic-3d {
        width: 100%;
        flex-direction: column;
    }
    
    .nav-menu-metallic {
        flex-direction: column;
        width: 100%;
    }
    
    .header-contact-metallic {
        width: 100%;
        justify-content: center;
    }
    
    .mobile-toggle-metallic {
        display: block;
    }
    
    .clients-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
}
