/* Resetando tudo */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Open Sans', sans-serif;
  scroll-behavior: smooth;
}

/* Fundo heroico com animação */
header.hero {
  position: relative;
  height: 100vh;
  background: url('imagens/fundo.jpg') center/cover no-repeat;
  background-attachment: fixed;
  animation: moveBackground 30s ease-in-out infinite alternate;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

@keyframes moveBackground {
  0% { background-position: center top; }
  100% { background-position: center bottom; }
}

header.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

header.hero .content {
  position: relative;
  z-index: 1;
}

h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 48px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

p {
  font-size: 20px;
  margin-top: 10px;
}

.button {
  display: inline-block;
  margin-top: 20px;
  padding: 15px 30px;
  background: linear-gradient(45deg, #d53d3d, #ff5e5e);
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(213, 61, 61, 0.5);
  transition: all 0.4s ease;
}

.button:hover {
  background: linear-gradient(45deg, #a82e2e, #d53d3d);
  box-shadow: 0 0 20px rgba(168, 46, 46, 0.8);
  transform: scale(1.05);
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  z-index: 10;
  transition: background 0.3s ease;
}

.navbar:hover {
  background: rgba(0, 0, 0, 0.8);
}

.navbar .logo {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  color: white;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ff5e5e;
}

.server-description {
  margin-top: 30px;
  font-size: 20px;
  line-height: 1.8;
  color: #cce7ff;
  font-style: italic;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.features {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 40px 20px;
  gap: 30px;
}

.card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
  width: 280px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

footer {
  background: linear-gradient(to right, #1d1d1d, #2c2c2c);
  padding: 20px;
  text-align: center;
  color: #aaa;
  font-size: 14px;
  margin-top: 50px;
  letter-spacing: 1px;
}
