
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  background-color: #0f0f1a;
  color: #f5f5f5;
}

.background {
  position: relative;
  min-height: 100vh;
  background-image: url('casas.jpeg');
  background-size: cover;
  background-position: center;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1;
  backdrop-filter: blur(4px);
}

.content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 20px 80px;
}

header {
  z-index: 3;
}

header nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #1f1147, #3b0d5a);
  padding: 20px 0;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  text-align: center;
  transition: all 0.3s ease-in-out;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 14px;
  font-size: 1.1em;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

nav a::after {
  content: '';
  display: block;
  width: 0%;
  height: 2px;
  background: gold;
  transition: width 0.3s;
  margin: 0 auto;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: gold;
}


h1 {
  font-size: 2.8em;
  color: #e4c6ff;
  margin-bottom: 15px;
}

h4 {
  font-size: 1.1em;
  color: #ccc;
  margin: 8px auto;
  max-width: 800px;
  line-height: 1.6;
}

.casa {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 30px;
  margin: 40px auto;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease;
}

.casa:hover {
  transform: translateY(-5px);
}

.casa img {
  max-width: 160px;
  margin-bottom: 20px;
  border-radius: 12px;
}

.casa h2 {
  font-size: 2em;
  color: #d1b3ff;
  margin-bottom: 12px;
}

.casa p {
  font-size: 1.05em;
  color: #f0f0f0;
  line-height: 1.5;
}


a.botao {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 24px;
  background: linear-gradient(90deg, #5c2ca4, #9d4edd);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  transition: background 0.3s ease;
}

a.botao:hover {
  background: linear-gradient(90deg, #472183, #7b2cbf);
}

@media screen and (max-width: 7680px) {
  header nav {
    padding: 20px 0;
  }

  nav a {
    display: inline-block;
    margin: 10px 14px;
  }

  .content {
    padding: 120px 20px 80px;
  }

  .casa {
    padding: 30px;
  }

  .casa img {
    max-width: 160px;
  }

  h1 {
    font-size: 2.8em;
  }

  h4 {
    font-size: 1.1em;
  }
}

  footer {
    background-color: rgba(20, 42, 63, 0.95);
    padding: 20px;
    text-align: center;
    margin-top: 50px;
  }

  footer p, footer a {
    color: #ffffff;
    font-size: 0.95em;
  }

  footer a {
    color: #4b2e83;
    text-decoration: none;
    margin: 0 12px;
  }

  .footer-icons a {
    margin: 0 10px;
    font-size: 1.2em;
    color: #6b59d3;
  }

  .footer-icons a:hover {
    color: #ffd700;  }

    a[target="_blank"] {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 18px;
  background-color: #3d3d5c;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s;
}

a[target="_blank"]:hover {
  background-color: #5e5e8a;
}