:root {
  /* CSS Variables for theming */
  --primary-color: #4CAF50; /* Green */
  --secondary-color: #f44336; /* Red */
  --font-family: Arial, Helvetica, sans-serif;
  --font-size: 16px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
  margin: 0;
  padding: 0;
}

/* Header and Navbar */
header {
  position: fixed;
  height: 60px;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #f8f3ee; /* consistent background color */
}

.navbar {
  display: flex;
  gap: 15px; /* Reduced gap to bring links closer together */
  align-items: center;
  height: 60px; /* Keep fixed height */
  padding: 0 20px;
  background-color: #f8f3ee; /* Consistent background color */
}

.navbar a {
  font-size: 1.1em;
  font-weight: bold;
  line-height: 60px; /* vertically center text */
  padding: 0 10px;
  color: #3a2e2a;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  height: 60px;
  box-sizing: border-box;
}

.navbar a.active {
  border-bottom: 2px solid #c9a68a;
}

.navbar a:hover {
  cursor: pointer;
  transition: color 0.7s ease;
  text-shadow: 0 0 6px rgba(201, 166, 138, 0.5);
  color: #c9a68a;
}

.main {
  padding-top: 60px;
}

/* Footer styling */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 10px 0;
  position: fixed;
  bottom: 0;
  width: 100%;
}

footer a {
  color: white;
  text-decoration: none;
}
.menu-btn{
  display: none; /* Hidden by default, shown on mobile */
}

/* Mobile-Friendly: For screens smaller than 768px */
@media only screen and (max-width: 768px) {
  .navbar {
    flex-direction: column; /* Stack links vertically */
    align-items: stretch; /* Stretch navbar items */
  }

  .navbar a {
    width: 100%; /* Make each link take up full width */
    text-align: left; /* Align text to the left */
    padding: 14px 20px; /* Increase padding for better touch targets */
  }

  /* Menu Button for Mobile */
  .menu-btn {
    display: block;
    background-color: #333;
    color: white;
    padding: 14px;
    text-align: center;
    cursor: pointer;
    font-size: 18px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Initially hide navbar links on mobile */
  .navbar-links {
    display: none;
    width: 100%;
  }

  /* Toggle links visibility on menu button click */
  .navbar.active .navbar-links {
    z-index: 1001;
    display: block;
    background-color: #f8f3ee;
  }
}
