* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Mukta", sans-serif;
}

body {
  height: 100vh;
}

.box-main {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 100px;
  height: 100vh;
  position: relative;
}

.box-info-text {
  width: 40%;
}

.logo-mario {
  width: 300px;
}

button {
  background-color: #c51111;
  color: #fff;
  width: 200px;
  height: 50px;
  border-radius: 10px;
  border: none;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 20px;
}

.logo-luigi-mario {
  width: 400px;
}

.box-video {
  position: fixed;
  top: 0;
  z-index: -1;
}

video {
  min-width: 100vw;
  min-height: 100vh;
}

.mask-video {
  background: linear-gradient(
    109deg,
    rgba(10, 12, 16, 0.85) 15%,
    rgba(10, 12, 16, 0.5) 40%,
    rgba(10, 12, 16, 0.85) 70%
  );
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  z-index: -1;
}

p {
  color: #fff;
  font-size: 16px;
  margin-bottom: 10px;
}

.header {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px;
}

.header img {
  width: 80px;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header a {
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  text-decoration: none;
}

.header a:hover {
  color: #c51111;
  font-size: 21px;
  transition: 0.5s ease-in-out;
}

.box-whatsapp-link {
  position: fixed;
  bottom: 15px;
  right: 15px;
}

.whatsapp-link img {
  width: 60px;
}

.whatsapp-link {
  cursor: pointer;
}
.whatsapp-link img:hover {
  width: 65px;
}

form {
  background-color: #fff;
  position: fixed;
  top: 40%;
  left: -340px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
  border-radius: 10px;
  width: 350px;
  z-index: 1;
  transition: 0.5s left ease-in-out;
}

form input {
  height: 40px;
  padding-left: 10px;
  border-radius: 10px;
  border: 1px solid gray;
  outline-color: #18d80f;
}

form textarea {
  height: 100px;
  padding: 10px 10px 0;
  border-radius: 10px;
  border: 1px solid gray;
  outline-color: #18d80f;
}

form button {
  width: 100%;
}

.mask-form {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  background: linear-gradient(
    109deg,
    rgba(10, 12, 16, 0.99) 15%,
    rgba(10, 12, 16, 0.7) 50%,
    rgba(10, 12, 16, 0.99) 85%
  );
  visibility: hidden;
  transition: 0.5s visibility ease-in-out;
}

/* CSS da página Nossos Serviços */

body:has(.box-services-banner) {
  background: linear-gradient(
    109deg,
    rgba(10, 12, 16, 0.85) 15%,
    rgba(10, 12, 16, 0.5) 40%,
    rgba(10, 12, 16, 0.85) 70%
  );
  min-height: 100vh;
}
/* ===== Banner "Nossos Serviços" ===== */
.box-services-banner {
  text-align: center;
  padding: 60px 20px 40px;
}

.box-services-banner h1 {
  color: #fff;
  font-size: 42px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.box-services-banner p {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}

/* ===== Grid de serviços ===== */
.box-services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px 100px 80px;
}

/* Estilo base compartilhado por todos os cards */
.box-services-list article {
  background-color: #14171c;
  border: 1px solid #2a2e35;
  border-top: 4px solid transparent;
  border-radius: 10px;
  padding: 15px 20px 25px;
  text-align: center;
  transition: 0.3s ease-in-out;
}

.box-services-list article:hover {
  transform: translateY(-6px);
}

.box-services-list img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.box-services-list h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.box-services-list p {
  color: #cfcfcf;
  font-size: 15px;
}

/* ===== Alternância de cores Mario (vermelho) / Luigi (verde) ===== */
.service-unclogging,
.service-installation,
.service-refurbishment {
  border-top-color: #c51111;
}

.service-unclogging:hover,
.service-installation:hover,
.service-refurbishment:hover {
  box-shadow: 0 10px 25px rgba(197, 17, 17, 0.25);
}

.service-unclogging h3,
.service-installation h3,
.service-refurbishment h3 {
  color: #e34747;
}

.service-leak,
.service-heaters,
.service-emergency {
  border-top-color: #1f9d55;
}

.service-leak:hover,
.service-heaters:hover,
.service-emergency:hover {
  box-shadow: 0 10px 25px rgba(31, 157, 85, 0.25);
}

.service-leak h3,
.service-heaters h3,
.service-emergency h3 {
  color: #3ecb84;
}

/* ===== Seção de orçamento (CTA final) ===== */
.box-budget {
  text-align: center;
  padding: 60px 20px 80px;
}

.box-budget h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 20px;
}

/* ===== Responsivo ===== */
@media (max-width: 900px) {
  .box-services-list {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px;
  }
}

@media (max-width: 600px) {
  .box-services-list {
    grid-template-columns: 1fr;
  }
}
