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

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Arial', sans-serif;
  scroll-behavior: smooth;
  background: linear-gradient(50deg, #542323 0%, #970700 100%);
  color: #fff;
  background-size: 600% 600%;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 100;
  box-shadow: 0 1px 10px #111;
  backdrop-filter: blur(5px);
}

.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.logo a:hover {
  color: #ff4545;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

nav a:hover {
  color: #ff4545;
}

/* DAISY LOG */
.daisy-logo {
  width: 180px;
  height: 180px;
  margin-bottom: 1.5rem;
}

.daisy-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
}

/* SECTIONS */
section {
  width: 100%;
  padding: 8rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

h1, h2 {
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  max-width: 500px;
}

/* BOTÕES */
.btn {
  padding: 0.9rem 2rem;
  background: #e57c5e;
  color: #fff;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #ff7a5c;
  transform: scale(1.05);
}

/* LISTAS */
ul {
  list-style: none;
  text-align: left;
  max-width: 500px;
}

ul li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  width: 100%;
}

.card {
  box-shadow: 0 1px 10px #111;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-3px);
}

.card-title {
  font-weight: bold;
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #fff;
}

.card-title svg {
  vertical-align: middle;
}

.commands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.card-command {
  all: unset;
  background-color: #e57c5e;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}

.card-command:hover {
  transform: translateY(-3px);
  background-color: #ff4545;
}

.card-command-info {
  box-shadow: 0 1px 10px #111;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  color: white;
  padding: 0 20px;
  border-radius: 8px;
  margin-top: 5px;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
}

.card-command-info.open {
  max-height: 200px;
  opacity: 1;
  padding: 15px 20px;
}

.desc {
  font-weight: 600;
  text-align: center;
}

/* FOOTER */
footer {
  box-shadow: 0 1px 10px #111;
  width: 100%;
  padding: 2rem;
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header {
    flex-direction: space-between;
    gap: 0.5rem;
  }

  section {
    padding: 10rem 1rem 2rem;
  }
  
  .card {
    width: 90%;
  }
}
