/* LAYOUT */
.container {
  max-width: 1000px;
  margin: auto;
  padding: 0 20px;
}

.grid-3 {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* STYLES */
.btn {
  display: inline-block;
  background: white;
  color: var(--col-logo);
  padding: 12px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: bold;
  box-shadow: var(--shadow);
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover { background: #f0f0f0; transform: scale(1.03); }

/* HEADER */
header {
  background: var(--bg-light);
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
}

header .title { font-size: 1.5rem; color: var(--col-logo); }

header nav { margin: 8px auto; }
header nav ul { list-style: none; display: flex; gap: 20px; }
header nav a { margin-top: 8px; font-weight: 500; transition: color 0.3s ease;  }
header nav a:hover { color: var(--col-logo); }

/* COVER */
.cover {
  background: var(--col-logo);
  color: whitesmoke;
  padding: 100px 20px;
  text-align: center;
}

.cover h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cover p { font-size: 1.2rem; margin-bottom: 2rem; }

/* CARDS */
.cards {
  background: #f0f4f8;
  padding: 60px 20px; 
}

.card {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.card h3 {
  color: var(--col-logo);
  margin-bottom: 10px;
}

/* FOOTER */
footer {
  background: var(--bg-dark);
  border-top: 1px solid #e0e0e0;
  text-align: center;
  padding: 16px 0;
  color: #666;
  font-size: 0.9rem;

  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%; 
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header nav ul { flex-direction: column; gap: 10px; }

  .cover h2 { font-size: 2rem; }
}
