body{
  margin: 0px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}
.navbar ul{
  list-style-type: none;
  background-color: black;
  padding: 0px;
  margin: 0px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-left {
  display: flex;
  align-items: center;
}

.navbar-right {
  display: flex;
  align-items: center;
}

.navbar a{
  color: white;
  font: italic;
  font-size: 20px;
  text-decoration: none;
  padding: 15px;
  display: block;
  margin-left: 30px;
  margin-top: 10px;
  user-select: none;
}

.navbar a:hover{
  background-color: aliceblue;
  opacity: 0.4;
  border-radius: 40px;
}

.navbar-right li{
  float:left;
  margin-left: 30px;
}

.navbar h1{
  color: white;
  padding-left: 20px;
  margin-bottom: 10px;
  user-select: none;
}

.box-pig{
  width: 200px;
  height: 200px;
  padding: 10px;
  margin-top: 30px;
  margin-left: 40px;
  border-radius: 30%;
}

.illustration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.illustration-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.illustration-container {
  margin-top: 40px;
}

.illustration-heading {
  text-align: center;
  margin-bottom: 30px;
}

span{
  font-size: 30px;
}


.main-container {
  margin-top: 40px;
  padding: 0 20px;
}

.main-h2{
  text-align: center;
  font-size: 2rem;
}
.main-heading {
  text-align: center;
  margin-bottom: 15px;
}

.exhibition-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.exhibition-card {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.exhibition-card:hover {
  transform: translateY(-5px);
}

.card-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  margin: 15px 15px 5px;
}

.exhibition-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  margin: 10px 15px;
  text-transform: uppercase;
}

.exhibition-card p {
  font-size: 14px;
  color: #666;
  margin: 0 15px 15px;
  line-height: 1.4;
  flex-grow: 1;
}

.card-button {
  background-color: transparent;
  border: 1px solid #333;
  color: #333;
  padding: 8px 15px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  margin: 10px 15px 15px;
  align-self: flex-start;
  transition: all 0.3s ease;
}

.card-button:hover {
  background-color: #333;
  color: white;
}

.gallery-container {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-heading {
  text-align: center;
  margin-bottom: 40px;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 400px;
  width: 400px;
  object-fit: cover;
}

.gallery-description {
  padding: 20px;
}

.gallery-description h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  color: #333;
}

.gallery-description p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}


@media (max-width: 1000px) {
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .exhibition-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


.ref-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  height: 600px;
}

.ref-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.ref-gallery-item.large {
  grid-row: 1 / 3;
}

.ref-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ref-gallery-item:hover img {
  transform: scale(1.05);
}

.ref-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.ref-gallery-item:hover .ref-overlay {
  transform: translateY(0);
}

.ref-overlay h3 {
  margin: 0 0 5px 0;
  font-size: 18px;
}

.ref-overlay p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

.excel-container {
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.excel-heading {
  margin-bottom: 20px;
  color: white;
  font-size: 2.5rem;
}

.excel-description {
  margin-bottom: 40px;
  color: white;
  font-size: 1.2rem;
}

.excel-flipper {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.excel-image-container {
  margin-bottom: 30px;
}

.excel-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.excel-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.excel-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.excel-btn:hover {
  background: #0056b3;
}


.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  position: relative;
  margin: auto;
  padding: 20px;
  width: 90%;
  max-width: 1200px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.close:hover {
  color: #ccc;
}

#modalImage {
  max-width: 100%;
  max-height: 80%;
  object-fit: contain;
  border-radius: 10px;
}

.modal-info {
  color: white;
  text-align: center;
  margin-top: 20px;
}

.modal-info h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.modal-info p {
  font-size: 16px;
  opacity: 0.9;
}

@media (max-width: 600px) {
  .exhibition-grid {
    grid-template-columns: 1fr;
  }
  
  .photo-gallery {
    grid-template-columns: 1fr;
  }
  
  .ref-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  
  .ref-gallery-item.large {
    grid-row: auto;
  }

  .modal-content {
    width: 95%;
    padding: 10px;
  }

  .close {
    top: 10px;
    right: 20px;
    font-size: 30px;
  }

  .modal-info h3 {
    font-size: 20px;
  }

  .modal-info p {
    font-size: 14px;
  }
}
