/* Import Gothic Font */
@import url("https://fonts.googleapis.com/css2?family=Cinzel&display=swap");

/* Ensure Background Matches the Main Page */
/* General Styles */
body {
  font-family: "Cinzel", serif;
  background: url("https://media.istockphoto.com/photos/old-paper-texture-or-background-picture-id1272593295?b=1&k=20&m=1272593295&s=170667a&w=0&h=-QRd4J5M4I0LsxGL_Nctu_XwFyt6feTnICCEw9mR6ww=")
    repeat center center fixed;
  background-size: cover;
  color: #2c1b47;
  text-align: center;
  margin: 0;
  padding: 0;
  padding-top: 70px;
}
/* Header */
header {
  background: #2c1b47; /* Dark medieval color */
  color: #d4afef;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Title */
h2, .test, .add, .add2 {
  font-size: 1.5rem;
  margin: 0;
  font-weight: bold;
  flex-grow: 1;
}



/* Hamburger Menu */
.menu-toggle {
  font-size: 24px;
  background: none;
  border: none;
  color: #d4afef;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

/* Dropdown Navigation */
.nav-menu {
  background: rgba(220, 200, 180, 0.95);
  position: fixed;
  left: 10px;
  top: 50px;
  width: 200px;
  border: 3px solid #2c1b47;
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  z-index: 1100;
  transform-origin: top;
  transform: scaleY(0);
  opacity: 0;
  height: 0;
  transition: transform 0.5s ease-out, opacity 0.5s ease-out,
    height 0.5s ease-out;
}

/* Active Menu */
.nav-menu.active {
  transform: scaleY(1);
  opacity: 1;
  height: auto;
}

/* Menu Links */
.nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu li {
  border-bottom: 1px solid #2c1b47;
}

.nav-menu a {
  display: block;
  padding: 12px;
  color: #2c1b47;
  text-decoration: none;
  font-size: 18px;
}

.nav-menu a:hover {
  background: #d4afef;
  color: #2c1b47;
}


/* Gallery Container */
.gallery-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    text-align: center;
    background: rgba(220, 200, 180, 0.9);
    border: 3px solid #2c1b47;
    border-radius: 10px;
    margin-top: 20px;
}

/* Gallery Grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

/* Gallery Images */
.gallery-item {
    width: 250px;
    height: 250px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    border: 3px solid #2c1b47;
}

.gallery-item img {
    max-width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

/* Zoom effect on hover */
.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox (Full-Screen Image Viewer) */
#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

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

/* Footer */
footer {
    background: #2c1b47;
    color: #d4afef;
    padding: 10px;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Social Media Icons */
.social-icons {
    margin-top: 10px;
}

.social-icons a {
    color: #d4afef;
    font-size: 24px;
    margin: 0 10px;
    text-decoration: none;
}

.social-icons a:hover {
    color: #ffffff;
}
