/*
Theme Name: GeekGuru Solutions
Theme URI: https://geekgurusolutions.com
Author: Manus
Description: A professional, responsive one-page WordPress theme for technical consulting.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: geekguru-theme
*/

:root {
    --bg-color: #f4f7f9;
    --card-bg: #ffffff;
    --border-color: #d1d5db;
    --text-color: #374151;
    --header-color: #111827;
    --accent-blue: #00e5ff; /* Neon Cyan from logo */
    --accent-orange: #475569; /* Slate Gray from logo */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition-speed: 0.3s;
}

[data-theme="dark"] {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --border-color: #334155;
    --text-color: #94a3b8;
    --header-color: #f1f5f9;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 800px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

header {
    padding: 15px 30px;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color var(--transition-speed);
}

@media (min-width: 768px) {
    header {
        flex-direction: row; /* Horizontal layout for desktop */
        text-align: left;
    }
}

.logo-container {
    max-width: 220px; /* Slightly smaller for better alignment */
    padding: 10px 0; /* More breathing room */
}

.site-logo {
    max-width: 100%;
    height: auto;
    display: block;
    transition: filter var(--transition-speed);
}

/* No filter needed for the new Terminal logo as it has good contrast */

.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
}

.theme-toggle:hover {
    background-color: var(--bg-color);
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column; /* Stacked as requested */
    gap: 10px;
}

@media (min-width: 640px) {
    nav ul {
        flex-direction: row;
        gap: 20px;
    }
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--accent-blue);
}

main {
    padding: 40px 30px;
    text-align: center;
}

h1 {
    color: var(--header-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.intro {
    font-size: 1.125rem;
    margin-bottom: 40px;
    color: var(--text-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.get-in-touch {
    margin-top: 40px;
    padding: 30px;
    background-color: var(--bg-color);
    border-radius: 8px;
}

.get-in-touch h2 {
    color: var(--header-color);
    margin-bottom: 15px;
}

.email-link {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--header-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.2s;
}

.email-link:hover {
    transform: translateY(-2px);
}

.service-area {
    margin-top: 30px;
    font-style: italic;
    color: #6b7280;
}

footer {
    padding: 20px;
    text-align: center;
    font-size: 0.875rem;
    border-top: 1px solid var(--border-color);
    color: #6b7280;
}

/* Multi-page Specific Styles */

.post-meta {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 15px;
}

.entry-content {
    margin-top: 20px;
    text-align: left;
}

.entry-content p {
    margin-bottom: 20px;
}

.post-excerpt {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.post-excerpt h2 a {
    text-decoration: none;
    color: var(--header-color);
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: var(--accent-blue);
    text-decoration: none;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px 0;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.service-card {
    padding: 30px;
    background-color: var(--bg-color);
    border-radius: 12px;
    text-align: left;
    transition: transform 0.2s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--header-color);
    margin-bottom: 10px;
}

/* Case Studies */
.case-study-item {
    margin-bottom: 30px;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: left;
}

.case-meta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 10px;
}

/* FAQ */
.faq-list {
    text-align: left;
    margin: 40px 0;
}

.faq-item {
    margin-bottom: 30px;
}

.faq-item h3 {
    color: var(--header-color);
    margin-bottom: 10px;
}

/* Navigation & Pagination */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.pagination {
    margin-top: 40px;
}

.nav-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.page-numbers {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-color);
}

.page-numbers.current {
    background-color: var(--header-color);
    color: white;
    border-color: var(--header-color);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Monospaced accents for technical feel */
.service-icon, .case-meta, .post-meta, .email-link {
    font-family: 'Roboto Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
