/* components.css */

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-primary {
  background: var(--accent-text);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: #fff;
  color: var(--accent-text);
  border: 2px solid var(--accent-text);
}

.btn-secondary:hover {
  background: var(--accent-text);
  color: #fff;
}

/* ===== SKILL CARDS ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  list-style: none;
  padding: 0;
}

.skill-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 280px;
}

.skill-card img {
  width: 70px;
  height: 70px;
  margin-bottom: 1rem;
}

.skill-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.skill-card p {
  font-size: 1rem;
  line-height: 1.5;
  flex-grow: 1;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .landing-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .landing-image img {
    margin: 2rem auto 0;
    max-width: 250px;
  }

  .skill-card {
    min-height: 340px;
    padding: 2.5rem 2rem;
  }

  .skill-card h3 {
    font-size: 1.7rem;
  }

  .skill-card p {
    font-size: 1.05rem;
  }
}
