/*
Theme Name: Nenuvo3 Neo-Acid Tech
Theme URI: https://nenuvo.com
Author: Nenuvo
Description: A custom Dark Mode theme blending PropTech software and modern digital API pipelines, featuring clean flat Cyber-Minimalist styles.
Version: 1.0
Text Domain: nenuvo3
*/

/* ==========================================
   01. DESIGN TOKENS & RESET
   ========================================== */
:root {
    --bg-primary: #09090B;
    --bg-secondary: #131316;
    --bg-card: #18181F;
    --accent-blueprint: #00F5D4; /* Crisp Mint/Teal */
    --accent-slate: #3F3F46;
    --text-white: #F4F4F5;
    --text-muted: #A1A1AA;
    --border-radius: 8px;
    --border-radius-sm: 6px;
    --border-color: rgba(255, 255, 255, 0.05);
    
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
    
    --transition-fast: 0.15s ease;
    --transition-smooth: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--text-white);
}

a {
    color: var(--accent-blueprint);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-sm);
}

code, pre, .meta-text {
    font-family: var(--font-mono);
    font-size: 0.85em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: #27272A;
    border-radius: var(--border-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blueprint);
}

/* ==========================================
   02. LAYOUT UTILITIES
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-mono {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.text-blueprint {
    color: var(--accent-blueprint);
}

.grid {
    display: grid;
    gap: 32px;
}

/* Minimal Grid Pattern */
.cyber-grid-bg {
    position: relative;
    background-image: linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ==========================================
   03. HEADER & NAVIGATION
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 9, 11, 0.8);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-fast);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.site-logo a {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-logo a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent-blueprint);
    border-radius: 50%;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

.main-navigation a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 6px 12px;
    transition: var(--transition-fast);
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--text-white);
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-white);
    margin: 4px 0;
    transition: var(--transition-fast);
}

/* ==========================================
   04. BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    position: relative;
    border: none;
}

.btn-primary {
    background: var(--text-white);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ==========================================
   05. HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-primary);
    padding-top: 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 40%, var(--bg-primary) 90%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: left;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 24px;
    border-radius: var(--border-radius-sm);
}

.hero-tagline::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--accent-blueprint);
    border-radius: 50%;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.025em;
    font-weight: 700;
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 640px;
    line-height: 1.6;
}

/* ==========================================
   06. BENTO BOX GRID
   ========================================== */
.verticals-section {
    position: relative;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.section-header {
    margin-bottom: 60px;
    text-align: left;
}

.section-label {
    color: var(--accent-blueprint);
    margin-bottom: 12px;
    font-weight: 600;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.bento-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.bento-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

/* Large Bento Card (Left) */
.bento-card-large {
    grid-column: span 7;
}

/* Small Bento Card (Right) */
.bento-card-small {
    grid-column: span 5;
}

.bento-card-meta {
    margin-bottom: 24px;
}

.bento-card-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.bento-card-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* Bento Assets */
.bento-asset-wrapper {
    margin-top: auto;
    position: relative;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bento-card-large .bento-asset-wrapper {
    height: 260px;
}

.bento-card-small .bento-asset-wrapper {
    height: 260px;
}

.bento-asset-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: var(--transition-fast);
}

.bento-card:hover .bento-asset-img {
    opacity: 1;
}

/* Features List inside Bento */
.bento-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.bento-features li {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-muted);
}

/* ==========================================
   07. INSIGHTS SECTION (BLOG FEED)
   ========================================== */
.insights-section {
    background: var(--bg-primary);
    position: relative;
    border-top: 1px solid var(--border-color);
}

.insights-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-fast);
}

.blog-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.blog-card-img-link {
    display: block;
    height: 180px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    opacity: 0.85;
    transition: var(--transition-fast);
}

.blog-card:hover .blog-card-img {
    opacity: 1;
}

.blog-card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.blog-card-tag {
    color: var(--text-white);
    font-weight: 600;
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.3;
    font-weight: 700;
}

.blog-card-title a {
    color: var(--text-white);
}

.blog-card-title a:hover {
    color: var(--accent-blueprint);
}

.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.blog-card-link {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-blueprint);
}

.blog-card-link::after {
    content: '→';
    transition: var(--transition-fast);
}

.blog-card-link:hover::after {
    transform: translateX(4px);
}

/* ==========================================
   08. CONTACT SECTION
   ========================================== */
.contact-section {
    background: var(--bg-secondary);
    position: relative;
    border-top: 1px solid var(--border-color);
}

.contact-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
}

.contact-info {
    grid-column: span 5;
}

.contact-info-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.contact-info-text {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 0.95rem;
}

