/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #ff7a30;  /* 橙色作为主要色调 */
  --secondary-color: #f5f5f5; /* 蓝色作为辅助色调 */
  --bg-color: #fff9f5;      /* 浅米色背景 */
  --text-color: #333;       /* 深灰色文本 */
  --border-radius: 10px;    /* 通用圆角 */
  --transition: all 0.3s ease; /* 通用过渡效果 */
}

body {

  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}


a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.btn-submit {
  cursor: pointer;
  border: none;
  outline: none;
  background: var(--primary-color);
  color: white;
  padding: 10px 25px;
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: var(--transition);
}

button:hover {
  background-color: #e66a20;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 122, 48, 0.3);
}

/* 头部样式 */



.logo h1 {
  font-size: 24px;
  color: var(--primary-color);
  margin: 0;
}

.logo p {
  font-size: 14px;
  color: #777;
  margin: 0;
}

.nav ul {
  /*display: flex;*/
}

/*.nav li {*/
/*  margin-left: 25px;*/
/*}*/

/*.nav a {*/
/*  font-weight: 500;*/
/*  position: relative;*/
/*}*/




/* 英雄区域样式 */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background-image: url('https://media.istockphoto.com/id/1450443835/photo/mockup-wall-in-the-childrens-room-on-wall-blue-colors-background.jpg?s=612x612&w=0&k=20&c=XiwdcDIM6M_EsTnxWox2PIelY7yiltPuAaschfgAOb4=');*/
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: -1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: linear-gradient(135deg, #fff9f5 0%, rgba(255, 234, 215, 0.8) 100%);*/
  z-index: -1;
}

