/* styles.css */

/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Global styles */
  body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Header styles */
  header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  nav {
    display: flex;
    justify-content: flex-start; /* Updated to move options to the left */
    align-items: center;
    padding: 20px 0;
  }
  
  .logo a {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
  }
  
  .nav-links {
    margin-left: 20px; /* Added margin to the left side of the menu options */
  }
  
  .nav-links li {
    display: inline-block;
    margin-left: 15px;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: #333;
  }
  
  .hero {
    text-align: center;
    padding: 150px 0;
    background-color: #f1f1f1;
  }
  
  .hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
  }
  
  .hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #777;
  }
  
  .cta-btn {
    display: inline-block;
    padding: 10px 30px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
  }
  
  /* Biography styles */
  .biography {
    padding: 80px 0;
    background-color: #f9f9f9;
  }
  
  .biography-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
  }
  
  .biography-content {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
  }
  
  .biography-image {
    grid-column: 1 / span 4;
  }
  
  .biography-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .biography-text {
    grid-column: 6 / span 7;
  }
  
  .biography-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .biography-text p {
    margin-bottom: 30px;
  }
  
  /* Footer styles */
  footer {
    background-color: #333;
    color: #fff;
    margin-top: auto;
    padding: 20px 0;
    text-align: center;
  }
  
  footer p {
    font-size: 14px;
  }
  
  footer hr {
    border-color: #fff;
  }
  .exhibition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
  }
  
  .exhibition-item {
    padding: 10px;
    text-align: center;
  }
  
  .exhibition-item img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
  }
  
  .exhibition-item h3 {
    margin: 10px 0;
    font-size: 1.2em;
  }
  
  .exhibition-item p {
    font-size: 0.9em;
    color: #666;
  }

/* Artwork grid styles */
.artwork-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
}
.artwork-item img {
  cursor: pointer;
  transition: transform 0.3s ease; /* Transition for both states */
}

.artwork-item img:hover:not(.rotate-90) {
  transform: scale(1.05); /* Scale on hover */
  transition: transform 0.3s ease
}


.artwork-item {
  position: relative;
  transition: transform 0.3s; /* Remove box-shadow transition */
  cursor: pointer;
  margin: 10px;
  padding: 5px;
  /* Remove background color and border to make it transparent */
  background-color: transparent;
  border: none;
}

.artwork-item img {
  width: 100%;
  height: auto;
}

/* Style for enlarged image */
.enlarged-image {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 999;
  text-align: center;
}

.enlarged-image img {
  max-width: 80%;
  max-height: 80%;
  margin: 10% auto;
  cursor: pointer;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  color: white;
  font-size: 24px;
}


/* Rotate specific images by 90 degrees clockwise */
.rotate-90 {
  transform: rotate(90deg);
  transition: transform 0.3s ease; /* Transition for both states */
}

.rotate-90:hover {
  transform: rotate(90deg) scale(1.05); /* Scale on hover */
  transition: transform 0.3s ease;
}

/* Press Section Styles */
.press {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.press-article {
  margin-bottom: 30px;
}

.press-article h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.press-article p {
  font-size: 16px;
  color: #666;
}

/* Assuming .active class is added to the current page's nav link */
.nav-links li a.active {
  color: #d35400; /* Change the color to something that stands out */
  font-weight: bold; /* Make it bold */
  text-decoration: underline; /* Underline the active page link */
  background-color: #f0f0f0; /* Optional: add a subtle background color */
  border-radius: 5px; /* Optional: round the corners if there's a background color */
  padding: 5px 10px; /* Optional: add some padding if there's a background color */
}

/* Add a hover effect for all nav links */
.nav-links li a:hover {
  color: #f56a00; /* Darker shade for hover state */
  transition: color 0.3s ease; /* Smooth transition for color change */
}
