:root {
  --primary: #0d6efd;
  --secondary: #6c757d;
  --accent: #00c9a7;
  --dark-bg: #212529;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f4f6f9;
  color: #333;
}

h1, h2, h3, h4, h5 {
  color: #212529;
}

.btn-custom {
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-custom:hover {
  background-color: #00b294;
}

header {
  position: relative;
  height: 75vh;
  overflow: hidden;
  color: white;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

header::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.4));
  z-index: 1;
}

header .overlay-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* === Portfolio Cards === */
.card.portfolio-item {
  background-color: white;
  border: 1px solid #eaeaea;
  border-radius: 1.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  transform: translateY(0);
}

.card.portfolio-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.card.portfolio-item .card-img-top {
  border-top-left-radius: 1.25rem;
  border-top-right-radius: 1.25rem;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card.portfolio-item:hover .card-img-top {
  transform: scale(1.03);
}

/* === Footer === */
footer {
  background: var(--dark-bg);
  color: #ccc;
  padding: 2rem 0;
  font-size: 0.9rem;
}

footer small {
  color: #999;
}

/* === Animaciones opcionales === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Logos de Clientes === */
.client-logo {
  filter: grayscale(60%);
  transition: filter 0.3s ease;
  max-height: 80px;
  object-fit: contain;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

.client-logo:hover {
  filter: none;
}
