/**
 * Nimbus BCI Presentation Styles
 * Professional pitch deck styling with dark theme and yellow accents
 */

/* ============================================
   BASE STYLES
   ============================================ */

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0f;
}

/* ============================================
   SLIDE ANIMATIONS & TRANSITIONS
   ============================================ */

.slide {
    display: none !important;
    animation: fadeIn 0.5s ease-in-out;
}

.slide.active {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

/* Override for full-image slides: header above, image below */
.slide.active.slide-image-full {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    align-self: stretch !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    overflow: hidden !important;
    height: 100% !important;
    width: 100% !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .slide {
        animation: none;
    }

    .card-style {
        transition: none;
    }

    .card-style:hover {
        transform: none;
        box-shadow: none;
    }

    .transition-smooth {
        transition: none;
    }

    button:not(:disabled):hover {
        transform: none;
        box-shadow: none;
    }
}

/* ============================================
   CARD COMPONENTS
   ============================================ */

.card-style {
    background-color: #111827;
    border: 1px solid rgba(250, 204, 21, 0.2);
    transition: all 0.3s ease;
}

.card-style:hover {
    border-color: rgba(250, 204, 21, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.1);
}

/* ============================================
   RESPONSIVE TABLE STYLES
   ============================================ */

.table-container table th,
.table-container table td {
    vertical-align: top;
}

/* Advisory LIBR mark on dark background */
.advisory-logo-libr {
    max-width: 120px;
    object-fit: contain;
    filter: brightness(10) grayscale(1);
}

@media (max-width: 768px) {
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table {
        width: 100%;
        min-width: 600px;
    }
}

/* ============================================
   NAVIGATION BUTTONS
   ============================================ */

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

button:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button:not(:disabled):active {
    transform: translateY(0);
}

/* ============================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================ */

/* Focus indicators for keyboard navigation */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #FDB714;
    outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #FDB714;
    color: #000;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Smooth transitions for interactive elements */
.transition-smooth {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Text shadow for better readability on images */
.text-shadow-strong {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    body {
        background-color: white;
    }
    
    .slide {
        display: block !important;
        page-break-after: always;
    }
    
    footer,
    button {
        display: none !important;
    }
}
