/*
Theme Name: G&J Systems Professional
Theme URI: https://gjsystems.com
Author: G&J Systems
Author URI: https://gjsystems.com
Description: A professional, modern WordPress theme designed specifically for G&J Systems IT Infrastructure & Solutions. Features a clean design optimized for small businesses and churches seeking IT services.
Version: 1.2
License: GPL v2 or later
Text Domain: gj-systems
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #00ff41;
    --dark-green: #00cc33;
    --light-green: #4fffb0;
    --navy: #0a1628;
    --dark-blue: #1e3a5f;
    --light-blue: #3b82f6;
    --gray: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --amber: #fbbf24;
}

body {
    font-family: 'Courier New', Courier, monospace !important;
    line-height: 1.6;
    color: var(--navy);
    background: var(--white);
    margin: 0;
    padding: 0;
}

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

/* Navigation Styles - Updated to match HTML */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.site-branding {
    flex-shrink: 0;
}

.site-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--navy);
    text-decoration: none;
    display: inline-block;
}

.logo-accent {
    color: var(--primary-green);
}

/* Menu Styles - Fixed to match HTML */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--navy);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
    display: block;
    padding: 5px 0;
}

.main-navigation a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s;
}

.main-navigation a:hover::after {
    width: 100%;
}

.main-navigation a:hover {
    color: var(--primary-green);
}

/* Remove default WordPress menu styles */
.main-navigation ul ul {
    display: none;
}

.menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8f5e9 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 65, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text .highlight {
    color: var(--primary-green);
    position: relative;
}

.hero-text p {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Button Styles */
.btn-primary {
    background: var(--primary-green);
    color: var(--navy);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
}

.btn-primary:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 65, 0.3);
    color: var(--navy);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    padding: 15px 35px;
    text-decoration: none;
    border: 2px solid var(--navy);
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    font-family: 'Courier New', Courier, monospace;
}

.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
}

.hero-visual {
    background: var(--navy);
    border-radius: 10px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.3);
}

.terminal-mockup {
    background: #0a0a0a;
    border-radius: 8px;
    padding: 20px;
    font-size: 0.9rem;
    color: var(--primary-green);
}

.terminal-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--white);
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 15px;
    font-family: 'Courier New', Courier, monospace;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 40px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-green);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 15px;
    font-family: 'Courier New', Courier, monospace;
}

.service-description {
    color: var(--gray);
    line-height: 1.8;
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: var(--light-gray);
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-choose-text h3 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 30px;
    font-family: 'Courier New', Courier, monospace;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: start;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--white);
    border-radius: 8px;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-check {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-text h4 {
    color: var(--navy);
    margin-bottom: 5px;
    font-family: 'Courier New', Courier, monospace;
}

.feature-text p {
    color: var(--gray);
    font-size: 0.95rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    color: var(--primary-green);
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
}

.stat-label {
    color: var(--gray);
    margin-top: 10px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 65, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
    font-family: 'Courier New', Courier, monospace;
}

.cta p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}

/* Footer */
.site-footer {
    background: var(--navy);
    color: var(--white);
    padding: 60px 0 30px;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-green);
    font-family: 'Courier New', Courier, monospace;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-column h4 {
    margin-bottom: 20px;
    color: var(--white);
    font-family: 'Courier New', Courier, monospace;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin: 0;
    padding: 0;
}

.footer-column a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.5);
}

/* Content Area */
.site-content {
    padding-top: 80px;
    min-height: 80vh;
}

/* WordPress Core Styles */
.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* WordPress Blocks Support */
.wp-block-button__link {
    background: var(--primary-green);
    color: var(--navy);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
}

.wp-block-button__link:hover {
    background: var(--dark-green);
}

/* Animation classes */
.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        background: var(--primary-green);
        color: var(--navy);
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-family: 'Courier New', Courier, monospace;
    }
    
    .main-navigation ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .main-navigation ul.show {
        display: flex;
    }
    
    .hero-content,
    .why-choose-content {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* Template-specific styles */
.page-template-template-homepage .site-content {
    padding-top: 0;
}