:root {
  --clr-primary: #3498db;
  --clr-primary-hover: #2980b9;
  --clr-bg: #f5f6fa;
  --clr-text: #333;
  --font-base: 'Open Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-base);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
}

header h1 {
  text-align: center;
  margin: 20px 0;
  font-size: 2.5rem;
  color: #2c3e50;
}

.cv-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.cv-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.cv-card figure {
  margin: 0;
  position: relative;
}

.cv-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.cv-card figcaption {
  padding: 10px;
  font-weight: 600;
  background-color: #f0f0f0;
}

.info {
  padding: 15px;
}

.info a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  background-color: var(--clr-primary);
  color: #fff;
  transition: background-color 0.3s ease;
}

.info a:hover {
  background-color: var(--clr-primary-hover);
}

.badge {
  background-color: #e67e22;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 8px;
  margin-left: 6px;
  vertical-align: middle;
}

.btn--premium {
  background-color: #e67e22;
}

@media (max-width: 768px) {
  .cv-card img {
    height: 180px;
  }
}

@media (max-width: 600px) {
  .cv-card img {
    height: 150px;
  }
}
/* Footer styles */
.site-footer {
  background-color: var(--clr-footer-bg);
  color: var(--clr-footer-text);
  padding: 20px 0;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-footer p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--clr-footer-text);
  text-decoration: underline;
}

.social-links a {
  margin: 0 8px;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--clr-primary);
}

@media (max-width: 600px) {
  .site-footer {
    padding: 15px 0;
  }

  .social-links a {
    margin: 0 5px;
    font-size: 0.8rem;
  }
}
