/* 
 * CUSTOM CSS - Dễ chỉnh sửa
 * File này chứa các biến và class tùy chỉnh để dễ chỉnh sửa style
 */

/* ============================================
   CSS VARIABLES - Thay đổi ở đây để cập nhật toàn bộ
   ============================================ */
:root {
  /* Colors - Màu sắc */
  --color-primary: #ffcc2e;        /* Màu chính - vàng */
  --color-secondary: #e86830;     /* Màu phụ - cam */
  --color-accent: #fff601;        /* Màu nhấn - vàng nhạt */
  --color-text: #000000;          /* Màu chữ chính */
  --color-text-white: #ffffff;    /* Màu chữ trắng */
  --color-background: #ffffff;    /* Màu nền */
  
  /* Typography - Font chữ */
  --font-family-primary: "RvZxlUFucySZWdbGFyLnRZg", sans-serif;  /* Google Sans Regular */
  --font-family-bold: "TWudHNlcnJhdCCbxkLnRZg", sans-serif;      /* Montserrat Bold */
  --font-family-black: "TWudHNlcnJhdCCbGFjaydGY", sans-serif;    /* Montserrat Black */
  --font-family-extrabold: "TWudHNlcnJhdCFeHRyYUJvbGQudHRm", sans-serif; /* Montserrat Extrabold */
  --font-family-light: "RvZxlUFucyMaWdodCdGY", sans-serif;       /* Google Sans Light */
  
  /* Font Sizes - Kích thước chữ */
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 17px;
  --font-size-xl: 21px;
  --font-size-2xl: 25px;
  --font-size-3xl: 30px;
  
  /* Spacing - Khoảng cách */
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 20px;
  --spacing-lg: 30px;
  --spacing-xl: 40px;
  
  /* Transitions - Hiệu ứng chuyển động */
  --transition-fast: 150ms linear;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 600ms ease-in-out;
  
  /* Border Radius - Bo góc */
  --radius-sm: 5px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-full: 50px;
  
  /* Shadows - Đổ bóng */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* ============================================
   UTILITY CLASSES - Class tiện ích
   ============================================ */

/* Text Colors */
.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.text-accent { color: var(--color-accent) !important; }
.text-black { color: var(--color-text) !important; }
.text-white { color: var(--color-text-white) !important; }

/* Background Colors */
.bg-primary { background-color: var(--color-primary) !important; }
.bg-secondary { background-color: var(--color-secondary) !important; }
.bg-white { background-color: var(--color-background) !important; }

/* Font Sizes */
.text-xs { font-size: var(--font-size-xs) !important; }
.text-sm { font-size: var(--font-size-sm) !important; }
.text-base { font-size: var(--font-size-base) !important; }
.text-lg { font-size: var(--font-size-lg) !important; }
.text-xl { font-size: var(--font-size-xl) !important; }
.text-2xl { font-size: var(--font-size-2xl) !important; }
.text-3xl { font-size: var(--font-size-3xl) !important; }

/* Font Families */
.font-primary { font-family: var(--font-family-primary) !important; }
.font-bold { font-family: var(--font-family-bold) !important; }
.font-black { font-family: var(--font-family-black) !important; }
.font-extrabold { font-family: var(--font-family-extrabold) !important; }
.font-light { font-family: var(--font-family-light) !important; }

/* Spacing - Margin */
.m-xs { margin: var(--spacing-xs) !important; }
.m-sm { margin: var(--spacing-sm) !important; }
.m-md { margin: var(--spacing-md) !important; }
.m-lg { margin: var(--spacing-lg) !important; }
.m-xl { margin: var(--spacing-xl) !important; }

/* Spacing - Padding */
.p-xs { padding: var(--spacing-xs) !important; }
.p-sm { padding: var(--spacing-sm) !important; }
.p-md { padding: var(--spacing-md) !important; }
.p-lg { padding: var(--spacing-lg) !important; }
.p-xl { padding: var(--spacing-xl) !important; }

/* Transitions */
.transition-fast { transition: all var(--transition-fast) !important; }
.transition-normal { transition: all var(--transition-normal) !important; }
.transition-slow { transition: all var(--transition-slow) !important; }

/* ============================================
   COMPONENT CLASSES - Class cho component
   ============================================ */

/* Buttons - Nút bấm */
.btn-custom {
  background-color: var(--color-secondary);
  color: var(--color-text-white);
  font-family: var(--font-family-bold);
  font-size: var(--font-size-base);
  font-weight: bold;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-custom:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-text-white);
}

/* Headlines - Tiêu đề */
.headline-custom {
  font-family: var(--font-family-bold);
  line-height: 1.6;
  color: var(--color-text);
}

.headline-large {
  font-family: var(--font-family-extrabold);
  font-size: var(--font-size-xl);
}

.headline-xlarge {
  font-family: var(--font-family-black);
  font-size: var(--font-size-2xl);
}

/* Cards - Thẻ */
.card-custom {
  background-color: var(--color-background);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.card-custom:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Sections - Phần */
.section-custom {
  padding: var(--spacing-lg) 0;
}

.section-bg-primary {
  background-color: var(--color-primary);
}

.section-bg-secondary {
  background-color: var(--color-secondary);
}

/* Product Info - Thông tin sản phẩm */
.product-title {
  font-family: var(--font-family-extrabold);
  font-size: var(--font-size-lg);
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
}

.product-price {
  font-family: var(--font-family-black);
  font-size: var(--font-size-2xl);
  color: var(--color-secondary);
}

.product-price-old {
  font-size: var(--font-size-base);
  color: #999;
  text-decoration: line-through;
}

.product-spec {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-sm);
  color: var(--color-text);
  margin: var(--spacing-xs) 0;
}

/* Features - Tính năng */
.feature-item {
  display: flex;
  align-items: center;
  margin: var(--spacing-md) 0;
}

.feature-icon {
  width: 20px;
  height: 20px;
  margin-right: var(--spacing-sm);
  fill: var(--color-secondary);
}

.feature-text {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  color: var(--color-text);
}

/* Animations - Animation tùy chỉnh */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

.slide-up {
  animation: slideUp 0.6s ease-out;
}

/* Responsive Helpers */
@media (max-width: 767px) {
  :root {
    --font-size-lg: 15px;
    --font-size-xl: 18px;
    --font-size-2xl: 22px;
    --spacing-md: 15px;
    --spacing-lg: 25px;
  }
}

/* ============================================
   EASY EDIT SECTION - Chỉnh sửa dễ dàng
   ============================================ */

/* Nếu muốn thay đổi màu chính, chỉ cần sửa biến này: */
/* --color-primary: #ffcc2e; */

/* Nếu muốn thay đổi font chữ, chỉ cần sửa biến này: */
/* --font-family-primary: "Your Font", sans-serif; */

/* Nếu muốn thay đổi kích thước chữ, chỉ cần sửa biến này: */
/* --font-size-base: 16px; */

