/**
 * PPS Theme - Corporate
 * Clean, professional theme for business presentations
 */

/* ========================================
   CORPORATE THEME VARIABLES
   ======================================== */

.pps-theme-corporate,
body.pps-theme-corporate {
    /* Primary colors */
    --pps-primary-color: #ffffff;
    --pps-accent-color: #0066cc;
    --pps-accent-hover: #0052a3;
    
    /* Text colors */
    --pps-text-primary: #212529;
    --pps-text-secondary: #6c757d;
    --pps-text-muted: #adb5bd;
    
    /* Backgrounds */
    --pps-bg-primary: #ffffff;
    --pps-bg-secondary: #f8f9fa;
    --pps-bg-gradient-start: #ffffff;
    --pps-bg-gradient-end: #f0f4f8;
    
    /* Card and overlays */
    --pps-card-bg: rgba(255, 255, 255, 0.95);
    --pps-overlay-bg: rgba(248, 249, 250, 0.9);
    
    /* Shadows */
    --pps-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --pps-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --pps-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* Borders */
    --pps-border-color: #dee2e6;
    --pps-border-light: #e9ecef;
    
    /* Typography */
    --pps-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --pps-font-size-base: 16px;
    --pps-line-height: 1.6;
}

/* ========================================
   SLIDE BACKGROUNDS
   ======================================== */

.pps-theme-corporate .pps-slide {
    background: linear-gradient(135deg, var(--pps-bg-gradient-start), var(--pps-bg-gradient-end));
}

.pps-theme-corporate .pps-slide:nth-child(even) {
    background: linear-gradient(-135deg, var(--pps-bg-gradient-start), var(--pps-bg-gradient-end));
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

.pps-theme-corporate h1,
.pps-theme-corporate h2,
.pps-theme-corporate h3 {
    color: var(--pps-text-primary);
    font-weight: 600;
}

.pps-theme-corporate h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.pps-theme-corporate h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.3;
    margin-bottom: 1.2rem;
}

.pps-theme-corporate h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--pps-accent-color);
}

.pps-theme-corporate p {
    color: var(--pps-text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
}

.pps-theme-corporate strong {
    color: var(--pps-accent-color);
    font-weight: 600;
}

/* ========================================
   CONTENT COMPONENTS
   ======================================== */

/* Cards */
.pps-theme-corporate .card,
.pps-theme-corporate .feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--pps-shadow-md);
    transition: all 0.3s ease;
}

.pps-theme-corporate .card:hover,
.pps-theme-corporate .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pps-shadow-lg);
}

/* Lists */
.pps-theme-corporate ul,
.pps-theme-corporate ol {
    color: var(--pps-text-secondary);
    line-height: 1.8;
}

.pps-theme-corporate li {
    margin-bottom: 0.5rem;
}

/* Code blocks */
.pps-theme-corporate code {
    background: var(--pps-bg-secondary);
    color: var(--pps-accent-color);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9em;
}

.pps-theme-corporate pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
}

.pps-theme-corporate pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* Buttons */
.pps-theme-corporate .btn,
.pps-theme-corporate button:not(.pps-nav-btn):not(.pps-theme-toggle):not(.pps-audio-toggle):not(.pps-info-toggle) {
    background: var(--pps-accent-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pps-theme-corporate .btn:hover,
.pps-theme-corporate button:not(.pps-nav-btn):not(.pps-theme-toggle):not(.pps-audio-toggle):not(.pps-info-toggle):hover {
    background: var(--pps-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--pps-shadow-md);
}

/* ========================================
   SPECIAL LAYOUTS
   ======================================== */

/* Centered layout */
.pps-theme-corporate .centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Two column layout */
.pps-theme-corporate .two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Feature grid */
.pps-theme-corporate .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* ========================================
   ANIMATIONS
   ======================================== */

.pps-theme-corporate .fade-in {
    animation: corporateFadeIn 0.8s ease;
}

.pps-theme-corporate .slide-up {
    animation: corporateSlideUp 0.8s ease;
}

@keyframes corporateFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes corporateSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   NAVIGATION OVERRIDES
   ======================================== */

.pps-theme-corporate .pps-nav-btn {
    background: white;
    border: 2px solid var(--pps-border-color);
    color: var(--pps-text-secondary);
}

.pps-theme-corporate .pps-nav-btn:hover {
    border-color: var(--pps-accent-color);
    background: var(--pps-bg-secondary);
}

.pps-theme-corporate .pps-nav-btn.pps-active {
    background: var(--pps-accent-color);
    border-color: var(--pps-accent-color);
    color: white;
}

/* ========================================
   CONTROL OVERRIDES
   ======================================== */

.pps-theme-corporate .pps-theme-toggle,
.pps-theme-corporate .pps-audio-toggle,
.pps-theme-corporate .pps-info-toggle {
    background: white;
    box-shadow: var(--pps-shadow-sm);
}

.pps-theme-corporate .pps-theme-toggle:hover,
.pps-theme-corporate .pps-audio-toggle:hover,
.pps-theme-corporate .pps-info-toggle:hover {
    box-shadow: var(--pps-shadow-md);
}

.pps-theme-corporate .pps-theme-dropdown,
.pps-theme-corporate .pps-info-dropdown {
    background: white;
    box-shadow: var(--pps-shadow-lg);
}

/* ========================================
   LOADER OVERRIDE
   ======================================== */

.pps-theme-corporate .pps-loader {
    background: linear-gradient(135deg, #ffffff, #f8f9fc);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .pps-theme-corporate h1 {
        font-size: 2rem;
    }
    
    .pps-theme-corporate h2 {
        font-size: 1.5rem;
    }
    
    .pps-theme-corporate .two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pps-theme-corporate .feature-grid {
        grid-template-columns: 1fr;
    }
}
