* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header básico */
header {
  background: #111;
  color: white;
  padding: 1rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu a {
  color: white;
  text-decoration: none;
  margin-left: 1.5rem;
}

/* Footer básico */
footer {
  background: #222;
  color: white;
  padding: 2rem 0;
  margin-top: 3rem;
  text-align: center;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

/* Navbar negro sólido */
.navbar {
    background-color: #000 !important;
}

/* Espaciado entre links */
@media (min-width: 992px) {
    .navbar-nav .nav-item {
        margin: 0 1.5rem;
    }
}

/* Estilo de links */
.navbar .nav-link {
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Hover más limpio */
.navbar .nav-link:hover {
    color: #bfbfbf;
}

/* Ajuste visual del logo */
.navbar-brand img {
    height: 45px;
}

.navbar {
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

/* Footer negro sólido */
.footer-dark {
    background-color: #000;
}

/* Ajuste color enlaces footer */
.footer-dark a {
    color: #ccc;
}

.footer-dark a:hover {
    color: #fff;
}

/* Línea divisora más sutil */
.footer-dark hr {
    border-color: rgba(255,255,255,0.15);
}

.footer-dark {
    background-color: #000;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Hero ocupa pantalla completa */
.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Capa oscura encima de la imagen */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6); /* un poco más intenso */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

/* Ajuste de texto del hero */
.hero-overlay h1 {
    max-width: 900px;
}

@media (max-width: 768px) {
    .hero-overlay h1 {
        font-size: 1.8rem;
    }
}

.servicio-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.servicio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.12);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
}

.galeria-item img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galeria-item img:hover {
    transform: scale(1.03);
}