@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700&display=swap');

/* General Body Styles */
body {
    font-family: 'Noto Sans SC', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header */
header {
    background-color: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    margin: 0;
    color: #0d47a1; /* A deep, professional blue */
    font-size: 1.8rem;
}

.logo p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #0d47a1;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #1565c0; /* A slightly lighter blue for hover */
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #0d47a1;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hamburger menu animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    background: url('https://images.unsplash.com/photo-1579548122080-c35fd6820ecb?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 71, 161, 0.7); /* Same blue color as before, but semi-transparent */
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 3rem;
    margin: 0 0 10px 0;
}

.hero p {
    font-size: 1.2rem;
    margin: 0;
}

/* Services Section */
.services {
    padding: 40px 0;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #0d47a1;
}

.service-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.service-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 220px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.service-item span {
    font-size: 2.5rem;
}

.service-item h3 {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #333;
}

/* Job Postings Section */
.job-postings {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.job-posting {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.job-posting h3 {
    color: #0d47a1;
    margin-top: 0;
}

.job-posting p {
    margin-bottom: 10px;
}

.job-posting ul {
    list-style-type: disc;
    padding-left: 20px;
}

.service-item .icon {
    display: inline-block;
    margin-bottom: 20px;
    color: #0d47a1; /* Use the main theme color */
}

.service-item .icon svg {
    width: 48px;
    height: 48px;
}

/* Footer */
footer {
    background-color: #263238; /* A dark, neutral color */
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #80cbc4;
    text-decoration: none;
}

/* Instrument Images Section */
.instrument-images {
    padding: 40px 0;
    background-color: #fff;
    text-align: center;
}

.instrument-images h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #0d47a1;
}

.image-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.image-gallery img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 45%; /* Adjust width for side-by-side display */
}

/* Mobile Responsive Design */
@media screen and (max-width: 768px) {
    /* General mobile adjustments */
    .container {
        width: 95%;
        padding: 10px 0;
    }
    
    /* Header mobile adjustments */
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .logo p {
        text-align: center;
        font-size: 0.8rem;
    }
    
    /* 在移动端隐藏整个导航栏 */
    nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-menu {
        display: none;
    }
    
    /* Hero section mobile adjustments */
    .hero {
        padding: 50px 15px;
        text-align: center;
    }
    
    .hero h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 0.95rem;
        line-height: 1.5;
        max-width: 90%;
        margin: 0 auto;
    }
    
    /* Services section mobile adjustments */
    .services {
        padding: 30px 0;
    }
    
    .services h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .service-items {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .service-item {
        width: 85%;
        max-width: 320px;
        padding: 25px 20px;
        margin-bottom: 10px;
    }
    
    .service-item h3 {
        font-size: 1.1rem;
        margin-top: 15px;
        line-height: 1.4;
    }
    
    .service-item .icon {
        margin-bottom: 15px;
    }
    
    .service-item .icon svg {
        width: 40px;
        height: 40px;
    }
    
    /* Job posting mobile adjustments */
    .job-postings {
        gap: 15px;
    }
    
    .job-posting {
        padding: 20px 15px;
        margin: 0 5px;
    }
    
    .job-posting h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .job-posting p {
        font-size: 0.95rem;
        margin-bottom: 12px;
        line-height: 1.5;
    }
    
    .job-posting ul {
        padding-left: 18px;
        margin-bottom: 15px;
    }
    
    .job-posting ul li {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 8px;
    }
    
    /* Image gallery mobile adjustments */
    .instrument-images {
        padding: 30px 0;
    }
    
    .instrument-images h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .image-gallery {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .image-gallery img {
        width: 90%;
        max-width: 400px;
        border-radius: 8px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    }
    
    /* Footer mobile adjustments */
    footer {
        padding: 25px 0;
    }
    
    footer p {
        font-size: 0.9rem;
        margin: 8px 0;
    }
}

/* Small mobile devices (max-width: 480px) */
@media screen and (max-width: 480px) {
    .container {
        width: 98%;
        padding: 8px 0;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .services h2, .instrument-images h2 {
        font-size: 1.6rem;
    }
    
    .service-item {
        width: 95%;
        padding: 20px 15px;
    }
    
    .job-posting {
        padding: 15px 10px;
        margin: 0;
    }
    
    .job-posting h3 {
        font-size: 1.2rem;
    }
    
    .job-posting p, .job-posting ul li {
        font-size: 0.85rem;
    }
}
