/* Command Center - Professional Light Theme */

/* Force override theme styles */
body.page-template-page-command-center {
    background-color: #ffffff !important;
}

body.page-template-page-command-center main {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}

body.page-template-page-command-center .site-content {
    padding: 0 !important;
}

body.page-template-page-command-center .content-area {
    width: 100% !important;
    max-width: 100% !important;
}

/* CSS Variables */
.page-template-page-command-center {
    --primary-red: #E32B28;
    --dark-red: #B71C1C;
    --secondary: #1a1a1a;
    --tertiary: #00E676;
    --text-color: #1a1a1a;
    --text-light: #666666;
    --accent: #f5f5f5;
    --border-color: #e0e0e0;
    --card-bg: #ffffff;
    --dark-section: #f8f8f8;
    --gradient-blue: #1e3c72;
    --gradient-purple: #2a5298;
    --highlight: #FF6B35;
}

/* Base styles */
.page-template-page-command-center {
    font-family: inherit;
    background-color: #ffffff;
    color: var(--text-color);
}

/* Hero Section - Keep dark for contrast */
.hero-section {
    position: relative;
    height: 40vh;
    min-height: 350px;
    overflow: hidden;
    background: #000;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    color: #ffffff;
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 
                 0 0 20px rgba(227, 43, 40, 0.5);
}

.hero-subtitle {
    color: #ffffff;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Mission Section */
.mission-section {
    background: var(--dark-section);
    padding: 5rem 0;
    position: relative;
    margin-top: 3rem;
    border-radius: 20px 20px 0 0;
    border: 1px solid var(--border-color);
    border-bottom: none;
}

.mission-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.mission-title {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.section-divider {
    width: 100px;
    height: 3px;
    background: var(--primary-red);
    margin: 0 auto 2rem;
}

.mission-text {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.tagline {
    color: var(--primary-red);
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Command Section */
.command-section {
    padding: 5rem 0;
    background: #ffffff;
}

/* Command Grid */
.command-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Command Cards - Light theme */
.command-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 600px;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.command-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--highlight));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.command-card:hover::before {
    transform: scaleX(1);
}

.command-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(227,43,40,0.15);
    border-color: rgba(227,43,40,0.3);
}

.card-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #000;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: all 0.6s ease;
    opacity: 0.9;
}

.command-card:hover .card-image {
    transform: scale(1.05);
    opacity: 1;
}

.status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    z-index: 2;
}

.status-badge.active {
    background: var(--tertiary);
    color: #000;
}

.status-badge.coming-soon {
    background: var(--highlight);
    color: #fff;
}

.card-content {
    padding: 2rem;
    background: var(--card-bg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    color: var(--primary-red);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.card-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex: 1;
}

.card-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.card-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.2rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-red);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: auto;
    pointer-events: none;
}

.card-link:hover {
    gap: 1rem;
}

.card-link .arrow {
    transition: transform 0.3s ease;
}

.card-link:hover .arrow {
    transform: translateX(4px);
}

.card-link.disabled {
    color: #999;
}

/* Stats Section */
.stats-section {
    background: var(--dark-section);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stats-title {
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: #ffffff;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(227,43,40,0.3);
    box-shadow: 0 5px 20px rgba(227,43,40,0.1);
}

.stat-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

.stat-icon svg {
    filter: drop-shadow(0 0 5px rgba(227,43,40,0.2));
}

.stat-number {
    display: block;
    color: var(--primary-red);
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(227,43,40,0.1);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* SEO Content Section */
.seo-section {
    background: #ffffff;
    padding: 5rem 0;
}

.seo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.seo-wrapper {
    background: var(--dark-section);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
}

.seo-title {
    color: var(--text-color);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.seo-divider {
    width: 80px;
    height: 3px;
    background: var(--primary-red);
    margin: 0 auto 2.5rem;
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: left;
}

.seo-content p:last-child {
    margin-bottom: 0;
}

/* Mobile responsiveness */
@media (max-width: 1200px) {
    .command-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 35vh;
        min-height: 300px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .command-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .seo-wrapper {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .mission-title,
    .stats-title {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .seo-title {
        font-size: 1.8rem;
    }
}

/* Additional enhancements */
.page-template-page-command-center .site-content {
    padding-top: 0;
}

.page-template-page-command-center.admin-bar .hero-section {
    margin-top: 32px;
}