/* Roosters of Ogunquit - The Full Story */
:root {
  --primary: #1e3a5f;
  --accent: #e74c3c;
  --secondary: #3498db;
  --gold: #f1c40f;
  --light: #f8f9fa;
  --dark: #2c3e50;
  --text: #333;
  --muted: #666;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; line-height: 1.6; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--secondary); text-decoration: none; }
a:hover { text-decoration: underline; }

header { background: var(--primary); color: white; padding: 1rem 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo { font-size: 1.5rem; font-weight: bold; }
.logo span { color: var(--gold); }
nav ul { list-style: none; display: flex; gap: 1.5rem; flex-wrap: wrap; }
nav a { color: white; font-weight: 500; }
nav a:hover { color: var(--gold); text-decoration: none; }

.hero { background: linear-gradient(rgba(30,58,95,0.7), rgba(30,58,95,0.7)), url('../images/family.jpg') center/cover no-repeat; color: white; padding: 6rem 1.5rem; text-align: center; }
.hero h1 { font-size: 2.8rem; margin-bottom: 1rem; }
.hero p { font-size: 1.3rem; max-width: 800px; margin: 0 auto 2rem; }
.btn { display: inline-block; background: var(--accent); color: white; padding: 0.8rem 1.8rem; border-radius: 5px; font-weight: bold; margin: 0.5rem; }
.btn:hover { background: #c0392b; text-decoration: none; }
.btn-outline { background: transparent; border: 2px solid white; }

.container { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem; }
.section { padding: 4rem 0; }
.section h2 { font-size: 2.2rem; color: var(--primary); margin-bottom: 1.5rem; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; }
.card { background: white; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); overflow: hidden; }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-content { padding: 1.5rem; }
.card h3 { color: var(--primary); margin-bottom: 0.5rem; }

.timeline { position: relative; max-width: 800px; margin: 2rem auto; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 4px; background: var(--secondary); }
.timeline-item { position: relative; margin-bottom: 2rem; padding-left: 60px; }
.timeline-item::before { content: ''; position: absolute; left: 12px; top: 5px; width: 20px; height: 20px; background: var(--accent); border-radius: 50%; border: 3px solid white; box-shadow: 0 0 0 3px var(--secondary); }
.timeline-date { font-weight: bold; color: var(--accent); }

footer { background: var(--dark); color: white; text-align: center; padding: 2rem; margin-top: 3rem; }
footer a { color: var(--gold); }

.note { background: #fff3cd; border-left: 5px solid #ffc107; padding: 1rem; margin: 1.5rem 0; border-radius: 0 5px 5px 0; }
blockquote { border-left: 4px solid var(--secondary); padding-left: 1rem; margin: 1.5rem 0; font-style: italic; color: var(--muted); }

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  nav ul { gap: 1rem; }
  .header-inner { flex-direction: column; gap: 1rem; }
}
