/* Reset y estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lora', serif;
  color: #1B263B;
  background-color: #FFFFFF;
  line-height: 1.6;
}

/* Encabezado */
header {
  background-color: #1B263B;
  color: #FFFFFF;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 50px;
}

.logo h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
}
.logo a{
  text-decoration: none;
  color: white;
}

/* Navegación */
nav {
  font-family: 'Montserrat', sans-serif;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #D4A017;
}
nav a{
  text-decoration: none;
}
/* Botón hamburguesa (solo visible en móviles) */
.nav-toggle {
  display: none;
  font-size: 24px;
  color: #FFFFFF;
  background: none;
  border: none;
  cursor: pointer;
}

/* Estilos para móviles */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #1B263B;
    padding: 20px;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
  }

  nav ul li a {
    font-size: 18px;
  }
}

/* Sección Hero */
.hero {
  background-color: #E0E0E0;
  text-align: center;
  padding: 60px 20px;
}

.hero h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  transition: background-color 0.3s;
}

.btn-whatsapp:hover {
  background-color: #1EBE57;
}

/* Servicios */
.services {
  padding: 40px 20px;
  text-align: center;
}

.services h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  margin-bottom: 20px;
}
.service p {
  text-align: justify;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.service-grid div {
  background-color: #E0E0E0;
  padding: 20px;
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border 0.3s ease;
}

.service-grid div:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  background-color: #D4A017;
  border: 2px solid #1B263B;
}

.service-grid div:hover h3,
.service-grid div:hover p,
.service-grid div:hover a {
  color: #FFFFFF;
  text-align: justify;
}

/* Ubicaciones */
.locations {
  padding: 40px 20px;
  text-align: center;
}

.locations h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  margin-bottom: 20px;
}

.map-container {
  max-width: 800px;
  margin: 0 auto 20px;
}

.map-container iframe {
  width: 100%;
  height: 450px;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.location-grid div {
  background-color: #E0E0E0;
  padding: 20px;
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border 0.3s ease;
}

.location-grid div:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  background-color: #D4A017;
  border: 2px solid #1B263B;
}

.location-grid div:hover h3,
.location-grid div:hover p,
.location-grid div:hover a {
  color: #FFFFFF;
}

/* Contacto */
.contact {
  padding: 40px 20px;
  text-align: center;
}

.contact h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  margin-bottom: 20px;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact input,
.contact textarea {
  padding: 10px;
  border: 1px solid #E0E0E0;
  border-radius: 5px;
  font-family: 'Lora', serif;
}

.contact textarea {
  resize: vertical;
}

.contact label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact label a {
  color: #D4A017;
  text-decoration: underline;
}

.contact button {
  background-color: #D4A017;
  color: #FFFFFF;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact button:hover {
  background-color: #B8860B;
}

.success-message,
.error-message {
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
}

.success-message {
  background-color: #25D366;
  color: #FFFFFF;
}

.error-message {
  background-color: #FF0000;
  color: #FFFFFF;
}

/* Pie de página */
footer {
  background-color: #1B263B;
  color: #FFFFFF;
  text-align: center;
  padding: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

footer a {
  color: #D4A017;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

footer a:hover {
  text-decoration: underline;
}

.btn-whatsapp-footer {
  background-color: #25D366;
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-whatsapp-footer:hover {
  background-color: #1EBE57;
  text-decoration: none;
}

/* Símbolo Masónico */
.masonic-symbol {
  max-width: 20px;
  opacity: 0.5;
  margin-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}