body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f1eb;
  color: #3d2b1f;
}

section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

.container {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.container-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
}

.icon {
  width: 85px;
  height: 85px;
}

.text {
  flex: 1;
}

h2 {
  font-size: 2rem;
  margin-bottom: 5px;
}

p {
  letter-spacing: 1px;
  line-height: 1.6;
  font-size: 1.1rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #3d2b1f;
  padding: 15px;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #3d2b1f;
}

.logo {
  font-size: 24px;
  color: #fff;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
  padding: 0 !important;
}

nav ul li a:hover {
  color: #d4a373;
}

.banner {
  max-width: 100%;
  background: url("../img/banner.webp") no-repeat center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 120px 20px;
}

.banner .overlay {
  max-width: 900px;
  margin: auto;
  background-color: rgb(61, 43, 31, 0.8);
  padding: 20px 20px 40px 20px;
  border-radius: 10px;
}

.banner h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.banner .btn {
  text-decoration: none;
  margin-top: 20px;
  padding: 14px 30px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 10px;
  background: #fff5e9;
  color: #3d2b1f;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.offer {
  text-align: center;
}

.offer-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.offer-item {
  max-width: 280px;
  text-align: center;
  font-size: 1rem;
}

.offer-text {
  font-size: 1rem;
}

.services-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.service-item {
  max-width: 360px;
  min-width: 280px;
  text-align: center;
}

.register {
  max-width: 100%;
  background: url("../img/back.webp") no-repeat center/cover;
  text-align: center;
  color: white;
}

.register .overlay {
  max-width: 900px;
  margin: auto;
  background-color: rgb(61, 43, 31, 0.8);
  padding: 20px 20px 40px 20px;
  border-radius: 10px;
}

.register form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.register input {
  width: 100%;
  padding: 10px 0;
  text-align: center;
  border: none;
  border-radius: 5px;
}

.register button {
  text-decoration: none;
  margin-top: 10px;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 10px;
  background: #684b2f;
  color: #fff5e9;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.gallery-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-grid img {
  max-width: 380px;
}

footer {
  background-color: #3d2b1f;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .offer .grid,
  .services .grid,
  .gallery .grid {
    flex-direction: column;
    align-items: center;
  }

  header {
    flex-direction: column;
    text-align: center;
  }

  .offer-item {
    max-width: 360px;
  }

  .logo {
    display: none;
  }

  .banner {
    padding: 30px 20px;
  }

  .header-container {
    justify-content: center;
  }

  h1 {
    font-size: 2rem !important;
  }

  h2 {
    text-align: center;
    font-size: 1.8rem;
  }

  section {
    padding: 40px 20px;
  }
}
