/*
Theme Name: Vikorus Showcase
Theme URI: https://vikorus.com
Description: Custom lightweight theme for Vikorus app showcase - no page builder dependencies
Version: 1.1.0
Author: Vikorus LLC
Author URI: https://vikorus.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vikorus-showcase
*/

/* Standalone theme - no parent theme import */

/* ==========================================================================
   WordPress Core Resets
   ========================================================================== */
* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

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

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

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

.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;
}

/* ==========================================================================
   Global Styles
   ========================================================================== */
:root {
    --vikorus-primary: #3b82f6;
    --vikorus-dark: #1a1a2e;
    --vikorus-darker: #0f0f1e;
    --vikorus-light: #ffffff;
    --vikorus-gray: #e7e7e7;
    --vikorus-text: #333333;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #000000 !important;
    color: var(--vikorus-text) !important;
}

/* Override any parent theme body styling */
body.page,
body.single-post {
    background: var(--vikorus-dark) !important;
}

/* Force main content area styling */
#main,
.site-main {
    background: var(--vikorus-dark) !important;
}

/* ==========================================================================
   Hero Section - Side by Side Layout
   ========================================================================== */
.vikorus-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.vikorus-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="30" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.vikorus-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.vikorus-hero-text {
    text-align: left;
}

.vikorus-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--vikorus-light);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.vikorus-hero .tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--vikorus-light);
    margin: 0 0 10px 0;
}

.vikorus-hero .subtitle {
    font-size: 1.25rem;
    color: var(--vikorus-gray);
    margin: 0 0 40px 0;
}

.vikorus-hero .cta-button {
    display: inline-block;
    background: var(--vikorus-primary);
    color: var(--vikorus-light);
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vikorus-hero .cta-button:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.vikorus-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vikorus-hero-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

/* ==========================================================================
   App Sections
   ========================================================================== */
.vikorus-app-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.vikorus-app-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(1, 69, 137, 0.22) 0%, rgba(5, 24, 48, 0.2) 100%);
    border-radius: 20px;
    border: 1px solid rgba(48, 137, 255, 0.1);
    position: relative;
}

.vikorus-app-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1.5" fill="rgba(255,255,255,0.05)"/><circle cx="60" cy="40" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="70" r="1.5" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    border-radius: 20px;
    pointer-events: none;
}

/* Alternate layout */
.vikorus-app-section:nth-child(even) .vikorus-app-container {
    grid-template-columns: 1fr 1fr;
}

.vikorus-app-section:nth-child(even) .vikorus-app-details {
    order: 2;
}

.vikorus-app-section:nth-child(even) .vikorus-app-image {
    order: 1;
}

.vikorus-app-details {
    color: var(--vikorus-light);
    position: relative;
    z-index: 1;
}

.vikorus-app-category {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--vikorus-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
}

.vikorus-app-details h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--vikorus-light);
    margin: 0 0 30px 0;
    line-height: 1.2;
}

.vikorus-app-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.vikorus-app-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.vikorus-app-features li svg {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    flex-shrink: 0;
    fill: var(--vikorus-primary);
}

.vikorus-app-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.vikorus-app-badges a {
    display: block;
}

.vikorus-app-badges img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.vikorus-app-badges img:hover {
    transform: scale(1.05);
}

.vikorus-app-image {
    position: relative;
    z-index: 1;
}

