/* Example: For screens narrower than 600px */
@media (max-width: 600px) {
  body {
    font-size: 16px; /* Make text larger for small screens */
  }
  nav ul {
    flex-direction: column; /* Stack menu items vertically */
  }
}

img {
  max-width: 100%;
  height: auto;
}


body {
    font-family: "Proxima Nova", "Courier New", sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Reduce default paragraph spacing (tighten vertical rhythm). */
p {
  margin-top: 0;
  margin-bottom: 0.3em; /* adjust this value to make paragraphs closer/further apart */
}

nav {
    background: #ffffff;
    color: #000000;
    padding: 10px 20px;
    height: fit-content;
}

nav .logo {
    display: inline-block;
    font-size: 24px;
    font-weight: thin;
}

nav .nav-items {
    float: right;
    font-size: 24px;
}

nav .nav-items a {
    color: #000000;
    text-decoration: none;
    padding: 10px 15px;
}

nav .nav-items a:hover {
    background: #c1c1c1;
    height: fit-content;
}

.works {
    background: #ffffff;
    padding: 20px;
    text-align: center;
    font-size: 24px;
    font-weight: thin;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
  align-items: center;
  margin-top: 2rem;
}

.artwork {
  text-align: center;
  font-size: 16px;
  font-weight: thin;
}

.artwork img {
    max-width: 450px;
    max-height: 450px;
    margin-bottom: 20px;
}

.gallery .artwork p {
    display: none;  /* Hide descriptions by default */
}

.hero {
    background: #ffffff;
    padding: 30px;
    text-align: left;
}

.hero h1 {
    font-size: 26px;
    margin-bottom: 5px;
}

.hero-container {
  display: flex;
  align-items: flex-start;
}

.hero-text {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    font-size: 16px;
    font-weight: thin;
    margin-left: 20px;
}

/* Tighter paragraph spacing inside the hero (home page) */
.hero-text p {
  margin-top: 0;
  margin-bottom: 0.3em; /* reduce this if you want paragraphs even closer */
}

.hero-container img {
  max-height: 750px;
  width: auto;
  border-radius: 8px; 
}

.exhibitions {
    background: #ffffff;
    padding: 20px;
    display: flex;
    font-size: 24px;
    font-weight: thin;
}

.exhibitions-container {
    display: flex;
    align-items: flex-start;
}

.exhibitions-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-left: auto;
    flex-direction: column;
}

.exhibitions-text {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: left;
    font-size: 16px;
    font-weight: thin;
    margin-left: 20px;
}

.exhibitions-text p {
    margin-bottom: 0.3em; /* Reduce this value as needed */
    margin-top: 0;        /* Optional: remove extra space above */
}

.column-left {
    max-width: 600px;
    margin: 0 auto;
}

section {
    padding: 20px;
}

footer {
    text-align: center;
    padding: 10px 0;
    background: #ffffff;
    color: #000000;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  display: flex;
  background: #fff;
  border-radius: 8px;
  max-width: fit-content;
  width: 90vw;
  max-height: fit-content;
  overflow: hidden;
  position: relative;
}

.modal-content img {
  max-width: 60vw;
  max-height: 80vh;
  object-fit: contain;
  background: #222;
}

.sidebar {
  padding: 2rem;
  width: fit-content;
  overflow-y: auto;
  background: #ffffff;
  color: #000000;
}

.close {
  position: absolute;
  top: 3px; right: 15px;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
}

/* Dropdown menu styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background: none;
  color: inherit;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 0;
  margin: 0;
  text-transform: uppercase;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 160px;
  font-size: 18px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 12px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #ffffff;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}