/*
Theme Name: Astra Clean Factory Child
Theme URI: https://luxuryfactory.cloud/
Description: Clean Factory Child Theme - Premium Watch Landing Page
Author: Luxury Factory
Author URI: https://luxuryfactory.cloud/
Template: astra
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-cleanfactory-child
Domain Path: /languages
Tags: astra, child-theme, luxuryfactory, watches
*/

/* 全局颜色变量 */
:root {
  --cf-primary: #d08e3d;
  --cf-secondary: #d8831c;
  --cf-dark: #07312e;
  --cf-light: #f9f5ee;
  --cf-accent: #645d55;
}

/* 首页hero区块 */
.cf-hero-section {
  background: linear-gradient(135deg, var(--cf-dark), #124b2f);
  color: white;
  padding: 80px 40px;
  text-align: center;
}

.cf-hero-section h1 {
  font-size: 3em;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: 'Roboto Slab', serif;
}

.cf-hero-section p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

/* 通用区块样式 */
.cf-section {
  padding: 60px 40px;
  background-color: var(--cf-light);
}

/* 评价卡片 */
.cf-review-card {
  background: white;
  border-radius: 8px;
  padding: 30px;
  margin: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.cf-review-card .rating {
  color: #FDA256;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.cf-review-card .review-text {
  color: var(--cf-accent);
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 15px;
}

.cf-review-card .reviewer-name {
  font-weight: 600;
  color: var(--cf-dark);
}

/* 通用按钮 */
.cf-slide-btn {
  background: var(--cf-primary);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cf-slide-btn:hover {
  background: var(--cf-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* WhatsApp悬浮按钮 */
.cf-floating-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 999;
  transition: all 0.3s ease;
}

.cf-floating-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.cf-floating-wa svg {
  width: 32px;
  height: 32px;
  fill: white;
}

/* 全局移动端适配 */
@media (max-width: 922px) {
  .cf-hero-section {
    padding: 50px 24px;
  }

  .cf-hero-section h1 {
    font-size: 2em;
  }

  .cf-section {
    padding: 40px 24px;
  }

  .cf-review-card {
    margin: 15px 10px;
    padding: 20px;
  }
}

@media (max-width: 544px) {
  .cf-hero-section {
    padding: 40px 16px;
  }

  .cf-hero-section h1 {
    font-size: 1.5em;
  }

  .cf-hero-section p {
    font-size: 1em;
  }

  .cf-section {
    padding: 30px 16px;
  }

  .cf-review-card {
    margin: 10px 5px;
    padding: 15px;
  }

  .cf-floating-wa {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .cf-floating-wa svg {
    width: 26px;
    height: 26px;
  }
}