/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Video de fondo */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenido */
.content {
    position: relative;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Encabezado */
header {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
}

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
}

/* Flip-Box */
.flip-box-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.flip-box {
    width: 250px;
    height: 250px;
    margin: 20px;
    perspective: 1000px;
}

.flip-box-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}

.flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.flip-box-front {
    background: rgba(0, 0, 0, 0.8);
    color: white;
}

.flip-box-back {
    background: rgba(255, 255, 255, 0.9);
    color: black;
    transform: rotateY(180deg);
}

/* Botón en cada Flip-Box */
.flip-box-back .btn {
    background: #ff6600;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    margin-top: 10px;
    border-radius: 5px;
}

.flip-box-back .btn:hover {
    background: #0F52BA;
}

/* Sección de Llamado a la Acción */
.cta {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 40px;
}

/* Sección de Llamado a la Acción (CTA) */
.cta {
    background: rgba(0, 0, 0, 0.7); /* Fondo oscuro semi-transparente */
    color: white;
    text-align: center;
    padding: 50px 20px;
    margin-top: 40px;
    border-radius: 10px;
}

/* Título y texto en CTA */
.cta h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Botón en CTA */
.cta .btn {
    background: #4b3e35; /* Color llamativo */
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

/* Efecto Hover (al pasar el mouse) */
.cta .btn:hover {
    background: #0F52BA;
    transform: scale(1.05);
}


/* Pie de página */
footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    margin-top: 40px;
}


/* Sección Parallax */
.parallax {
    background-image: url('images/construccion-bg.jpg'); /* Imagen de fondo */
    height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 50px 20px;
}

/* Contenido dentro del parallax */
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Video de fondo */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenido */
.content {
    position: relative;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Encabezado */
header {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
}

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
}

/* Flip-Box */
.flip-box-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.flip-box {
    width: 250px;
    height: 250px;
    margin: 20px;
    perspective: 1000px;
}

.flip-box-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}

.flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.flip-box-front {
    background: rgba(0, 0, 0, 0.8);
    color: white;
}

.flip-box-back {
    background: rgba(255, 255, 255, 0.9);
    color: black;
    transform: rotateY(180deg);
}

/* Botón en cada Flip-Box */
.flip-box-back .btn {
    background: #0F52BA;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    margin-top: 10px;
    border-radius: 5px;
}

.flip-box-back .btn:hover {
    background: #0F52BA;
}

/* Sección de Llamado a la Acción */
.cta {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 40px;
}

/* Sección de Llamado a la Acción (CTA) */
.cta {
    background: rgba(0, 0, 0, 0.7); /* Fondo oscuro semi-transparente */
    color: white;
    text-align: center;
    padding: 50px 20px;
    margin-top: 40px;
    border-radius: 10px;
}

/* Título y texto en CTA */
.cta h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Botón en CTA */
.cta .btn {
    background: #4b3e35; /* Color llamativo */
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

/* Efecto Hover (al pasar el mouse) */
.cta .btn:hover {
    background: #0F52BA;
    transform: scale(1.05);
}


/* Pie de página */
footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    margin-top: 40px;
}


/* Sección Parallax */
.parallax {
    background-image: url('images/construccion-bg.jpg'); /* Imagen de fondo */
    height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 50px 20px;
}

/* Contenido dentro del parallax */
.parallax-content {
    background: rgba(0, 0, 0, 0.6); /* Fondo semitransparente */
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
}

/* Logo de la empresa */
.logo {
    width: 125px;
    height: auto;
    margin-bottom: 15px;
}

/* Títulos y textos */
.parallax h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.parallax p {
    font-size: 18px;
    line-height: 1.5;
}

/* Sección de Introducción a los Servicios */
.services-intro {
    background-color: #f8f9fa;
    text-align: center;
    padding: 50px 20px;
}

.services-intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.services-intro h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.services-intro p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

/* Botón para ver más servicios */
.services-intro .btn {
    background-color: #0F52BA;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.services-intro .btn:hover {
    background-color: #003d80;
}


/* Footer */
.footer {
    background-color: #222;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1100px;
    margin: auto;
}

