/* desarrollo-web.css */
:root {
    --primary: #ccff00;
    --accent: #6E00FF;
    --dark: #000000;
    --light: #f5f5f5;
    --white: #FFFFFF;
    --gray: #333333;
}


/* Hero Estilo Developer */
.dev-hero {
    background: var(--dark);
    color: var(--white);
    padding: 8rem 0rem; 
    margin-top: 80px;
    height: 80vh;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.8);
}

.tech-icons {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    font-size: 2.5rem;
    color: var(--primary);
}

.hero-code {
    background: #1E1E1E;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
}

.hero-code pre {
    margin: 0;
    overflow-x: auto;
}

.hero-code code {
    font-family: 'Courier New', monospace;
    color: #9CDCFE;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Diferenciadores */
.differentiators {
    padding: 6rem 0;
    background: var(--white);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.diff-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.diff-card:hover {
    transform: translateY(-10px);
}

.diff-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.diff-card h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

/* Timeline Proceso */
.dev-process {
    background: var(--light);
    padding: 6rem 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 50%;
    padding: 0 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-marker {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    top: 0;
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -20px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -20px;
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Tech Stack */
.tech-stack {
    padding: 6rem 0;
    background: var(--white);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-category {
    background: var(--light);
    padding: 2rem;
    border-radius: 8px;
}

.tech-category h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-category ul {
    list-style: none;
}

.tech-category li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.tech-category li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
}

.no-templates {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    padding: 1rem;
    background: var(--primary);
    color: var(--dark);
    border-radius: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
    gap: 0.5rem;
}

/* Portafolio */
.portfolio {
    padding: 6rem 0;
    background: var(--light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 300px;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}

.tech-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tech-tags span {
    background: var(--primary);
    color: var(--dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* CTA */
.dev-cta {
    text-align: center;
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
}

.dev-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.dev-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}
 
.hero-button{

    display: flex;
    gap: 20px;
    margin-top: 30px;
    padding: 20px 0; /* Espacio para animaciones */
    position: relative;
    z-index: 10;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--black);
    border: 2px solid transparent;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    
}

.cta-button:hover {
    background-color: var(--black);
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 5px 10px #ccff00;
   

}

.cta-button1 {
    display: inline-block;
    background-color: var(--primary);
    color: var(--black);
    border: 2px solid transparent;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button1:hover {
    background: linear-gradient(135deg, var(--primary) 0%, va(--dark), 100%);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    
}




/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-code {
        margin-top: 3rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 70px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-marker,
    .timeline-item:nth-child(even) .timeline-marker {
        left: 10px;
    }
}

@media (max-width: 768px) {
    .dev-hero {
        height: auto; 
        padding: 5rem 0 3rem; 
        margin-top: 60px; 
    }

    .hero-content h1 {
        font-size: 2rem ; 
        line-height: 1.3;
    }

    .hero-container {
        grid-template-columns: 1fr; 
        gap: 2rem;
        padding: 0 1rem; 
    }

    .tech-icons {
        font-size: 1.8rem; 
        flex-wrap: wrap; 
    }

    .hero-button {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem ;
    }
    
    .hero-content .subtitle {
        font-size: 1rem;
    }
}