/* Reset de estilo */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fuente base */
body {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  color: #ddb27d;
  line-height: 1.6;
}

/* Estilos del Header */
header {
  background-color: #d7d7d6; /* Color de fondo */
  padding: 2px 0;
}

.mainaviso {
  margin-top: 9%;
}

.mainaviso ol {
  font-size: 15px;
  text-align: left;
}

.principal {
   color: black;
  background-color: white;
  opacity: 0.97;
  background-size: cover;
  text-align: center;
  font-size: 1.5em;
  margin-left: 5.5%;
  margin-right: 5.5%;
  
}



.aviso {
  color: white;
  background-color: rgb(0, 0, 0);
  opacity: 0.95;
    background-size: cover;
  text-align: center;
  font-size: 1.5em;
  margin-left: 5.9%;
  margin-right: 5.9%;

}

.right1 {
  text-align: right;
  margin-right: 10%;
  margin-top: 2%;
  color: black;
   flex: 1;
  min-width: 200px;
  margin-right: 20px;
}

.logo {
color: black;
    text-align: left;
    padding: 0%;
    margin-top: 2%;
    margin-right: 5%;
    margin-left: 5%;
     display: flex;
  align-items: center;
  justify-content: center;
}



nav ul ul {
  position: absolute;
  background-color: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  display: none; /* Oculto por defecto */
}

nav ul li:hover > ul {
  display: block; /* Mostrar cuando se hace hover */
}


@media (max-width: 768px) {
  nav ul ul {
    position: static;
    display: block;
    width: 100%;
    background-color: #ffffff;
    box-shadow: none;
    padding: 5px;
  }

  nav ul li:hover > ul {
    display: block;
  }

  nav ul ul li {
    margin: 5px 0;
  }
  
}

@media (max-width: 991.98px) {
  .navbar-collapse.show .dropdown-menu {
    background: #fff !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-radius: 10px;
    
  }
  .navbar-collapse.show .dropdown-menu .dropdown-item {
    color: #3d3d3d;
  }
  .navbar-collapse {
    overflow-y: hidden !important;
    scrollbar-width: none; /* Firefox */
  }
  .navbar-collapse::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
  }
}

nav {
  height: 100px; /* o lo que necesites */
  background-image: url('./img/fondonav/fondonav.png');
  background-size: cover;      /* para que se estire y cubra */
  background-position: center; /* centrada siempre */
    display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
   position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}


nav img {
  max-width: 100px;
  height: auto;
}

nav ul {
 list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
      flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
  }
}

nav ul li {
  margin: 0 10px;
}

nav ul li a {
  color: #3d3d3d;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #3f64cb; /* color del hover */
}

.parrafo1 {
    color: #2d60ea;
}

.parrafo2 {
  text-align: center;
}

.parrafo3 {
  opacity: 1;
  text-align: center;
}


/* Sección Hero */
#hero {
  background-size: cover;
  color: #fff;
  text-align: center;
  padding: 150px 0;
  color: #333;
}

#hero .hero-content h1 {
  font-size: 50px;
  margin-bottom: 20px;
}

#hero .hero-content p {
  font-size: 20px;
}

/* Sección Acerca de Nosotros */
#about {
  background-image: url('./img/fondonav/fondonav.png');
  background-attachment: fixed; /* Imagen fija */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: #ddb27d;
  background-color: #054d47;
  opacity: 0.97;
  padding: 60px 20px;
  text-align: left;
  font-size: 1.5em;
  margin-left: 5.5%;
  margin-right: 5.5%;
}

#aboit {
  color: #ddb27d;
  background-color: #054d47;
  opacity: 0.97;
  background-size: cover;
  padding: 60px 20px;
  text-align: left;
  margin-left: 5.5%;
  margin-right: 5.5%;

}

#aboit h2 {
  color: white;
}

#about h2 {
  color: #ddb27d;
  font-size: 36px;
  margin-bottom: 40px;
}

#about h4 {
  color: white;
}

#about p {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 20px;
}


