:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --accent-color: #e74c3c;
    --text-color: #2c3e50;
    --bg-color: #ecf0f1;
    --card-bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: background-color 0.5s, color 0.3s;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

header {
    background-color: var(--card-bg);
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

header h1 span {
    color: var(--primary-color);
}

.photo-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.nav-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.nav-photo:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.nav-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.slide-text {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: white;
    max-width: 80%;
}

.slide-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.slide-text p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.bio-section {
    padding: 40px 20px;
}

.bio-container {
    max-width: 1000px;
    margin: 0 auto;
}

.bio-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    text-align: center;
}

.bio-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    margin-bottom: 20px;
}

.bio-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.bio-text p {
    font-size: 1.1rem;
    line-height: 1.6;
}

footer {
    background-color: var(--card-bg);
    padding: 20px;
    text-align: center;
    margin-top: auto;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.exit-box {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#exit-input {
    padding: 10px 15px;
    border: 2px solid var(--primary-color);
    border-radius: 5px 0 0 5px;
    width: 200px;
    outline: none;
}

#exit-btn {
    padding: 10px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

#exit-btn:hover {
    background-color: var(--accent-color);
}

@media (max-width: 768px) {
    .bio-card {
        flex-direction: column;
        text-align: center;
    }
    
    .slide-text h2 {
        font-size: 1.8rem;
    }
    
    .slide-text p {
        font-size: 1rem;
    }
}