/* main.css */
@import url('./components.css');
@import url('./pages.css');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Inter:wght@300;400;500;700&display=swap');

:root {
  /* Calm, trustworthy color palette */
  --bg: #fdfcfb;
  --bg-darker: #f5f0ec;
  --primary: #c5a08d;
  --primary-dark: #a67c66;
  --primary-light: #e0c8bc;
  --secondary: #9da6b4;
  --secondary-dark: #6e7a8e;
  --text: #2d3138;
  --text-light: #646a73;
  --dark: #1a1c20;
  --border: #e6e0da;
  --white: #ffffff;
  
  /* Utilities */
  --shadow: 0 4px 20px rgba(166, 124, 102, 0.08);
  --shadow-lg: 0 8px 32px rgba(166, 124, 102, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Global Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--dark);
  line-height: 1.2;
}

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

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

/* Global Layout */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.page-pad {
  padding-bottom: 60px;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 48px 0;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* --- Page Transition Effects --- */
#app {
  transition: opacity 0.35s ease, transform 0.35s ease;
}
#app.page-exit {
  opacity: 0;
  transform: translateY(12px);
}
#app.page-enter {
  opacity: 0;
  transform: translateY(-12px);
}
