*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
.mapa{
  position: relative;
  height: 120vh;
  width: 90%;
  left: 5%;
  border-radius: 5%;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
}

.navbar {
  background-color: #333;
  padding: 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 100px; 
  margin-bottom: 0% !important;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  height: 100%;
  padding: 0;
}

.logo {
  width: clamp(100px, 15vw, 200px);
  height: auto;
  transition: transform 0.3s ease;
  margin: 0;
  padding: 0;
}

.menu-icon {
  display: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.3s ease;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  white-space: nowrap;
}

.nav-links a:hover {
  color: #ed6e1e;
}

.hero {
  background: url('/imagenes/redmun_fondo.png') no-repeat center center/cover;
  height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 0px; 
  padding: 0;
  width: 100%;
  position: relative;
}

.cont_black {
  background-color: rgba(0, 0, 0, 0.7);
  padding: clamp(1rem, 5vw, 3rem);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
}

.title_welcom {
  font-size: clamp(2rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.title_welcom2 {
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  margin-bottom: 2rem;
}

header {
  margin: 0;
  padding: 0;
  display: block;
}

.carousel-inner > .item > img,
  .carousel-inner > .item > a > img {
      width: 60%;
      margin: auto;

  }
  
  .carousel-background-container {
    position: relative;
    width: 100%;
    height: auto; 
    overflow: hidden;
    background: url('/imagenes/pexels-efren-castillo-2065762-7865723.webp') no-repeat center center/cover;

  }
  
  .carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: blur(30%);
  }
  
  #theCarousel {
    position: relative;
    z-index: 2;
  }
  
@media (min-width: 992px) {
  .carousel-control-prev {
    left: -60px; 
  }
  
  .carousel-control-next {
    right: -60px; 
  }
}

 .pdf-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.pdf-container {
  flex: 1 1 45%;
  max-width: 500px;
  height: 600px; 
  border: 2px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background: #f9f9f9;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .pdf-container {
      flex: 1 1 100%; 
      height: 500px;
  }
}
.container2 {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 0;
}

.about, .location {
  padding: 4rem 1rem;
  text-align: center;
  width: 100%;
}

.about h2, .location h2 {
  color: #ed6e1e;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

.about p, .location p {
  max-width: 800px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
}

@media (max-width: 992px) {
  .nav-links {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .menu-icon {
    display: block;
    position: absolute;
    right: 20px;
    top: 25px; 
    margin: 0;
  }
  
  .nav-links {
    position: fixed;
    top: 100px; 
    left: -100%;
    width: 100%;
    height: calc(100vh - 100px);
    background-color: #333;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    transition: left 0.3s ease;
    align-items: center;
    margin: 0;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .hero {
    margin-top: 100px; 
    height: calc(100vh - 100px);
  }
}
.parrafo{
  text-align: justify;
}
@media (max-width: 576px) {
  .navbar {
    height: 70px;
  }
  
  .container {
    width: 100%;
    padding: 0 10px;
  }
  
  .logo {
    width: 100px;
    margin: 0;
  }
  
  .hero {
    height: calc(30vh - 0px);
    margin-top: 0px;
    display: none;
  }
  
  .title_welcom {
    font-size: 3.5rem;
    text-align: center;
  }
  
  .title_welcom2 {
    font-size: 1.5rem;
  }
  
  .about, .location {
    padding: 2rem 1rem;
  }
  
  .about h2, .location h2 {
    font-size: 1.8rem;
  }
  
  .carousel-inner .item img {
    height: 250px;
  }
  
  .nav-links {
    top: 70px;
    height: calc(100vh - 70px);
  }
  
  .menu-icon {
    top: 20px;
  }
.mapa{
    height: 50vh;
  }
}

.js-enabled .nav-links {
  display: none;
}

.js-enabled .nav-links.active {
  display: flex;
}

@media (min-width: 769px) {
  .js-enabled .nav-links {
    display: flex;
  }
}
@media (max-width: 576px) {
    .carousel-inner > .item > img,
    .carousel-inner > .item > a > img {
      width: 100%;
      margin: 0 auto; 
    }
  }
.periodicos-section {
            padding: 60px 0;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            font-family: 'Montserrat', sans-serif;
        }

        .periodicos-section h2 {
            text-align: center;
            color: #2c3e50;
            font-weight: 600;
            margin-bottom: 40px;
            font-size: 2.5rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
        }

        .periodicos-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .periodico-card {
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            overflow: hidden;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .periodico-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
            border-color: #3498db;
        }

        .periodico-header {
            background-color: #ed6e1e;
            padding: 20px;
            color: white;
            text-align: center;
        }

        .periodico-title {
            font-size: 1.3rem;
            font-weight: 600;
            margin: 0;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
        }

        .periodico-date {
            font-size: 0.9rem;
            opacity: 0.9;
            margin-top: 5px;
        }

        .pdf-viewer-container {
            position: relative;
            height: 400px;
            background: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }

        .pdf-placeholder {
            text-align: center;
            color: #6c757d;
            padding: 20px;
        }

        .pdf-placeholder i {
            font-size: 4rem;
            margin-bottom: 15px;
            color: #dc3545;
        }

        .btn-ver-pdf {
            background-color: #ed6e1e;
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 25px;
            font-weight: 600;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            margin: 15px;
        }

        .btn-ver-pdf:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
            color: white;
            text-decoration: none;
        }

        .btn-descargar {
            background-color: #ed6e1e;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 20px;
            font-weight: 500;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            margin: 5px;
            font-size: 0.9rem;
        }

        .btn-descargar:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(86, 171, 47, 0.4);
            color: white;
            text-decoration: none;
        }

        .no-periodicos {
            text-align: center;
            padding: 60px 20px;
            color: #6c757d;
        }

        .no-periodicos i {
            font-size: 5rem;
            margin-bottom: 20px;
            color: #dee2e6;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .periodicos-grid {
                grid-template-columns: 1fr;
                gap: 20px;
                padding: 0 15px;
            }

            .periodicos-section h2 {
                font-size: 2rem;
                margin-bottom: 30px;
            }

            .pdf-viewer-container {
                height: 300px;
            }

            .periodico-title {
                font-size: 1.1rem;
            }

            .btn-ver-pdf {
                padding: 10px 20px;
                font-size: 0.9rem;
            }
        }

        @media (max-width: 480px) {
            .periodicos-section h2 {
                font-size: 1.8rem;
            }

            .periodico-header {
                padding: 15px;
            }

            .pdf-viewer-container {
                height: 250px;
            }

            .btn-ver-pdf {
                padding: 8px 16px;
                font-size: 0.8rem;
            }
        }

        /* Animaciones */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .periodico-card {
            animation: fadeInUp 0.6s ease forwards;
        }

        .periodico-card:nth-child(2) {
            animation-delay: 0.1s;
        }

        .periodico-card:nth-child(3) {
            animation-delay: 0.2s;
        }

        .periodico-card:nth-child(4) {
            animation-delay: 0.3s;
        }