/* Importar Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@200&family=Lato:wght@400&display=swap');

/* Elimina el scroll horizontal en toda la página */
html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 300; /* Texto normal */
    margin: 0;
    padding: 0;
    background-color: #DCDCDC;
    color: #000;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, 
.hero-text, 
.profile-info h3, 
.project-title, 
.lightbox-title {
    font-weight: 200; /* Títulos ultra-light */
    letter-spacing: 0.5px; /* Opcional: mejora legibilidad en pesos livianos */
}

/* Refuerza el weight en elementos interactivos para mejor contraste */
.nav-link, .filter-btn, .lightbox-link {
    font-weight: 300 !important;
}


/* ====================== */
/* NAVBAR MOBILE-FIRST */
/* ====================== */

/* Estilo BASE para móvil (siempre como "scrolled") */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 15px 0;
    z-index: 1000;
    transition: background 0.3s, box-shadow 0.3s;
}

/* Mobile: Fondo blanco siempre */
@media (max-width: 991.98px) {
    .navbar {
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1) !important;
    }
    
    .navbar-brand {
        opacity: 1 !important;
    }
    
    .nav-link {
        color: #000 !important;
    }
    
    .nav-link.active {
        color: #F39200 !important;
    }
    
    /* Toggler en móvil (color oscuro) */
    .custom-toggler .toggler-line {
        background: #333 !important;
        animation: none !important;
    }
    
    /* Menú desplegable */
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        margin-top: 10px;
        border-radius: 8px;
        padding: 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
}

/* Desktop: Comportamiento original (transparente al inicio) */
@media (min-width: 992px) {
    .navbar {
        background: transparent !important;
        box-shadow: none !important;
    }
    
    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1) !important;
    }
    
    .navbar-brand {
        opacity: 0;
        transition: opacity 0.3s;
    }
    
    .navbar.scrolled .navbar-brand {
        opacity: 1;
    }
    
    .nav-link {
        color: white !important;
    }
    
    .navbar.scrolled .nav-link {
        color: black !important;
    }
    
    .navbar.scrolled .nav-link.active {
        color: #F39200 !important;
    }
    
    /* Toggler en desktop (naranja con animación) */
    .custom-toggler .toggler-line {
        background: rgba(243, 146, 0, 0.9) !important;
        animation: pulse-opacity 3s ease-in-out infinite !important;
    }
}

/* Animación del toggler (solo desktop) */
@keyframes pulse-opacity {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.custom-toggler {
    border: none;
    padding: 0.5rem;
    outline: none;
    transition: all 0.3s ease;
}

.custom-toggler:focus {
    box-shadow: 0 0 0 2px rgba(243, 146, 0, 0.3);
}

.toggler-icon {
    display: block;
    position: relative;
    width: 24px;
    height: 18px;
}

.toggler-line {
    position: absolute;
    display: block;
    height: 2px;
    width: 100%;
    background: rgba(243, 146, 0, 0.9);
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.3s ease;
}

.toggler-line-top {
    top: 0;
    transform-origin: left center;
}

.toggler-line-middle {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
}

.toggler-line-bottom {
    bottom: 0;
    transform-origin: left center;
}

/* Animación al abrir */
.custom-toggler[aria-expanded="true"] .toggler-line-top {
    transform: rotate(45deg);
    top: -1px;
    left: 3px;
    width: 110%;
}

.custom-toggler[aria-expanded="true"] .toggler-line-middle {
    width: 0%;
    opacity: 0;
}

.custom-toggler[aria-expanded="true"] .toggler-line-bottom {
    transform: rotate(-45deg);
    bottom: -1px;
    left: 3px;
    width: 110%;
}

/* Efecto hover */
.custom-toggler:hover .toggler-line {
    background: rgba(243, 146, 0, 1);
    box-shadow: 0 0 2px rgba(243, 146, 0, 0.8);
}

/* Pequeña animación de "respiración" cuando está inactivo */
@keyframes pulse-opacity {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.custom-toggler:not([aria-expanded="true"]) .toggler-line {
    animation: pulse-opacity 3s ease-in-out infinite;
}


/* Secciones */
section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
}

/* Sección de Inicio con Video de Fondo */

#inicio {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
}

    #loader {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #111111;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 0;
    }
    .spinner {
        border: 1px solid #111111;
        border-top: 4px solid #FF6600;
        border-right: 4px solid #111111;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: spin 1s linear infinite;
    }
    /* Fadeout */
    #loader.fade-out {
    opacity: 0;
    visibility: hidden;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

/* Video de Fondo */
#inicio video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-content.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ajusta el logo */
.hero-logo {
    max-width: 300px; /* Ajusta el tamaño según necesidad */
    width: 100%;
    height: auto;
}

