@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/PlayfairDisplay-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/PlayfairDisplay-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #1e1a17;
  --color-surface: #2b2520;
  --color-text: #ede0d4;
  --color-text-secondary: #b8a99a;
  --color-primary: #c7925a;
  --color-primary-hover: #d4a76e;
  --color-accent: #9c6644;
  --color-border: #4a3f38;
  --color-card-bg: #2b2520;
  --color-shadow: rgba(0,0,0,0.3);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Segoe UI', sans-serif;
  --radius: 0.5rem;
  --transition: 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
h2 {
  font-size: 1.5em;
  margin: 0.83em 0;
}
h3 {
  font-size: 1.17em;
  margin: 1em 0;
}
h4 {
  font-size: 1em;
  margin: 1.33em 0;
}
h5 {
  font-size: 0.83em;
  margin: 1.67em 0;
}
h6 {
  font-size: 0.67em;
  margin: 2.33em 0;
}

section h1, article h1, aside h1, nav h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
section h2, article h2, aside h2, nav h2 {
  font-size: 1.5em;
  margin: 0.83em 0;
}
section h3, article h3, aside h3, nav h3 {
  font-size: 1.17em;
  margin: 1em 0;
}
section h4, article h4, aside h4, nav h4 {
  font-size: 1em;
  margin: 1.33em 0;
}
section h5, article h5, aside h5, nav h5 {
  font-size: 0.83em;
  margin: 1.67em 0;
}
section h6, article h6, aside h6, nav h6 {
  font-size: 0.67em;
  margin: 2.33em 0;
}

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

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.btn-icon {
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

::selection {
  background: var(--color-primary);
  color: #fff;
}

html, body {
  overflow-x: hidden;
}
