/* Custom CSS for okanda.life */

:root {
    --primary-color: #4e73df;
    --secondary-color: #858796;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fc;
    --dark-color: #5a5c69;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-graphic {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Application Cards */
.app-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.app-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-list {
    min-height: 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.features-list .badge {
    margin: 2px;
    font-size: 0.75rem;
    padding: 0.5em 0.75em;
}

.status-badge {
    min-height: 30px;
}

/* Button Styles */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Application-specific colors */
.app-card[data-app="nimbus"] .btn-primary,
.app-card[data-app="nimbus"] .text-primary,
.app-card[data-app="nimbus"] .bg-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.app-card[data-app="storypilot"] .btn-success,
.app-card[data-app="storypilot"] .text-success,
.app-card[data-app="storypilot"] .bg-success {
    background-color: var(--success-color) !important;
    border-color: var(--success-color) !important;
    color: var(--success-color) !important;
}

.app-card[data-app="chapter"] .btn-info,
.app-card[data-app="chapter"] .text-info,
.app-card[data-app="chapter"] .bg-info {
    background-color: var(--info-color) !important;
    border-color: var(--info-color) !important;
    color: var(--info-color) !important;
}

/* Section Spacing */
section {
    padding: 5rem 0;
}

/* About Section */
.about-graphic {
    animation: pulse 2s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

/* Contact Section */
.contact-info {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 2rem 0;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .app-card {
        margin-bottom: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-section {
        background: #000;
        color: #fff;
    }
    
    .app-card {
        border: 2px solid #333;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .hero-graphic,
    .about-graphic,
    .app-card,
    .btn {
        animation: none;
        transition: none;
    }
    
    .app-card:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-section,
    footer {
        display: none;
    }
    
    .app-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
/* Badge Visibility Fixes */
.features-list .badge {
    background-color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
}

.features-list .badge.text-primary {
    color: #0d6efd !important;
}

.features-list .badge.text-success {
    color: #198754 !important;
}

.features-list .badge.text-info {
    color: #0dcaf0 !important;
}