.hero-content {
  max-width: 600px;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: float 6s ease-in-out infinite;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.hero h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #555;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-description {
  margin-top: 20px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.btn-primary, .btn-secondary {
  padding: 12px 25px;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  display: inline-block;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: #e66a20;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 122, 48, 0.3);
}

.btn-secondary:hover {
  background-color: rgba(255, 122, 48, 0.1);
  transform: translateY(-3px);
}

/* 方案篇样式 */
.schemes {
  padding: 100px 0;
  background-color: white;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.section-header p {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.schemes-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
}

.scheme-item {
  flex: 1;
  min-width: 300px;
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  padding: 30px;
  border: 1px solid #f0f0f0;
}

.scheme-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.scheme-number {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  z-index: 2;
}

.scheme-content {
  position: relative;
  z-index: 1;
}

.scheme-title {
  font-size: 22px;
  color: var(--primary-color);
  margin: 15px 0 10px;
  position: relative;
  display: inline-block;
  padding-left: 10px;
}

.scheme-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.scheme-size {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.scheme-size::before {
  content: '⚡';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 16px;
  color: var(--primary-color);
}

.scheme-image {
  width: 100%;
  height: 220px;
  background-color: #f9f9f9;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

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

.scheme-description {
  margin-top: 20px;
  padding: 15px;
  background-color: rgba(255, 122, 48, 0.05);
  border-radius: var(--border-radius);
  border-left: 3px solid var(--primary-color);
}

.scheme-description p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.scheme-details {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.light-item {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  padding: 8px 15px;
  border-radius: 20px;
  transition: var(--transition);
}

.light-item:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.light-name {
  font-size: 14px;
  margin-right: 10px;
}

.light-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.light-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transition: var(--transition);
}

.light-item:hover .light-icon img {
  transform: scale(1.2);
}

.scheme-more {
  text-align: center;
  margin-top: 40px;
}

.scheme-more p {
  margin-bottom: 20px;
  color: #666;
}

.btn-more {
  display: inline-block;
}

/* 特点样式 */
.features {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-item {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: center;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 122, 48, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
  overflow: hidden;
}

.feature-item:hover .feature-icon {
  background-color: var(--primary-color);
  transform: rotate(360deg);
}

.feature-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: var(--transition);
}

.feature-item:hover .feature-icon img {
  transform: scale(1.2);
  filter: brightness(0) invert(1);
}

.feature-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--text-color);
}

.feature-item p {
  font-size: 16px;
  color: #666;
}

/* 联系我们样式 */
.contact {
  padding: 100px 0;
  background-color: white;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-form {
  flex: 2;
  min-width: 300px;
}

.contact-info {
  flex: 1;
  min-width: 250px;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: var(--border-radius);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(255, 122, 48, 0.2);
  outline: none;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  font-size: 18px;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.contact-info p {
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
}

.contact-info p::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* 页脚样式 */
.footer {
  background-color: #333;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.footer-logo h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: white;
}

.footer-logo p {
  color: #aaa;
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.footer-column {
  min-width: 150px;
  margin-bottom: 30px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  color: #aaa;
  font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .hero h2 {
    font-size: 40px;
  }

  .hero h3 {
    font-size: 24px;
  }

  .circle-decoration {
    width: 400px;
    height: 400px;
  }
}

@media (max-width: 768px) {


  .nav {
    margin-top: 15px;
  }

  .nav ul {
    justify-content: center;
  }

  .hero {
    height: auto;
    padding: 120px 0 60px;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .circle-decoration {
    right: -200px;
    width: 300px;
    height: 300px;
  }

  .schemes-container {
    flex-direction: column;
  }

  .scheme-item {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .contact-content {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero h3 {
    font-size: 20px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav li {
    margin: 5px 10px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* 自定义图标样式 */
.icon-eye::before {
  content: '👁️';
}

.icon-smart::before {
  content: '🔌';
}

.icon-adjustable::before {
  content: '🔆';
}

.icon-safe::before {
  content: '🛡️';
}

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

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes glow {
  0% { box-shadow: 0 0 10px rgba(255, 122, 48, 0.5); }
  50% { box-shadow: 0 0 20px rgba(255, 122, 48, 0.8); }
}

/* 给方案图片添加动画 */
.scheme-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,122,48,0.2) 0%, rgba(255,122,48,0) 70%);
  opacity: 0;
  transition: var(--transition);
}

.scheme-item:hover .scheme-image::before {
  opacity: 1;
  animation: pulse 2s infinite alternate;
}

/* 滚动动画类 */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* 儿童房照明灯光效果 */
.light-effect {
  position: relative;
  overflow: hidden;
}

.light-effect::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.light-effect:hover::after {
  opacity: 0.5;
  animation: light-sweep 2s infinite;
}

@keyframes light-sweep {
  0% {
    transform: rotate(0deg);
    opacity: 0;
  }
  20% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.5;
  }
  80% {
    opacity: 0.3;
  }
  100% {
    transform: rotate(360deg);
    opacity: 0;
  }
}

.circle-decoration {
  position: absolute;
  right: -150px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,122,48,0.2) 0%, rgba(255,122,48,0) 70%);
  border-radius: 50%;
  z-index: 1;
  animation: pulse 5s infinite alternate;
}

@keyframes pulse {
  0% {
    transform: translateY(-50%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translateY(-50%) scale(1.1);
    opacity: 0.8;
  }
}

/* 灯光特效 */
.light-switch-effect {
  position: fixed;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  animation: flicker 0.2s ease;
}

@keyframes flicker {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}

/* 高亮效果 */
.highlight {
  animation: highlight 1s infinite alternate;
}

@keyframes highlight {
  0% { box-shadow: 0 0 5px rgba(255, 122, 48, 0.5); }
  100% { box-shadow: 0 0 15px rgba(255, 122, 48, 0.8); }
}

/* 3D灯光悬停效果 */
.light-icon {
  position: relative;
  overflow: visible;
}

.light-icon::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
  z-index: -1;
}

.light-icon:hover::before {
  opacity: 1;
  animation: light-glow 2s infinite alternate;
}

@keyframes light-glow {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.3); opacity: 0.8; }
}
