body {
  margin: 0;
  font-family: "Helvetica", sans-serif;
  background-color: #4a4948 !important;
  color: #333;
  overflow-y: auto;
}

/* ===== Navbar ===== */

.custom-navbar {
  background-color: #4a4948 !important;
  padding: 14px 40px;
}

.custom-navbar .navbar-brand {
  color: #ffffff !important;
  font-weight: 600;
  letter-spacing: 1px;
}

.custom-navbar .navbar-brand:hover {
  color: #ffd6cc !important;
}

.custom-navbar .nav-link {
  color: #ffffff !important;
  margin-left: 20px;
  font-family: "Zalando Sans", sans-serif;
  font-weight: 500;
  transition: color 0.3s ease;
}

.custom-navbar .nav-link:hover {
  color: #ffd6cc !important;
}

/* ===== Projects Section ===== */
/* ===== Hacer que todas las tarjetas tengan el mismo alto ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 30px;
  justify-items: center;
  padding: 40px 60px;
  background-color: #bfbfbf;
}

/* Cada tarjeta tendrá la misma altura dentro del grid */
.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 4px solid #a1a1a1;
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 540px;
  width: 100%;
}
.card a {
  display: inline-block;
  background-color: #4a4948;
  max-width: 90px;
  color: #fff;
  padding: 8px 10px;
  border-radius: 20px;
  text-decoration: none;
  border: 2px solid transparent;
  text-align: center;
  transition: all 0.3s ease;
}

.card a:hover {
  background-color: transparent;
  color: #4a4948;
  border: 2px solid #4a4948;
}

/* Asegura que el contenido interno ocupe todo el alto */
.project-card .row {
  flex: 1;
  height: 100%;
}

/* Mantén las imágenes proporcionadas dentro del alto fijo */
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; /* 👈 centra la parte visible */
  border-radius: 12px 0 0 12px;
}

/* Alinea el contenido del texto para llenar el espacio */
.project-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* Mantén la responsividad */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .project-card img {
    border-right: none;
    border-bottom: 4px solid #ffd5c7;
    border-radius: 12px 12px 0 0;
    height: 200px;
  }
}

/* Text styles */
.project-card .card-body {
  padding: 20px;
}

.project-card .card-title {
  font-family: "Zalando Sans", sans-serif;
  font-size: 1.3rem;
  color: #4a4948;
  margin-bottom: 10px;
}

.project-card .card-text {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
}

.project-card .card-tech {
  font-size: 0.85rem;
  color: #4a4948;
  font-weight: bold;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .project-card {
    max-width: 100%;
  }

  .project-card img {
    border-right: none;
    border-bottom: 4px solid #ffd5c7;
    border-radius: 12px 12px 0 0;
  }
}

.footer {
  background-color: #4a4948;
  color: #fff;
  padding: 40px 20px 15px;
  font-family: "Zalando Sans", sans-serif;
  text-align: center;
}

/* Grid layout: 3 columns, middle one empty for spacing */
.footer-container {
  display: grid;
  grid-template-columns: 1fr 0.4fr 1fr;
  justify-content: center;
  align-items: start;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 20px;
}

/* Columns */
.footer-left,
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Titles */
.footer-left h4,
.footer-right h4 {
  font-family: "Zalando Sans", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #ffe9e6;
}

/* Description */
.footer-left p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #f3f3f3;
  max-width: 360px;
  margin: 0;
}

/* Links */
.footer-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-right li {
  margin-bottom: 6px;
}

.footer-right a {
  color: #ffe9e6;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #ffd6cc;
}

/* Bottom line */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 10px;
  font-size: 0.85rem;
  color: #ccc;
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer {
    padding: 25px 16px 12px;
  }

  .footer-left p,
  .footer-right a {
    font-size: 0.85rem;
  }
}
