/* === IMPORT FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&display=swap');

/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === BASE === */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
 font-family: 'Playfair Display', serif; /* main font for body text */
}

/* Main content grows to fill space */
main {
  flex: 1 0 auto;  /* grow, shrink, auto */
  width: 90%;           /* optional: page width */
  max-width: 1200px;    /* optional */
  margin: 0 auto;       /* centers main content horizontally */
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Header styling: centered text */
header {
  text-align: center;
  padding: 1rem 0;
  background-color: #e6e6e6; /* optional */
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
}
header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #222;
  margin-bottom: 1rem;
}

/* === NAVIGATION === */
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 0.5rem;
}
nav a {
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}
nav a:hover { color: #0077cc; }
nav a.active {
  font-weight: bold;
  text-decoration: underline;
}

/* === GENERAL CONTAINER === */
.container {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  overflow: visible;
}

/* Footer styling: centered and at bottom */
footer {
  text-align: center;
  padding: 1rem 0;
  background-color: #e6e6e6; /* optional */
  flex-shrink: 0; /* ensures footer doesn’t shrink */
}

/* === UTILITIES === */
.text-center { text-align: center; }
