/* ============================================
   base.css - Foundation styles for CoffeeTalkTalk
   ============================================ */

/* ----- CSS Reset ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

/* ----- CSS Custom Properties ----- */
:root {
  /* Colors - Primary */
  --color-primary: #6F4E37;
  --color-primary-dark: #3C2415;
  --color-primary-light: #A67B5B;

  /* Colors - Neutral / Warm */
  --color-accent: #D4A574;
  --color-cream: #FFF8F0;
  --color-bg: #FAF5F0;
  --color-white: #FFFFFF;

  /* Colors - Text */
  --color-text: #2D1810;
  --color-text-secondary: #8B7355;
  --color-text-muted: #B8A898;

  /* Colors - Border */
  --color-border: #E8DDD0;

  /* Colors - Status */
  --color-success: #4CAF50;
  --color-warning: #FF9800;
  --color-danger: #F44336;
  --color-info: #2196F3;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

  /* Font */
  --font-main: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ----- Body ----- */
body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 72px;
}

/* ----- Typography ----- */
h1 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}

h5 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

h6 {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
}

.text-muted {
  color: var(--color-text-muted);
}

.text-accent {
  color: var(--color-accent);
}

/* ----- Container ----- */
.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ----- Responsive ----- */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
    padding: 0 24px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.375rem;
  }
}
