:root {
    --primary-color: #1a5276;
    --secondary-color: #2980b9;
    --accent-color: #3498db;
    --light-color: #ebf5fb;
    --dark-color: #2c3e50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

.university-name {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--light-color);
}

.group-name {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1rem;
}

nav {
    background-color: var(--dark-color);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav li {
    margin: 0 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-color);
}

nav a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.research-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.research-area {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.research-area h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.publications {
    background-color: white;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.publication {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.publication:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info {
    margin-bottom: 1rem;
}

.storytelling-intro {
    margin-bottom: 2rem;
}

.storytelling-intro p {
    margin-bottom: 1rem;
}

.storytelling-container {
    flex: 1;
    min-width: 100%;
    background-color: white;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 1.5rem;
}

.video-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-item {
    flex: 1;
    min-width: 300px;
}

.video-wrapper {
    margin: 1rem 0;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

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

.video-description {
    font-style: italic;
    color: #666;
    margin-top: 0.5rem;
}

.music-projects {
    margin-bottom: 2.5rem;
}

.music-project {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.music-project:last-child {
    border-bottom: none;
}

.music-project h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.music-project p {
    margin-bottom: 0.8rem;
}

.musical-collaborations {
    margin-top: 2.5rem;
    color: var(--secondary-color);
}

.spotify-heading {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.spotify-section {
    margin-top: 1.5rem;
}

.spotify-intro {
    margin-bottom: 1.5rem;
}

.spotify-tracks {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.spotify-track {
    margin-bottom: 1.5rem;
}

.spotify-track h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.track-description {
    font-style: italic;
    color: #666;
    margin-top: 0.5rem;
}

footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: white;
    margin: 0 0.5rem;
    text-decoration: none;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav li {
        margin: 0.5rem 0;
    }
    
    .research-area, .video-item {
        min-width: 100%;
    }
    
    .video-section {
        flex-direction: column;
    }
}