/*
Theme Name: Bizi Digital
Theme URI: https://bizidigital.com
Author: Bizi Digital
Author URI: https://bizidigital.com
Description: Custom WordPress theme for Bizi Digital - AI-Powered Advertising & Marketing Systems. Optimized for use with PageLayer. Includes 6 page templates, professional blog layout, logo upload support, and color customizer.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bizi-digital
*/

/* ================================ */
/* BIZI DIGITAL - CUSTOM THEME */
/* ================================ */

:root {
    --navy: #283149;
    --bright-blue: #019cfd;
    --blue-text: #0077be;
    --white: #ffffff;
    --medium-blue: #17639f;
    --light-blue: #33b0fe;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--navy);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--bright-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--medium-blue);
}

img {
    max-width: 100%;
    height: auto;
}

/* ================================ */
/* HEADER STYLES */
/* ================================ */

.site-header {
    background: #0D1828;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
}

.site-logo .highlight {
    color: var(--bright-blue);
}

.custom-logo-link {
    display: inline-block;
    max-width: 200px;
}

.custom-logo {
    height: auto;
    max-height: 60px;
    width: auto;
    display: block;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: white;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bright-blue);
    transition: width 0.3s ease;
}

.main-navigation a:hover {
    color: var(--light-blue);
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Dropdown sub-menus */
.main-navigation li {
    position: relative;
}

.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--navy);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    flex-direction: column;
    gap: 0;
    z-index: 100;
}

.main-navigation li:hover > ul {
    display: flex;
}

.main-navigation ul ul li {
    width: 100%;
}

.main-navigation ul ul a {
    padding: 10px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
    display: block;
}

.main-navigation ul ul a::after {
    display: none;
}

.main-navigation ul ul a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.header-cta {
    background: var(--bright-blue);
    color: white !important;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(1, 156, 253, 0.3);
}

.header-cta:hover {
    background: var(--medium-blue);
    transform: translateY(-2px);
}

.header-cta::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

/* ================================ */
/* MAIN CONTENT */
/* ================================ */

.site-content {
    min-height: calc(100vh - 400px);
}

.content-area {
    max-width: 100%;
    margin: 0 auto;
}

/* ================================ */
/* BIZI DIGITAL CUSTOM CLASSES */
/* ================================ */

/* Hero Section */
.bizi-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #1a2332 50%, var(--medium-blue) 100%);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.bizi-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(1, 156, 253, 0.15) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, 50px); }
}

.bizi-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.bizi-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: white;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.bizi-hero .highlight {
    background: linear-gradient(135deg, var(--bright-blue), var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bizi-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.bizi-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.bizi-btn-primary {
    background: linear-gradient(135deg, var(--bright-blue), var(--light-blue)) !important;
    color: white !important;
    padding: 1.2rem 3rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    font-size: 1.1rem !important;
    display: inline-block !important;
    box-shadow: 0 8px 30px rgba(1, 156, 253, 0.4) !important;
    transition: all 0.3s ease !important;
}

.bizi-btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 40px rgba(1, 156, 253, 0.5) !important;
}

.bizi-btn-secondary {
    background: transparent !important;
    color: white !important;
    padding: 1.2rem 3rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 1.1rem !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
}

.bizi-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.bizi-trust-line {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-top: 1rem;
}

/* Problem Section */
.bizi-problem-list {
    list-style: none;
    padding: 0;
}

.bizi-problem-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 1.1rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bizi-problem-list li::before {
    content: '✗';
    color: #dc3545;
    font-weight: 700;
    font-size: 1.3rem;
}

.bizi-highlight-box {
    background: linear-gradient(135deg, rgba(1, 156, 253, 0.05), rgba(51, 176, 254, 0.05));
    border: 2px solid var(--bright-blue);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
}

/* Solution Box */
.bizi-solution {
    background: linear-gradient(135deg, var(--navy), var(--medium-blue));
    border-radius: 30px;
    padding: 4rem 3rem;
    color: white;
    text-align: center;
    margin: 60px auto;
    max-width: 1100px;
}

.bizi-solution h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.bizi-solution p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Service Cards */
.bizi-service-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    transition: all 0.4s ease;
    height: 100%;
}

.bizi-service-card::before {
    content: '';
    display: block;
    height: 6px;
    background: linear-gradient(90deg, var(--bright-blue), var(--light-blue));
    border-radius: 24px 24px 0 0;
    margin: -3rem -2.5rem 2rem -2.5rem;
}

.bizi-service-card:hover {
    transform: translateY(-10px);
    border-color: var(--bright-blue);
    box-shadow: 0 20px 60px rgba(1, 156, 253, 0.15);
}

.bizi-service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(1,156,253,0.08);
    border-radius: 14px;
}

