body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: #1a1a1a;
}

/* Header */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #c0392b;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a1a1a;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1a1a1a;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

nav ul {
    display: flex;
    list-style: none;
    transition: all 0.3s ease;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #1a1a1a;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: #c0392b;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #c0392b;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: #c0392b;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: #1a1a1a;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #c0392b;
}

/* Hero */
#hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    color: #1a1a1a;
    padding: 120px 2rem 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

#hero .container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    grid-template-areas: "text about";
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero-text {
    grid-area: text;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease-out;
}

.hero-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #c0392b;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: fadeIn 2s ease-out;
}

.hero-about {
    grid-area: about;
    text-align: left;
}

.hero-about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.hero-about p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Sections */
section {
    padding: 5rem 2rem;
    background: #ffffff;
}

section:nth-child(even) {
    background: #f9f9f9;
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a1a1a;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #c0392b;
    margin: 1rem auto;
}

/* Sections */
section {
    padding: 4rem 2rem;
}

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

h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #2c3e50;
}

/* Videos */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-item iframe {
    width: 100%;
    height: 200px;
    border: none;
    border-radius: 6px;
}

/* Responsive video container for better mobile support */
.video-item {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    background: #000; /* Fallback background */
}

.video-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 6px;
}

/* About section */
.bio-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.bio-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2c3e50;
}

.bio-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Repertoire */
.concert-programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.program {
    background: #f8f8f8;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.program h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.program ul {
    list-style: none;
    padding: 0;
}

.program li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.program li:last-child {
    border-bottom: none;
}

/* Repertoire sections */
.repertoire-intro {
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.repertoire-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #555;
}

.repertoire-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.repertoire-section {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #c0392b;
}

.repertoire-section h3 {
    color: #c0392b;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.repertoire-section p {
    margin-bottom: 1rem;
    color: #666;
}

.repertoire-section ul {
    list-style: none;
    padding: 0;
}

.repertoire-section li {
    padding: 0.3rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.repertoire-section li:last-child {
    border-bottom: none;
}

.repertoire-concerts {
    margin-top: 3rem;
}

.repertoire-concerts h3 {
    text-align: center;
    color: #c0392b;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.repertoire-note {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 8px;
    font-style: italic;
    color: #666;
}

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

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.1s;
    cursor: grab;
}

.lightbox img:active {
    cursor: grabbing;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
}

.zoom-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.zoom-slider {
    width: 150px;
}

.zoom-level {
    color: white;
    font-size: 0.9rem;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

/* Discography */
.album-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.album-card {
    background: #ffffff;
    border: 2px solid #c0392b;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
    text-align: center;
}

.album-card:hover {
    transform: translateY(-5px);
}

.album-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
}
    object-fit: cover;
}

.album-card h3 {
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem;
    color: #1a1a1a;
}

.album-card p {
    font-size: 0.85rem;
    color: #666;
    margin: 0 1rem;
}

.album-card a {
    display: inline-block;
    margin: 1rem;
    padding: 0.5rem 1rem;
    background: #c0392b;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s;
}

.album-card a:hover {
    background: #a93226;
}

/* Contact */
#teaching {
    background: #f8f9fa;
    color: #1a1a1a;
    padding: 4rem 2rem;
    border-top: 1px solid #e9ecef;
}

#teaching .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#teaching h2 {
    color: #c0392b;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

#teaching p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.teaching-link {
    display: inline-block;
    background: #c0392b;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
}

.teaching-link:hover {
    background: #a93226;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4);
}

#contact {
    background: #ffffff;
    color: #1a1a1a;
    border-top: 1px solid #f0f0f0;
    padding: 5rem 2rem;
}

#contact .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#contact h2 {
    color: #c0392b;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

