
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  background-color: #fff;
  color: #333;
  overflow: hidden;
}

/* Header and Logo */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 10px;
  background-color: white;
  color: black;
  height: 80px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Bodoni Moda', serif;
  color: black;
  line-height: 1.2;
}

.logo-name {
  font-size: 2.2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.logo-subtitle {
  font-family: 'Bodoni Moda', serif;
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.75;
  letter-spacing: 0.03em;
  margin-top: 0.3rem;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 1.5em;
}

nav a {
  font-family: 'Bodoni Moda', serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  opacity: 0.75;
  color: black;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Main and Gallery */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#gallery-container {
  padding: 0 10px;
  flex: 1;
  overflow: hidden;
}

.gallery {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  margin-top: 10px;
  margin-bottom: 10px;
  height: calc(100vh - 80px - 50px - 20px);
  align-items: center;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: auto;
  scroll-behavior: smooth;
}

.gallery img {
  max-height: 100%;
  height: auto;
  width: auto;
  flex-shrink: 0;
  scroll-snap-align: start;
}

/* Footer */
footer {
  text-align: center;
  padding: 1em 10px;
  background-color: white;
  color: black;
  height: 50px;
  flex-shrink: 0;
  font-family: 'Bodoni Moda', serif;
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.75;
  letter-spacing: 0.03em;
}

/* Lightbox - Image */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  color: black;
}

/* Lightbox - About */
#about-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 2rem;
  opacity: 0;
}

.about-lightbox-content {
  max-width: 700px;
  text-align: center;
  font-family: 'Bodoni Moda', serif;
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.9;
  color: black;
}

.about-lightbox-content h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

#about-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  color: black;
}

/* About Logo */
.about-logo {
  margin-bottom: 1.5rem;
  align-items: center;
  text-align: center;
}

.about-logo .logo-name {
  font-size: 1.4rem;
}

.about-logo .logo-subtitle {
  font-size: 0.75rem;
  opacity: 0.6;
  letter-spacing: 0.03em;
}

/* Fade Animations */
.fade-in {
  animation: fadeIn 0.3s ease forwards;
}
.fade-out {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* Responsive Styles */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    height: auto;
    padding: 1rem;
    gap: 1rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .logo-name {
    font-size: 1.6rem;
  }

  .logo-subtitle {
    font-size: 0.75rem;
  }

  .gallery {
    height: calc(100vh - 180px);
  }

  .gallery img {
    max-height: 70%;
  }

  footer {
    font-size: 0.75rem;
    padding: 0.75rem 10px;
    height: auto;
  }

  .about-lightbox-content {
    padding: 0 1rem;
    font-size: 0.85rem;
  }

  .about-logo .logo-name {
    font-size: 1.2rem;
  }

  .about-logo .logo-subtitle {
    font-size: 0.7rem;
  }

  .about-lightbox-content h2 {
    font-size: 1rem;
  }
}

/* ... (Keep existing styles from previous cell above this point) ... */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: black;
  margin: 4px 0;
  transition: 0.4s;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hamburger {
    display: flex;
  }

  nav {
    width: 100%;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    display: none;
  }

  nav ul.active {
    display: flex;
  }

  .gallery {
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    height: calc(100vh - 180px);
    align-items: center;
  }

  .gallery img {
    max-width: 100%;
    height: auto;
    scroll-snap-align: start;
  }
}



@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: stretch;
  }

  .header-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 1rem;
    margin-bottom: 0.5rem;
  }

  .hamburger {
    display: flex;
  }

  nav {
    width: 100%;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    display: none;
  }

  nav ul.active {
    display: flex;
  }

  .gallery {
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    height: calc(100vh - 180px);
    align-items: center;
  }

  .gallery img {
    max-width: 100%;
    height: auto;
    scroll-snap-align: start;
  }

  .logo-name {
    font-size: 1.6rem;
  }

  .logo-subtitle {
    font-size: 0.75rem;
  }

  footer {
    font-size: 0.75rem;
    padding: 0.75rem 10px;
    height: auto;
  }

  .about-lightbox-content {
    padding: 0 1rem;
    font-size: 0.85rem;
  }

  .about-logo .logo-name {
    font-size: 1.2rem;
  }

  .about-logo .logo-subtitle {
    font-size: 0.7rem;
  }

  .about-lightbox-content h2 {
    font-size: 1rem;
  }
}
