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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #2c2c2c;
  background: #faf6f0;
  line-height: 1.7;
}

a {
  color: #b07d4b;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #8c5e32;
}

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

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
nav {
  background: #2c2c2c;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

nav .logo {
  color: #faf6f0;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

nav .logo:hover {
  color: #d4a373;
}

nav .nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

nav .nav-links a {
  color: #ccc;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: background 0.2s, color 0.2s;
}

nav .nav-links a:hover {
  background: #444;
  color: #fff;
}

/* Hero */
.hero {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://alanogden.com/wp-content/uploads/2014/12/wpid-20141211_173030.jpg') center/cover no-repeat;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero h1 {
  font-size: 3rem;
  font-weight: normal;
  letter-spacing: 2px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.hero p {
  font-size: 1.2rem;
  margin-top: 12px;
  opacity: 0.9;
  font-style: italic;
}

.hero .tagline {
  margin-top: 8px;
  font-size: 0.95rem;
  opacity: 0.75;
}

/* Sections */
section {
  padding: 60px 0;
}

section h2 {
  font-size: 1.8rem;
  font-weight: normal;
  color: #3d2b1f;
  margin-bottom: 30px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  position: relative;
  padding-bottom: 10px;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: #d4a373;
}

.section-alt {
  background: #f4ede4;
}

/* Home page cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.card-body h3 a {
  color: #3d2b1f;
}

.card-body h3 a:hover {
  color: #b07d4b;
}

.card-body p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* Photo gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.gallery-item .caption {
  padding: 12px;
  background: #fff;
  font-size: 0.85rem;
  color: #555;
}

/* Music entries */
.music-entry {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.music-entry h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.music-entry .date {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 12px;
}

.music-entry p {
  margin-bottom: 12px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  margin-top: 12px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.photos-inline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.photos-inline img {
  border-radius: 6px;
}

/* Blog archive */
.blog-list {
  list-style: none;
}

.blog-list li {
  padding: 16px 0;
  border-bottom: 1px solid #e8e0d6;
}

.blog-list li:last-child {
  border-bottom: none;
}

.blog-list .post-date {
  font-size: 0.8rem;
  color: #999;
  display: block;
  margin-bottom: 4px;
}

.blog-list a {
  font-size: 1.05rem;
}

/* Pages */
.page-header {
  background: #3d2b1f;
  color: #fff;
  padding: 50px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.2rem;
  font-weight: normal;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.page-header p {
  opacity: 0.75;
  margin-top: 8px;
  font-style: italic;
}

.page-content {
  padding: 50px 0;
}

.page-content p {
  margin-bottom: 18px;
}

.page-content ul, .page-content ol {
  margin-bottom: 18px;
  padding-left: 24px;
}

.page-content li {
  margin-bottom: 6px;
}

.medical-section {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.medical-section h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #3d2b1f;
}

.medical-section .date {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 12px;
}

.placeholder-box {
  border: 2px dashed #d4a373;
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  color: #b07d4b;
  font-style: italic;
  margin-top: 30px;
}

/* Footer */
footer {
  background: #2c2c2c;
  color: #888;
  padding: 30px 0;
  text-align: center;
  font-size: 0.85rem;
}

footer a {
  color: #b07d4b;
}

footer a:hover {
  color: #d4a373;
}

/* Responsive */
@media (max-width: 768px) {
  nav .container {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  section {
    padding: 40px 0;
  }

  section h2 {
    font-size: 1.4rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .photos-inline {
    grid-template-columns: 1fr;
  }
}