.vikorus-app-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 968px) {
    .vikorus-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .vikorus-hero-text {
        text-align: center;
    }
    
    .vikorus-hero h1 {
        font-size: 2.5rem;
    }
    
    .vikorus-hero .tagline {
        font-size: 1.25rem;
    }
    
    .vikorus-hero .subtitle {
        font-size: 1.1rem;
    }
    
    .vikorus-app-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 20px;
    }
    
    .vikorus-app-section:nth-child(even) .vikorus-app-details,
    .vikorus-app-section:nth-child(even) .vikorus-app-image {
        order: 0;
    }
    
    .vikorus-app-details h2 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .vikorus-hero {
        padding: 60px 20px;
    }
    
    .vikorus-hero h1 {
        font-size: 2rem;
    }
    
    .vikorus-hero .tagline {
        font-size: 1.1rem;
    }
    
    .vikorus-hero .subtitle {
        font-size: 1rem;
    }
    
    .vikorus-hero .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .vikorus-app-section {
        padding: 40px 15px;
    }
    
    .vikorus-app-details h2 {
        font-size: 1.75rem;
    }
    
    .vikorus-app-badges {
        justify-content: center;
    }
}

/* ==========================================================================
   Content Pages (Support, Privacy, Terms, etc.)
   ========================================================================== */
body:not(.page-template-page-home) {
    background: var(--vikorus-dark) !important;
}

.site-content {
    background: var(--vikorus-dark) !important;
    min-height: 60vh;
}

.wp-block-post-content,
.entry-content {
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 60px 40px !important;
    background: var(--vikorus-darker) !important;
    color: var(--vikorus-light) !important;
    line-height: 1.8 !important;
}

.wp-block-post-title {
    color: var(--vikorus-light) !important;
    font-size: 2.5rem !important;
    margin-bottom: 40px !important;
    padding-bottom: 20px !important;
    border-bottom: 2px solid var(--vikorus-primary) !important;
}

.wp-block-post-content h1,
.wp-block-post-content h2,
.wp-block-post-content h3,
.wp-block-post-content h4,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--vikorus-light) !important;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
}

.wp-block-post-content h1,
.entry-content h1 {
    font-size: 2.5rem !important;
    margin-top: 0 !important;
    padding-bottom: 20px !important;
    border-bottom: 2px solid var(--vikorus-primary) !important;
}

.wp-block-post-content h2,
.entry-content h2 {
    font-size: 2rem !important;
    color: var(--vikorus-primary) !important;
}

.wp-block-post-content h3,
.entry-content h3 {
    font-size: 1.5rem !important;
}

.wp-block-post-content h4,
.entry-content h4 {
    font-size: 1.25rem !important;
}

.wp-block-post-content p,
.entry-content p {
    color: #ffffff !important;
    margin-bottom: 20px !important;
    font-weight: 400 !important;
}

.wp-block-post-content a,
.entry-content a {
    color: var(--vikorus-primary) !important;
    text-decoration: underline !important;
}

.wp-block-post-content a:hover,
.entry-content a:hover {
    color: #2563eb !important;
}

.wp-block-post-content ul,
.wp-block-post-content ol,
.entry-content ul,
.entry-content ol {
    color: var(--vikorus-gray) !important;
    margin: 20px 0 !important;
    padding-left: 40px !important;
}

.wp-block-post-content li,
.entry-content li {
    margin-bottom: 10px !important;
    color: #ffffff !important;
}

.wp-block-post-content strong,
.entry-content strong {
    color: var(--vikorus-light) !important;
}

/* Header & Footer */
.site-header {
    background: var(--vikorus-darker);
    padding: 20px 0;
}

.site-footer {
    background: var(--vikorus-darker);
    color: var(--vikorus-light);
    padding: 60px 20px 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
    color: var(--vikorus-primary);
    font-size: 1.3rem;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.footer-section h4 {
    color: var(--vikorus-light);
    font-size: 0.95rem;
    margin: 0 0 15px 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p {
    color: var(--vikorus-gray);
    line-height: 1.6;
    margin: 0 0 10px 0;
    font-size: 0.9rem;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--vikorus-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--vikorus-primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--vikorus-gray);
    margin: 0;
    font-size: 0.85rem;
}

/* Footer Mobile Responsive */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .entry-content {
        padding: 40px 20px;
    }

    .entry-content h1 {
        font-size: 2rem;
    }

    .entry-content h2 {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section {
        text-align: center;
    }
}
