/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f5f5f5;
    width: 100%;
    overflow-x: hidden; /* 防止水平滚动 */
}

.container {
    width: 100%; /* 修改为100% */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* 减小内边距 */
    box-sizing: border-box; /* 确保padding不会增加总宽度 */
}

/* Header */
header {
    background-color: #0073e6;
    color: white;
    padding: 20px 0;
    text-align: center;
    position: relative;
}

header h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    margin: 0;
}

header .tagline {
    font-size: 1.2rem;
    margin: 10px 0 0;
}

/* Language Switcher */
.language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
}

.language-switcher select {
    padding: 8px 12px;
    font-size: 1rem;
    border: 2px solid #fff;
    border-radius: 25px;
    background-color: #0073e6;
    color: white;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 30px;
}

.language-switcher select:hover {
    background-color: #005bb5;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 20px 0;
    max-width: 100%; /* 确保不会超出容器 */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    max-width: 100%; /* 确保不会超出容器 */
}

/* Contact Section */
.contact-section {
    background-color: white;
    padding: 40px 0;
    text-align: center;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.email-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073e6;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.email-link:hover {
    background-color: #005bb5;
}

/* Footer */
footer {
    background-color: #0073e6;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 10px; /* 在移动端减小内边距 */
    }
    
    header h1 {
        font-size: 2.5rem;
    }

    header .tagline {
        font-size: 1rem;
    }

    .language-switcher {
        top: 10px;
        right: 10px;
    }

    .language-switcher select {
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .video-section h2, .contact-section h2 {
        font-size: 1.5rem;
    }

    .contact-section p {
        font-size: 1rem;
    }

    .email-link {
        padding: 8px 16px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px; /* 在更小的屏幕上进一步减小内边距 */
    }
    
    header h1 {
        font-size: 2rem;
    }

    header .tagline {
        font-size: 0.9rem;
    }

    .language-switcher select {
        padding: 5px 8px;
        font-size: 0.8rem;
    }

    .video-section h2, .contact-section h2 {
        font-size: 1.2rem;
    }

    .contact-section p {
        font-size: 0.9rem;
    }

    .email-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
} 