/* ================================
   Reset & Base Styles
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background: #fdfaf6;
  color: #2f2f2f;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ================================
   Floating Header / Nav
================================ */
header {
  position: sticky;
  top: 0;
  width: 100%;
  text-align: center;
  padding: 2rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border-bottom: 1px solid #e8dfd6;
  z-index: 999;
}

header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: #6f3f24;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.1rem;
  color: #b07a50;
  margin-bottom: 1rem;
}

/* ================================
   Navigation
================================ */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
  padding-bottom: 5px;
}

nav ul::-webkit-scrollbar {
  display: none;
}

nav a {
  text-decoration: none;
  color: #6f3f24;
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #d89b6d; /* gold accent */
  transition: width 0.3s ease;
}

nav a:hover {
  color: #d89b6d;
}

nav a:hover::after {
  width: 100%;
}

/* ================================
   Hero Section
================================ */
.hero {
  padding: 5rem 1rem 3rem;
  text-align: center;
}

.hero h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #4e2c1b;
}

.hero p {
  font-size: 1.1rem;
  color: #444;
  max-width: 650px;
  margin: auto;
  line-height: 1.8;
}

/* ================================
   Gallery
================================ */
.gallery {
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: auto;
}

.gallery h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #5a3e2b;
  margin-bottom: 2rem;
}

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

/* Images */
.grid img {
  width: 100%;
  height: 250px; /* uniform size */
  object-fit: cover; /* crop and fill */
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.6s forwards;
}

.grid img:nth-child(odd) {
  animation-delay: 0.1s;
}
.grid img:nth-child(even) {
  animation-delay: 0.2s;
}

/* Fade-in animation */
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   Lightbox
================================ */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 1000;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

#lightbox.show {
  opacity: 1;
  pointer-events: auto;
}

/* ================================
   Footer
================================ */
footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #fff;
  color: #9c6a44;
  border-top: 1px solid #e8dfd6;
  font-size: 0.95rem;
  margin-top: 3rem;
}

/* ================================
   Responsive
================================ */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  header p {
    font-size: 1rem;
  }
  nav a {
    font-size: 0.95rem;
  }
  .hero h2 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .grid img {
    height: 200px;
  }
}