#somos {
  background-color: #ffffff;
  opacity: 0.9;
  font-size: 1.5em;
  background-size: cover;
  margin-left: 5.5%;
  margin-right: 5.5%;

}
/* Sección Servicios */
#services {
  background-color: #ffffff;
  opacity: 0.9;
  padding: 60px 20px;
  text-align: right;
  font-size: 1.5em;
  background-size: cover;
  margin-left: 5.5%;
  margin-right: 5.5%;
}

.btn-glow {
  background: #ddb27d;
  color: white;
  border: none;
  font-size: small;
  border-radius: 10px;
  font-weight: bold;
  text-shadow: 0 0 3px rgba(0,0,0,0.3);
  box-shadow: 0 0 10px #ddb27d55;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-glow:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #959594aa;
}

.btn-glow2 {
  background: #ddb27d;
  color: white;
  border-radius: 10px;
  font-size: small;

}

#services h2 {
  color: #ddb27d;
  font-size: 36px;
  margin-bottom: 40px;
}

#services p {
  color: black;
}

.service-item {
  margin-bottom: 40px;
}

.service-item h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.service-item p {
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
}

/* Footer */
footer {
  background-color: #c3c2c1;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-family: Arial, sans-serif;
  margin-left: 5.5%;
  margin-right: 5.5%;
}


.left{
    text-align: left;
    margin-left: 5%;
    padding: auto;
}

.negrita {
  color: black;
  font-style:oblique
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 20px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin-right: 20px;
  color: white
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style-type: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 5px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #333;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

button {
  background-color: #0693e3;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  margin-top: 10px;
}


button:hover {
  background-color: #1d4d48;
}

.contact-form {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.contact-form h2 {
  text-align: center;
  font-size: 30px;
  color: #333;
  margin-bottom: 20px;
}

.contact-form .form-group {
  margin-bottom: 15px;
}

.contact-form label {
  display: block;
  font-size: 20px;
  color: #555;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  background-color: #0693e3;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #005bb5;
}

video {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  background-size: cover;
  background-repeat: repeat;
}


.contactotexto {

  color: #ddb27d;
  font-size: 50px;
}

  .btn-navbar-highlight {
    color: #ddb27d !important;
  }

   .navbar-gold-btn {
    background-color: #ddb27d !important;
    color: white !important;
    border-radius: 10px;
    padding: 6px 14px;
    transition: all 0.3s ease;
    font-weight: 500;
    cursor: pointer;
  }
    .navbar-gold-btn:hover {
    background-color: #1d4d48 !important;
    color: white !important;
    }
    .dropdown-menu {
  z-index: 1055 !important;
}

.imagen-ampliada {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 2rem;
}

.imagen-ampliada a img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s;
}

.imagen-ampliada a img:hover {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999999; /* Aumentamos a lo bestia para que no lo tape nadie */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 0 10px #000;
}

.lightbox:target {
  display: flex;
}

/* Botón cerrar */
.lightbox .cerrar {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 3rem;
  text-decoration: none;
  z-index: 10000;
}

.benefits ul {
  list-style-type: disc;
  padding-left: 20px;
}
.benefits li {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 20px;
  margin-left: 20px;
}

div.benefits {
  margin-bottom: 28px;
}

/* Tabla precios */
#about table {
  width: 100%;
  max-width: 700px;
  margin: 40px auto;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  font-size: 1.1em;
}

#about th, #about td {
  padding: 16px 12px;
  text-align: left;
}

#about thead th {
  background: #ddb27d;
  color: #000000;
  font-size: 1em;
  letter-spacing: 1px;
  border-bottom: 2px solid #c9a06a;
}

#about tbody tr {
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

#about tbody tr:hover {
  background: #f7f3ee;
}

#about td {
  color: #0c0c0c;
}

#about td:last-child {
  text-align: right;
  font-weight: bold;
  color: #a67c52;
}

@media (max-width: 600px) {
  #about table, #about thead, #about tbody, #about th, #about td, #about tr {
    display: block;
    width: 100%;
  }
  #about thead {
    display: none;
  }
  #about td {
    padding: 12px 8px;
    text-align: left;
    border-bottom: 1px solid #eee;
    position: relative;
  }
  #about td:last-child {
    text-align: left;
    font-weight: bold;
    color: #a67c52;
  }
}