/* tableau-ardoise.com - Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Source+Sans+Pro:wght@300;400;600&display=swap');

:root {
  --slate-dark: #2c3e50;
  --slate-medium: #34495e;
  --chalk-white: #ecf0f1;
  --accent-gold: #d4a843;
  --accent-terracotta: #c0392b;
  --bg-warm: #faf8f5;
  --text-main: #2c3e50;
  --border-light: #ddd;
}

* { box-sizing: border-box; }

body {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background: var(--bg-warm);
  line-height: 1.8;
  font-size: 1.05rem;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--slate-dark);
  line-height: 1.3;
}

h1 { font-size: 2.4rem; margin-bottom: 1rem; }
h2 { font-size: 1.8rem; margin-top: 2.5rem; border-bottom: 2px solid var(--accent-gold); padding-bottom: .4rem; }
h3 { font-size: 1.3rem; margin-top: 1.8rem; }

a { color: var(--accent-terracotta); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-gold); }

/* Header */
.site-header {
  background: var(--slate-dark);
  color: var(--chalk-white);
  padding: 1rem 0;
  border-bottom: 3px solid var(--accent-gold);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.site-header .logo { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--chalk-white); }
.site-header .logo:hover { color: var(--accent-gold); }
.site-header nav a { color: var(--chalk-white); margin-left: 1.5rem; font-size: .95rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.site-header nav a:hover { color: var(--accent-gold); }

/* Hero */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(44,62,80,.65);
}
.hero-content { position: relative; z-index: 1; max-width: 700px; padding: 2rem; }
.hero h1 { color: #fff; font-size: 2.8rem; margin-bottom: .5rem; }
.hero p { font-size: 1.2rem; opacity: .95; }

/* TOC */
.toc {
  background: #fff;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent-gold);
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}
.toc h3 { margin-top: 0; font-size: 1.1rem; color: var(--accent-gold); }
.toc ol { margin-bottom: 0; padding-left: 1.2rem; }
.toc li { margin-bottom: .3rem; }
.toc a { color: var(--slate-medium); font-weight: 600; }

/* Content */
.content { padding: 2rem 0 3rem; }
.content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1.5rem 0;
  box-shadow: 0 4px 15px rgba(0,0,0,.1);
}
.content blockquote {
  border-left: 4px solid var(--accent-gold);
  background: #fff;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--slate-medium);
}

/* Internal Links Box */
.internal-links {
  background: linear-gradient(135deg, var(--slate-dark), var(--slate-medium));
  color: var(--chalk-white);
  padding: 1.5rem 2rem;
  border-radius: 6px;
  margin: 2.5rem 0;
}
.internal-links h3 { color: var(--accent-gold); margin-top: 0; }
.internal-links a { color: var(--accent-gold); font-weight: 600; }
.internal-links ul { list-style: none; padding: 0; }
.internal-links li::before { content: "→ "; color: var(--accent-gold); }

/* Footer */
.site-footer {
  background: var(--slate-dark);
  color: var(--chalk-white);
  padding: 2rem 0;
  text-align: center;
  font-size: .9rem;
  border-top: 3px solid var(--accent-gold);
}
.site-footer a { color: var(--accent-gold); }
.site-footer p { margin-bottom: .5rem; }

/* Responsive */
@media (max-width: 768px) {
  .site-header .container { flex-direction: column; text-align: center; }
  .site-header nav { margin-top: .8rem; }
  .site-header nav a { margin: 0 .7rem; }
  .hero h1 { font-size: 2rem; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
}
