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

/* Variables */
:root {
    --primary: #6a0dad; /* Morado principal */
    --secondary: #9f4dff; /* Morado claro */
    --accent: #00bfae; /* Verde agua */
    --background-dark: #1a1a1a;
    --background-light: #f4f4f4;
}

/* Global Styles */


body.home {
    background: url('../images/hero-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    padding-top: 80px; /* Altura del navbar fijo */
    font-family: 'Poppins', sans-serif;
    color: white;
}

body.about {
    background: url('../images/about.png') no-repeat center center fixed;
    background-size: cover;
    padding-top: 80px; /* Altura del navbar fijo */
    font-family: 'Poppins', sans-serif;
    color: white;
}


body.contact {
    background: url('../images/redcontac.png') no-repeat center center fixed;
    background-size: cover;
    padding-top: 80px; /* Altura del navbar fijo */
    font-family: 'Poppins', sans-serif;
    color: white;
}
body.blog {
    background: url('../images/blog.png') no-repeat center center fixed;
    background-size: cover;
    padding-top: 80px; /* Altura del navbar fijo */
    font-family: 'Poppins', sans-serif;
    color: white;
}
body.services {
    background: url('../images/services.png') no-repeat center center fixed;
    background-size: cover;
    padding-top: 80px; /* Altura del navbar fijo */
    font-family: 'Poppins', sans-serif;
    color: white;
}   
body.faq    {
    background: url('../images/faq2.png') no-repeat center center fixed;
    background-size: cover;
    padding-top: 80px; /* Altura del navbar fijo */
    font-family: 'Poppins', sans-serif;
    color: white;
}
/* Typography */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
}

/* Header */
.header-with-image {
    position: relative;
    background-color: transparent;
    height: 85vh;
  /*  background: url('../images/hero-bg.jpg') no-repeat center center fixed; */

    overflow: hidden;
    z-index: 1;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    background-color: transparent;
    z-index: 2; /* debajo del contenido pero encima de la imagen */
}

.hero-content {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
    padding: 30px 40px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 25px var(--primary), 0 0 50px var(--secondary); /* brillo morado */
    border: 2px solid rgba(159, 77, 255, 0.6); /* borde semi-transparente */
    animation: pulse-glow 2s infinite ease-in-out;
}


.header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.header-image img {
    width: 100%;
    height: 90%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-content h1,
.hero-content h2 {
    text-shadow:
        0 0 5px var(--primary),
        0 0 10px var(--primary),
        0 0 20px var(--secondary),
        0 0 30px var(--secondary);
}





.hero-content h1 {
    font-size: 3rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Navbar */

nav, .navbar {
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

nav {
    background-color: rgba(0, 0, 0, 0.6); /* o sólido si preferís */
    backdrop-filter: blur(8px);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1001;
  }
  
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    transition: background-color 0.3s ease;
    z-index: 1000;
}

  
  .navbar .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 8px 15px;
  }

nav .logo img {
    max-width: 150px;
    filter: drop-shadow(0 0 15px var(--primary));
    transition: filter 0.3s ease;
}

nav .logo img:hover {
    filter: drop-shadow(0 0 20px var(--secondary));
}

.nav-links {
  display: flex;
  gap: 20px;
}

nav .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 2.1rem;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s ease, filter 0.3s ease;
}

nav .nav-links a:hover {
    background-color: #4e0061;
    filter: drop-shadow(0 0 20px var(--secondary));
}

.nav-links li {
    list-style: none;
  }
  .nav-links a {
    font-weight: 500;
    font-size: 1.1rem;
    color: #e0e0e0;
    letter-spacing: 0.5px;
    padding: 10px 16px;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
  #navbar-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

  



/* Hero Section */
.hero {
    color: white;
    padding: 100px 20px;
    text-align: center;
    min-height: 300px;
}

.hero p {
    margin-bottom: 3.5rem;
}

.hero h1,
.hero h2 {
    margin-bottom: 1.5rem;
}


.hero .btn {
    background: linear-gradient(45deg, #ff6ec4, #7873f5);
    font-size: 1.5rem;
    padding: 15px 30px;
    border-radius: 50px;
    transition: transform 0.3s ease;
    color: white;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.hero .btn:hover {
    transform: scale(1.1);
}

/* Sections */
section {
    padding: 100px 20px;
}

.hero-content, .services, .contact, .blog,.about,.faq {
    padding: 80px 20px;
}

/* Services Section */
.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centra los elementos horizontalmente */
    align-items: center; /* Centra los elementos verticalmente */
    gap: 40px;
    padding: 60px 20px;
    background-color: rgba(0, 0, 0, 0.3);
    min-height: 100vh; /* Asegura que la sección ocupe toda la altura de la pantalla */
}

.service-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    width: 300px;
    min-height: 400px;
    text-align: center;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    backdrop-filter: blur(5px);
    margin-bottom: 20px; /* Añadir un espacio abajo para mayor separación */
    margin: 0 auto; /* Centrar el elemento */
    padding: 20px; /* Añadir un poco de espacio interno */
}

.service-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(106, 13, 173, 0.4);
}

.service-item img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.service-item h2 {
    font-size: 1.5rem;
    margin: 20px 0 10px;
}

.service-item p {
    font-size: 1rem;
    padding: 0 15px 20px;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);

  margin: 5% auto;
  padding: 30px;
  width: 90%;
  max-width: 600px;
  position: relative;
  animation: fadeIn 0.3s ease;
  text-align: center;
  color: #ffffff; /* ✅ Texto blanco */
}

