* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 90vh;
}

.header {
    background: linear-gradient(to right, #d32f2f, #b71c1c);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header h1 {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.controls button {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.controls button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

#slideCounter {
    font-weight: bold;
    min-width: 100px;
    text-align: center;
}

.slides-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slide-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
}

.slide-overlay h2 {
    color: #ffcc00;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.slide-overlay p, .slide-overlay li {
    font-size: 1.1rem;
    line-height: 1.5;
}

.slide-overlay ul {
    margin-left: 20px;
}

.navigation-dots {
    display: flex;
    justify-content: center;
    padding: 20px;
    gap: 10px;
    background-color: #f5f5f5;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #bbb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #d32f2f;
    transform: scale(1.2);
}

.dot:hover {
    background-color: #888;
}

.footer {
    background-color: #333;
    color: #aaa;
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
}

/* Fullscreen styles */
body.fullscreen {
    padding: 0;
}

body.fullscreen .container {
    height: 100vh;
    max-width: 100%;
    border-radius: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .slide-overlay {
        max-width: 300px;
        padding: 15px;
    }
    
    .slide-overlay h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .slide {
        padding: 20px;
    }
    
    .slide-overlay {
        bottom: 15px;
        left: 15px;
        right: 15px;
        max-width: 100%;
    }
}
