/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Navigation styles */
.navbar {
  background-color: #fff;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav-brand a {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-brand a:hover {
  color: #666;
}

/* Navigation button styles */
.nav-menu {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-btn {
  background-color: transparent;
  border: 1px solid #e1e5e9;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: #333;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.nav-btn:hover {
  background-color: #f8f9fa;
  border-color: #d1d5db;
  color: #333;
  text-decoration: none;
}

.nav-btn.active {
  background-color: #f8f9fa;
  border-color: #d1d5db;
  font-weight: 500;
}

/* Main content styles */
.main-content {
  margin-top: 80px; /* Account for fixed navbar */
  min-height: calc(100vh - 80px);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  text-align: center;
  padding: 2rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: #333;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.2rem;
  color: #666;
  font-weight: 300;
}

.hero-image {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Page header styles */
.page-header {
  text-align: center;
  padding: 3rem 2rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: #333;
  letter-spacing: -1px;
}

.page-header p {
  font-size: 1.1rem;
  color: #666;
  font-weight: 300;
}

/* Cards container styles */
.cards-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Individual card styles */
.card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 150px;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Card link styles */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link:hover {
  text-decoration: none;
  color: inherit;
}

/* Image placeholder styles removed - using text-only cards */

/* Photo gallery styles */
.photo-gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.photo-placeholder {
  text-align: center;
  padding: 4rem 2rem;
  color: #666;
  font-style: italic;
}

.photo-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.photo-item {
  width: 100%;
}

.photo-item img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.photo-caption {
  padding: 1rem;
  background-color: #fff;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

/* Text content styles for thoughts pages */
.text-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  line-height: 1.7;
}

.text-content p {
  margin-bottom: 1.5rem;
  color: #333;
  font-size: 1rem;
}

.card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #333;
  line-height: 1.3;
}

.card-content p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.card-date {
  font-size: 0.85rem;
  color: #999;
  font-weight: 500;
  display: block;
  margin-top: 0.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .nav-container {
    padding: 1rem;
  }

  .nav-menu {
    gap: 0.5rem;
  }

  .nav-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }

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

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

  .cards-container {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1.5rem;
  }

  .card-content {
    padding: 1.25rem;
  }
}
