/* Componentes Reutilizables */

/* Botones */
.btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Cards */
.card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 15px var(--shadow);
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-lg);
}

/* Badges */
.tech-badge {
    background: var(--light);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
}

.tech-badge-large {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-lg);
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
    transition: transform var(--transition-normal);
}

.tech-badge-large:hover {
    transform: scale(1.05);
}

/* Formularios */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: var(--font-weight-medium);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

/* Tabs interactivos reutilizables */
.experience-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.experience-tab {
    padding: 0.75rem 1.5rem;
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    color: var(--tech-text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.experience-tab:hover {
    border-color: var(--tech-glow);
    background: rgba(6, 182, 212, 0.1);
}

.experience-tab.active {
    background: rgba(6, 182, 212, 0.2);
    border-color: var(--tech-glow);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
    color: var(--tech-accent);
}

.experience-tab .tab-badge {
    display: inline-block;
    background: rgba(6, 182, 212, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.experience-content {
    display: none;
}

.experience-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.form-group textarea {
    resize: vertical;
}

