@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Germania+One&display=swap');

@font-face {
    font-family: 'Georgia';
    font-style: normal;
    font-weight: 400;
    src: local('Georgia'), url('georgia.ttf') format('ttf');
}

body {
  margin: 0;
  font-family: 'Georgia', serif;
  background: #fdfaf5;
  color: #2b2b2b;
  margin-bottom: 83px;
}

header {
  background: url('wood_texture.png') no-repeat center center;
  background-size: cover;
  padding: 2rem;
  text-align: center;
  color: #fff;
  border-bottom: 5px solid #4a2c2a;
}

header h1 {
  font-size: 2.5rem;
    margin: 0;
    font-family: 'Cinzel Decorative', cursive;
}

h1 a {
    color: white;
    text-decoration: none;
}

nav {
  display: flex;
  justify-content: center;
  background-color: #4a2c2a;
}

nav a {
  padding: 1rem 2rem;
  color: #f3e5c3;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  background-color: #7b4e47;
}

main {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

.gallery {
  display: none;
}

.gallery.active {
  display: block;
}

.gallery h2 {
  font-family: 'Playfair Display', serif;
  border-bottom: 2px solid #4a2c2a;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

pre {
  background: #f3f0e6;
  padding: 1rem;
  border-left: 5px solid #4a2c2a;
  white-space: pre-wrap;
}

footer {
  text-align: center;
  padding: 2rem;
  background-color: #4a2c2a;
  color: #f3e5c3;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.gallery-grid img {
  width: 100%;
  cursor: pointer;
  border: 2px solid #4a2c2a;
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(30, 20, 10, 0.8);
}

.modal-content {
  position: relative;
  z-index: 1001;
  max-width: 80%;
  max-height: 80%;
  background: #fff5e6;
  padding: 1rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
  text-align: center;
  border-radius: 0.5rem;
}

.modal-content img {
  max-width: 80vw;
  max-height: 60vh;
  height: auto;
  display: block;
  margin: auto;
}

.modal-content p {
  margin-top: 1rem;
  font-style: italic;
  color: #4a2c2a;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.gallery-item {
  text-align: center;
  cursor: pointer;
}

.gallery-item img {
  max-width: 100%;
  height: auto;
  border: 2px solid #4a2c2a;
  border-radius: 8px;
}

