/* 西安VR全景拍摄服务网站 - 公共样式 */

/* ========== 全局变量 ========== */
:root {
  --primary-blue: #007bff;
  --dark-blue: #001f3f;
  --metallic-silver: #c0c0c0;
  --neon-blue: #00d4ff;
  --neon-green: #39ff14;
  --neon-purple: #bf00ff;
  --dark-bg: #0a0a0a;
  --light-text: #ffffff;
  --gradient-bg: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
}

/* ========== 基础重置 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
  background: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul, li {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== 面包屑导航 ========== */
.breadcrumb {
  background: rgba(0, 31, 63, 0.5);
  padding: 15px 0;
  border-bottom: 1px solid var(--neon-blue);
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.breadcrumb a {
  color: var(--neon-blue);
  font-size: 14px;
}

.breadcrumb a:hover {
  text-shadow: 0 0 10px var(--neon-blue);
}

.breadcrumb span {
  margin: 0 10px;
  color: var(--metallic-silver);
}

/* ========== 容器 ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== 按钮样式 ========== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--light-text);
  border: 2px solid var(--neon-blue);
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  box-shadow: 0 0 20px var(--neon-blue), inset 0 0 20px rgba(0, 212, 255, 0.1);
  transform: translateY(-2px);
}

.btn-large {
  padding: 15px 40px;
  font-size: 18px;
}

/* ========== 标题样式 ========== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  color: var(--light-text);
  margin-bottom: 15px;
  text-shadow: 0 0 10px var(--neon-blue);
}

.section-title p {
  font-size: 16px;
  color: var(--metallic-silver);
}

/* ========== 页脚 ========== */
footer {
  background: linear-gradient(135deg, #001f3f 0%, #0a0a0a 100%);
  padding: 60px 0 30px;
  border-top: 2px solid var(--neon-blue);
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-section h3 {
  font-size: 20px;
  color: var(--neon-blue);
  margin-bottom: 20px;
  text-shadow: 0 0 5px var(--neon-blue);
}

.footer-section p,
.footer-section a {
  color: var(--metallic-silver);
  font-size: 14px;
  margin-bottom: 10px;
  display: block;
}

.footer-section a:hover {
  color: var(--neon-blue);
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--metallic-silver);
  font-size: 14px;
}

/* ========== 关键词水印 ========== */
.keyword-watermark {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 12px;
  color: rgba(0, 212, 255, 0.3);
  pointer-events: none;
  z-index: 1000;
  text-align: right;
}

.keyword-watermark span {
  display: block;
  margin-bottom: 5px;
}

/* ========== 导航栏 ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 24px;
  font-weight: bold;
  color: var(--light-text);
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo .text-gradient {
  font-size: 20px;
}

/* 汉堡菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--light-text);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* 主导航 */
.main-nav {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

.main-nav a {
  color: var(--light-text);
  font-size: 16px;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-blue);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover {
  color: var(--neon-blue);
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
  /* 汉堡菜单显示 */
  .nav-toggle {
    display: flex;
  }

  /* 移动端导航 */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 100px 30px 50px;
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    gap: 0;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav li {
    margin: 0;
    padding: 0;
  }

  .main-nav a {
    display: block;
    text-align: center;
    padding: 18px 20px;
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    color: var(--light-text);
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: var(--neon-blue);
    background: rgba(0, 212, 255, 0.1);
  }

  .main-nav li:first-child a {
    border-top: 1px solid rgba(0, 212, 255, 0.1);
  }
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 28px;
  }

  .btn-large {
    padding: 12px 30px;
    font-size: 16px;
  }

  footer .container {
    grid-template-columns: 1fr;
  }

  /* 导航栏调整 */
  header {
    padding: 15px 0;
  }

  .logo a {
    font-size: 20px;
  }

  .logo .text-gradient {
    font-size: 17px;
  }

  /* 移动端导航调整 */
  .main-nav {
    width: 85%;
    padding: 90px 20px 40px;
  }

  .main-nav a {
    padding: 15px;
    font-size: 15px;
  }

  .nav-toggle {
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .logo a {
    font-size: 18px;
  }

  .logo .text-gradient {
    font-size: 15px;
  }

  .main-nav {
    width: 100%;
    max-width: none;
  }
}
