/*
Theme Name: NeuroLogicLabs
Description: A modern, dark-themed WordPress theme for AI and technology companies with orange accents.
Version: 1.0.0
Author: NeuroLogicLabs
Text Domain: neurologiclabs
*/

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

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b35;
    text-decoration: none;
}

.logo:hover {
    color: #ff8c42;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ff6b35;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-logo {
    font-size: 4rem;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-slogan {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero-tagline {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 3rem;
    line-height: 1.5;
}

.cta-button {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #ffffff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    color: #ffffff;
    text-decoration: none;
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.neural-network {
    position: relative;
    width: 300px;
    height: 300px;
}

.node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ff6b35;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.6);
    animation: pulse 2s infinite;
}

.node:nth-child(1) { top: 50px; left: 50px; animation-delay: 0s; }
.node:nth-child(2) { top: 100px; right: 50px; animation-delay: 0.4s; }
.node:nth-child(3) { bottom: 100px; left: 100px; animation-delay: 0.8s; }
.node:nth-child(4) { bottom: 50px; right: 100px; animation-delay: 1.2s; }
.node:nth-child(5) { top: 150px; left: 150px; animation-delay: 1.6s; }

.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6b35, transparent);
    animation: flow 3s infinite;
}

.connection:nth-child(6) {
    top: 60px;
    left: 70px;
    width: 160px;
    transform: rotate(15deg);
}

.connection:nth-child(7) {
    top: 160px;
    left: 120px;
    width: 120px;
    transform: rotate(-45deg);
}

.connection:nth-child(8) {
    bottom: 110px;
    left: 120px;
    width: 100px;
    transform: rotate(30deg);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes flow {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

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

.section-title {
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: #ff6b35;
}

/* About Section */
.about {
    background: #111111;
}

.about-text {
    font-size: 1.3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #cccccc;
    line-height: 1.8;
}

/* Services Section */
.services-wrapper {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.service-card {
    background: #111111;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #222222;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #ff6b35;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.service-card:hover .service-icon {
    filter: grayscale(0%);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ff6b35;
}

.service-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: #111111;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: #222222;
    border: 2px solid #333333;
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888888;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* Contact Form 7 Styling */
.wpcf7-form {
    max-width: 600px;
    margin: 0 auto;
}

.wpcf7-form p {
    margin-bottom: 2rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: #222222;
    border: 2px solid #333333;
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

.wpcf7-form input[type="submit"] {
    width: 100%;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* Footer */
.footer {
    background: #000000;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #222222;
}

.footer p {
    color: #888888;
}

/* WordPress Specific Styles */
.wp-block-group {
    margin: 0;
}

.wp-block-columns {
    gap: 2rem;
}

.wp-block-column {
    flex: 1;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Skip link */
.skip-link {
    background-color: #ff6b35;
    color: #ffffff;
    font-weight: 700;
    left: 6px;
    padding: 8px 16px;
    position: absolute;
    text-decoration: none;
    top: 6px;
    transform: translateY(-100%);
    transition: transform 0.3s;
    z-index: 100000;
}

.skip-link:focus {
    transform: translateY(0%);
}

/* Site branding */
.site-branding {
    display: flex;
    align-items: center;
}

.custom-logo-link {
    display: block;
}

.custom-logo {
    max-height: 50px;
    width: auto;
}

/* Entry content */
.entry-content {
    max-width: 100%;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    color: #ff6b35;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.entry-meta span {
    margin-right: 1rem;
}

.entry-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #222222;
    color: #888888;
    font-size: 0.9rem;
}

.entry-footer span {
    margin-right: 1rem;
}

/* Widgets */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    color: #ff6b35;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    margin-bottom: 0.5rem;
}

.widget ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget ul li a:hover {
    color: #ff6b35;
}

/* Footer links */
.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: #888888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b35;
}

/* Search form */
.search-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 0.75rem 1rem;
    background: #222222;
    border: 2px solid #333333;
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: #ff6b35;
}

.search-form input[type="submit"] {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* Focus styles */
.focused {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

/* Loading states */
body:not(.loaded) {
    overflow: hidden;
}

img:not(.loaded) {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* Search results */
.search-result {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #222222;
}

.search-result:last-child {
    border-bottom: none;
}

.search-result .entry-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.search-result .entry-title a {
    color: #ff6b35;
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-result .entry-title a:hover {
    color: #ff8c42;
}

.search-result .entry-summary {
    color: #cccccc;
    margin: 1rem 0;
}

.search-result .read-more {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-result .read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    color: #ffffff;
}

/* Search form button */
.search-submit {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #ffffff;
    border: none;
    padding: 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* Page navigation */
.navigation.pagination {
    margin-top: 3rem;
    text-align: center;
}

.nav-links {
    display: inline-flex;
    gap: 0.5rem;
}

.nav-links a,
.nav-links span {
    background: #222222;
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: #ff6b35;
    transform: translateY(-2px);
}

.nav-links .current {
    background: #ff6b35;
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #222222;
}

.comments-title {
    color: #ff6b35;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #111111;
    border-radius: 10px;
}

.comment-author {
    color: #ff6b35;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.comment-meta {
    color: #888888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.comment-content {
    color: #cccccc;
    line-height: 1.6;
}

/* Mobile menu */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 2rem;
        transition: top 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        top: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: #ffffff;
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    .mobile-menu-toggle:hover {
        color: #ff6b35;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        gap: 2rem;
    }
    
    .hero-logo {
        font-size: 2.5rem;
    }
    
    .hero-slogan {
        font-size: 1.8rem;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .neural-network {
        width: 200px;
        height: 200px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 4rem 0;
    }
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .services-wrapper {
        margin-top: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        font-size: 2rem;
    }
    
    .hero-slogan {
        font-size: 1.5rem;
    }
    
    .services-grid {
        max-width: 100%;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
}
