/* ============================================
   base.css — Reset, Typography, Global Styles
   ============================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  background-color: var(--color-bg);
  color: var(--color-text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* --- Links --- */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
}

/* --- Lists --- */
ul, ol {
  list-style: none;
}

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

/* --- Buttons --- */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

/* --- Headings --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-heading);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* --- Paragraphs --- */
p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

p:last-child {
  margin-bottom: 0;
}

/* --- Sections --- */
section {
  padding: 4rem 2rem;
}

/* --- Container utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Responsive typography --- */
@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.2rem; }
  section { padding: 2.5rem 1rem; }
}

