:root {
    --primary: #00d4ff; /* Azul neón para la Z */
    --dark: #121212;
    --light: #ffffff;
    --gray: #252525;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark);
    color: var(--light);
    scroll-behavior: smooth;
}

/* Navegación */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(18, 18, 18, 0.9);
    position: fixed;
    width: 90%;
    top: 0;
    z-index: 1000;
}

.logo { font-size: 1.5rem; font-weight: bold; }
.logo span { color: var(--primary); }

.nav-menu { display: flex; list-style: none; }
.nav-menu li { margin-left: 20px; }
.nav-menu a { text-decoration: none; color: white; transition: 0.3s; }
.nav-menu a:hover { color: var(--primary); }

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1614850523296-e8c041de83a4?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
}

.hero h1 span { color: var(--primary); }

.btn {
    margin-top: 20px;
    padding: 12px 30px;
    background: var(--primary);
    color: var(--dark);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

/* Servicios */
.services { padding: 80px 5%; text-align: center; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.service-card {
    background: var(--gray);
    padding: 30px;
    border-radius: 10px;
    border-bottom: 3px solid var(--primary);
    transition: transform 0.3s;
    text-decoration: none;
    display: block;
    color: inherit;
}

.service-card:hover { transform: translateY(-10px);
    border-color: var(--primary);
}
.status { font-size: 0.8rem; 
    color: #888; 
    display: block; 
    margin-top: 15px;
}

footer { text-align: center;
     padding: 50px 5%; 
     font-size: 0.9rem; 
     border-top: 1px solid var(--gray);
     background-color: #0a0a0a; /* Un negro un poco más profundo */ 
    }

/* Estilos para el Formulario */
.contact {
    padding: 80px 5%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    background: var(--gray);
    padding: 40px;
    border-radius: 15px;
    margin-top: 30px;
    text-align: left;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary);
}

.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #444;
    background: #1a1a1a;
    color: white;
    font-family: inherit;
}

.btn-submit {
    width: 100%;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #00b8e6;
}

/* Contenedor del logo */
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Ajuste de la imagen del logo */
.logo-img {
    height: 50px; /* Ajusta este valor según tu gusto */
    width: auto;  /* Esto mantiene la proporción original */
    transition: transform 0.3s ease;
}

/* Efecto sutil al pasar el mouse */
.logo-img:hover {
    transform: scale(1.05);
}

.hero-logo {
    width: 160px; /* Tamaño más grande para el centro */
    margin-bottom: 25px;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.4)); 
    animation: floating 3s ease-in-out infinite;
}

/* Animación para que el logo flote suavemente */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.footer-logo {
    height: 40px; /* Un poco más pequeño que el del menú */
    width: auto;
    filter: grayscale(1); /* Opcional: hace que el logo sea gris/blanco */
    opacity: 0.7;         /* Se vuelve discreto */
    transition: 0.3s;
    margin-bottom: 15px;
}

.footer-logo:hover {
    filter: grayscale(0); /* Recupera su color al pasar el mouse */
    opacity: 1;
}
footer p {
    color: #666;
    font-size: 0.85rem;
}

/* Botón Flotante */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* El iconito de WhatsApp */
.whatsapp-icon {
    width: 30px;
    height: 30px;
}

/* Solo mostrar el texto en pantallas grandes (opcional) */
.whatsapp-float span {
    font-size: 0.9rem;
}

/* Efecto al pasar el mouse */
.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: white;
}

/* Animación de entrada */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.whatsapp-float {
    animation: fadeInUp 1s ease-out;
}

/* Contenedor de redes sociales */
.social-links {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    color: var(--light); /* Color blanco inicial */
    font-size: 1.5rem;   /* Tamaño del icono */
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Efecto Hover: Cambia al color de Digital Z */
.social-icon:hover {
    color: var(--primary); /* El azul neón que definimos al inicio */
    transform: translateY(-5px); /* Pequeño salto hacia arriba */
}

.copyright {
    margin-top: 30px;
    opacity: 0.5;
    font-size: 0.8rem;
}

/**************INVITACIONES BASICAS******/
/* Estilos de la Galería */
.gallery-container {
    padding: 120px 5% 60px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.gallery-header h1 span {
    color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    background: var(--gray);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Efecto al pasar el mouse sobre la imagen */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-cta {
    margin-top: 50px;
}


/*******invitaciones pdf************/
/* Estilos específicos para la página de PDF */
.btn-pdf {
    background-color: #ff4d4d; /* Color rojo tipo PDF o usa tu azul var(--primary) */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-pdf:hover {
    background-color: white;
    color: #000;
    transform: translateY(-3px);
}

.back-home {
    margin-top: 60px;
}

/* Ajuste para que las imágenes de la galería no se vean estiradas */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Estilos para el Portafolio de Logos */
.logo-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.logo-item {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #333;
    transition: all 0.4s ease;
    text-align: center;
}

.logo-item img {
    width: 100%;
    height: 200px;
    object-fit: contain; /* Para que el logo no se corte y se vea completo */
    margin-bottom: 15px;
    filter: grayscale(0.5); /* Se ve serio inicialmente */
    transition: 0.4s;
}

.logo-item:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.logo-item:hover img {
    filter: grayscale(0); /* Cobra color al pasar el mouse */
    transform: scale(1.05);
}

.logo-info h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.logo-info span {
    color: #888;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Estilos Kit para tu Negocio */
.kit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas: texto e imágenes */
    gap: 40px;
    margin-top: 50px;
    align-items: center;
    text-align: left;
}

.kit-features h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li i {
    color: var(--primary); /* El color neón de Digital Z */
}

.kit-showcase {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kit-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #333;
}

.kit-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: 0.3s;
}

.kit-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    color: var(--primary);
}

/* Responsivo para el Kit */
@media (max-width: 768px) {
    .kit-grid {
        grid-template-columns: 1fr; /* En celular, todo en una columna */
        text-align: center;
    }
    .features-list li {
        justify-content: center;
    }
}

/* Estilos Invitaciones Web */
.web-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.web-card {
    background: #111;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #222;
    transition: 0.4s;
}

.web-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.15);
}

/* Efecto de Marco de Celular */
.phone-mockup {
    width: 200px;
    height: 400px;
    background: #000;
    margin: 0 auto 20px;
    border: 8px solid #333; /* El marco del celular */
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la captura de la web al celular */
}

.web-info h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.btn-web {
    display: inline-block;
    margin-top: 15px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 5px;
    transition: 0.3s;
}

.btn-web:hover {
    color: var(--primary);
    letter-spacing: 1px;
}

/* Estilos Portafolio Negocios */
.business-web-grid {
    display: flex;
    flex-direction: column;
    gap: 80px; /* Espacio entre cada proyecto */
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.project-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

/* Mockup de Laptop */
.laptop-mockup {
    position: relative;
    width: 100%;
}

.screen {
    background: #333;
    border: 12px solid #222;
    border-radius: 15px 15px 0 0;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: 2s ease-in-out; /* Efecto de scroll al pasar el mouse */
}

.screen:hover img {
    object-position: bottom;
}

.base {
    background: #444;
    height: 15px;
    border-radius: 0 0 10px 10px;
    width: 110%;
    margin-left: -5%;
    position: relative;
}

/* Etiquetas de Tecnología */
.tech-tags {
    margin: 15px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tech-tags span {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--primary);
}

.btn-demo {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

.cta-negocios {
    margin-top: 100px;
    background: #111;
    padding: 50px;
    border-radius: 20px;
    border: 1px solid #333;
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .project-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .tech-tags {
        justify-content: center;
    }
}