/* Estilos del texto */
.hero-text {
    font-size: 2rem;
    margin-top: 10px;
}


#inicio h1 {
    font-size: 3rem;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards;
}

/* Sección Nosotros */
#contenedorNosPro {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    background: #DCDCDC;
}
#nosotros {
    background: transparent;
    padding: 100px 20px 20px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#nosotros h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 20px;
}

#nosotros .intro-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Fuente light para todo el texto */
.profile-card {
    text-align: left;
    display: flex;
    align-items: stretch; /* Ajuste para igualar altura */
    background: #222; /* Fondo más oscuro para mejor contraste */
    color: white;
    border-radius: 8px; /* Bordes más suaves */
    max-width: 1000px; /* Un poco más ancho */
    margin: 40px auto; /* Más espacio vertical */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.profile-card img {
    width: 30%;
    min-height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(110%);
    transition: filter 0.5s ease;
}

.profile-card:hover img {
    filter: grayscale(0%) contrast(120%);
}

.profile-info {
    padding: 30px;
    flex: 1;
}

.profile-info h3 {
    font-size: 1.6rem;
    margin: 0 0 15px 0;
    line-height: 1.4;
    position: relative;
    padding-bottom: 15px;
}

/* Subrayado decorativo */
.profile-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #F39200;
}

/* Estilo para los links */
.profile-info a {
    color: #F39200;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.profile-info a:hover {
    color: white;
}

/* Efecto subrayado al hover */
.profile-info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

.profile-info a:hover::after {
    width: 100%;
}

.profile-info p {
    line-height: 1.8;
    margin: 20px 0 0 0;
    opacity: 0.9;
    letter-spacing: 0.3px;
    font-size: 1.05rem;
}

/* Efecto de iluminación sutil */
.profile-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #F39200, transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 10px;
}

.profile-card:hover::before {
    opacity: 0.15;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
    }
    
    .profile-card img {
        width: 100%;
        max-height: 300px;
    }
    
    .profile-info {
        padding: 25px;
    }
    
    .profile-info h3 {
        font-size: 1.4rem;
    }
}



.hilachas-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
  }
  
  .hilacha {
    position: absolute;
    width: 100%;
    left: 0;
    height: 300px;
    will-change: transform;
    transition: transform 0.4s linear;
  }
  
  /* Asegurar que el contenido esté encima */
  #nosotros .container {
    position: relative;
    z-index: 2;
  }



/* Sección Contacto */
#contacto {
    background: #DCDCDC;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#contacto h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 20px;
}

#contacto .intro-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Íconos de Contacto */
.contact-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.contact-icons .icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    transition: transform 0.2s ease-in-out;
}

.contact-icons .icon img {
    width: 30px;
    height: 30px;
}

.contact-icons .icon:hover {
    transform: scale(1.1);
}

/* Colores de los íconos */
.icon.mail { background: #F39200; }
.icon.instagram { background: #E1306C; }
.icon.youtube { background: #FF0000; }
.icon.whatsapp { background: #25D366; }

/* Responsive */
@media (max-width: 768px) {
    .contact-icons {
        flex-wrap: wrap;
    }
}


/* Contenedor principal */
.floating-footer {
    position: fixed;
    bottom: -200px;
    right: 50%;
    transform: translateX(50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: bottom 0.6s ease-out;
}

body.scrolled-to-end .floating-footer {
    bottom: -50px;
}

.centered-thread {
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto;
    animation: threadFloat 6s ease-in-out infinite;
}


@keyframes threadFloat {
    0%, 100% { 
        transform: translateX(0) rotate(0.5deg);
    }
    50% { 
        transform: translateX(-3px) rotate(-0.5deg);
    }
}

/* Botón de texto */
.text-btn {
    position: relative;
    color: #333;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    text-decoration: none;
    padding-bottom: 8px;
    transition: all 0.3s ease;
}

/* Subrayado animado */
.text-btn .underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #F39200;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.text-btn:hover {
    color: #F39200;
}

.text-btn:hover .underline {
    transform: scaleX(1);
    transform-origin: left;
}

/* Animación cuando aparece */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

body.scrolled-to-end .text-btn {
    animation: fadeUp 0.8s ease-out forwards;
}


.thread-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.thread {
    position: absolute;
    width: 120%;
    height: 120%;
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
}

.thread-1 {
    top: -10%;
    left: -10%;
    opacity: 0.7;
    animation: floatThread 25s ease-in-out infinite alternate;
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    animation: 
        floatThread 25s ease-in-out infinite alternate,
        drawThread 10s ease-out forwards;
}

.thread-2 {
    top: -15%;
    left: -5%;
    opacity: 0.8;
    animation: floatThread2 30s linear infinite reverse;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: 
        floatThread2 30s linear infinite reverse,
        drawThread 8s ease-out 1s forwards;
}

.thread-3 {
    top: -20%;
    left: -10%;
    opacity: 0.6;
    animation: floatThread3 35s ease-in-out infinite alternate-reverse;
    stroke-dasharray: 1800;
    stroke-dashoffset: 1800;
    animation: 
        floatThread3 35s ease-in-out infinite alternate-reverse,
        drawThread 12s ease-out 0.5s forwards;
}

@keyframes floatThread {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(50px, 30px) rotate(2deg); }
}

@keyframes floatThread2 {
    0% { transform: translate(0, 0) rotate(5deg); }
    50% { transform: translate(-30px, 40px) rotate(-2deg); }
    100% { transform: translate(0, 0) rotate(5deg); }
}

@keyframes floatThread3 {
    0% { transform: translate(0, 0) rotate(-3deg) scale(1); }
    50% { transform: translate(40px, -20px) rotate(1deg) scale(1.05); }
    100% { transform: translate(0, 0) rotate(-3deg) scale(1); }
}

@keyframes drawThread {
    to { stroke-dashoffset: 0; }
}

#contacto .container {
    position: relative;
    z-index: 1;
}


/* Sección Proyectos */
#proyectos {
    background: transparent;
    padding: 100px 0;
    display: block;
    text-align: center;
    position: relative;
    z-index: 10;
    width: 100%; /* ✅ mejor que 100vw */
    overflow: hidden; /* ✅ por seguridad */
}

#proyectos h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 20px;
    padding-top: 40px; /* Añadimos padding solo al título */
}


