/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE - RALDY LOPEZ
   Archivo CSS Principal con todas las animaciones
   ═══════════════════════════════════════════════════════════════ */

/* ============================================
   RESET Y ESTILOS BASE
   ============================================ */

/* Elimina márgenes y padding de todos los elementos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Incluye border y padding en el tamaño total */
}

/* Estilos base del body */
body {
    font-family: 'Montserrat', sans-serif; /* Fuente principal */
    background-color: #000000; /* Fondo negro */
    color: #ffffff; /* Texto blanco */
    line-height: 1.6; /* Altura de línea para mejor lectura */
    overflow-x: hidden; /* Evita scroll horizontal */
}

/* Contenedor principal centrado */
.container {
    max-width: 1200px; /* Ancho máximo */
    margin: 0 auto; /* Centra horizontalmente */
    padding: 0 20px; /* Espaciado lateral */
}

/* ============================================
   NAVEGACIÓN - NAVIGATION BAR
   ============================================ */

/* Barra de navegación fija */
.navbar {
    position: fixed; /* Se queda fija al hacer scroll */
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95); /* Fondo negro casi opaco */
    backdrop-filter: blur(10px); /* Efecto de vidrio esmerilado */
    z-index: 1000; /* Aparece sobre todo */
    padding: 20px 0;
    transition: all 0.3s ease; /* Animación suave */
}

/* Contenedor de la navegación */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex; /* Flexbox para organizar elementos */
    justify-content: space-between; /* Espacio entre elementos */
    align-items: center; /* Centra verticalmente */
}

/* Logo "RL" */
.nav-logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px; /* Espaciado entre letras */
    text-decoration: none; /* Sin subrayado */
    transition: all 0.3s ease;
    cursor: pointer; /* Agrega cursor de enlace */
    
    /* GRADIENTE ANIMADO IGUAL QUE EL TÍTULO */
    background: linear-gradient(45deg, #8b5cf6, #3b82f6, #06b6d4, #a855f7);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; /* Hace el texto transparente para mostrar el gradiente */
    animation: gradient-shift 4s ease-in-out infinite;
    filter: blur(0.5px); /* Difuminado muy sutil */
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.3),
                 0 0 60px rgba(59, 130, 246, 0.2); /* Resplandor más sutil */
}

/* Efecto hover del logo */
.nav-logo:hover {
    transform: scale(1.1); /* Más aumento en hover */
    filter: blur(0.3px) brightness(1.2); /* Más brillante y menos difuminado */
    text-shadow: 0 0 60px rgba(139, 92, 246, 0.5),
                 0 0 80px rgba(59, 130, 246, 0.3); /* Resplandor más intenso */
}

/* Menú de navegación */
.nav-menu {
    display: flex;
    list-style: none; /* Sin viñetas */
    gap: 30px; /* Espacio entre items */
}

/* Enlaces del menú */
.nav-menu a {
    color: #ffffff;
    text-decoration: none; /* Sin subrayado */
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative; /* Para la línea animada */
}

/* Línea animada debajo de los enlaces */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0; /* Comienza invisible */
    height: 2px;
    background: linear-gradient(45deg, #8b5cf6, #3b82f6); /* Gradiente morado-azul */
    transition: width 0.3s ease;
}

/* La línea crece al hacer hover */
.nav-menu a:hover::after {
    width: 100%;
}

/* Menú hamburguesa */
.hamburger-menu {
    display: none; /* Oculto por defecto en desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

/* Líneas del menú hamburguesa */
.hamburger-menu span {
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animación del menú hamburguesa cuando está activo */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Botón de WhatsApp en la navegación */
.whatsapp-btn-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #25d366, #128c7e); /* Verde WhatsApp */
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Efecto hover del botón WhatsApp */
.whatsapp-btn-nav:hover {
    transform: translateY(-2px); /* Levanta el botón */
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3); /* Sombra verde */
}

/* ============================================
   HERO SECTION - SECCIÓN PRINCIPAL
   ============================================ */

/* Hero de pantalla completa */
.hero {
    min-height: 100vh; /* Altura mínima de toda la ventana */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #000000;
    overflow: hidden;
}

/* Efecto de fondo animado */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite; /* Animación flotante */
}