.modal-content h2,
.modal-content p {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7); /* ✅ Sombra para legibilidad */
}

.modal-content img {
  width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}

.close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
}

.close:hover {
  transform: scale(1.2);
  color: #ff5252;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* Contact Section */
.contact {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #5f0057, #2d0033);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.contact h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

form {
    display: grid;
    gap: 15px;
    padding: 20px;
}

form label {
    font-size: 1.1rem;
}

form input, form textarea {
    padding: 12px;
    font-size: 1rem;
    border-radius: 8px;
    border: 2px solid #fff;
    background-color: #fff;
    color: #333;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

form input:focus, form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

form button {
    background-color: #9f4dff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #6a0dad;
}


/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    width: 100%;
}

/* Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    nav .nav-links {
        flex-direction: column;
        align-items: center;
        padding-top: 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .services {
        flex-direction: column;
        align-items: center;
    }

    .service-item {
        width: 90%;
    }
}

/* Blog Section */
/* Blog Section */
.blog {
    padding: 60px 20px;
    text-align: center;
    background-color: #121212; /* fondo oscuro */
    color: #fff;
 
}

.glass-section {
    background: rgba(255, 255, 255, 0.1); /* fondo blanco transparente */
    backdrop-filter: blur(10px); /* difumina lo que está detrás */
    -webkit-backdrop-filter: blur(10px); /* soporte Safari */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    color: #fff;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  }

.blog h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

/* Contenedor de las publicaciones */
.blog-posts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Estilo de cada post */
.post {
    background: rgba(255, 255, 255, 0.05); /* efecto glass */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    padding: 20px;
    flex: 1 1 calc(33.33% - 40px);
    max-width: calc(33.33% - 40px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
}

.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.1);
}

.post img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    width: 330px;
    height: 220px;
}

.post h2 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.post p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
}

.post .meta {
    font-size: 0.9rem;
    color: #999;
    margin-top: 10px;
}

.btn-read-more {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    font-size: 1.1rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.btn-read-more:hover {
    background-color: #555;
}

/* Responsividad */
@media (max-width: 1024px) {
    .post {
        flex: 1 1 calc(50% - 40px);
        max-width: calc(50% - 40px);
    }
}

@media (max-width: 600px) {
    .post {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5); /* fondo semi-transparente */
    backdrop-filter: blur(10px); /* efecto glass si querés */
  }
  

  @keyframes pulse-glow {
    0% {
        box-shadow: 0 0 15px var(--primary), 0 0 30px var(--secondary);
    }
    50% {
        box-shadow: 0 0 25px var(--primary), 0 0 60px var(--secondary);
    }
    100% {
        box-shadow: 0 0 15px var(--primary), 0 0 30px var(--secondary);
    }
}
@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 10px var(--primary), 0 0 20px var(--secondary);
    }
    50% {
        text-shadow: 0 0 15px var(--secondary), 0 0 30px var(--accent);
    }
}

.hero-content h1,
.hero-content h2 {
    animation: glow 2s ease-in-out infinite;
}


.social-media {
    text-align: center;
    margin: 50px 0;
    background: #f5f5f5;
    padding: 40px 20px;
    border-top: 3px solid #1f1c2c;
    border-bottom: 3px solid #1f1c2c;
}

.social-media h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1f1c2c;
}

.social-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-links li a {
    text-decoration: none;
    color: #1f1c2c;
    font-weight: 600;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.social-links li a:hover {
    color: #ff5e5e;
}

.social-links i {
    font-size: 20px;
}


.about section.about {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 60px 40px;
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0 8px 30px rgba(106, 13, 173, 0.3);
    animation: fadeInUp 1s ease forwards;
}

.about section.about h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--primary), 0 0 20px var(--secondary);
    animation: glow 2s ease-in-out infinite;
    text-align: center;
}

.about section.about .subtitle {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 30px;
    text-align: center;
}

.about section.about p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #f0f0f0;
    margin-bottom: 20px;
    text-align: justify;
}

.mission-vision {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 40px;
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.mission-vision h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
    font-size: 2.2rem;
    text-shadow: 0 0 10px var(--primary);
}


.mission-vision h3 {
    font-size: 1.6rem;
    margin-top: 20px;
    color: var(--accent);
}

.mission-vision p,
.mission-vision li {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #f0f0f0;
    text-align: justify;
}

.mission-vision ul {
    margin-left: 20px;
    list-style-type: square;
}






/* FAQ Section */
.faq {
    background: rgba(255, 255, 255, 0.1); /* Fondo ligero */
    backdrop-filter: blur(10px); /* Efecto glass */
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #f4f4f4;
    max-width: 1200px;
    margin: 40px auto;
}

.faq h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--secondary);
    text-align: center;
}

.question-answer {
    background: rgba(0, 0, 0, 0.2); /* Fondo oscuro para las preguntas */
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px;
    transition: background-color 0.3s ease;
}

.question-answer h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.question-answer p {
    font-size: 1.1rem;
    color: #f4f4f4;
    line-height: 1.6;
}

.question-answer:hover {
    background-color: rgba(0, 0, 0, 0.4); /* Efecto hover */
}

@media (max-width: 768px) {
    .faq h1 {
        font-size: 2rem;
    }

    .question-answer {
        padding: 15px;
    }

    .question-answer h2 {
        font-size: 1.5rem;
    }

    .question-answer p {
        font-size: 1rem;
    }
}


  

