* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
color: #ffffff;
overflow-x: hidden;
}



nav {
position: fixed;
top: 0;
width: 100%;
background: rgba(10, 10, 10, 0);
backdrop-filter: blur(10px);
z-index: 1000;
padding: 1rem 0;
transition: all 0.3s ease;
}

nav.scrolled {
background: rgba(0, 0, 0, 0.636);
box-shadow: 0 2px 20px rgba(255, 255, 255, 0.1);
}

.nav-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
padding: 0 2rem;
}

.nav-links {
display: flex;
list-style: none;
gap: 2rem;
margin-left: auto; /* Empuja los links hacia la derecha */
margin-right: 2rem; /* Espacio entre links y selector */
}

.logo {
font-size: 1.8rem;
font-weight: bold;
background: linear-gradient(45deg, #ffffff, #888888);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.nav-links {
display: flex;
list-style: none;
gap: 2rem;
}

.nav-links a {
color: #ffffff;
text-decoration: none;
font-weight: 500;
position: relative;
transition: all 0.3s ease;
}

.nav-links a:hover {
color: #888888;
}

.nav-links a::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background: linear-gradient(45deg, #ffffff, #888888);
transition: width 0.3s ease;
}

.nav-links a:hover::after {
width: 100%;
}

/* Hero Section con fondo abstracto */
.hero {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
position: relative;
background: #000000;
overflow: hidden;
}

.abstract-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0.15;
z-index: 1;
}

.hero-content {
text-align: center;
z-index: 2;
max-width: 800px;
padding: 0 2rem;
animation: fadeInUp 1s ease-out;
position: relative;
}

.hero h1 {
font-size: 5rem;
margin-bottom: 3rem;
background: linear-gradient(45deg, #ffffff, #888888);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: glow 2s ease-in-out infinite alternate;
}

.hero p {
font-size: 1.4rem;
margin-bottom: 2rem;
color: #cccccc;
line-height: 1.6;
}

.cta-button {
display: inline-block;
padding: 15px 40px;
background: linear-gradient(45deg, #333333, #666666);
color: white;
text-decoration: none;
border-radius: 50px;
font-weight: bold;
font-size: 1.1rem;
transition: all 0.3s ease;
box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
position: relative;
overflow: hidden;
}

.cta-button::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s;
}

.cta-button:hover::before {
left: 100%;
}

.cta-button:hover {
transform: translateY(-3px);
box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

/* Secciones */
.section {
padding: 100px 0;
max-width: 1200px;
margin: 0 auto;
padding-left: 2rem;
padding-right: 2rem;
}

.section h2 {
font-size: 3rem;
margin-bottom: 3rem;
text-align: center;
background: linear-gradient(45deg, #ffffff, #888888);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

/* Sobre Nosotros */
.about-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}

.about-text {
font-size: 1.2rem;
line-height: 1.8;
color: #cccccc;
}

.about-image {
text-align: center;
}

.about-image img {
max-width: 100%;
border-radius: 20px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
transition: transform 0.3s ease;
}

.about-image img:hover {
transform: scale(1.05);
}

/* Servicios */
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 3rem;
}

.service-card {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px;
padding: 2rem;
text-align: center;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}

.service-card::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
transition: left 0.5s;
}

.service-card:hover::before {
left: 100%;
}

.service-card:hover {
transform: translateY(-10px);
border-color: rgba(255, 255, 255, 0.3);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
font-size: 3rem;
margin-bottom: 1rem;
color: #888888;
}

.service-card h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: #ffffff;
}

.service-card p {
color: #cccccc;
line-height: 1.6;
}

/* Proyectos */
.projects-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 2.5rem;
margin-top: 3rem;
}

.project-card {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px;
padding: 2rem;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}

.project-card:hover {
transform: translateY(-10px);
border-color: rgba(255, 255, 255, 0.3);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-card h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: #ffffff;
}

.project-card p {
color: #cccccc;
line-height: 1.6;
margin-bottom: 1.5rem;
}