#contact p {
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.social-icons {
    display: inline-block;
    background: #f9f9f9;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 2rem 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 1.5rem;
    color: #c0392b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.social-icons a:hover {
    background: rgba(192, 57, 43, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
}
    padding: 2rem 0;
    margin-top: 4rem;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

footer p {
    color: #666;
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
}

.developer-credit {
    opacity: 0.4;
    transition: opacity 0.3s ease;
    margin-top: 1rem;
}

.developer-credit:hover {
    opacity: 0.8;
}

.developer-credit a {
    color: #c0392b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(192, 57, 43, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(192, 57, 43, 0.1);
}

.developer-credit a:hover {
    background: rgba(192, 57, 43, 0.15);
    border-color: rgba(139, 69, 19, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    /* Prevent horizontal scrolling */
    body, html {
        overflow-x: hidden;
        width: 100%;
    }

    /* Mobile menu */
    .menu-toggle {
        display: flex;
        flex-shrink: 0;
    }

    nav {
        flex-direction: row;
        padding: 0.75rem 1rem;
        position: relative;
        align-items: center;
        max-width: 100%;
        box-sizing: border-box;
    }

    .logo {
        font-size: 1.2rem;
        margin-bottom: 0;
        margin-right: auto;
        flex-shrink: 0;
    }

    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        z-index: 1000;
        width: 100%;
        box-sizing: border-box;
    }

    nav ul.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    nav ul li {
        margin-left: 0;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        box-sizing: border-box;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        display: block;
        padding: 1rem 1rem;
        font-size: 1rem;
        color: #1a1a1a;
        width: 100%;
        box-sizing: border-box;
    }

    nav ul li a:hover {
        background: rgba(192, 57, 43, 0.05);
        color: #c0392b;
    }

    .social-icons {
        margin-top: 0;
        padding: 1rem;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .social-icons a {
        margin: 0;
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        flex-shrink: 0;
    }

    /* Hero section mobile */
    #hero {
        padding: 100px 1rem 3rem;
        min-height: auto;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-content {
        grid-template-columns: 1fr;
        grid-template-areas: "text" "image" "about";
        text-align: center;
        gap: 2rem;
        max-width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin: 0 auto;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-image {
        width: 200px;
        height: 200px;
        margin: 0 auto;
        max-width: 90%;
        box-sizing: border-box;
    }

    .hero-about {
        text-align: center;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-about h2 {
        font-size: 1.6rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Video grid mobile */
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
        width: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .video-item {
        width: 100%;
        max-width: 100%;
        padding-bottom: 56.25%; /* Maintain 16:9 aspect ratio */
        box-sizing: border-box;
        overflow: hidden;
        margin: 0;
    }

    .video-item iframe {
        width: 100%;
        height: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Album grid mobile - slightly wider for better visibility */
    .album-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .album-card {
        margin: 0 auto;
        max-width: 340px; /* Slightly wider than before for better visibility */
        width: 95%; /* Use 95% of available width */
        box-sizing: border-box;
    }

    .album-card img {
        height: 300px; /* Taller for better album cover visibility */
        width: 100%;
        object-fit: cover;
        box-sizing: border-box;
    }

    /* General mobile improvements */
    section {
        padding: 4rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .container {
        padding: 0 1rem;
        max-width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        text-align: center;
        max-width: 100%;
        box-sizing: border-box;
    }

    h3 {
        font-size: 1.3rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    p {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Concert programs mobile */
    .concert-programs {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .program {
        width: 100%;
        max-width: 100%;
        padding: 1.25rem;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .program h4 {
        font-size: 1.1rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        margin-bottom: 1rem;
        text-align: center;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Gallery mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .gallery-grid img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        box-sizing: border-box;
    }
}

/* Extra small screens (phones < 480px) */
@media (max-width: 480px) {
    nav {
        padding: 0.5rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .logo {
        font-size: 1.1rem;
        max-width: calc(100% - 60px); /* Leave space for hamburger */
        box-sizing: border-box;
    }

    .menu-toggle {
        padding: 0.4rem;
        flex-shrink: 0;
    }

    .menu-toggle span {
        width: 22px;
        height: 2px;
        margin: 2px 0;
    }

    nav ul {
        padding: 0.5rem 0;
        width: 100%;
        box-sizing: border-box;
    }

    nav ul li a {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
        width: 100%;
        box-sizing: border-box;
    }

    .social-icons {
        padding: 0.75rem 0.5rem;
        gap: 0.25rem;
        justify-content: center;
        max-width: 100%;
        box-sizing: border-box;
    }

    .social-icons a {
        margin: 0;
        padding: 0.4rem 0.5rem;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    #hero {
        padding: 90px 1rem 2rem;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-text h1 {
        font-size: 1.9rem;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }

    .hero-text p {
        font-size: 1rem;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }

    .hero-image {
        width: 160px;
        height: 160px;
        max-width: 85%;
        box-sizing: border-box;
    }

    .hero-about h2 {
        font-size: 1.4rem;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }

    .album-card {
        max-width: 300px; /* Slightly smaller for very small screens */
        width: 90%; /* Use 90% of available width */
        box-sizing: border-box;
    }

    .album-card img {
        height: 260px; /* Adjusted for smaller screens */
        box-sizing: border-box;
    }

    .album-card h3 {
        font-size: 1.1rem;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }

    .album-card p {
        font-size: 0.9rem;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }

    .album-card a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        margin: 0.5rem;
        box-sizing: border-box;
    }

    section {
        padding: 3rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    h2 {
        font-size: 1.7rem;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }

    h3 {
        font-size: 1.2rem;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }

    /* Gallery extra small */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }

    .gallery-grid img {
        height: 180px;
        box-sizing: border-box;
    }

    /* Concert programs extra small screens */
    .program h4 {
        font-size: 1rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        padding: 0 0.25rem;
        box-sizing: border-box;
    }

    .program {
        padding: 1rem;
        box-sizing: border-box;
    }

    /* Video grid extra small screens */
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .video-item {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding-bottom: 56.25%; /* Maintain 16:9 aspect ratio */
        box-sizing: border-box;
        overflow: hidden;
    }

    .video-item iframe {
        width: 100%;
        height: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}