* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: url('assets/parchment-texture.jpg') center/cover fixed, #f5f1e8;
  color: #333;
  font-family: 'Merriweather', serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3 {
  font-family: 'Cinzel', serif;
  color: #7B2C2C;
}

a {
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3 {
  font-family: 'Cinzel', serif;
  color: #7B2C2C;
}

a {
  text-decoration: none;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 0;
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: blur(6px);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.7rem;
  font-weight: 700;
  color: #7B2C2C;
  display: flex;
  align-items: center;
}

.logo-icon {
  font-size: 1.9rem;
  margin-right: 0.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #333;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #D4AF37;
  transition: width .3s;
}

.nav-link:hover::before {
  width: 100%;
}

.socials {
  display: flex;
  gap: 1rem;
  margin-left: 3rem;
}

.social-icon {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-icon:hover {
  background: rgba(224, 170, 62, 0.2);
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(224, 170, 62, 0.4);
}

.menu-toggle {
  display: none;
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

/* Scrolled State */


/* Responsive Styles */
@media (max-width: 850px) {
  .nav-container {
      padding: 0 2rem;
  }

  .nav-links {
      gap: 1.8rem;
  }

  .socials {
      margin-left: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-container {
      padding: 0 1.5rem;
  }

  .nav-links {
      position: fixed;
      top: 76px;
      left: -100%;
      width: 100%;
      height: calc(100vh - 76px);
      background: #f5f1e8;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding: 3rem 0;
      gap: 2.5rem;
      transition: left 0.4s ease-out;
      z-index: 999;
  }

  .nav-links.active {
      left: 0;
  }

  .nav-link {
      font-size: 1.2rem;
      padding: 0.8rem 1.5rem;
  }

  .nav-link::before {
      height: 3px;
      bottom: 0.5rem;
  }

  .socials {
      margin: 3rem 0 0;
      gap: 1.5rem;
  }

  .social-icon {
      width: 44px;
      height: 44px;
      font-size: 1.2rem;
  }

  .menu-toggle {
      display: block;
  }
}

.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.features h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1em;
  color: #555;
  margin-bottom: 40px;
}

.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.feature-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.feature-item:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-item img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.feature-text {
  max-width: 500px;
  text-align: left;
}

.feature-text h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.feature-text p {
  font-size: 1em;
  line-height: 1.6;
  color: #666;
}
.feature-item img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 4px solid #d4af37;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.image-credit {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}


/* Responsive Design */
@media (max-width: 768px) {
  .feature-item {
      flex-direction: column !important;
  }
  .feature-text {
      text-align: center;
  }
}