/* Global settings */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Georgia', serif;
  font-style: italic;
  background-color: #fdfdfd;
  color: #333;
  line-height: 1.7;
}

/* Color palette:
   - Primary accent: #CCA677 (warm autumnal gold)
   - Secondary accent: #8B5E3C (rich brown for depth)
   - Neutral background: #fdfdfd
   - Text on accent: white
   - Text on white: #CCA677
*/

/* Header & Navigation */
header {
  background-color: #CCA677;
  color: white;
  padding: 0.5em 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Modern nav bar */
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5em;
  padding: 0.5em 0;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  letter-spacing: 0.05em;
  position: relative;
  padding: 0.3em 0;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: white;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

nav a:hover {
  color: #333;
}

nav a:hover::after {
  transform: scaleX(1);
}

/* Section styling */
section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 2.5em;
  background: white;
  color: #333;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

section h1, section h2, section h3 {
  color: #CCA677;
  text-align: center;
  margin-bottom: 0.5em;
  font-family: 'Georgia', serif;
  font-style: italic;
}

section p, section ul {
  font-size: 1.15em;
  text-align: center;
}

/* Buttons & Forms */
button, input[type="submit"] {
  background-color: #CCA677;
  color: white;
  border: none;
  padding: 0.8em 1.8em;
  font-size: 1em;
  border-radius: 30px; /* pill-shaped buttons */
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  font-family: 'Georgia', serif;
  font-style: italic;
}

button:hover, input[type="submit"]:hover {
  background-color: #8B5E3C;
  transform: translateY(-2px);
}

/* Inputs */
input, select, textarea {
  padding: 0.7em;
  border: 1px solid #CCA677;
  border-radius: 6px;
  width: 100%;
  margin-top: 0.7em;
  font-family: 'Georgia', serif;
  font-style: italic;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Footer */
footer {
  background-color: #CCA677;
  color: white;
  text-align: center;
  padding: 2em;
  margin-top: 60px;
  box-shadow: 0 -4px 8px rgba(0,0,0,0.2);
  font-size: 0.95em;
  letter-spacing: 0.03em;
}

/* Links inside content */
section a {
  color: #CCA677;
  text-decoration: none;
  font-weight: bold;
}

section a:hover {
  text-decoration: underline;
}

/* Timeline list styling */
ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin: 0.7em 0;
  padding: 0.7em;
  background: #f9f6f2;
  border-left: 4px solid #CCA677;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Smooth transitions */
* {
  transition: all 0.3s ease;
}