/* Animación de flotación del fondo */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Contenido central del hero */
.hero-content {
    text-align: center;
    z-index: 2; /* Sobre el fondo */
    padding: 0 20px;
}

/* Título principal grande */
.hero-title {
    font-size: clamp(3rem, 10vw, 8rem); /* Responsive: min 3rem, max 8rem */
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 0.9;
    letter-spacing: -2px; /* Letras juntas para impacto */
}

/* Texto con gradiente animado */
.gradient-text {
    background: linear-gradient(45deg, #8b5cf6, #3b82f6, #06b6d4, #a855f7);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; /* Hace el texto transparente para mostrar el gradiente */
    animation: gradient-shift 4s ease-in-out infinite;
    filter: blur(0.5px); /* Difuminado muy sutil */
    text-shadow: 0 0 80px rgba(139, 92, 246, 0.5),
                 0 0 120px rgba(59, 130, 246, 0.3); /* Resplandor */
}

/* Animación del gradiente del título */
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Efecto typing animado */
.typing-container {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 15px;
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.typing-text {
    background: linear-gradient(45deg, #8b5cf6, #3b82f6, #06b6d4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

.typing-cursor {
    color: #8b5cf6;
    font-weight: 400;
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Descripción */
.hero-description {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.7s both;
}

/* Animación de aparición desde abajo */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px); /* Comienza 30px más abajo */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Posición final */
    }
}

/* Contenedor de botones */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Se adapta en móviles */
    animation: fadeInUp 1s ease-out 0.9s both;
}

/* Botón primario */
.btn-primary {
    background: linear-gradient(45deg, #8b5cf6, #3b82f6);
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

/* Gradiente alternativo que aparece en hover */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Comienza fuera */
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #a855f7, #06b6d4);
    transition: left 0.3s ease;
    z-index: -1;
}

/* El gradiente se desliza al hacer hover */
.btn-primary:hover::before {
    left: 0;
}

/* Efecto hover del botón */
.btn-primary:hover {
    transform: translateY(-3px); /* Levanta */
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
}

/* Botón secundario (transparente con borde) */
.btn-secondary {
    background: transparent;
    color: white;
    padding: 15px 35px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Hover del botón secundario */
.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Indicador de scroll */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

/* Mouse de scroll animado */
.scroll-indicator {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    position: relative;
}

/* Punto animado dentro del mouse */
.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: scroll 2s ease-in-out infinite;
}

/* Animación del scroll */
@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* ============================================
   SERVICIOS - SERVICES SECTION
   ============================================ */

/* Sección de servicios */
.services {
    padding: 100px 0;
    background: #000000;
}

/* Título de sección con gradiente */
.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffffff, #a8a8a8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Subtítulo de sección */
.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 60px;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid de servicios - 2 columnas (temporalmente hasta activar el tercer servicio) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* ============================================
   TARJETA DE SERVICIO - SERVICE CARD
   AQUÍ ESTÁN LAS ANIMACIONES QUE FALTABAN 🔥
   ============================================ */

/* Tarjeta de servicio con animación */
.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    
    /* ANIMACIÓN DE ENTRADA - Aparece desde abajo */
    opacity: 0; /* Comienza invisible */
    transform: translateY(50px); /* Comienza 50px abajo */
    animation: slideInUp 0.6s ease-out forwards; /* Animación de entrada */
}

/* Animación de entrada desde abajo (slide in up) */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delays para que aparezcan una por una */
.service-card:nth-child(1) {
    animation-delay: 0.1s; /* Primera card aparece primero */
}

.service-card:nth-child(2) {
    animation-delay: 0.2s; /* Segunda card con delay */
}

.service-card:nth-child(3) {
    animation-delay: 0.3s; /* Tercera card con más delay */
}

/* Efecto de fondo al hacer hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Muestra el fondo al hacer hover */
.service-card:hover::before {
    opacity: 1;
}

/* Levanta la tarjeta al hacer hover */
.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.3);
}

