html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Times New Roman", serif !important;
  overflow-x: hidden;
  background-color: #f0e6ff !important;
}

a {
  text-decoration: none !important;
}

/* ========================================
   banner
   ======================================== */
.hero-section {
  background: linear-gradient(rgba(240, 230, 255, 0.4), rgb(196 160 250 / 60%)), url("img/image_09.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-bottom: 40px;
  min-height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  overflow: hidden;
  clip-path: ellipse(100% 100% at 50% 0%);
}

/* ========================================
   导航栏样式
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.03);
  z-index: 1000;
  padding: 20px 0;
  border-bottom: none;
}

.nav-container {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  position: relative;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-brand {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  font-family: "Times New Roman", serif;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-link:hover {
  color: #a78bfa;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.nav-link.active {
  color: #a78bfa;
  position: relative;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: #a78bfa;
  border-radius: 1px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 50px;
    opacity: 1;
  }
}

.dropdown-toggle::after {
  content: "▼";
  margin-left: 5px;
  font-size: 0.7rem;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 8px 16px;
  color: #374151;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.dropdown-item:hover {
  background: #f9fafb;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 99999;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.mobile-menu-toggle:hover {
  color: #a78bfa;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

/* ========================================
   banner内容区域
   ======================================== */
.hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  font-family: "Times New Roman", serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-top: 60px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  color: white;
}

.hero-separator {
  width: 200px;
  height: 2px;
  background: white;
  margin: 0 auto 40px;
}

