/* 恒信空调制冷中心 - 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* 通用间距 */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

/* 按钮样式 */
.btn {
  border-radius: 2rem !important;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
}

/* 图片样式 */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* 卡片样式 */
.card {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: all 0.3s;
}

.card-img-top {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* 导航栏样式 */
.navbar {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
  transition: all 0.4s;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0077b6 !important;
}

.navbar-brand:hover {
  color: #005f8d !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
}

/* 响应式设计 */
@media (max-width: 767.98px) {
  .container {
    padding: 0 1rem;
  }
  
  .navbar-collapse {
    background: white;
    padding: 1rem;
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
  }
  
  .spacing {
    letter-spacing: 0.05rem;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate__animated {
  animation-duration: 0.8s;
}

/* 服务项目特殊样式 */
.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 2rem;
}

/* 服务优势卡片样式 */
.advantage-card {
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  height: 100%;
}

.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 2.5rem rgba(0, 119, 182, 0.15);
  border-color: #0077b6;
}

/* 客户案例样式 */
.case-card {
  transition: all 0.3s ease;
  height: 100%;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 2rem rgba(0, 119, 182, 0.15);
}

/* 联系方式样式 */
.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  background-color: #e7f5ff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: #0077b6;
  font-size: 1.25rem;
}

/* 页脚样式 */
footer {
  margin-top: 5rem;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #0077b6;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #005f8d;
}