/*
Theme Name: Opstratex Pro
Description: Professional business consulting website theme
Version: 1.0
Author: OPSTRATEX
*/

/* =================================================================
   GLOBAL STYLES
================================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2D3748;
    background-color: #FFFFFF;
    padding-top: 70px; /* Account for fixed header */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2C5282;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

/* =================================================================
   HEADER STYLES - LOGO LEFT, NAV RIGHT
================================================================= */

.site-header {
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
}

/* Header Layout: Logo Left, Nav Right */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    min-height: 70px;
}

/* Logo Section (Left) */
.logo-section {
    flex-shrink: 0;
}

.logo {
    display: inline-block;
    text-decoration: none;
}

.site-logo {
    height: 100px;
    width: 100px;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 4px;
}

.site-logo:hover {
    transform: scale(1.05);
}

/* Navigation Section (Right) */
.nav-section {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav {
    display: flex;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #2D3748;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #2C5282;
}

/* Add subtle underline effect on hover */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #123255;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Current page indicator */
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
    color: #2C5282;
    font-weight: 600;
}

.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after {
    width: 100%;
}

/* CTA Button */
.cta-button {
    background: #D69E2E;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover {
    background: #B7791F;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Mobile Menu Toggle (Hidden on Desktop) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #2D3748;
    transition: all 0.3s ease;
}

/* =================================================================
   HERO SECTION
================================================================= */

.hero-section {
    background: linear-gradient(135deg, #2C5282 0%, #123255 100%);
    color: #FFFFFF;
    padding: 8rem 0 4rem;
    text-align: center;
}

.hero-content h1 {
    color: #FFFFFF;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: inline-block;
    background: #D69E2E;
    color: #FFFFFF;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.3s, background 0.3s;
}

.hero-cta:hover {
    transform: translateY(-2px);
    background: #B7791F;
}

/* =================================================================
   CONTENT SECTIONS
================================================================= */

.content-section {
    padding: 4rem 0;
}

.section-bg-light {
    background: #F7FAFC;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.credential-item {
    text-align: center;
    padding: 2rem;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.credential-icon {
    font-size: 3rem;
    color: #D69E2E;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #2C5282;
}

.service-title {
    color: #2C5282;
    margin-bottom: 1rem;
}

/* =================================================================
   FREE ASSESSMENT SECTION
================================================================= */

.assessment-section {
    background: linear-gradient(135deg, #2C5282 0%, #3182CE 100%);
    color: #FFFFFF;
    padding: 4rem 0;
    text-align: center;
}

.assessment-content h2 {
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.assessment-value {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.assessment-form {
    max-width: 500px;
    margin: 0 auto;
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2D3748;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E2E8F0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2C5282;
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #E53E3E;
}

.submit-button {
    background: #D69E2E;
    color: #FFFFFF;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.submit-button:hover {
    background: #B7791F;
}

/* =================================================================
   FOOTER STYLES
================================================================= */

.site-footer {
    background: #2D3748;
    color: #FFFFFF;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4A5568;
    margin-top: 2rem;
    opacity: 0.8;
}

/* =================================================================
   MOBILE RESPONSIVE STYLES
================================================================= */

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .header-content {
        padding: 0.5rem 0;
        min-height: 60px;
    }
    
    /* Logo smaller on mobile */
    .site-logo {
        height: 40px;
        width: 40px;
    }
    
    /* Hide desktop navigation */
    .nav-section {
        display: none;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Mobile navigation (when open) */
    .nav-section.mobile-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #FFFFFF;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .nav-section.mobile-open .nav-menu {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .nav-section.mobile-open .cta-button {
        align-self: center;
        margin-top: 0.5rem;
    }
    
    /* Hamburger animation when open */
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Hero section mobile */
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Grids mobile */
    .credentials-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Assessment form mobile */
    .assessment-form {
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .site-logo {
        height: 35px;
        width: 35px;
    }
    
    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* =================================================================
   ACCESSIBILITY & FOCUS STATES
================================================================= */

/* Focus states for accessibility */
.nav-menu a:focus,
.cta-button:focus,
.mobile-menu-toggle:focus {
    outline: 2px solid #2C5282;
    outline-offset: 2px;
}

/* Logo link focus state */
.logo:focus {
    outline: 2px solid #2C5282;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* =================================================================
   UTILITY CLASSES
================================================================= */

.text-center { text-align: center; }
.text-blue { color: #123255; }
.text-gold { color: #D69E2E; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }

.button-secondary {
    background: transparent;
    color: #2C5282;
    border: 2px solid #2C5282;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.button-secondary:hover {
    background: #2C5282;
    color: #FFFFFF;
}