:root {
  --color-primary: #2563eb;
  --color-secondary: #1e40af;
  --color-bg: #f9fafb;
  --color-dark: #1f2937;
  --color-gray: #6b7280;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: var(--color-dark);
  background-color: var(--color-bg);
  line-height: 1.6;
}

.whatsapp-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25d366; /* Color verde de WhatsApp */
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #1ebf5b;
}

.whatsapp-button i {
  font-size: 1.5rem;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header {
  background: rgb(10, 2, 83);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

nav {
  display: flex;
  gap: 2rem;
}
h1{
    color: #ffffff;
}

nav a {
  font-weight: 500;
  transition: color 0.3s ease;
  color: #f9fafb;
}

nav a:hover {
  color: var(--color-primary);
}

/* Header y menú */
.navbar {
  background-color: #2c3e50;
  color: white;
  padding: 1rem 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 50px;
  height: auto;
}

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
}

.desktop-menu a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
}

/* Menú móvil */
.mobile-menu {
  position: absolute;
  top: 60px;
  right: 20px;
  background-color: white;
  color: #333;
  flex-direction: column;
  display: none;
  width: 200px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  padding: 12px 20px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s ease;
}

.mobile-menu a:hover {
  background-color: #f0f0f0;
}

/* Responsive */
@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin: 9px;
  }

  .mobile-menu {
    right: 15px;
    width: 80%;
  }
}
/* Hero Section */
.hero {
  background: url(imagen/ciudad1.png) no-repeat center center/cover;
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.375rem;
  text-align: center;
  transition: all 0.3s ease;
  margin-right: 1rem;
}

.btn-primary {
  
  background-color:rgb(10, 2, 83); 
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-secondary);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: var(--color-primary);
}

/* Services Section */
.services {
  padding: 4rem 0;
  background-color: #f3f4f6;
}

.services h2 {
  text-align: center;
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: var(--color-primary);
}



.service-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* About Section */
.about {
  padding: 4rem 0;
}

.about-content {
  display: flex;
  flex-direction: column-reverse;
  gap: 2rem;
}

@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
  }
  .container hero-content h2 {
    font-size: 1rem;
  }
}

.about-image img {
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-text {
  padding-left: 2rem;
}

.about-text h2 {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
/*carrusel*/

.carousel-section {
  padding: 4rem 0;
  background-color: #ffffff;
}

.carousel-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0.5rem;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-image {
  min-width: 100%;
  display: none;
  height: 500px;
  width: 200px;
  object-fit: cover;
}

.carousel-image.active {
  display: block;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 2;
}

.carousel-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 0;
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.next {
  right: 0;
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}

/* Contact Section */
.contact {
  padding: 4rem 0;
  background-color: #f3f4f6;
}

.contact h2 {
  text-align: center;
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  resize: vertical;
}

textarea {
  min-height: 120px;
}

.btn-submit {
  background-color: var(--color-primary);
  color: white;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: var(--color-secondary);
}

/*mapa*/
    .mp{
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px;
      background-color: #ffffff;
    }
      .section-containermp {
      max-width: 500px;
      width: 100%;
      padding: 20px;
      background-color: #ffffff;
      border-radius: 8px;
      text-align: center;
      margin-left: 20px;
    }

    .section-containermp h2 {
      font-size: 2.5rem;
      color: #333333;
      margin-bottom: 20px;
      font-weight: bold;
    }

    .map-container {
      position: relative;
      overflow: hidden;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    img.map-image {
      width: 90%;
      height: auto;
      border-radius: 8px;
      transition: transform 0.3s ease-in-out;
    }

    img.map-image:hover {
      transform: scale(1.05);
    }

    .marker {
      position: absolute;
      width: 40px;
      height: 40px;
      background-color: #ffcc00;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      transition: transform 0.3s ease-in-out;
    }

    .marker:hover {
      transform: scale(1.2);
    }

    .map-description {
      font-size: 1.2rem;
      color: #666666;
      margin-top: 20px;
      line-height: 1.6;
    }

/* Footer */
footer {
  background-color: rgb(10, 2, 83);
  color: #9ca3af;
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
  .container hero-content h2 {
    font-size: 1rem;
  }
}

.footer-section h3 {
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  color: #6b7280;
  font-size: 0.875rem;
  border-top: 1px solid #374151;
  padding-top: 1rem;
}
.btn-primary{
  margin: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .container hero-content h2 {
    font-size: 1rem;
  }

  .menu-toggle {
    display: block;
    margin: 9px;
  }
  .logo img{
    margin: 10px;
  }
}