body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: #fffb00;
  color: #000;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 0;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

header h1 {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.nav-menu li a {
  color: #000;
  text-decoration: none;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

.nav-menu li a:hover {
  color: #fff;
  background-color: #000;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: #000;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.hero {
  background-image: url('images/Flyer.png');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px;
  border-radius: 8px;
}

.hero-content a {
  margin: 10px;
}

.hero h2 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.btn {
  background-color: #fffb00;
  color: #000;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #e0a800;
}

#services {
  padding: 60px 0;
  background-color: #fff;
  text-align: center;
}

#services h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #000;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: #fff9c4;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 16px;
}

#about {
  padding: 60px 0;
  background-color: #f5f5f5;
}

.about-flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-content {
  flex: 1;
  text-align: left;
}

.about-content h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000;
}

.about-content p {
  font-size: 18px;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

#book-home-service {
  padding: 60px 0;
  background-color: #fff;
  text-align: center;
}

#book-home-service h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #000;
}

.home-service-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.5rem;
  margin: 1rem 0;
}

.gallery-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.05);
}

.gallery-image {
  cursor: zoom-in;
}

#community {
  padding: 60px 0;
  background-color: #f9f9f9;
}
#community .container {
  max-width: 800px;
  margin: 0 auto;
}
#auth-section {
  margin-bottom: 20px;
}
#post-form {
  margin-bottom: 20px;
}
#post-message {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}
#posts-feed {
  margin-top: 20px;
}
.post {
  background: white;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.post p {
  margin: 5px 0;
}
.post span {
  color: #666;
  font-size: 0.9em;
}

#contact {
  padding: 60px 0;
  background-color: #fff;
}

.contact-flex {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.contact-content {
  flex: 1;
}

.contact-content h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000;
}

.contact-info {
  margin-bottom: 30px;
}

.contact-info p {
  font-size: 16px;
  margin: 10px 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.input-field {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.input-field:focus {
  outline: none;
  border-color: #fffb00;
  box-shadow: 0 0 5px rgba(255, 251, 0, 0.76);
}

.contact-image {
  flex: 1;
}

.contact-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    background-color: #fffb00;
    padding: 15px;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li a {
    display: block;
    padding: 10px;
    text-align: center;
  }

  .nav-menu li a:hover {
    background-color: #000;
    color: #fff;
  }

  .hero h2 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  header nav {
    flex-direction: row;
    align-items: center;
  }

  .about-flex {
    flex-direction: column;
    gap: 20px;
  }

  .contact-flex {
    flex-direction: column;
    gap: 20px;
  }

  .about-content,
  .contact-content {
    text-align: center;
  }

  .about-image img,
  .contact-image img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 420px) {
.hero-content {
  display: flex;
  flex-direction: column;
}
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}