/*
 /*
 Theme Name:   Kadence Child
 Theme URI:    https://koodo.ai
 Description:  Kadence Child Theme for Koodo Blog
 Author:       Koodo Team
 Author URI:   https://koodo.ai
 Template:     kadence
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  kadence-child
*/

/* ==================== KODO HEADER STYLES ==================== */

/* Koodo Header Styles - Matching koodo.ai exactly */
.koodo-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.33, 1, 0.68, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
    transform: translateZ(0);
}

.koodo-header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.9rem 0;
    border-bottom: none;
    box-shadow: none;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 28px;
    transition: all 0.4s cubic-bezier(0.33, 1, 0.68, 1);
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05)) drop-shadow(0 -1px 1px rgba(255, 255, 255, 0.3));
}

.logo-img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.08)) drop-shadow(0 -1px 1px rgba(255, 255, 255, 0.4));
}

.koodo-nav {
    display: flex;
    gap: 1.8rem;
    align-items: center;
    margin: 0 auto;
}

.nav-link {
    color: rgba(0, 0, 0, 0.75);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.01em;
    position: relative;
    transition: all 0.3s cubic-bezier(0.33, 1, 0.68, 1);
    padding: 0.5rem 0.8rem;
    text-decoration: none;
    border-radius: 8px;
    will-change: transform, color;
    transform: translateZ(0);
}

.nav-link:hover {
    color: rgba(0, 0, 0, 0.9);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.1), inset -2px -2px 4px rgba(255, 255, 255, 0.7);
    transform: translateY(1px);
}

.koodo-cta {
    background: #000000;
    color: #FFFFFF;
    padding: 0.85rem 2rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.01em;
    transition: all 0.4s cubic-bezier(0.33, 1, 0.68, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    display: inline-block;
    will-change: transform, box-shadow;
    transform: translateZ(0);
    text-decoration: none;
    
    /* Orb AI's exact 3D embossed effect */
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.15),
        0 1px 3px rgba(255, 255, 255, 0.3) inset,
        0 -1px 2px rgba(0, 0, 0, 0.18) inset;
    
    text-shadow: 
        0 1px 0 rgba(0, 0, 0, 0.4),
        0 -1px 0 rgba(255, 255, 255, 0.3);
}

.koodo-cta:hover {
    background: #000000;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 10px 32px rgba(0, 0, 0, 0.22),
        0 2px 5px rgba(255, 255, 255, 0.4) inset,
        0 -2px 3px rgba(0, 0, 0, 0.22) inset;
    
    color: #FFFFFF;
    text-shadow: 
        0 1px 0 rgba(0, 0, 0, 0.5),
        0 -1px 0 rgba(255, 255, 255, 0.4);
}

.koodo-cta:active {
    transform: translateY(0) scale(1);
    box-shadow: 
        0 4px 18px rgba(0, 0, 0, 0.16),
        0 1px 3px rgba(255, 255, 255, 0.25) inset,
        0 -1px 2px rgba(0, 0, 0, 0.15) inset;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #000;
    transition: all 0.3s cubic-bezier(0.33, 1, 0.68, 1);
    border-radius: 1px;
    box-shadow: 0 0.5px 0 rgba(255, 255, 255, 0.8);
}

.mobile-menu-btn.active span:nth-of-type(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-of-type(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-btn.active span:nth-of-type(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 1.8rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 16px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 2px 6px rgba(255, 255, 255, 0.3) inset,
        0 -1px 2px rgba(0, 0, 0, 0.08) inset;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    padding: 1rem 1.2rem;
    border-radius: 10px;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.33, 1, 0.68, 1);
    color: rgba(0, 0, 0, 0.75);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.6);
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.8);
    color: #000;
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.7);
    transform: translateY(1px);
}

.mobile-cta {
    background: #000000;
    color: #FFFFFF;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.33, 1, 0.68, 1);
    text-decoration: none;
    text-align: center;
    margin-top: 1rem;
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.25),
        0 2px 4px rgba(255, 255, 255, 0.5) inset,
        0 -2px 3px rgba(0, 0, 0, 0.3) inset,
        0 3px 10px rgba(0, 0, 0, 0.2);
}

.mobile-cta:hover {
    box-shadow: 
        0 10px 24px rgba(0, 0, 0, 0.35),
        0 3px 6px rgba(255, 255, 255, 0.6) inset,
        0 -3px 4px rgba(0, 0, 0, 0.35) inset,
        0 5px 14px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

/* Mobile styles */
@media (max-width: 768px) {
    .koodo-header {
        top: 1rem;
        left: 1rem;
        right: 1rem;
        width: calc(100% - 2rem);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.78);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        box-shadow: 
            0 12px 36px rgba(0, 0, 0, 0.15),
            0 2px 4px rgba(255, 255, 255, 0.4) inset,
            0 -1px 2px rgba(0, 0, 0, 0.08) inset;
        border: 1px solid rgba(255, 255, 255, 0.45);
        padding: 0.8rem 1.2rem;
    }
    
    .header-container {
        padding: 0;
        justify-content: space-between;
        width: 100%;
    }
    
    .koodo-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .logo-img {
        height: 26px;
    }
    
    .koodo-cta {
        display: none;
    }
}

/* Ensure content doesn't hide behind fixed header */
.koodo-header ~ #wrapper {
    padding-top: 80px;
}

@media (max-width: 768px) {
    .koodo-header ~ #wrapper {
        padding-top: 100px;
    }
}

/* ==================== BLOG STYLING ENHANCEMENTS ==================== */

/* Blog post styling to match koodo.ai aesthetic */
.entry-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: #333;
}

.entry-title {
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* Category and tag styling */
.entry-categories, .entry-tags {
    margin: 1rem 0;
}

.entry-categories a, .entry-tags a {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-right: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.entry-categories a:hover, .entry-tags a:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Comments styling */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.comment-author {
    font-weight: 600;
}

.comment-metadata {
    font-size: 0.85rem;
    color: #666;
}

/* Search form styling */
.search-form {
    display: flex;
    margin: 2rem 0;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px 0 0 8px;
    background: rgba(255, 255, 255, 0.8);
}

.search-form input[type="submit"] {
    background: #000;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form input[type="submit"]:hover {
    background: #333;
}

/* Widget styling */
.widget {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.widget-title {
    margin-top: 0;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Pagination styling */
.pagination {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.page-numbers {
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-numbers.current, .page-numbers:hover {
    background: #000;
    color: white;
    border-color: #000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .entry-header {
        text-align: center;
    }
    
    .entry-title {
        font-size: 1.8rem;
    }
    
    .widget {
        margin: 1rem 0;
    }
}