/*
Theme Name: Simpluencer
Description: A minimalistic WordPress blog theme with clean design and smooth animations. Features category-based homepage, mobile-responsive design, and modern typography.
Author: Your Name
Version: 1.0
Text Domain: simpluencer
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background: white;
    color: #111827;
    line-height: 1.6;
}

* {
    font-family: 'Inter', sans-serif;
}

*, *::before, *::after {
    pointer-events: auto;
}

.hamburger {
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    padding: 0.75rem;
    pointer-events: auto;
    z-index: 1001;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #374151;
    transition: all 0.3s ease;
    pointer-events: none;
    position: relative;
}

.hamburger span:nth-child(1) {
    margin-bottom: 4px;
}

.hamburger span:nth-child(2) {
    margin-bottom: 4px;
}

.hamburger span:nth-child(3) {
    margin-bottom: 0;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -9px;
    margin-top: -1px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -9px;
    margin-top: -1px;
}

.mobile-menu {
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 80vh;
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    pointer-events: auto;
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
}

.category-card {
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.category-card:hover {
    border-color: #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.post-item {
    border-bottom: 1px solid #f9fafb;
    transition: background-color 0.2s ease;
    padding: 1rem 0.5rem;
    border-radius: 4px;
}

.post-item:hover {
    background-color: #f9fafb;
}

.post-item:last-child {
    border-bottom: none;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.category-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 6px;
    text-decoration: none;
    color: #374151;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.category-tag:hover {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #111827;
}

.category-tag .hash {
    color: #6b7280;
    margin-right: 0.25rem;
}

/* Layout Classes */
.container {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    pointer-events: auto;
}

.header * {
    pointer-events: auto;
}

.main-content {
    padding: 3rem 0;
    min-height: 70vh;
}

.footer {
    background: white;
    border-top: 1px solid #f3f4f6;
    padding: 2rem 0;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.category-title {
    font-size: 1rem;
    font-weight: 500;
    color: #111827;
    margin: 0;
}

.view-all-btn {
    font-size: 0.75rem;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.view-all-btn:hover {
    color: #374151;
}

.post-title {
    font-size: 0.875rem;
    color: #111827;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    margin-bottom: 0.25rem;
    flex: 1;
    padding-right: 1rem;
}

.post-title:hover {
    color: #6b7280;
}

.post-date {
    font-size: 0.875rem;
    color: #6b7280;
    white-space: nowrap;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.logo-container {
    text-align: center;
    margin-bottom: 0.125rem;
}

.logo-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
    padding: 0;
    text-decoration: none;
    color: inherit;
    display: inline-block;
    pointer-events: auto;
    z-index: 1002;
    position: relative;
}

.logo-btn:hover {
    opacity: 0.8;
}

.site-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin: 0.125rem 0 0 0;
    pointer-events: none;
}

.site-tagline {
    text-align: center;
    margin-bottom: 0.75rem;
    margin-top: 0.125rem;
    font-size: 0.75rem;
    color: #6b7280;
    pointer-events: auto;
}

.menu-toggle-container {
    text-align: center;
}

.menu-section-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.widget-text {
    color: #111827;
    font-weight: 700;
    margin-bottom: 1rem;
}

.widget-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #9ca3af;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: #6b7280;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-btn {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-btn:hover {
    color: #374151;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .main-content {
        padding: 2rem 0;
    }
    
    .category-card {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .post-navigation {
        flex-direction: column;
        text-align: center;
    }
}

.single-post-footer-widgets {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
}

.single-post-widget {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid #e5e7eb; /* light gray separator */
}

.single-post-widget:first-child {
    border-top: none; /* no line above the first one */
    margin-top: 0;
    padding-top: 0;
}

.single-post-widget-inner {
    color: #374151;
}

.single-post-widget-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 0.5rem;
}