/* Icono del servicio */
.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(45deg, #8b5cf6, #3b82f6);
    border-radius: 50%; /* Círculo */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 1;
    
    /* ANIMACIÓN FLOTANTE DEL ICONO */
    animation: floatIcon 3s ease-in-out infinite;
}

/* Animación flotante para los iconos */
@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px); /* Sube 10px */
    }
}

/* Delays diferentes para cada icono */
.service-card:nth-child(1) .service-icon {
    animation-delay: 0s;
}

.service-card:nth-child(2) .service-icon {
    animation-delay: 0.5s;
}

.service-card:nth-child(3) .service-icon {
    animation-delay: 1s;
}

/* Título del servicio */
.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

/* Descripción del servicio */
.service-card p {
    opacity: 0.8;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ============================================
   PROYECTOS - PROJECTS SECTION
   ============================================ */

/* Sección de proyectos */
.projects {
    padding: 100px 0;
    background: #0a0a0a; /* Fondo ligeramente diferente */
}

/* Grid de proyectos - se adapta automáticamente */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

/* Tarjeta de proyecto con animación */
.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    
    /* ANIMACIÓN DE ENTRADA */
    opacity: 0;
    transform: scale(0.9);
    animation: zoomIn 0.6s ease-out forwards;
}

/* Animación zoom para proyectos */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Delays para proyectos */
.project-card:nth-child(1) {
    animation-delay: 0.1s;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Hover de la tarjeta de proyecto */
.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

/* Contenedor de imagen */
.project-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

/* Imagen del proyecto */
.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cubre sin deformar */
    transition: transform 0.3s ease;
}

/* Zoom en la imagen al hacer hover */
.project-card:hover .project-img {
    transform: scale(1.1); /* Aumenta 10% */
}

/* Overlay oscuro sobre la imagen */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Invisible por defecto */
    transition: opacity 0.3s ease;
}

/* Muestra el overlay al hacer hover */
.project-card:hover .project-overlay {
    opacity: 1;
}

/* Texto del overlay */
.overlay-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Placeholder si no hay imagen */
.project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Contenido del proyecto */
.project-content {
    padding: 30px;
}

