@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200&display=swap');
@import url("navi.css");
@import url("forms.css");
@import url("tables.css");

html {
    overflow-y: scroll;
}

body {
    margin: 0;
    padding: 0;
    font-size: .9rem;
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    color: #555;
    text-align: justify;
    background-color: #FFFFFF;
}

.justify {
    text-align: justify;
}

.bold {
    font-weight: bold;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.nostart {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.clear {
    clear: both;
}

br.clear {
    clear: both;
    margin-top: -15px;
}

a {
    outline: none;
    text-decoration: none;
}

.fl_left,
.imgl {
    float: left;
}

.fl_right,
.imgr {
    float: right;
}

img {
    display: block;
    margin: 0;
    padding: 0;
    border: none;
}

.imgl,
.imgr {
    border: 1px solid #999999;
    padding: 5px;
}

.imgl {
    margin: 0 8px 8px 0;
    clear: left;
}

.imgr {
    margin: 0 0 8px 8px;
    clear: right;
}

/* ----------------------------------------------Wrapper------------------------------------- */

div.wrapper {
    display: block;
    position: relative;
    width: 960px;
    margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-weight: bold;
    line-height: normal;
    text-align: center;
    font-family: "Outfit", sans-serif;
}

.social-icons-minimal {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  
  .social-icons-minimal a {
    color: #555;
    font-size: 20px;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  
  .social-icons-minimal a:hover {
    color: white;
    transform: translateY(-2px);
  }
  
  .social-icons-minimal a[title="WhatsApp"]:hover { background-color: #25D366; }
  .social-icons-minimal a[title="Facebook"]:hover { background-color: #3b5998; }
  .social-icons-minimal a[title="Instagram"]:hover { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  }
  .social-icons-minimal a[title="TikTok"]:hover { background-color: #000000; }
  
  #topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:10px 0;
  }
  
  .fl_left {
    display: flex;
    align-items: center;
    gap: 20px;
  }

/* ----------------------------------------------Generalise------------------------------------- */

#header,
#topbar,
#homecontent,
#imageline,
#container,
#breadcrumb,
#footer {
    display: block;
    width: 960px;
}

/* ----------------------------------------------Header------------------------------------- */

#header {
    padding: 30;
    border-bottom: 1px dotted #999999;
}

#header .fl_left {
    display: block;
    float: left;
    width: 260px;
}

#header .fl_left h1,
#header .fl_left p {
    margin: 0;
    padding: 0;
    line-height: normal;
}

#header .fl_left h1 {
    font-size: 42px;
}

#header h1 a {
    color: #666666;
    background-color: #ffffff;
}

/* ----------------------------------------------Header------------------------------------- */

#topbar {
    padding: 20px 0 0 0;
}

#topbar .fl_left p {
    margin: 0 0 6px 0;
    padding: 0;
}

/* ----------------------------------------------Homepage Intro------------------------------------- */

#intro {
    display: block;
    width: 900px;
    margin: 5px 0 0 0;
    padding: 30px;
    color: #666666;
    background-color: #F0F0F0;
    font-family: "Outfit", sans-serif;
}

#intro a {
    color: #097c4a;
    font-weight: bold;
    background-color: #F0F0F0;
}

#intro .fl_left {
    display: block;
    float: left;
    width: 360px;
}

#intro .fl_right {
    display: block;
    float: right;
    width: 500px;
}

#intro .fl_right h2,
#intro .fl_right ul,
#intro .fl_right p {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: normal;
}

#intro .fl_right h2 {
    font-size: 40px;
    margin: 15px 0;
    color: #097c4a;
}

#intro .fl_right p {
    line-height: 1.6em;
    font-size: 17px;
}

/* ================ Estilos para el popup de redes sociales ===============*/
.social-popup {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 15px;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    display: none;
}

.social-popup.show {
    transform: translateY(0);
    opacity: 1;
    display: block;
}

.close-popup {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    color: #999;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: #555;
}

.social-header {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
    padding-right: 15px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.whatsapp {
    background-color: #25D366;
}

.facebook {
    background-color: #3b5998;
}

.instagram {
    background-color: #E1306C;
}

.tiktok {
    background-color: #000000;
}


/* ============== CARRUCEL DE NOTICIAS =================== */
.news-carousel {
    max-width: 1000px;
    margin: 30px auto;
    position: relative;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 30px 20px 20px;
}

.slide-content h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.slide-content p {
    margin: 0 0 15px;
    font-size: 16px;
    line-height: 1.4;
}

.read-more {
    display: inline-block;
    color: white;
    background-color: #097c4a;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: #4bc08d;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: white;
}


/* ----------------------------------------------Footer------------------------------------- */

#footer {
    background-color: #f4f3f3;
    color: #555;
    padding: 2px 0;
    font-family: 'Arial', sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-copyright {
    padding: 5px 0;
}

.footer-copyright p {
    margin: 8px 0;
    font-size: 14px;
}

.footer-copyright a {
    color: #097c4a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: #96c5b0;
    text-decoration: underline;
}

/* ----------------------------------------------Copyright------------------------------------- */

#copyright {
    display: block;
    width: 940px;
    padding: 10px;
}

#copyright,
#copyright a {
    color: #666666;
    background-color: #F6F6F6;
}

#copyright p {
    margin: 0;
    padding: 0;
}

/* ----------------------------------------------carrucel------------------------------------- */
/* Estilos mejorados para el carrusel */
#imageline-carousel {
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
}

.carousel-header {
    text-align: center;
    margin-bottom: 20px;
}

.carousel-header h3 {
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 8px;
}

.carousel-header p {
    color: #7f8c8d;
    font-size: 1.2rem;
}

.carousel-track {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-track li {
    scroll-snap-align: start;
    flex: 0 0 auto;
    transition: transform 0.3s ease;
}

.carousel-track li:hover {
    transform: translateY(-5px);
}

.carousel-track a {
    display: block;
    text-decoration: none;
    text-align: center;
    position: relative;
}

.carousel-track img {
    width: 174px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    filter: grayscale(30%);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.carousel-track a:hover img {
    filter: grayscale(0%);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.carousel-caption {
    display: block;
    margin-top: 8px;
    color: #34495e;
    font-size: 14px;
    font-weight: 500;
}

.carousel-footer {
    text-align: center;
    margin-top: 20px;
    color: #7f8c8d;
    font-style: italic;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-track {
        justify-content: flex-start;
        padding: 0 15px;
    }

    .carousel-header h3 {
        font-size: 18px;
    }
}

#imageline-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 10px 0;
}

#imageline-carousel .carousel-track {
    display: flex;
    width: max-content;
}

#imageline-carousel .carousel-track li {
    flex: none;
    margin: 0 10px;
    list-style: none;
}

#imageline-carousel .carousel-track img {
    width: 174px;
    height: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

#imageline-carousel .carousel-track img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}