/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header and Navigation */
header {
    background-color: #dc143c;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    position: relative;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-img {
    height: 50px;
    width: auto;
    margin-right: 1rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffebee;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 3.4px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -3.4px);
}

/* Hero Section */
.hero {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 10rem 0;
    overflow: hidden;
}

/* Slideshow Container - Scroll Snap */
.slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slideshow::-webkit-scrollbar {
    display: none;
}

.slideshow-track {
    display: flex;
    height: 100%;
}

/* Individual Slide */
.slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000;
}

/* Blurred Background Layer */
.slide-bg {
    position: absolute;
    inset: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    filter: blur(30px);
    z-index: 0;
}

/* Foreground Image */
.slide img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* Hero Content Overlay */
.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero p {
    font-size: 1.2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* Sections */
section {
    padding: 2.5rem 0;
}

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

section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #dc143c;
}

section p {
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Instruments Section */
.section-intro {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.instrument-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.instrument-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(220, 20, 60, 0.2);
}

.instrument-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f0f0f0;
    position: relative;
}

.instrument-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instrument-card:hover .instrument-image img {
    transform: scale(1.05);
}

.instrument-info {
    padding: 1.5rem;
}

.instrument-info h3 {
    color: #dc143c;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.instrument-info p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Section */
.email-link {
    color: #dc143c;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #b71c3c;
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #dc143c;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        text-align: center;
        background-color: #dc143c;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        max-height: 350px;
    }
    
    .nav-menu li {
        border-top: 1px solid rgba(255,255,255,0.2);
        padding: 1rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
}
