/* General Layout */
html, body {
  margin: 0;
  padding: 0;
  background: #f0f0f0;
  font-family: 'Abel', sans-serif;
  overflow-x: hidden;
}

/* Fixed Top Menu */
#menu {
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Menu List */
#menu ul {
  list-style: none;
  display: flex;
  gap: 40px;
  justify-content: center;
  padding: 0;
  margin: 30px 0;
}

/* Nav Links */
#menu ul li a {
  position: relative;
  font-family: 'Abel', sans-serif;
  font-size: 1.2em;
  text-decoration: none;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Underline Effect */
#menu ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: #333;
  transition: width 0.3s ease;
}

/* Hover State */
#menu ul li a:hover {
  transform: scale(1.1);
  color: #000;
}

#menu ul li a:hover::after {
  width: 100%;
}


/* Menu Styles */
nav ul {
  list-style: none;
  display: flex;
  gap: 50px;
  padding: 0;
  margin: 0;
}

nav li {
  font-size: 1.5em;
  cursor: pointer;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #333;
  position: relative;
  transition: color 0.3s ease;
}

nav li:hover {
  color: #000;
}

/* Main Scrollable Content */
#content {
  padding: 40px 20px;
}

/* Cover Image */
#cover-image {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

#cover-image img {
  max-width: 300px;
  height: auto;
}

/* Main content */
#gallery table {
  border-collapse: separate;
  margin: 0 auto;
  table-layout: fixed;
}

#gallery td {
  padding: 20px;
}

#gallery h2 {
  margin-top: 0;
  font-size: 1.5em;
  font-weight: bold;
  color: #222;
}

#gallery p {
  font-size: 1em;
  color: #555;
  line-height: 1.5;
}

/* Image and Text Blocks */
.image-block, .text-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-block img {
  width: 300px;
  max-width: 100%;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;

}

.image-block img:hover {
  transform: scale(1.05);
}

.text-block {
  max-width: 300px;
  text-align: center;
  font-size: 1.2em;
  padding: 20px;
  color: #555;
}

/* Modal Styles */
#modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  z-index: 2000;
}

#modal.show {
  opacity: 1;
  visibility: visible;
}

#modal img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 12px;
}

#close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 2em;
  color: white;
  cursor: pointer;
}
