/* Base layout */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  color: #222;
}



/* Header Section */
.header-menu-container {
  background: linear-gradient(to right, #8b0000, #b22222);
  color: #fff;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}
/* Left: Logo */
.logo-container {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.header-logo {
  height: 300px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.5));
  transition: transform 0.3s ease;
}
.header-logo:hover {
  transform: scale(1.05);
}
/* Center: Text */
.header-content {
  flex: 2;
  text-align: center;
  padding: 20px 10px;
}
.header-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.header-content h2 {
  font-size: 1.4rem;
  font-weight: normal;
  margin-bottom: 10px;
}
.header-content p {
  font-style: italic;
  font-size: 1rem;
  color: #f0f0f0;
}
/* Right: Menu */
.menu {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  position: relative;
  right: 10px;
}
.menu-button {
  background: none;
  color: white;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.menu-button:hover {
  background-color: rgba(0, 0, 0, 0.2);
}
.dropdown {
  position: absolute;
  top: 40px;
  right: 0;
  background-color: #8b0000;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  z-index: 10;
}
.dropdown a {
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  text-align: left;
}
.dropdown a:hover {
  background-color: rgba(0, 0, 0, 0.3);
}
.menu:hover .dropdown {
  display: flex;
}
.menu.active .dropdown {
  display: flex;
}





/* Footer */
footer {
  background-color: #8b0000;
  color: white;
  text-align: center;
  padding: 5px 5px;
  font-size: 0.9rem;
}


/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    animation: fadeIn 0.8s ease-out;
}

@media (max-width: 768px) {
  .header-menu-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 10px;
  }

  .logo-container {
    justify-content: center;
    margin-bottom: 10px;
  }

  .header-logo {
    height: 140px;
  }

  .header-content {
    padding: 10px;
  }

  .header-content h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .header-content h2 {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  .header-content p {
    font-size: 0.9rem;
  }

  .menu {
    position: absolute;
    top: 10px;
    right: 10px;
    justify-content: flex-end;
  }

  .menu-button {
    font-size: 1.2rem;
    
  }

  .dropdown a {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  section {
    padding: 0 10px;
  }

  footer {
    font-size: 0.8rem;
    padding: 10px;
  }
}
