/* CSS Variables for Colors and Typography */
:root {
  /* Colors */
  --bg-primary: #F4F1EA;
  --bg-section: #F5F0E8;
  --bg-dark: #5C4A37;
  --text-brown: #5C4A37;
  --text-dark-red: #5E121F;
  --text-gray: #565857;
  --text-red: #8B1A1A;
  --accent-brown: #9F7D6A;
  --button-selected-bg: #EBDAD0;
  --button-border: #9F7D6A;
  --link-blue: #5054D3;
  --white: #FFFFFF;
  --white-70: rgba(255, 255, 255, 0.7);
  
  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 40px;
  --spacing-3xl: 50px;
  --spacing-4xl: 60px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Sarabun', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-brown);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  line-height: 1.2;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 600px) {
  .container {
    padding: 0 60px;
  }
}

/* Section Spacing */
section {
  width: 100%;
}

/* Spacing between sections (50px as in Flutter) */
section + section {
  margin-top: 50px;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 22px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Links */
a {
  color: var(--link-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mt-2xl { margin-top: var(--spacing-2xl); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mb-2xl { margin-bottom: var(--spacing-2xl); }

