/* Enhanced styles.css with animation and active menu support */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.logo-img {
  height: 60px;
  width: 60px;
  border-radius: 8px;
  object-fit: cover;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #3b2214;
  color: #f9e6d6;
  line-height: 1.2;
  animation: fadeIn 1.2s ease-in;
}

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

header {
  background-color: #5c2e1b;
  padding: 5px 5px;
  text-align: center;
  animation: slideInTop 1s ease-out;
}

@keyframes slideInTop {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #fff8f0;
}

nav {
  position: sticky;
  top: 0;
  background-color: #2a130a;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 15px 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  animation: fadeIn 1s ease-in;
  margin-left: 0.5%;
  margin-right: 0.5%;
}

nav a {
  color: #f9e6d6;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #2fa4c7;
  font-size: 18px;
  transform: scale(1.05);
}

nav a.active {
  color: #2fa4c7;
  border-bottom: 2px solid #2fa4c7;
  font-weight: bolder;
}

section {
  padding: 80px 20px;
  text-align: center;
  animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 30px;
  padding: 0 20px;
}

.box {
  background-color: #6b3a24;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  animation: fadeInUp 1s ease-in-out;
}

.box:hover {
  transform: translateY(-5px);
  background-color: #7d442a;
}

footer {
  background-color: #2a130a;
  text-align: center;
  padding: 25px;
  font-size: 1rem;
  color: #d8c1b0;
  animation: fadeIn 1s ease-in;
}

@media (max-width: 600px) {
  nav {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }

  header h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .box {
    padding: 20px;
  }
}