/* FILTROS */
.filters {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: #F39200;
    color: white;
    border-color: #F39200;
}

/* GRID DE PROYECTOS */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 0;
}

.project {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    aspect-ratio: 16/9;
    transition: transform 0.3s ease;
}

.project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 2s;
}

/* Añade esto a tu archivo CSS */

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(243, 146, 0, 0.8); /* Fondo naranja semitransparente */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
    position: relative; /* Necesario para el pseudo-elemento */
    padding-bottom: 8px; /* Espacio para el subrayado */
}

/* Subrayado animado */
.project-overlay::before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    width: 80px;  /* Ancho de la curva */
    height: 60px; /* Altura de la curva */
    background: none;
    transform: translateX(-50%);
    transition: all 0.5s;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 80' preserveAspectRatio='none'%3E%3Cpath d='M30 80 Q 50 60 30 40 Q 10 20 30 0' stroke='white' stroke-width='1' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100% 100%;
    opacity: 1;
}

.project:hover .project-overlay::before {
    bottom: -15px;
    height: 80px;
    opacity: 1;
    animation: all 0.8s;
}


/* Ajustamos el subrayado para que coincida */
.project-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 1px;
    background: white;
    transform-origin: center;
    transition: transform 1.2s;
}

.project:hover .project-title::after {
    transform: translateX(-50%) scaleX(1);
}

.project:hover .project-overlay {
    opacity: 1;
}
.project:hover img {
    transform: scale(1.2);
 
}

.project-tags {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px; /* Más espacio entre tags y título */
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(243, 146, 0, 0.8);
    z-index: 1100;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    background: #DCDCDC;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 0;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    animation: slideUp 0.3s ease;
}

.close-lightbox {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1200;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.lightbox-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lightbox-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #F39200;
}

.lightbox-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.lightbox-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lightbox-tag {
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}
/* ESTILOS PARA BOTONES DE LINKS */
.lightbox-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.lightbox-link {
    display: inline-block;
    padding: 8px 16px;
    background: #F39200;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lightbox-link:hover {
    background: #e07d00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(243, 146, 0, 0.3);
}


/* Contenedor principal - Mantén la relación de aspecto */
.media-carousel {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    overflow: hidden;
    margin-bottom: 20px;
  }

  /* Contenedor de la pista del carrusel */
.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
  
/* Elimina las transiciones y transformaciones */
.carousel-track {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  /* Oculta todos los items por defecto */
  .carousel-item {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Deshabilita clicks por defecto */
  }
  
  /* Solo muestra el item activo */
  .carousel-item.active {
    opacity: 1;
    pointer-events: auto; /* Permite clicks solo en el activo */
    z-index: 110;
  }

/* Iframe de video */
.carousel-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Botones de navegación */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.7);
    border: none;
    color: #F39200;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 560;
    display: none;
}

.media-carousel.has-multiple .carousel-btn {
    display: block;
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.carousel-counter {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 3px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: none;
    z-index: 500;
}

.media-carousel.has-multiple .carousel-counter {
    display: block;
}


/* ANIMACIONES */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .lightbox-content {
        width: 95%;
        padding: 20px;
    }
}


/* Efectos de Animación */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax */
.parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        display: none;
        padding: 10px 0;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }
}
