
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
}
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #333;
}
header, footer {
    padding: 1rem;
    background: #eee;
    text-align: center;
}
nav a {
    margin: 0 1rem;
    text-decoration: none;
    color: #000;
}
.slideshow img {
    width: 100%;
    height: auto;
}
.collections-list {
    display: flex;
}
.works-list {
    display: flex;
}
aside {
    width: 20%;
    background: #f5f5f5;
    padding: 1rem;
}

.image-gallery img {
  width: 100%;
  max-width: 800px;  /* or any desired max display size */
  height: auto;
  display: block;
  margin: 0 auto 1.5rem auto;  /* centers the image */
  border-radius: 8px;
}



.page-title {
  font-family: 'Georgia', serif;
  font-size: 1.8rem;
  font-style: italic;
  color: #6b4e3d; /* clay-brown */
  margin-bottom: 1rem;
  border-left: 4px solid #e3d9d1;
  padding-left: 1rem;
}






/* Header Container */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem auto;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ccc;
}

/* Branding block (logo + title) */
.branding {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.branding a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
}

/* Logo */
.site-logo {
  height: 60px;
  width: auto;
  border-radius: 4px;
}

/* Title */
.site-title {
  font-size: 2rem;
  font-weight: bold;
}

/* Navigation */
.site-nav {
  margin-top: 1rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  color: #444;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.site-nav a:hover {
  background-color: #f0f0f0;
}

/* Active nav link */
.site-nav a.active {
  background-color: #ddd;
  border-radius: 4px;
}




/* Nav styling (already present, but tweak if needed) */
.main-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}


/* Responsive tweak for small screens */
/* Responsive: smaller layout on mobile */
@media (max-width: 600px) {
  .site-header {
    padding: 1rem;
  }

  .branding {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .site-title {
    font-size: 1.5rem;
    text-align: center;
  }

  .site-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.main-nav a.active {
  font-weight: bold;
  text-decoration: underline;
}

.main-nav a:hover {
  text-decoration: underline;
} 

/* end header layout */



.back-link-container {
  text-align: right;
  margin-bottom: 1rem;
}

.back-link {
  color: #007acc;
  text-decoration: none;
  font-size: 0.95rem;
}

.back-link:hover {
  text-decoration: underline;
}

/* used to display the collection description in the collections/list.md */
.collection-description-box {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}


.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  padding-left: 1rem;
  padding-right: 1rem; 
}

.collection-card {
  text-align: center;
}

.collection-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

.collection-card h2 {
  margin-top: 0.5rem;
  font-size: 1rem;
}

/* Container for each collection thumbnail */
.collection-thumbnail {
  display: block;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  border-radius: 8px;
  overflow: hidden;
}

.collection-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hover/focus effect */
.collection-thumbnail:hover,
.collection-thumbnail:focus {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.collection-thumbnail:hover img,
.collection-thumbnail:focus img {
  opacity: 0.9;
}


.image-gallery {
  padding-left: 1rem;
  padding-right: 1rem; 
  margin-top: 1.5rem;
}

.image-gallery img {
  width: 100%;
  max-width: 800px;
  margin-bottom: 1rem;
  display: block;
  border-radius: 6px;
}

/* Artist profile layout */
.artist-profile {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
}

.artist-name {
  font-size: 2rem;
  text-align: center;
  color: #333;
  margin-bottom: 1.5rem;
  font-weight: 500;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.5rem;
}

/* Bio text box */
.artist-bio {
  background-color: #f8f8f8;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  line-height: 1.6;
  font-size: 1.1rem;
  color: #444;
  box-shadow: 0 2px 5px rgba(0,0,0,0.04);
}

.artist-bio p {
  margin-bottom: 1rem;
}

/* Section wrapper */
.artist-pieces {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 1rem;
}

.artist-pieces h2 {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #333;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.5rem;
}

/* Grid wrapper */
.artist-piece-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  padding: 0;
}

/* Grid items */
.artist-piece-card {
  display: block;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.artist-piece-card:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  background-color: #f0f0f0;
}




/* Responsive tweak */
@media (max-width: 768px) {
  .piece-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .piece-image img {
    width: 100%;
    max-width: 100%;
  }
}


/* Home page */


/* Home page content block */
/* Container for both text and slideshow */
.homepage-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 2rem auto;
  gap: 2rem;
  padding: 0 1rem;
  flex-wrap: nowrap; /* prevents stacking on desktop */
}

/* Text box */
.homepage-content {
  flex: 0 0 35%;
  max-width: 400px;
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Slideshow area */
.hero-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}

#hero-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .homepage-row {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .homepage-content, .hero-image-container {
    max-width: 90%;
    width: 100%;
  }

  .homepage-content {
    order: 2;
  }

  .hero-image-container {
    order: 1;
  }
}

/* Footer style */
.site-footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #555;
  background-color: #f5f5f5;
  border-top: 1px solid #ccc;
}

.site-footer a {
  color: #333;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

