/* Folder structure setup with styles.css and gallery.js (with smooth transitions) */

/* styles.css */
:root {
  --primary: #c59d5f;
  --secondary: #fff8f0;
  --dark: #222222;
  --accent: #fce3c2;
}
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--secondary);
  color: var(--dark);
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
nav {
  background: var(--accent);
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  position: sticky;
  top: 0;
}
nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  transition: color 0.3s;
}
nav a:hover, nav a.active {
  color: var(--primary);
}
header {
  background: url('images/hero.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 6rem 1rem;
  position: relative;
  opacity: 0;
  transform: translateY(-20px);
  animation: slideFade 1.2s ease forwards;
}
@keyframes slideFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
header h1, header p, header a {
  position: relative;
  z-index: 1;
}
header h1 {
  font-size: 3rem;
  color: var(--primary);
}
header a {
  background: var(--primary);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  transition: background 0.3s;
  opacity: 0;
  animation: fadeIn 2s ease forwards 0.8s;
}
header a:hover { background: #b5894f; }
main {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
  opacity: 0;
  animation: fadeIn 1.5s ease forwards 0.5s;
}
footer {
  background: var(--accent);
  text-align: center;
  padding: 1.5rem;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1s;
}
.carousel img { width: 100%; border-radius: 8px; transition: opacity 0.5s ease; opacity: 0; }
.carousel img.active { opacity: 1; }
