/* Base styles */
body {
    font-family: Georgia, serif;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
    color: #333;
}

header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #333;
    padding-bottom: 20px;
}

h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-size: 1.2em;
    padding: 5px 10px;
    display: inline-block;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: #e0e0e0;
}

nav a.active {
    border-bottom: 3px solid #333;
    font-weight: bold;
}

/* Sections */
section {
    margin: 40px 0;
    padding: 20px;
    background: white;
    border: 1px solid #ddd;
}

/* Tab content visibility */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.profile-image {
    max-width: 300px;
    display: block;
    margin: 20px auto;
    border: 1px solid #333;
}

/* Audio player */
.audio-player {
    text-align: center;
    margin: 20px 0;
}

.download-link {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 15px;
    background: #333;
    color: white;
    text-decoration: none;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
}

/* Video container */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Festival container */
.festival-container {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin-bottom: 20px;
}

.festival-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Social links */
.social-links {
    list-style: none;
    padding: 0;
    text-align: center;
}

.social-links li {
    display: inline-block;
    margin: 0 10px;
}

.social-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #333;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    nav ul li {
        display: block;
        margin: 10px 0;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
}

/* Theme toggle button */
.theme-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    background: transparent;
    border: 2px solid #333;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
    background: #e0e0e0;
}

/* Dark mode styles */
body.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode header {
    border-bottom: 2px solid #e0e0e0;
}

body.dark-mode nav a {
    color: #e0e0e0;
}

body.dark-mode nav a:hover {
    background-color: #333;
}

body.dark-mode nav a.active {
    border-bottom: 3px solid #e0e0e0;
}

body.dark-mode section {
    background: #2a2a2a;
    border: 1px solid #444;
}

body.dark-mode .profile-image {
    border: 1px solid #e0e0e0;
}

body.dark-mode .download-link {
    background: #e0e0e0;
    color: #1a1a1a;
}

body.dark-mode .gallery img {
    border: 1px solid #444;
}

body.dark-mode .social-links a {
    color: #e0e0e0;
}

body.dark-mode footer {
    border-top: 2px solid #e0e0e0;
}

body.dark-mode .theme-toggle {
    border-color: #e0e0e0;
}

body.dark-mode .theme-toggle:hover {
    background: #333;
}