/* 新样式 - 现代化旅游网站设计 */

/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #e9ecef;
  overflow-x: hidden;
  position: relative;
}

/* 滚动指示器 */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 60px;
  border: 2px solid white;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 10px;
  animation: bounce 2s infinite;
}

.scroll-indicator::after {
  content: '';
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: scroll 2s infinite;
}

/* 登录弹窗 */
.login-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.login-modal.active {
  display: flex;
}

.login-modal-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  width: 90%;
  max-width: 420px;
  overflow: hidden;
  animation: modalFadeIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(216, 164, 69, 0.2);
}

.login-modal-header {
  background: linear-gradient(135deg, #D8A445, #0a1f13);
  color: white;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.login-modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  z-index: 1;
}

.login-modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.login-modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.login-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
  transform-origin: center;
}

.login-modal-body {
  padding: 2rem 1.5rem;
}

.login-form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.login-form-group label {
  display: block;
  margin-bottom: 0.6rem;
  color: #333;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.login-form-group input {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f9f9f9;
}

.login-form-group input:focus {
  outline: none;
  border-color: #D8A445;
  box-shadow: 0 0 0 4px rgba(216, 164, 69, 0.1);
  background: white;
}

.login-form-group input::placeholder {
  color: #999;
  font-size: 0.9rem;
}

.login-form-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #D8A445, #0a1f13);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(216, 164, 69, 0.4);
  margin-top: 1rem;
}

.login-form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(216, 164, 69, 0.5);
  background: linear-gradient(135deg, #0a1f13, #D8A445);
}

.login-form-submit:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(216, 164, 69, 0.4);
}

.register-form-submit {
  width: 100%;
  padding: 1rem;
 background: linear-gradient(135deg, #ddb05d, #b8860b);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(216, 164, 69, 0.4);
  margin-top: 1rem;
}

.register-form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(216, 164, 69, 0.5);
  background: linear-gradient(135deg,#b8860b, #ddb05d);
}

.register-form-submit:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(216, 164, 69, 0.4);
}

/* 页脚样式 */
.footer {
  background: #0a1f13;
  color: white;
  padding: 3rem 2rem 1rem;
  margin-top: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-web {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-web a {
  color: #ccc;
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.3s ease;
}

.footer-web a:hover {
  color: #D8A445;
}

.footer-contact {
  margin-bottom: 2rem;
}

.contact-section {
  margin-bottom: 2rem;
}

.contact-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-title i {
  color: #D8A445;
}

.contact-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #333;
  margin-left: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-info {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.contact-info img {
  width: 80px;
  height: 80px;
  border-radius: 0;
  object-fit: contain;
  border: 3px solid #D8A445;
  background: white;
}

.contact-details p {
  margin-bottom: 0.5rem;
  color: #ccc;
}

.contact-details i {
  color: #D8A445;
  margin-right: 0.5rem;
}

.notify {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #666;
  font-size: 0.9rem;
}

/* 动画定义 */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes scroll {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(10px);
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .login-modal-content {
    width: 95%;
    max-width: 380px;
  }
  
  .login-modal-header {
    padding: 1rem 1.2rem;
  }
  
  .login-modal-body {
    padding: 1.5rem 1.2rem;
  }
  
  .login-form-group input {
    padding: 0.9rem;
  }
  
  .login-form-submit {
    padding: 0.9rem;
    font-size: 1rem;
  }
}