/* General Reset and Fonts */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f9f9fa;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  background-color: #eaf3ff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.5rem;
  color: #1386e1;
  text-decoration: none;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #444;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1386e1;
}

/* Hamburger menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background: #1386e1;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 0;
  gap: 2rem;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0a4fa0;
}

.hero-text p {
  font-size: 1.25rem;
  color: #555;
}

.hero-video {
  flex: 1;
  max-width: 600px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.hero-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

/* Gallery */
.gallery {
  margin-bottom: 4rem;
}

.gallery-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.gallery-row a {
  flex: 1;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-row a:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.gallery-row img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.gallery-large {
  display: block;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-large:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.gallery-large img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

/* Maps and Videos */
.maps-videos {
  margin-bottom: 4rem;
}

.youtube-frames {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.youtube-frames iframe {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* About Section */
.about-section {
  text-align: center;
  padding-bottom: 3rem;
  color: #444;
}

.about-link {
  display: inline-block;
  font-size: 2rem;
  font-weight: 900;
  background: #0099fa;
  color: #fff;
  padding: 0.5rem 2rem;
  border-radius: 30px;
  margin-bottom: 1rem;
  text-decoration: none;
  letter-spacing: 0.15em;
  transition: background-color 0.3s ease;
}

.about-link:hover {
  background: #0077cc;
}

.about-section h2 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  color: #0a4fa0;
  letter-spacing: 0.1em;
}

.about-section p {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}

/* Email image */
.email-image img {
  margin-top: 1rem;
  max-width: 300px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.email-image img:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  background-color: #eaf3ff;
  padding: 1.5rem 0;
  color: #666;
  font-size: 0.9rem;
}

.footer-nav {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-nav a {
  color: #1386e1;
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* Chinese footer */
.footer-chinese {
  font-size: 1.1rem;
  color: #a48d57;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* Responsive */

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    gap: 1.5rem;
  }

  .gallery-row {
    flex-direction: column;
  }

  .gallery-row a {
    height: auto;
  }

  .gallery-large img {
    height: auto;
  }

  .youtube-frames {
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .nav-links {
    position: fixed;
    top: 60px;
    right: -100%;
    background: #eaf3ff;
    height: 100vh;
    width: 200px;
    flex-direction: column;
    padding: 2rem 1rem;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1001;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    margin: 1rem 0;
    font-size: 1.2rem;
  }

  .menu-toggle {
    display: flex;
  }

  .container {
    width: 95%;
  }
}
