/* PowerPoint Presentation Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Noto Sans KR', 'Malgun Gothic', Arial, sans-serif;
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#presentation-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

#presentation-container {
    position: relative;
    width: 960.0px;
    height: 720.0px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transform-origin: center center;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    transition: opacity 0.3s ease;
}

.slide.active {
    visibility: visible;
    opacity: 1;
}

.slide-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 0;
}

#controls {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 30px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Noto Sans KR', sans-serif;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

button:hover {
    background: #45a049;
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#slide-counter {
    color: #333;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Noto Sans KR', sans-serif;
    background: rgba(255,255,255,0.9);
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#fullscreen-btn {
    background: #2196F3;
    padding: 10px 15px;
}

#fullscreen-btn:hover {
    background: #1976D2;
}

#progress-bar {
    width: 100%;
    height: 4px;
    background: #ddd;
    margin-top: 10px;
    border-radius: 2px;
    overflow: hidden;
}

#progress {
    height: 100%;
    background: #4CAF50;
    transition: width 0.3s ease;
}

@media (max-width: 1200px) {
    body {
        padding: 0;
    }
}

@media (max-width: 900px) {
    #controls {
        position: fixed;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.7);
        padding: 8px 16px;
        border-radius: 25px;
        z-index: 1000;
    }

    button {
        padding: 6px 10px;
        font-size: 13px;
        background: rgba(255, 255, 255, 0.2);
        color: white;
    }

    button:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    #slide-counter {
        background: transparent;
        color: white;
        box-shadow: none;
        font-size: 14px;
    }

    #progress-bar {
        position: fixed;
        top: 0;
        left: 0;
        margin: 0;
        z-index: 999;
    }
}

@media (max-width: 600px) {
    button {
        padding: 5px 8px;
        font-size: 12px;
    }
}

:fullscreen #presentation-wrapper {
    background: #000;
    padding: 0;
    justify-content: center;
}

:fullscreen #presentation-container {
    box-shadow: none;
}

:fullscreen #controls {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    padding: 10px 20px;
    border-radius: 30px;
}

:fullscreen button {
    background: rgba(255,255,255,0.2);
}

:fullscreen #slide-counter {
    background: transparent;
    color: white;
    box-shadow: none;
}