.footer-section {
    margin: 15px;
    max-width: 250px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.footer-section p {
    font-size: 16px;
    color: #bbb;
    line-height: 1.5;
}

/* Íconos Sociales */
.social-icon {
    font-size: 24px;
    margin: 5px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.social-icon:hover {
    color:#0F52BA;
}

/* Copyright */
.footer-copy {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}


/* Fondo con imagen en el banner del servicio */
.service-banner {
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 50px 20px;
}

.banner-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
}

.service-description {
    text-align: center;
    padding: 50px 20px;
    background-color: #f8f9fa;
}

.service-description h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.service-description p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Galería de imágenes */
.gallery {
    text-align: center;
    padding: 50px 20px;
    background-color: white;
}

.gallery h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.gallery-container img {
    width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.3s;
}

.gallery-container img:hover {
    transform: scale(1.1);
}

/* Botón de regreso */
.back-btn {
    text-align: center;
    margin: 40px 0;
}

.back-btn .btn {
    background-color: #0056b3;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s;
}

.back-btn .btn:hover {
    background-color: #003d80;
}

/* Footer */
.footer {
    background-color: #222;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1100px;
    margin: auto;
}

.footer-section {
    margin: 15px;
    max-width: 250px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.footer-section p {
    font-size: 16px;
    color: #bbb;
    line-height: 1.5;
}

/* Iconos Sociales */
.social-icon {
    font-size: 24px;
    margin: 5px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.social-icon:hover {
    color: #6c77f3,
}

/* Copyright */
.footer-copy {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}

/* Galería de imágenes con mejor orden */
.gallery {
    text-align: center;
    padding: 50px 20px;
    background-color: white;
}

.gallery h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

/* Nueva estructura de la galería */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 900px;
    margin: auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
}

.gallery-container img {
    width: 100%;
    height: 250px; /* Tamaño uniforme */
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-container img:hover {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

/* Botón de cierre del Lightbox */
.close {
    position: absolute;
    top: 15px;
    right: 30px;
    color: white;
    font-size: 35px;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: red;
}

/* 🔹 Barra de Navegación */
.navbar {
    background-color: #002a4d;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* 🔹 Contenedor de la barra de navegación */
.navbar-container {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

/* 🔹 Logo */
.logo img {
    height: 50px;
}

/* 🔹 Menú de navegación */
.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding-bottom: 5px;
}

.nav-links a.active {
    font-weight: bold;
    border-bottom: 2px solid white;
}

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

/* 🔹 Botón de contacto */
.contact-btn {
    background-color: #6c77f3;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-btn:hover {
    background-color: #c88c42;
}

/* 🔹 Íconos de redes sociales */
.social-icons a {
    color: white;
    font-size: 18px;
    margin-left: 10px;
    text-decoration: none;
}

.social-icons a:hover {
    color: #6c77f3;

/* 🔹 Botón Menú Hamburguesa (Responsive) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* 🔹 Responsive */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #002a4d;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        padding: 15px;
        display: block;
    }

    .menu-toggle {
        display: block;
    }
}

/* 🔹 Sección con Fondo e Imagen */
.moving-text-section {
    background-image: url('img/galeria/dise001.png'); /* Asegúrate de que esta imagen existe */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto parallax */
    height: 350px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* 🔹 Texto en Movimiento */
.moving-text {
    white-space: nowrap;
    display: flex;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    width: 100%;
    position: absolute;
    animation: scrollText 10s linear infinite;
}

/* 🔹 Duplicamos el texto para efecto de bucle */
.moving-text span {
    padding-right: 50px; /* Espacio entre los textos */
}

/* 🔹 Animación de Desplazamiento */
@keyframes scrollText {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}


/* Eliminar márgenes y paddings innecesarios */
.moving-text-section {
    margin-bottom: 0;
    padding-bottom: 0;
}

footer {
    margin-top: 0;
    padding-top: 0;
}

/* 🔹 Barra de Navegación Mejorada */
.navbar {
    position: fixed;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: top 0.3s;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s;
}

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

.contact-btn {
    background: #6c77f3;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.contact-btn:hover {
    background: #6c77f3;
}

/* 🔹 Menú Móvil */
.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    display: none;
    cursor: pointer;
}

/* Responsivo */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
}


/* Logo de la empresa */
.logo {
    width: 125px;
    height: auto;
    margin-bottom: 15px;
}

/* Títulos y textos */
.parallax h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.parallax p {
    font-size: 18px;
    line-height: 1.5;
}

/* Sección de Introducción a los Servicios */
.services-intro {
    background-color: #f8f9fa;
    text-align: center;
    padding: 50px 20px;
}

.services-intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.services-intro h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.services-intro p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

/* Botón para ver más servicios */
.services-intro .btn {
    background-color: #0056b3;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.services-intro .btn:hover {
    background-color: #003d80;
}


/* Footer */
.footer {
    background-color: #222;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1100px;
    margin: auto;
}

.footer-section {
    margin: 15px;
    max-width: 250px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.footer-section p {
    font-size: 16px;
    color: #bbb;
    line-height: 1.5;
}

/* Íconos Sociales */
.social-icon {
    font-size: 24px;
    margin: 5px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.social-icon:hover {
    color: #6c77f3;
}

/* Copyright */
.footer-copy {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}


/* Fondo con imagen en el banner del servicio */
.service-banner {
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 50px 20px;
}

.banner-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
}

.service-description {
    text-align: center;
    padding: 50px 20px;
    background-color: #f8f9fa;
}

.service-description h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.service-description p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Galería de imágenes */
.gallery {
    text-align: center;
    padding: 50px 20px;
    background-color: white;
}

.gallery h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.gallery-container img {
    width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.3s;
}

.gallery-container img:hover {
    transform: scale(1.1);
}

/* Botón de regreso */
.back-btn {
    text-align: center;
    margin: 40px 0;
}

.back-btn .btn {
    background-color: #0056b3;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s;
}

.back-btn .btn:hover {
    background-color: #003d80;
}

/* Footer */
.footer {
    background-color: #222;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1100px;
    margin: auto;
}

.footer-section {
    margin: 15px;
    max-width: 250px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.footer-section p {
    font-size: 16px;
    color: #bbb;
    line-height: 1.5;
}

/* Iconos Sociales */
.social-icon {
    font-size: 24px;
    margin: 5px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.social-icon:hover {
    color: #6c77f3;
}

/* Copyright */
.footer-copy {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}

/* Galería de imágenes con mejor orden */
.gallery {
    text-align: center;
    padding: 50px 20px;
    background-color: white;
}

.gallery h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

/* Nueva estructura de la galería */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 900px;
    margin: auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
}

.gallery-container img {
    width: 100%;
    height: 250px; /* Tamaño uniforme */
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-container img:hover {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

/* Botón de cierre del Lightbox */
.close {
    position: absolute;
    top: 15px;
    right: 30px;
    color: white;
    font-size: 35px;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: red;
}

/* 🔹 Barra de Navegación */
.navbar {
    background-color: #002a4d;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* 🔹 Contenedor de la barra de navegación */
.navbar-container {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

/* 🔹 Logo */
.logo img {
    height: 50px;
}

/* 🔹 Menú de navegación */
.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding-bottom: 5px;
}

.nav-links a.active {
    font-weight: bold;
    border-bottom: 2px solid white;
}

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

/* 🔹 Botón de contacto */
.contact-btn {
    background-color: #6c77f3;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-btn:hover {
    background-color: #6c77f3;
}

/* 🔹 Íconos de redes sociales */
.social-icons a {
    color: white;
    font-size: 18px;
    margin-left: 10px;
    text-decoration: none;
}

.social-icons a:hover {
    color:#6c77f3;
}

/* 🔹 Botón Menú Hamburguesa (Responsive) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* 🔹 Responsive */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #002a4d;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        padding: 15px;
        display: block;
    }

    .menu-toggle {
        display: block;
    }
}

/* 🔹 Sección con Fondo e Imagen */
.moving-text-section {
    background-image: url('img/galeria/dise001.png'); /* Asegúrate de que esta imagen existe */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto parallax */
    height: 350px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* 🔹 Texto en Movimiento */
.moving-text {
    white-space: nowrap;
    display: flex;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    width: 100%;
    position: absolute;
    animation: scrollText 10s linear infinite;
}

/* 🔹 Duplicamos el texto para efecto de bucle */
.moving-text span {
    padding-right: 50px; /* Espacio entre los textos */
}

/* 🔹 Animación de Desplazamiento */
@keyframes scrollText {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}


/* Eliminar márgenes y paddings innecesarios */
.moving-text-section {
    margin-bottom: 0;
    padding-bottom: 0;
}

footer {
    margin-top: 0;
    padding-top: 0;
}

/* 🔹 Barra de Navegación Mejorada */
.navbar {
    position: fixed;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: top 0.3s;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s;
}

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

.contact-btn {
    background: #6c77f3;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.contact-btn:hover {
    background: #6c77f3;
}

/* 🔹 Menú Móvil */
.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    display: none;
    cursor: pointer;
}

/* Responsivo */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
}

}