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

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: black;
  background-color: #fdf9f5;
}

/* Header and Navigation - Shared across all pages */
header {
  background-color: #b79464;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
  background-color: #8b6f47;
}

/* Main Content Layout */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Common Section Styles */
section {
  margin-bottom: 3rem;
}

section h3 {
  color: #8b6f47;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* Common Button Styles */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: #d4a574;
  color: white;
}

.btn-primary:hover {
  background-color: #c49660;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #8b6f47;
  border: 2px solid #8b6f47;
}

.btn-secondary:hover {
  background-color: #8b6f47;
  color: white;
  transform: translateY(-2px);
}

/* Footer - Shared across all pages */
footer {
  background-color: #8b6f47;
  color: white;
  text-align: center;
  padding: 1.5rem;
  margin-top: 3rem;
}

footer p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  main {
    padding: 1rem;
  }

  section h3 {
    font-size: 1.5rem;
  }
}

/* Common Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Common Card Styles */
.card {
  background: #f8f2f0;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