.contact-details {
    display: grid;
    gap: 24px;
}

.contact-item {
    display: flex;
    flex-direction: column;
}

.contact-item-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-blueprint);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.contact-item-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
}

.contact-form-container {
    grid-column: span 7;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
}

/* Form Fields Styling */
.nenuvo-form {
    display: grid;
    gap: 20px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-white);
    margin-bottom: 8px;
}

.form-control {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.25);
    background: var(--bg-primary);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-submit-btn {
    background: var(--text-white);
    border: none;
    color: var(--bg-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 28px;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    width: 100%;
    margin-top: 8px;
}

.form-submit-btn:hover {
    background: #fff;
    transform: translateY(-1px);
}

/* AJAX Message Status */
.form-status {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    margin-top: 12px;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(0, 245, 212, 0.05);
    border: 1px solid rgba(0, 245, 212, 0.15);
    color: var(--accent-blueprint);
}

.form-status.error {
    display: block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* ==========================================
   09. FOOTER
   ========================================== */
.site-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
}

.footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    margin-bottom: 60px;
    gap: 32px;
}

.footer-widget-column h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-widget-column ul {
    list-style: none;
}

.footer-widget-column ul li {
    margin-bottom: 12px;
}

.footer-widget-column ul li a {
    color: var(--text-muted);
}

.footer-widget-column ul li a:hover {
    color: var(--text-white);
}

.footer-about-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-about-logo::after {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--accent-blueprint);
    border-radius: 50%;
}

.footer-about-text {
    color: var(--text-muted);
    max-width: 260px;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.footer-credits {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ==========================================
   10. DEFAULT POST/ARCHIVE STYLES (INDEX.PHP)
   ========================================== */
.archive-header {
    background: var(--bg-secondary);
    padding: 100px 0 60px;
    border-bottom: 1px solid var(--border-color);
}

.archive-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.archive-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 640px;
}

.main-content-area {
    padding: 80px 0;
}

.post-listing-grid {
    grid-template-columns: repeat(12, 1fr);
    align-items: start;
}

.post-loop-container {
    grid-column: span 8;
    display: grid;
    gap: 40px;
}

.sidebar-area {
    grid-column: span 4;
    padding-left: 40px;
    position: sticky;
    top: 110px;
}

/* Sidebar Widget */
.widget {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    margin-bottom: 32px;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
}

.widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget ul li a {
    color: var(--text-white);
}

.widget ul li a:hover {
    color: var(--accent-blueprint);
}

/* Pagination */
.pagination {
    display: flex;
    gap: 8px;
    margin-top: 40px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 600;
    transition: var(--transition-fast);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--text-white);
    border-color: var(--text-white);
    color: var(--bg-primary);
}

/* Single Post Layout */
.single-post-header {
    padding: 120px 0 60px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.single-post-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.single-post-meta span strong {
    color: var(--text-white);
}

.single-content-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 80px 24px;
}

.post-content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #E4E4E7;
}

.post-content p {
    margin-bottom: 24px;
}

.post-content h2,
.post-content h3 {
    margin: 48px 0 20px;
    font-weight: 700;
}

.post-content blockquote {
    border-left: 2px solid var(--accent-blueprint);
    padding-left: 24px;
    margin: 36px 0;
    font-style: italic;
    color: var(--text-white);
    background: var(--bg-secondary);
    padding: 20px 24px;
    border-radius: var(--border-radius-sm);
}

.post-content pre {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    overflow-x: auto;
    margin-bottom: 28px;
}

/* ==========================================
   11. RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
    .bento-card-large {
        grid-column: span 12;
    }
    
    .bento-card-small {
        grid-column: span 12;
    }
    
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .main-navigation {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(9, 9, 11, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        overflow: hidden;
        transition: var(--transition-smooth);
        border-bottom: 0 solid var(--border-color);
    }
    
    .main-navigation.active {
        height: calc(100vh - 70px);
        border-bottom-width: 1px;
    }
    
    .main-navigation ul {
        flex-direction: column;
        align-items: center;
        padding-top: 48px;
        gap: 28px;
    }
    
    .main-navigation a {
        font-size: 1.1rem;
    }
    
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    
    .bento-card {
        padding: 28px;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-info {
        grid-column: span 1;
        margin-bottom: 0;
    }
    
    .contact-form-container {
        grid-column: span 1;
        padding: 28px;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-listing-grid {
        grid-template-columns: 1fr;
    }
    
    .post-loop-container {
        grid-column: span 1;
    }
    
    .sidebar-area {
        grid-column: span 1;
        padding-left: 0;
        margin-top: 48px;
        position: static;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
