/* ตัวแปรสี */
:root {
  --primary-color: #550000;
  --primary-light: #7a1a1a;
  --secondary-color: #E31937;
  --secondary-light: #eb475f;
  --accent-color: #FFFFFF;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --dark-gray: #212529;
  --text-color: #333333;
  --text-light: #6c757d;
  --white: #ffffff;
  --black: #000000;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --glass-effect: rgba(255, 255, 255, 0.1);
  --glass-border: 1px solid rgba(255, 255, 255, 0.2);
  --glass-blur: blur(10px);
}

/* รีเซ็ตและรูปแบบพื้นฐาน */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Kanit', sans-serif;
  background-color: var(--white);
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Section */
.section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
  animation: scaleXIn 0.8s ease-out;
}

.section-title p {
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}