/* Título del proyecto */
.project-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Descripción */
.project-content p {
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Tecnologías */
.project-tech {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

/* Etiqueta de tecnología */
.project-tech span {
    background: rgba(139, 92, 246, 0.2);
    color: #a855f7;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Hover en tecnología */
.project-tech span:hover {
    background: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

/* Botón del proyecto */
.btn-project {
    background: linear-gradient(45deg, #8b5cf6, #3b82f6);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

/* Hover del botón */
.btn-project:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
    background: linear-gradient(45deg, #a855f7, #06b6d4);
}

/* ============================================
   CONTACTO - CONTACT SECTION
   ============================================ */

/* Sección de contacto */
.contact {
    padding: 100px 0;
    background: #000000;
}

/* Grid de 2 columnas */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* Título de contacto */
.contact-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Texto */
.contact-info p {
    opacity: 0.8;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Botón grande de WhatsApp */
.whatsapp-btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    min-height: 50px;
    box-sizing: border-box;
}

/* Hover */
.whatsapp-btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.3);
}

/* Ajustar tamaño del SVG de WhatsApp */
.whatsapp-btn-contact svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Botón de Instagram */
.instagram-btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 20px;
    min-height: 50px;
    box-sizing: border-box;
}

/* Hover */
.instagram-btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(225, 48, 108, 0.3);
}

/* Ajustar tamaño del icono de Instagram */
.instagram-btn-contact i {
    font-size: 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lista de características */
.contact-features {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Item de característica */
.feature-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
}

/* Icono verde */
.feature-item svg {
    color: #25d366;
    flex-shrink: 0;
}

/* Eliminar margin del último item */
.feature-item:last-child {
    margin-bottom: 0;
}

/* ============================================
   BOTONES DE REDES SOCIALES - CONTACTO
   ============================================ */

/* Contenedor de botones sociales */
.social-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    align-items: center;
    justify-content: center;
}

/* Botones sociales circulares */
.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Iconos de redes sociales */
.social-btn i {
    font-size: 28px;
    color: white;
    z-index: 2;
    position: relative;
}

/* Botón de LinkedIn */
.linkedin-btn {
    background: #0077B5; /* Azul LinkedIn oficial */
}

.linkedin-btn:hover {
    background: #005885;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 119, 181, 0.4);
}

/* Botón de Instagram */
.instagram-btn {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.instagram-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.4);
}

/* Botón de WhatsApp */
.whatsapp-btn {
    background: #25D366; /* Verde WhatsApp oficial */
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* ============================================
   FOOTER - PIE DE PÁGINA
   ============================================ */

/* Footer */
.footer {
    padding: 30px 0;
    background: #0a0a0a;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Texto del footer */
.footer p {
    opacity: 0.6;
}

/* ============================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================ */

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    
    /* ANIMACIÓN FLOTANTE */
    animation: whatsappFloat 3s ease-in-out infinite;
}

/* Animación flotante */
@keyframes whatsappFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Efecto hover del botón flotante */
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

/* Efecto de pulso */
.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: inherit;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

/* Animación de pulso */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* ============================================
   ANIMACIONES ADICIONALES
   ============================================ */

/* Animación para elementos con clase fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

/* Cuando se hace visible */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN - DISEÑO ADAPTABLE
   ============================================ */

/* Tablets y pantallas medianas (hasta 992px) */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas */
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Tablets pequeños y móviles (hasta 768px) */
@media (max-width: 768px) {
    /* Muestra menú hamburguesa en móviles */
    .hamburger-menu {
        display: flex;
    }
    
    /* Oculta menú en móviles */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    /* Muestra menú cuando está activo */
    .nav-menu.active {
        left: 0;
    }
    
    /* Enlaces del menú móvil */
    .nav-menu a {
        font-size: 1.5rem;
        font-weight: 600;
    }
    
    /* Reduce tamaño de título */
    .hero-title {
        font-size: 3rem;
    }
    
    /* Botones en columna */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Botones a ancho completo */
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    /* Reduce tamaños */
    .section-title {
        font-size: 2rem;
    }
    
    /* 1 columna en servicios */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* 1 columna en proyectos */
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    /* 1 columna en contacto */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Reduce padding */
    .services, .projects, .contact {
        padding: 60px 0;
    }
}

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-content {
        padding: 20px;
    }
}

/* ============================================
   SCROLL SUAVE
   ============================================ */

/* Hace que el scroll sea suave */
html {
    scroll-behavior: smooth;
}

/* 
═══════════════════════════════════════════════════════════════
NOTAS IMPORTANTES:

✨ ANIMACIONES PRINCIPALES:
   - slideInUp: Cards de servicios aparecen desde abajo
   - floatIcon: Iconos flotan arriba y abajo
   - zoomIn: Cards de proyectos aparecen con zoom
   - gradient-shift: Gradiente del título se mueve
   - float: Fondo del hero flota

🎯 DELAYS:
   - Cada card tiene un delay diferente (0.1s, 0.2s, 0.3s)
   - Los iconos también tienen delays variados
   - Esto crea un efecto "cascada" muy profesional

🔥 EFECTOS HOVER:
   - Las cards se levantan (-10px)
   - Los botones se levantan (-3px)
   - Las imágenes hacen zoom (scale 1.1)
   - Los overlays aparecen suavemente

💡 RESPONSIVE:
   - 3 columnas en desktop (>992px)
   - 2 columnas en tablets (768px-992px)
   - 1 columna en móviles (<768px)

¡Todo listo para que tu landing brille! 🚀
═══════════════════════════════════════════════════════════════
*/
