/* Additional custom styles for the presentation */

/* Print styles for creating PDF slides */
@media print {
    body { 
        margin: 0; 
        padding: 0;
        background: white !important;
    }
    
    .slide {
        page-break-after: always;
        min-height: 100vh;
        opacity: 1 !important;
        transform: none !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        box-sizing: border-box;
    }
    
    .slide:last-child {
        page-break-after: avoid;
    }
    
    .navigation, 
    .slide-counter, 
    .progress-bar {
        display: none !important;
    }
    
    .floating-elements {
        display: none !important;
    }
    
    /* Ensure text is readable in print */
    .text-white {
        color: #333 !important;
    }
    
    .gradient-primary {
        background: #059669 !important;
        color: white !important;
    }
    
    .gradient-secondary {
        background: #f8fafc !important;
    }
}

/* Enhanced animations */
@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

/* Smooth transitions for all elements */
* {
    transition: all 0.3s ease;
}

/* Enhanced hover effects */
.feature-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #059669;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #047857;
}

/* Mobile responsive enhancements */
@media (max-width: 768px) {
    .slide {
        padding: 20px;
        min-height: 100vh;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .text-7xl {
        font-size: 3rem;
    }
    
    .text-6xl {
        font-size: 2.5rem;
    }
    
    .text-5xl {
        font-size: 2rem;
    }
    
    .navigation {
        bottom: 20px;
        right: 20px;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .slide-counter {
        bottom: 20px;
        left: 20px;
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Presentation mode enhancements */
.presentation-mode {
    cursor: none;
}

.presentation-mode .navigation {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.presentation-mode:hover .navigation {
    opacity: 1;
}

/* Focus states for accessibility */
.nav-btn:focus {
    outline: 3px solid rgba(59, 130, 246, 0.5);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card {
        border: 2px solid #000;
    }
    
    .gradient-primary {
        background: #000 !important;
        color: #fff !important;
    }
    
    .gradient-secondary {
        background: #fff !important;
        color: #000 !important;
    }
}
