body {
  background-color: #faf4e5;
  font-family: Arial, sans-serif;
  color: #2c2c2c;
  margin: 0;
  padding: 0;
  position: relative;
}
header {
  text-align: center;
  padding: 1.5rem 0;
  border-bottom: 2px solid #c2b49c;
  font-family: 'Handlee', cursive;
}
nav a {
  margin: 0 1.2rem;
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
  display: inline-block;
  transition: all 0.2s ease;
  position: relative;
}
nav a.active {
  border-bottom: 2px solid #4a7d4a;
  font-weight: 600;
}

nav a:hover {
  color: #4a7d4a;
}

nav a:focus {
  outline: 2px solid #4a7d4a;
  outline-offset: 2px;
}
.decor {
  position: absolute;
  z-index: -1;
  opacity: 0.8;
}
main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
}

.warning-box {
  background-color: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.warning-box h3 {
  color: #856404;
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.warning-box p {
  color: #856404;
  margin: 0;
  line-height: 1.4;
}

.warning-box a {
  color: #6c5ce7;
  text-decoration: none;
  font-weight: bold;
}

.warning-box a:hover {
  text-decoration: underline;
}

.info-box {
  background-color: #f0f4e8;
  border: 2px solid #6b7c32;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.info-box h3 {
  color: #4a5d23;
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.info-box p {
  color: #4a5d23;
  margin: 0;
  line-height: 1.4;
}

.info-box a {
  color: #6c5ce7;
  text-decoration: none;
  font-weight: bold;
}

.info-box a:hover {
  text-decoration: underline;
}

.team {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
}
.team:nth-child(even) {
  flex-direction: row-reverse;
}
.team img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 2px solid #bfae92;
  border-radius: 8px;
  background: #fff;
  padding: 0.5rem;
  box-shadow: 5px 5px 10px rgba(0,0,0,0.15);
}
.team .info {
  flex: 1;
  padding: 1rem;
}
.hand {
  font-family: 'Handlee', cursive;
}

/* Responsive Navigation Styles */
.nav-toggle {
  display: none;
  background: rgba(250, 244, 229, 0.95);
  border: 2px solid #c2b49c;
  font-size: 1.6rem;
  cursor: pointer;
  color: #333;
  font-family: 'Handlee', cursive;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

/* Large desktop styles for better spacing and visibility */
@media screen and (min-width: 1200px) {
  header {
    padding: 2rem 0;
  }
  
  nav a {
    margin: 0 2rem;
    font-size: 1.4rem;
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
  }
  
  nav a:hover {
    background-color: #f0ead5;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  nav a.active {
    background-color: #e8dcc0;
    border-bottom: 3px solid #4a7d4a;
  }
}

/* Ultra-wide desktop styles (4K monitors, etc.) */
@media screen and (min-width: 1600px) {
  header {
    padding: 2.5rem 0;
  }
  
  nav {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  nav a {
    margin: 0 2.5rem;
    font-size: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
  }
  
  nav a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  }
}

/* Standard desktop styles */
@media screen and (min-width: 1025px) and (max-width: 1199px) {
  nav a {
    margin: 0 1.6rem;
    font-size: 1.3rem;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    transition: all 0.2s ease;
  }
  
  nav a:hover {
    background-color: #f0ead5;
  }
  
  nav a.active {
    background-color: #e8dcc0;
  }
}

.nav-toggle:hover {
  background-color: #e8dcc0;
  border-color: #4a7d4a;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.nav-toggle:focus {
  outline: 2px solid #4a7d4a;
  outline-offset: 2px;
  background-color: #e8dcc0;
}

/* Tablet styles */
@media screen and (max-width: 1024px) {
  nav a {
    margin: 0 0.8rem;
    font-size: 1.1rem;
  }
  
  main {
    padding: 1rem 1.5rem;
  }
}

/* Mobile styles */
@media screen and (max-width: 768px) {
  header {
    padding: 1.5rem 1rem 1rem 1rem;
    position: relative;
  }
  
  .nav-toggle {
    display: block;
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    z-index: 10;
  }
  
  /* Ensure hamburger stays above decorative elements */
  header {
    z-index: 5;
    position: relative;
  }
  
  nav {
    display: none;
    width: 100%;
    background-color: #faf4e5;
    border-top: 1px solid #c2b49c;
    margin-top: 1rem;
    padding: 1rem 0;
    animation: slideDown 0.3s ease-out;
  }
  
  nav.active {
    display: block;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  nav a {
    display: block;
    margin: 0.5rem 0;
    padding: 0.5rem 1rem;
    text-align: center;
    border-bottom: 1px solid #e0d7c2;
  }
  
  nav a:last-child {
    border-bottom: none;
  }
  
  nav a.active {
    border-bottom: 2px solid #4a7d4a;
    background-color: #f0ead5;
  }
  
  main {
    padding: 1rem;
    margin: 1rem auto;
  }
  
  .team {
    flex-direction: column !important;
    text-align: center;
  }
  
  .team img {
    width: 150px;
    height: 150px;
    margin-bottom: 1rem;
  }
}

/* Small mobile styles */
@media screen and (max-width: 480px) {
  nav a {
    font-size: 1rem;
    padding: 0.7rem 1rem;
  }
  
  .team img {
    width: 120px;
    height: 120px;
  }
  
  main {
    padding: 0.5rem;
  }
  
  /* Enhanced hamburger visibility on small screens */
  .nav-toggle {
    font-size: 1.4rem;
    padding: 0.5rem 0.7rem;
    top: 0.5rem;
    right: 0.8rem;
    background: rgba(250, 244, 229, 0.98);
    border-width: 1px;
  }
  
  /* Hide decorative elements on very small screens */
  .decor {
    display: none;
  }
}

/* Additional responsive improvements */
@media screen and (max-width: 768px) {
  /* Reduce decorative element sizes on mobile */
  .decor {
    opacity: 0.6;
    transform: scale(0.7) !important;
  }
}
