/* ================= GENERAL ================= */
body {
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #F1B00E;
}

h2 {
    font-weight: bold;
    margin-bottom: 1rem;
}

a.btn {
  text-decoration: none;
  transition: background-color 0.3s ease;
}

a.btn:hover {
  background-color: #0056b3;
}

.navbar-brand img {
  max-height: 50px; /* Ajusta el tamaño del logo */
  width: auto;
}

/* ================= HEADER HERO ================= */
.header-hero {
    position: relative;
    height: 600px; /* Ajusta la altura */
    background-image: url(../images/header.jpg), -webkit-repeating-linear-gradient(270deg,rgba(204,29,32,1.00) 44.04%,rgba(243,243,243,1.00) 100%);
    background-image: url(../images/header.jpg), -moz-repeating-linear-gradient(270deg,rgba(204,29,32,1.00) 44.04%,rgba(243,243,243,1.00) 100%);
    background-image: url(../images/header.jpg), -o-repeating-linear-gradient(270deg,rgba(204,29,32,1.00) 44.04%,rgba(243,243,243,1.00) 100%);
    background-image: url(../images/header.jpg), repeating-linear-gradient(180deg,rgba(204,29,32,1.00) 44.04%,rgba(243,243,243,1.00) 100%); /* Tu image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-hero .overlay {
    background-color: rgba(0,0,0,0.60); /* Oscurece la imagen para texto legible */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 1rem;
    background-image: -webkit-linear-gradient(270deg,rgba(8,94,244,0.33) 0%,rgba(9,42,99,0.75) 42.48%,rgba(11,11,11,1.00) 100%);
    background-image: -moz-linear-gradient(270deg,rgba(8,94,244,0.33) 0%,rgba(9,42,99,0.75) 42.48%,rgba(11,11,11,1.00) 100%);
    background-image: -o-linear-gradient(270deg,rgba(8,94,244,0.33) 0%,rgba(9,42,99,0.75) 42.48%,rgba(11,11,11,1.00) 100%);
    background-image: linear-gradient(180deg,rgba(8,94,244,0.33) 0%,rgba(9,42,99,0.75) 42.48%,rgba(11,11,11,1.00) 100%);
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-subtitle, .hero-subtitle-en {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.btn-primary {
  background-color: #ff9900;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
}

.btn-primary:hover {
  background-color: #e68a00;
}
#logo-grande {
}
#logo-grande .container .text-light {
    color: #F8BA34;
}



/* ================= RESPONSIVE ================= */
@media (max-width: 767px) {
  .header-hero {
    height: 450px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle, .hero-subtitle-en {
    font-size: 1rem;
  }

  .btn-primary {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
}

#logo-grande {
  background: url('../img/header.jpg') center/cover no-repeat;
  position: relative;
}
#logo-grande::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}
#logo-grande .container {
  position: relative;
  z-index: 2;
}


/* ================= NOSOTROS / ABOUT US ================= */
#nosotros, #about {
  padding: 5rem 0;
}

#nosotros img, #about img {
  max-height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

#nosotros h2, #about h2 {
  font-weight: bold;
  color: #222;
}

#nosotros p, #about p {
  color: #555;
  line-height: 1.7;
}

/* ================= SERVICIOS ================= */
#servicios {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

#servicios .card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#servicios .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

#servicios .card-img-top {
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

#servicios .card:hover .card-img-top {
  transform: scale(1.08);
}

#servicios h3 {
  font-weight: bold;
  margin-top: 15px;
}

#servicios p {
  font-size: 0.95rem;
  color: #555;
}

/* ================= BOTONES ================= */
.btn-primary {
  background-color: #ff9900;
  border: none;
}

.btn-primary:hover {
  background-color: #e68a00;
}

/* ================= FOOTER ================= */
footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

/* Redes sociales footer */
footer .bi {
  transition: transform 0.3s ease, color 0.3s ease;
}

footer .bi:hover {
  transform: scale(1.3);
  color: #ff9900;
}


/* ================= RESPONSIVE ================= */
@media (max-width: 767px) {
  #nosotros img, #about img {
    max-height: 300px;
  }
  header h1 {
    font-size: 2rem;
  }
}

@media screen{
#logo-grande {
    background-image: url(../images/nostros.JPG);

}

}

/* Estilos formulario contacto */
form {
    background:white;
    padding:30px;
    border-radius:10px;
    box-shadow:0 4px 15px rgba(0,0,0,0.1);
}

form input, form textarea {
    width:100%;
    padding:12px;
    border:1px solid #ccc;
    border-radius:5px;
    outline:none;
    margin-bottom:10px;
}

form button {
    width:100%;
    padding:12px;
    background:#007BFF;
    color:white;
    border:none;
    border-radius:5px;
    cursor:pointer;
    font-weight:bold;
    transition:0.3s;
}

form button:hover {
    background:#0056b3;
}
/* Efecto hover del botón de formulario */
form button {
    background: #007BFF; /* Color normal */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px;
    width: 100%;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

form button:hover {
    background: #28a745; /* Color al pasar el cursor */
}
