/* General Styles */
body {
  font-family: 'Space Mono', monospace;
  background-color: #fcfbfa;
  margin: 0;
  padding: 0;
  color: #333; /* Black text for contrast */
}

/* Container for all content */
.container {
  width: 80%;
  margin: 0 auto;
}

/* ===== HEADER STYLES ===== */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 30px;
  flex-wrap: wrap; /* allows wrapping on small screens */
  background-color: #fcfbfa;
}

/* ===== H1 Styles ===== */
.header-left h1 {
  font-family: 'Space Mono', monospace;
  font-size: 2em;
  color: #333;
  margin: 0;
  line-height: 1.2;
}

/* ===== NAVIGATION ===== */
.nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap; /* allows wrapping on small screens */
}

.nav-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

nav li a:hover {
  color: #aad89c;
}

/* Back Button */
nav a {
  text-decoration: none;
  color: #333;
  font-size: 1em;
  margin-top: 20px;
}

nav a:hover {
  color: #aad89c;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}



/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 600px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu ul {
    padding-top: 1rem;
    gap: 0.5rem;
  }

}


@media (max-width: 480px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
  }
}


/* Back Button */
.back-button {
  margin-top: 20px; /* Creates spacing below header */
  display: inline-block;
}


/* Gallery  Layout */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Individual Gallery Items */
.gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect on images */
.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
  text-align: center;
  margin-top: 50px;
  padding: 20px;
  font-size: 0.8em;
  color: #333; /* Black footer text */
}

/* About & Contact Sections */
section {
  margin-top: 50px;
  padding: 40px 20px;
  background-color: #f1faee; /* Light background for sections */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

section h2 {
  font-family: 'Fira Code', monospace;
  font-size: 2.5em;
  text-align: center;
  color: #333; /* Black for section headers */
  margin-bottom: 20px;
}

section p {
  font-size: 1em;
  text-align: center;
  line-height: 1.6;
  color: #333; /* Black text for content */
}

/* Button styles */
button {
  background-color: #333; /* Dark black buttons */
  border: none;
  padding: 12px 24px;
  border-radius: 5px;
  color: #fff; /* White text on buttons */
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s;
  min-width: 44px;
  min-height: 44px;
}


/* Artwork Details */
.artwork-details {
  display: flex;
  justify-content: center; /* Center content horizontally */
  align-items: center;     /* Center content vertically */
  height: 100vh;           /* Full viewport height */
  padding: 20px;
}

.artwork-container {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically within the container */
  align-items: center;     /* Center content horizontally within the container */
  max-width: 80%;
  text-align: center;      /* Center text */
}

#artwork-image {
  max-width: 100%;      /* Ensures the image takes up the full width of the container */
  max-height: 80vh;     /* Prevents the image from becoming too large */
  object-fit: contain;  /* Ensures the image stays within the container without distortion */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;  /* Adds space between image and text */
}

.artwork-info {
  margin-top: 5px;
}

#artwork-title {
  font-size: 2em;
  font-weight: bold;
}

.artwork-info p {
  font-size: 1em;
  margin: 2px 0;
}