.contact-info {
  padding: 10px 0;
  background: rgba(97, 61, 150, 0.8);
  border-radius: 0;
  margin: 30px auto;
  max-width: 700px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.contact-phone {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 1px;
  color: white;
  font-family: "Times New Roman", serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-address {
  font-size: 1.3rem;
  opacity: 1;
  line-height: 1.3;
  color: white;
  font-weight: 700;
  font-family: "Times New Roman", serif;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: 1.3rem;
  line-height: 1.7;
  margin: 25px 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: white;
}

.btn-book {
  background: #4c1d95;
  border: none;
  padding: 18px 45px;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(76, 29, 149, 0.4);
}

.btn-book:hover {
  background: #6b46c1;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(76, 29, 149, 0.6);
}

/* ========================================
   浮动元素
   ======================================== */
.floating-elements {
  position: fixed;
  right: 25px;
  bottom: 10px;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  background: #333333;
  border: none;
  color: white;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
}

.floating-btn.arrow-btn {
  width: 30px;
  height: 30px;
  font-size: 0.8rem;
}

.floating-btn:hover {
  background: #404040;
  transform: scale(1.05);
}

.chat-icon:hover {
  background: #6b46c1 !important;
  transform: scale(1.1);
}

.chat-icon {
  position: relative;
  background: #4c1d95 !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  animation: chatScale 2s ease-in-out infinite;
}

@keyframes chatScale {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* ========================================
   地址和联系信息
   ======================================== */
.appointment-section {
  background-color: #f0e6ff;
  padding-top: 80px;
}

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

.appointment-title {
  font-family: "Times New Roman", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #4c1d95;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.appointment-subtitle {
  font-family: "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 1px;
  line-height: 1.4;
}

.appointment-phone {
  font-family: "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #1a1a1a;
  text-align: center;
  letter-spacing: 1px;
}

/* ========================================
   内容区域样式
   ======================================== */
.content-section {
  background-color: #f0e6ff;
  padding-top: 80px;
}

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

.load-more-btn {
  background: #4c1d95;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-family: "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 60px;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background: #6b46c1;
  transform: translateY(-2px);
}

.news-section,
.galleries-section {
  margin-bottom: 0;
}

.section-title {
  font-family: "Times New Roman", serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: #4c1d95;
  margin-bottom: 20px;
  text-align: center;
}

.section-description {
  font-family: "Times New Roman", serif;
  font-size: 1.5rem;
  color: #2c2c2c;
  line-height: 1.6;
  text-align: center;
  margin: 0 auto;
}

.galleries-section .section-description {
  color: #1a1a1a;
  font-weight: 500;
}

/* ========================================
   图片区域
   ======================================== */
.image-gallery-section {
  background-color: #f0e6ff;
  padding: 40px 0 80px 0;
}

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

.gallery-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.gallery-item {
  flex: 1;
  max-width: 300px;
  height: 400px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

/* ========================================
   地图区域
   ======================================== */
.map-section {
  background-color: #f0e6ff;
  padding: 80px 0;
}

.map-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.map-address-info {
  text-align: center;
  max-width: 1000px;
  width: 100%;
}

.map-title {
  font-family: "Times New Roman", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #4c1d95;
  text-align: center;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.map-subtitle {
  font-family: "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 1px;
  line-height: 1.4;
}

.map-phone {
  font-family: "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  letter-spacing: 1px;
}

.map-wrapper {
  background: white;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1000px;
}

.map-iframe-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 400px;
}

#mapContainer {
  height: 100%;
}

.map-iframe-container iframe {
  display: block;
  width: 100%;
  height: 400px;
}

/* ========================================
   服务区域
   ======================================== */
.services-section {
  background-color: transparent;
  padding-top: 80px;
}

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

.services-title {
  font-family: "Times New Roman", serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: #4c1d95;
  text-align: center;
  margin-bottom: 25px;
}

.service-block {
  display: flex;
  align-items: center;
  background: transparent;
  border-radius: 12px;
  padding: 30px;
  box-shadow: none;
}

.service-images {
  display: flex;
  flex-grow: 1;
  gap: 15px;
  margin-right: 30px;
}

.service-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-content {
  flex: 1;
}

.service-text {
  font-family: "Times New Roman", serif;
  font-size: 1.3rem;
  color: #2c2c2c;
  line-height: 1.6;
  margin-bottom: 15px;
}

.service-note {
  text-align: center;
}

.service-note p {
  font-family: "Times New Roman", serif;
  font-size: 1.3rem;
  color: #666;
  font-weight: 500;
}

/* ========================================
   额外画廊区域样式
   ======================================== */
.additional-gallery-section {
  background-color: transparent;
  padding-top: 80px;
}

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

.additional-gallery-title {
  font-family: "Times New Roman", serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: #4c1d95;
  text-align: center;
  margin-bottom: 60px;
}

.additional-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,
      minmax(200px, 1fr));
  gap: 20px;
  justify-items: center;
}

.additional-gallery-item {
  width: 100%;
  max-width: 250px;
  height: 300px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.additional-gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.additional-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* ========================================
   页脚区域
   ======================================== */
.footer-section {
  padding: 50px 0px;
  background: #2c2c2c;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.footer-content {
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
}

.footer-text {
  font-family: "Times New Roman", serif;
  font-size: 1.2rem;
  color: white;
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
}

/* ========================================
   移动端菜单切换按钮样式
   ======================================== */
.mobile-menu-toggle {
  display: none;
}

/* ========================================
   响应式设计样式
   ======================================== */
@media (max-width: 768px) {
  .hero-section {
    min-height: 75vh;
  }

  .appointment-subtitle,
  .appointment-phone {
    font-size: 1.3rem;
  }

  .navbar {
    width: 100vw;
    left: 0;
    right: 0;
  }

  .nav-container {
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links .nav-link {
    color: #2c2c2c;
    text-shadow: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-right {
    gap: 10px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.3rem;
    padding: 0 15px;
  }

  .contact-info {
    margin: 30px 15px;
  }

  .contact-phone {
    font-size: 1.4rem;
  }

  .floating-elements {
    right: 15px;
  }

  .floating-btn.arrow-btn {
    width: 25px;
    height: 25px;
  }

  .appointment-title {
    font-size: 2.5rem;
  }

  .appointment-content {
    flex-direction: column;
    gap: 30px;
  }

  .appointment-image {
    max-width: 100%;
    width: 100%;
  }

  .gallery-row {
    flex-direction: column;
    align-items: center;
  }

  .map-wrapper {
    padding: 0;
  }

  .service-block {
    flex-direction: column;
    text-align: center;
  }

  .service-images {
    margin-right: 0;
    margin-bottom: 20px;
    justify-content: center;
  }

  .service-img {
    width: 180px;
    height: 240px;
  }

  .additional-gallery-grid {
    grid-template-columns: repeat(auto-fit,
        minmax(150px, 1fr));
    gap: 15px;
  }

  .additional-gallery-item {
    height: 250px;
  }

  .footer-text {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {

  .navbar {
    width: 100vw;
  }

  .nav-container {
    width: 100%;
    box-sizing: border-box;
  }

  .nav-right {
    gap: 8px;
  }

  .appointment-content {
    flex-direction: column;
    gap: 25px;
  }

  .appointment-image {
    max-width: 100%;
    width: 100%;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .nav-brand {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {

  .navbar {
    width: 100vw;
  }

  .nav-container {
    width: 100%;
    box-sizing: border-box;
  }

  .nav-right {
    gap: 6px;
  }

  .appointment-content {
    flex-direction: column;
    gap: 20px;
  }

  .appointment-image {
    max-width: 100%;
    width: 100%;
  }

  .map-subtitle {
    font-size: 1.3rem;
  }

  .map-phone {
    font-size: 1.3rem;
  }

  .map-wrapper {
    padding: 0;
  }

  .additional-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .additional-gallery-item {
    height: 200px;
  }

  .footer-text {
    font-size: 1.3rem;
  }
}