/**
 * NVOCC Presentation - Full Screen & Centered Layout
 * Apply to all slides for professional presentation mode
 */

/* === GLOBAL STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === SLIDE CONTAINER === */
.slide-container,
.slide {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
}

/* === PREVENT SCROLLING === */
html, body {
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
}

/* === ENSURE TEXT READABILITY === */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === FULLSCREEN ADJUSTMENTS === */
@media (max-width: 1920px) {
    /* Scale content for smaller screens */
    body {
        font-size: 14px;
    }
}

@media (max-width: 1280px) {
    /* Adjust for tablet/laptop size */
    body {
        font-size: 13px;
    }
}

/* === NAVIGATION BAR ADJUSTMENTS === */
#nav {
    position: fixed;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 999 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 12px 18px !important;
    border-radius: 8px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
    font-family: 'Inter', system-ui, sans-serif !important;
    backdrop-filter: blur(10px) !important;
}

#nav button {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: white !important;
    border: none !important;
    padding: 10px 16px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3) !important;
}

#nav button:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4) !important;
}

#nav button:active {
    transform: translateY(0) !important;
}

#slideNum {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    min-width: 85px !important;
    text-align: center !important;
    padding: 0 6px !important;
}

/* === HIDE SCROLLBARS (All browsers) === */
::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

body {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

/* === PREVENT DOUBLE SCROLLING === */
html {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* === TEXT SELECTION FOR PRESENTATION === */
::selection {
    background-color: rgba(37, 99, 235, 0.3);
    color: inherit;
}

::-moz-selection {
    background-color: rgba(37, 99, 235, 0.3);
    color: inherit;
}

/* === PRINT STYLES === */
@media print {
    #nav {
        display: none !important;
    }
    
    body {
        width: 100%;
        height: auto;
    }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* === FOCUS STYLES FOR KEYBOARD NAVIGATION === */
button:focus,
a:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* === ENSURE PROPER STACKING === */
body {
    position: relative;
    z-index: 1;
}

#nav {
    position: fixed;
    z-index: 999;
}

/* === IMAGE OPTIMIZATION === */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === VIDEO OPTIMIZATION === */
video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === ICON OPTIMIZATION === */
i, [class*="fa-"] {
    display: inline-block;
}