.bizi-service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.bizi-service-card .subtitle {
    color: var(--bright-blue);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.bizi-service-card p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.bizi-service-card ul {
    list-style: none;
    padding: 0;
}

.bizi-service-card ul li {
    padding: 0.6rem 0;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.bizi-service-card ul li::before {
    content: '✓';
    color: var(--bright-blue);
    font-weight: 700;
    font-size: 1.2rem;
}

.bizi-best-for {
    background: rgba(1, 156, 253, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    color: var(--navy);
    margin-top: 1.5rem;
}

.bizi-service-btn {
    display: inline-block;
    background: linear-gradient(135deg, #019cfd, #33b0fe);
    color: white !important;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none !important;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(1, 156, 253, 0.4);
    font-size: 1.05rem;
    text-align: center;
    border: none;
}

.bizi-service-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(1, 156, 253, 0.5);
    background: linear-gradient(135deg, #33b0fe, #019cfd);
    color: white !important;
}

/* Dark Section */
.bizi-dark-section {
    background: var(--navy);
    color: white;
    padding: 80px 20px;
}

.bizi-dark-section h2,
.bizi-dark-section h3 {
    color: white;
}

/* Step Cards */
.bizi-step-card {
    text-align: center;
}

.bizi-step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bright-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 8px 30px rgba(1, 156, 253, 0.3);
}

.bizi-step-card h3 {
    color: white;
    margin-bottom: 1rem;
}

.bizi-step-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* Qualification Boxes */
.bizi-qual-box {
    background: white;
    border: 2px solid var(--bright-blue);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    height: 100%;
}

.bizi-qual-box h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--navy);
}

.bizi-qual-box ul {
    list-style: none;
    padding: 0;
}

.bizi-qual-box ul li {
    padding: 1rem 0;
    font-size: 1.1rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bizi-qual-box.fit li::before {
    content: '✓';
    color: #28a745;
    font-weight: 700;
    font-size: 1.4rem;
}

.bizi-qual-box.not-fit {
    border-color: #dc3545;
}

.bizi-qual-box.not-fit li::before {
    content: '✗';
    color: #dc3545;
    font-weight: 700;
    font-size: 1.4rem;
}

/* Why Cards */
.bizi-why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.bizi-why-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--light-blue);
    transform: translateY(-5px);
}

.bizi-why-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(1,156,253,0.15);
    border-radius: 12px;
}

.bizi-why-card h3 {
    color: white;
    margin-bottom: 1rem;
}

.bizi-why-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* CTA Section */
.bizi-cta {
    background: linear-gradient(135deg, var(--bright-blue), var(--light-blue));
    padding: 100px 20px;
    text-align: center;
    color: white;
}

.bizi-cta h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: white;
}

.bizi-cta-list {
    list-style: none;
    padding: 0;
    margin: 2rem auto 3rem;
    max-width: 600px;
    text-align: left;
}

.bizi-cta-list li {
    padding: 1rem 0;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bizi-cta-list li::before {
    content: '✓';
    font-weight: 700;
    font-size: 1.5rem;
}

.bizi-btn-white {
    background: white !important;
    color: var(--bright-blue) !important;
    padding: 1.3rem 3.5rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    font-size: 1.15rem !important;
    display: inline-block !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
}

.bizi-btn-white:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3) !important;
}

.bizi-cta-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
    font-style: italic;
}

/* ================================ */
/* FOOTER */
/* ================================ */

.site-footer {
    background: var(--navy);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-brand .tagline {
    color: var(--bright-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--bright-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ================================ */
/* RESPONSIVE */
/* ================================ */

@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }
    
    .main-navigation.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy);
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .main-navigation.active ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .bizi-hero-buttons {
        flex-direction: column;
    }
    
    .bizi-btn-primary,
    .bizi-btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* PageLayer Compatibility */
.pagelayer-row {
    width: 100%;
}

.pagelayer-row-stretch-auto,
.pagelayer-row-stretch-full {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* --- FOUNDER CARD (About Page) --- */
.founder-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid #e9ecef;
}

.founder-card-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: start;
}

.founder-photo {
    flex-shrink: 0;
}

.founder-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.founder-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.credential-badge {
    background: rgba(1, 156, 253, 0.1);
    color: var(--blue-text);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.founder-linkedin {
    display: inline-block;
    color: var(--blue-text);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
}

.founder-linkedin:hover {
    color: #17639f;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .founder-card-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .founder-credentials {
        justify-content: center;
    }
}

/* --- AUTHOR BIO BOX (Blog Posts) --- */
.author-bio-box {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #019cfd;
}

.author-bio-inner {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.author-bio-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-bio-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.author-bio-name {
    color: #283149;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.author-bio-desc {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.author-bio-link {
    color: var(--blue-text);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.author-bio-link:hover {
    color: #17639f;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .author-bio-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}
