/* ===== Global Resets ===== */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background-color: transparent;
  max-width: 1200px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

/* ===== Header ===== */
header {
  background-color: #fff;
  padding: 10px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h1 {
  font-size: 28px;
  margin: 0;
  color: #f00;
}

h1 a {
  text-decoration: none;
  color: #f00;
}

/* ===== Navigation Menu ===== */
nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 20px;
}

#menu {
  position: relative;
  right: 20%;
}

nav a {
  color: #f00;
  text-decoration: none;
  font-size: 20px;
}

nav a:hover {
  color: #f00;
}

/* ===== Burger Icon ===== */
#bars {
  display: none;
  position: absolute;
  right: 50px;
  top: 20px;
  width: 30px;
  height: 3px;
  background: red;
  cursor: pointer;
}

#bars::before,
#bars::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 3px;
  background: #f00;
  transition: 0.3s;
}

#bars::before {
  top: -8px;
}

#bars::after {
  top: 8px;
}

/* ===== Main ===== */
main {
  margin-top: 100px; /* Space for fixed header */
  padding: 15px;
}

main div {
  width: 100%;
  margin: 0 auto;
}

main div p {
  line-height: 25px;
  width: 80%;
  margin: 0 auto;
}

main h1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 30px;
}

main img {
  display: block;
  width: 80%;
  height: auto;
  margin: 30px auto;
}

/* ===== Contact Form ===== */
#contact-form {
  padding: 2rem;
  background: #f4f4f4;
  border-radius: 10px;
  max-width: 600px;
  margin: 2rem auto;
}

#contact-form h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

#contact-form form {
  display: flex;
  flex-direction: column;
}

#contact-form label {
  margin-top: 1rem;
  font-weight: bold;
}

#contact-form input,
#contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

#contact-form button {
  margin-top: 1.5rem;
  padding: 0.75rem;
  background-color: #cc0000;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

#contact-form button:hover {
  background-color: #a50000;
}

/* ===== Footer ===== */
footer {
  background-color: #333;
  margin-top: 40px;
  padding: 20px;
  color: #fff;
  text-align: center;
}

/* ===== Phone Button ===== */
.phone {
  display: block;
  margin: 20px auto;
  color: white;
  background-color: #f00;
  font-size: 20px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* ===== Responsive Design ===== */
@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
  }

  #bars {
    display: block;
  }

  #menu {
    background-color: #fff;
    width: 100%;
    height: 50vh;
    position: absolute;
    top: 60px;
    left: 0;
    display:none ;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    gap: 20px;
  }

  #menu.active {
    display: block;
  }
#menu.active li a{
  position: relative;
  left: 45%;
  color: #f00;
}
  nav li {
    margin: 10px 0;
  }

  main div p {
    width: 95%;
  }

  main img {
    width: 95%;
  }

  h1 {
    font-size: 24px;
  }

  .phone {
    font-size: 18px;
    width: 90%;
    text-align: center;
  }
}
