/* Reset & Global Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-color: #120e0c;
  --card-bg: #1a1412;
  --text-main: #f3ece7;
  --text-muted: #a69a91;
  --accent-gold: #e5a93c;
  --border-color: #2a221e;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Georgia, serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

/* Header */
.site-header {
  padding: 1.5rem 2rem;
  background-color: rgba(18, 14, 12, 0.9);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Hero */
.hero-section {
  padding: 4rem 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.subtitle {
  color: var(--accent-gold);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-section h1 {
  font-size: 3rem;
  font-family: Georgia, serif;
  font-weight: normal;
  margin-bottom: 0.5rem;
}

.tagline {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Gallery Header */
.gallery-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.gallery-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.gallery-header h2 {
  font-family: Georgia, serif;
  font-weight: normal;
  font-size: 1.75rem;
}

.photo-count {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.card {
  background-color: var(--card-bg);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.card-tall {
  grid-row: span 2;
}

.card-tall img {
  height: 100%;
  min-height: 500px;
}

.card-caption {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--card-bg);
}

.card-caption h3 {
  font-size: 1rem;
  font-weight: normal;
}

.location {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 2rem 4rem;
  margin-top: 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links {
  text-align: right;
}

.footer-links h4 {
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  font-weight: normal;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--text-main);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links .disabled {
  color: var(--text-muted);
}

/* Responsive Layout */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .card-tall {
    grid-row: auto;
  }
  .card-tall img {
    min-height: 240px;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    flex-direction: column;
    gap: 2rem;
  }
  .footer-links {
    text-align: left;
  }
}