/* styles.css - Estilos personalizados para Tecno Password */
/* Diseño Cibernético / Tecnológico */

/* Importar fuentes tecnológicas */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* Variables de color - Paleta Cyberpunk */
:root {
    --primary-color: #00f3ff; /* Cian neón */
    --secondary-color: #bf00ff; /* Morado neón */
    --accent-color: #ff00aa; /* Rosa neón */
    --dark-bg: #0a0a0f; /* Fondo oscuro */
    --darker-bg: #050507; /* Fondo más oscuro */
    --card-bg: rgba(10, 10, 20, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --glow-color: rgba(0, 243, 255, 0.5);
    --border-glow: 0 0 10px var(--glow-color);
}

/* Estilos generales */
body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    position: relative;
    overflow-x: hidden;
}

/* Fondo con efecto de grid cibernético */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

/* Efecto de partículas (opcional - requiere JS para animación completa) */
.particle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(0, 243, 255, 0.1) 0%, transparent 20%),
                radial-gradient(circle at 80% 70%, rgba(191, 0, 255, 0.1) 0%, transparent 20%);
    pointer-events: none;
    z-index: -1;
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Navbar Styles - Versión cibernética */
.navbar-custom {
    padding: 1rem 2rem;
    background: rgba(5, 5, 7, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.navbar-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px var(--primary-color);
    letter-spacing: 2px;
}

.navbar-brand span {
    color: var(--text-primary);
    text-shadow: none;
}

.nav-link {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-primary) !important;
    margin: 0 10px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-link:hover::before {
    width: 80%;
}

/* Header Styles */
.header-image {
    margin-top: 76px;
    position: relative;
    overflow: hidden;
}

.header-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.2) 0%, rgba(191, 0, 255, 0.2) 100%);
    pointer-events: none;
}

.header-image img {
    filter: brightness(0.7) contrast(1.2);
}

/* Project Card Styles - Versión cibernética */
.image-label {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    position: absolute;
    top: 20px;
    left: 0;
    z-index: 10;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    box-shadow: 0 0 20px var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}

.project-card {
    position: relative;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 243, 255, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(0, 243, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: scanLine 3s linear infinite;
    pointer-events: none;
}

@keyframes scanLine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
    border-color: var(--primary-color);
}

.project-card img {
    transition: all 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1);
}

/* Section Titles */
h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
}

h3.border-bottom {
    border-bottom: 2px solid var(--primary-color) !important;
    box-shadow: 0 5px 15px -5px var(--primary-color);
}

/* Team Section Styles - Versión cibernética */
.team-card {
    background: var(--card-bg);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 243, 255, 0.2);
    padding: 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 243, 255, 0.1) 100%);
    pointer-events: none;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
}

.team-card h3 {
    font-size: 1.5rem;
    margin-top: 1rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.team-card .text-secondary {
    color: var(--secondary-color) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-contact {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-contact:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--primary-color);
}

.btn-contact:hover::before {
    left: 100%;
}

/* Formulario - Estilo cibernético */
.form-control {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 243, 255, 0.3);
    color: var(--text-primary);
    border-radius: 0;
    padding: 0.8rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-dark {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: var(--dark-bg);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--primary-color);
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

/* Footer Styles - Versión cibernética */
.footer-custom {
    background: var(--darker-bg);
    color: var(--text-primary);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--primary-color);
    box-shadow: 0 -5px 20px rgba(0, 243, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.footer-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), var(--primary-color), transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Social Media Icons - Versión cibernética */
.social-icon {
    font-size: 2rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0 1rem;
    position: relative;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: -1;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.2);
}

.social-icon:hover::before {
    width: 60px;
    height: 60px;
}

.social-icon.instagram:hover { color: #E4405F; text-shadow: 0 0 20px #E4405F; }
.social-icon.facebook:hover { color: #1877F2; text-shadow: 0 0 20px #1877F2; }
.social-icon.linkedin:hover { color: #0A66C2; text-shadow: 0 0 20px #0A66C2; }
.social-icon.youtube:hover { color: #FF0000; text-shadow: 0 0 20px #FF0000; }
.social-icon.tiktok:hover { color: #ffffff; text-shadow: 3px 3px 0 #69C9D0, 6px 6px 0 #EE1D52; }

/* Footer Links */
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 20px;
    text-shadow: 0 0 10px var(--primary-color);
}

/* Footer Copyright */
.footer-copyright {
    border-top: 1px solid rgba(0, 243, 255, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
    color: var(--text-secondary);
}

/* Grayscale Effect - Modificado para efecto tecnológico */
.grayscale img {
    filter: grayscale(50%) contrast(1.2);
    transition: all 0.3s ease;
}

.grayscale img:hover {
    filter: grayscale(0%) contrast(1.3);
    transform: scale(1.02);
}

/* Utility Classes */
.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.bg-black {
    background: linear-gradient(135deg, #000, #0a0a0f) !important;
}

.bg-opacity-75 {
    --bs-bg-opacity: 0.85;
    backdrop-filter: blur(5px);
}

/* Animaciones adicionales */
.glitch-text {
    position: relative;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    92% { transform: translate(0); }
    93% { transform: translate(-2px, 1px); }
    94% { transform: translate(2px, -1px); }
    95% { transform: translate(-1px, 2px); }
    96% { transform: translate(1px, -2px); }
    97% { transform: translate(0); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-custom {
        padding: 0.5rem 1rem;
    }
    
    .social-icon {
        font-size: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .footer-custom {
        padding: 2rem 0 1rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .header-image {
        margin-top: 66px;
    }
    
    .social-icon {
        font-size: 1.3rem;
        margin: 0 0.4rem;
    }
}