.project-link {
display: inline-block;
padding: 10px 25px;
background: linear-gradient(45deg, #333333, #666666);
color: white;
text-decoration: none;
border-radius: 25px;
font-weight: 500;
transition: all 0.3s ease;
}

.project-link:hover {
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* Contacto */
.contact-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: start;
}

.contact-info {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px;
padding: 2rem;
}

.contact-item {
margin-bottom: 2rem;
display: flex;
align-items: center;
gap: 1rem;
}

.contact-icon {
font-size: 1.5rem;
color: #888888;
width: 40px;
}

.contact-form {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px;
padding: 2rem;
}

.contact-form input,
.contact-form textarea {
width: 100%;
padding: 15px;
margin-bottom: 1rem;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 10px;
color: white;
font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
color: #888888;
}


footer {
background: #000000;
text-align: center;
padding: 2rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}


@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(50px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

@keyframes glow {
from {
text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}
to {
text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}
}

@keyframes abstractFlow {
0% {
transform: translateX(0%) translateY(0%) rotate(0deg);
}
25% {
transform: translateX(2%) translateY(-1%) rotate(0.5deg);
}
50% {
transform: translateX(-1%) translateY(1%) rotate(-0.3deg);
}
75% {
transform: translateX(1%) translateY(-0.5%) rotate(0.2deg);
}
100% {
transform: translateX(0%) translateY(0%) rotate(0deg);
}
}

.abstract-bg {
animation: abstractFlow 20s ease-in-out infinite;
}

.fade-in {
opacity: 0;
transform: translateY(30px);
transition: all 0.6s ease;
}

.fade-in.visible {
opacity: 1;
transform: translateY(0);
}

 
@media (max-width: 768px) {
.hero h1 {
font-size: 2.5rem;
}

.about-content {
grid-template-columns: 1fr;
text-align: center;
}



.contact-content {
grid-template-columns: 1fr;
}

.nav-links {
display: none;
}
}

/* Selector de idioma - Estilo clean y smooth */
#lang-selector {
margin-right: -90px; /* Ajusta el valor según necesites */
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;

padding: 8px 35px 8px 12px;
min-width: 110px;
height: 40px;

/* Colores y fondo */
background: #161616;
color: #333333;
border: 2px solid #030303;


font-family: inherit;
font-size: 16px;
font-weight: 500;

/* Bordes y forma */
border-radius: 50px;


cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

/* Sombra sutil */
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);

/* Flecha personalizada */
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
background-repeat: no-repeat;
background-position: right 10px center;
background-size: 16px;
}

/* Estados de hover */
#lang-selector:hover {
border-color: #212223;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12);
transform: translateY(-1px);
background-color: #d7cfcf;
}

/* Estados de focus */
#lang-selector:focus {
outline: none;
border-color: #030303;
box-shadow: 0 0 0 3px rgba(43, 43, 45, 0.1), 0 4px 6px rgba(0, 0, 0, 0.12);
background-color:#d7cfcf;
}

/* Estados de active */
#lang-selector:active {
transform: translateY(0);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Estilos para las opciones */
#lang-selector option {
background: #afacac69;
color: #333333;
padding: 8px 12px;
font-weight: 500;
}









/* Responsive */
@media (max-width: 768px) {
#lang-selector {
min-width: 95px;
font-size: 13px;
padding: 6px 30px 6px 10px;
height: 36px;
}
}

/* Animación adicional para cuando cambie el valor */
#lang-selector.changing {
animation: langChange 0.4s ease-out;
}

@keyframes langChange {
0% {
transform: scale(1);
}
50% {
transform: scale(1.02);
box-shadow: 0 6px 12px rgba(99, 102, 241, 0.15);
}
100% {
transform: scale(1);
}
}

* {
max-width: 100%;
box-sizing: border-box;
}

html, body {
overflow-x: hidden;
width: 100%;
}


@media (max-width: 480px) {
.nav-container {
padding: 0 1rem;
flex-direction: column;
gap: 1rem;
width: 100%;
box-sizing: border-box;
}



.nav-links {
margin-left: 0;
margin-right: 0;
flex-wrap: wrap;
gap: 1rem;
justify-content: center;
width: 100%;
overflow: hidden;
}

.hero {
width: 100vw;
max-width: 100%;
padding: 0;
}



.cta-button {
padding: 12px 25px;
font-size: 1rem;
white-space: nowrap;
}

.section {
padding: 60px 1rem;
width: 100%;
box-sizing: border-box;
margin: 0;
}


.service-card {
padding: 1.5rem;
width: 100%;
box-sizing: border-box;
}

.projects-grid {
grid-template-columns: 1fr;
gap: 1.5rem;
width: 100%;
}

.project-card {
padding: 1.5rem;
width: 100%;
box-sizing: border-box;
}

.contact-content {
grid-template-columns: 1fr;
gap: 2rem;
width: 100%;
}

.contact-info,
.contact-form {
padding: 1.5rem;
width: 100%;
box-sizing: border-box;
}

.contact-form input,
.contact-form textarea {
width: 100%;
box-sizing: border-box;
}

#lang-selector {
margin-right: 0;
min-width: 80px;
max-width: 100px;
font-size: 12px;
padding: 5px 25px 5px 8px;
height: 32px;
}
}


::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #161616; 
}
::-webkit-scrollbar-thumb {
  background: #444; 
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #666; 
}
* {
  scrollbar-width: thin;
  scrollbar-color: #444 #000000;
}
