/* ==============================
   GLOBAL STYLES
============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #222;
  background-color: #f8f8f8;
}

/* ==============================
   SIDEBAR NAVIGATION
============================== */
.sidebar {
  width: 220px;
  height: 100vh;
  background-color: #ffffff;
  border-right: 1px solid #ddd;
  position: fixed;
  top: 0;
  left: 0;
  padding: 1.5rem;
  overflow-y: auto;
}

.logo-img {
  width: 160px;
  height: auto;
  margin-bottom: 2rem;
  display: block;
}

.nav-links {
  list-style: none;
}

.nav-links li {
  margin-bottom: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #4a8251;
}

/* ==============================
   MAIN CONTENT
============================== */
.content {
  margin-left: 240px;   /* keeps content to the right of sidebar */
  padding: 2rem;
  width: calc(100% - 240px);
  max-width: 1400px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

p, li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

/* ==============================
   GALLERY GRID
============================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

figcaption {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
}

/* ==============================
   SOURCES + ARTIST LIST
============================== */
.sources {
  margin-top: 2rem;
  font-size: 0.9rem;
}

.artist-list {
  list-style: none;
}

.artist-list li {
  margin-bottom: 0.5rem;
}

/* ==============================
   ABOUT PAGE: ARTIST GRID (UPDATED)
============================== */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.artist-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background-color: #fff;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  text-align: left; /* keep text left-aligned always */
}

.artist-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 100%;
  flex-shrink: 0;
}

.artist-info h4 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.artist-info p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}

/* ==============================
   RESPONSIVE DESIGN (ALL SIZES)
============================== */

/* Small screens — sidebar stays, content compresses */
@media (max-width: 900px) {
  .content {
    margin-left: 220px;
    width: calc(100% - 220px);
    padding: 1rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  p, li {
    font-size: 0.95rem;
  }

  /* keep 1 artist per row and text left-aligned */
  .artist-grid {
    grid-template-columns: 1fr;
  }

  .artist-card {
    flex-direction: row;  /* image + text side-by-side */
    align-items: flex-start;
    text-align: left;
  }

  .artist-photo {
    width: 120px;
    height: 120px;
  }
}

/* Larger screens — more breathing room */
@media (min-width: 1400px) {
  .content {
    max-width: 1400px;
    padding: 3rem 4rem;
  }
}

@media (min-width: 1800px) {
  body {
    font-size: 1.1rem;
  }

  .content {
    max-width: 1600px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

/* ==============================
   LOCATION SECTION
============================== */
.location {
  margin-top: 2rem;
}

.location h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.location a {
  color: #4a8251;
  text-decoration: none;
  font-weight: 500;
}

.location a:hover {
  text-decoration: underline;
}
